hardware-monitor-1.0/0000777000175000017500000000000010021711717011636 500000000000000hardware-monitor-1.0/Makefile.in0000644000175000017500000003371610021711714013626 00000000000000# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_alias = @host_alias@ host_triplet = @host@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CXX = @CXX@ DATADIRNAME = @DATADIRNAME@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ HAVE_LIB = @HAVE_LIB@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LIB = @LIB@ LTLIB = @LTLIB@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SENSORS_CFLAGS = @SENSORS_CFLAGS@ SENSORS_LIBS = @SENSORS_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ SUBDIRS = src po # help # server file serverdir = $(libdir)/bonobo/servers server_in_files = HardwareMonitor.server.in server_DATA = $(server_in_files:.server.in=.server) # icon icondir = $(datadir)/pixmaps icon_DATA = $(PACKAGE)-applet.png EXTRA_DIST = $(icon_DATA) $(server_DATA:.server=.server.in.in) intltool-merge.in intltool-extract.in intltool-update.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = DATA = $(icon_DATA) $(server_DATA) DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ Makefile.am Makefile.in NEWS aclocal.m4 config.guess config.h.in \ config.sub configure configure.ac install-sh ltmain.sh missing \ mkinstalldirs DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best all: all-redirect .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac cd $(srcdir) && $(ACLOCAL) config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) cd $(srcdir) && $(AUTOCONF) config.h: stamp-h @if test ! -f $@; then \ rm -f stamp-h; \ $(MAKE) stamp-h; \ else :; fi stamp-h: $(srcdir)/config.h.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ $(SHELL) ./config.status @echo timestamp > stamp-h 2> /dev/null $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@$(srcdir)/stamp-h.in @if test ! -f $@; then \ rm -f $(srcdir)/stamp-h.in; \ $(MAKE) $(srcdir)/stamp-h.in; \ else :; fi $(srcdir)/stamp-h.in: $(top_srcdir)/configure.ac $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOHEADER) @echo timestamp > $(srcdir)/stamp-h.in 2> /dev/null mostlyclean-hdr: clean-hdr: distclean-hdr: -rm -f config.h maintainer-clean-hdr: install-iconDATA: $(icon_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(icondir) @list='$(icon_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(icondir)/$$p"; \ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(icondir)/$$p; \ else if test -f $$p; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(icondir)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(icondir)/$$p; \ fi; fi; \ done uninstall-iconDATA: @$(NORMAL_UNINSTALL) list='$(icon_DATA)'; for p in $$list; do \ rm -f $(DESTDIR)$(icondir)/$$p; \ done install-serverDATA: $(server_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(serverdir) @list='$(server_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(serverdir)/$$p"; \ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(serverdir)/$$p; \ else if test -f $$p; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(serverdir)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(serverdir)/$$p; \ fi; fi; \ done uninstall-serverDATA: @$(NORMAL_UNINSTALL) list='$(server_DATA)'; for p in $$list; do \ rm -f $(DESTDIR)$(serverdir)/$$p; \ done # 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. @SET_MAKE@ all-recursive install-data-recursive install-exec-recursive \ installdirs-recursive install-recursive uninstall-recursive \ check-recursive installcheck-recursive info-recursive dvi-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @set fnord $(MAKEFLAGS); amf=$$2; \ dot_seen=no; \ rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \ rev="$$subdir $$rev"; \ test "$$subdir" != "." || dot_seen=yes; \ done; \ test "$$dot_seen" = "no" && 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) \ || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(PACKAGE)-$(VERSION) top_distdir = $(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 -rm -rf $(distdir) GZIP=$(GZIP_ENV) $(TAR) zxf $(distdir).tar.gz mkdir $(distdir)/=build mkdir $(distdir)/=inst dc_install_base=`cd $(distdir)/=inst && pwd`; \ cd $(distdir)/=build \ && ../configure --srcdir=.. --prefix=$$dc_install_base \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) dist -rm -rf $(distdir) @banner="$(distdir).tar.gz is ready for distribution"; \ dashes=`echo "$$banner" | sed s/./=/g`; \ echo "$$dashes"; \ echo "$$banner"; \ echo "$$dashes" dist: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) dist-all: distdir -chmod -R a+r $(distdir) GZIP=$(GZIP_ENV) $(TAR) chozf $(distdir).tar.gz $(distdir) -rm -rf $(distdir) distdir: $(DISTFILES) -rm -rf $(distdir) mkdir $(distdir) -chmod 777 $(distdir) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done for subdir in $(SUBDIRS); do \ if test "$$subdir" = .; then :; else \ test -d $(distdir)/$$subdir \ || mkdir $(distdir)/$$subdir \ || exit 1; \ chmod 777 $(distdir)/$$subdir; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \ || exit 1; \ fi; \ done info-am: info: info-recursive dvi-am: dvi: dvi-recursive check-am: all-am check: check-recursive installcheck-am: installcheck: installcheck-recursive all-recursive-am: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive install-exec-am: install-exec: install-exec-recursive install-data-am: install-iconDATA install-serverDATA install-data: install-data-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-recursive uninstall-am: uninstall-iconDATA uninstall-serverDATA uninstall: uninstall-recursive all-am: Makefile $(DATA) config.h all-redirect: all-recursive-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: installdirs-recursive installdirs-am: $(mkinstalldirs) $(DESTDIR)$(icondir) $(DESTDIR)$(serverdir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-hdr mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-recursive clean-am: clean-hdr clean-tags clean-generic mostlyclean-am clean: clean-recursive distclean-am: distclean-hdr distclean-tags distclean-generic clean-am distclean: distclean-recursive -rm -f config.status maintainer-clean-am: maintainer-clean-hdr maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-recursive -rm -f config.status .PHONY: mostlyclean-hdr distclean-hdr clean-hdr maintainer-clean-hdr \ uninstall-iconDATA install-iconDATA uninstall-serverDATA \ install-serverDATA install-data-recursive uninstall-data-recursive \ install-exec-recursive uninstall-exec-recursive installdirs-recursive \ uninstalldirs-recursive all-recursive check-recursive \ installcheck-recursive info-recursive dvi-recursive \ mostlyclean-recursive distclean-recursive clean-recursive \ maintainer-clean-recursive tags tags-recursive mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck all-recursive-am \ install-exec-am install-exec install-data-am install-data install-am \ install uninstall-am uninstall all-redirect all-am all installdirs-am \ installdirs mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean $(server_in_files): $(server_in_files:.server.in=.server.in.in) Makefile sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" -e "s|\@PACKAGE\@|$(PACKAGE)|" $< > $@ @INTLTOOL_SERVER_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: hardware-monitor-1.0/README0000644000175000017500000000237607710456227012457 00000000000000Hardware Monitor ---------------- Hardware Monitor is a monitor applet for the Gnome panel. It supports a variety of monitoring capabilities (CPU usage, network throughput etc.) and different kinds of viewers (curves, bars, columns, text, flames). The homepage (with screenshots and more information) is: http://www.cs.auc.dk/~olau/hardware-monitor/ Oh, and it is licensed under the GNU GPL. And proudly written with the One True Editor, GNU Emacs (no eVIl here). Requirements ------------ You need a modern Gnome desktop (i.e. at least Gnome 2.2) with the related libraries and the C++ wrappers for GTK+ and Gnome libraries, gtkmm and gnomemm (more specifically gtkmm, libgnomemm, libgnomeuimm, gconfmm and libglademm). These can be fetched from http://www.gtkmm.org, or are alternatively probably available as packages from your distributor. Also, to compile the program you need the development files for the Gnome panel-applet library and libgtop. If you have libsensors from the lm-sensors package installed at compile time, the configure script will detect it and add support for monitoring temperatures and fan speeds (if the library is not found, the relevant UI is hidden). Bugs ---- Report bugs and suggestions to the maintainer: $ cat MAINTAINERS hardware-monitor-1.0/stamp-h.in0000644000175000017500000000001210021711714013441 00000000000000timestamp hardware-monitor-1.0/AUTHORS0000644000175000017500000000004207704726156012637 00000000000000Ole Laursen hardware-monitor-1.0/COPYING0000644000175000017500000004311007704726156012625 00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) 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 this service 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 make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. 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. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute 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 and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), 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 distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the 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 a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, 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. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE 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. 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 convey 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 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 Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision 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, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This 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 Library General Public License instead of this License. hardware-monitor-1.0/ChangeLog0000644000175000017500000002774710021711606013342 000000000000002004-03-04 Ole Laursen * NEWS: Version 1.0 released! * configure.ac: Bumped version number. * src/monitor-impls.cpp: Use available disk space for users instead of total available disk space (including the root reserved). 2004-02-29 Ole Laursen * src/TODO, src/applet.cpp, src/choose-monitor-window.cpp, src/choose-monitor-window.hpp, src/monitor-impls.cpp, src/monitor-impls.hpp, src/ui.glade: Added an option to the disk monitor to choose whether to show used space or free space. * src/ui.glade, src/choose-monitor-window.cpp, src/monitor-impls.cpp, src/TODO: Added support for wireless connections (currently just one). * src/Makefile.am: Renamed "hardware-monitor.glade" to "ui.glade". * src/gui-helpers.hpp: Moved "hardware-monitor.glade" to "ui.glade". 2004-02-25 Jordi Mallach * configure.ac (ALL_LINGUAS): Added "ca" (Catalan). 2004-02-07 Robert Sedak * configure.ac: Added "hr" (Croatian) to ALL_LINGUAS. 2004-01-25 Christophe Merlet * configure.ac: Added "fr" (French) to ALL_LINGUAS. 2004-01-16 Kjartan Maraas * configure.ac: Added "no" to ALL_LINGUAS. 2004-01-10 Ole Laursen * src/pixbuf-drawing.hpp: Fixed an uninitialised xpos. 2003-12-29 Artur Flinta * configure.ac: Added pl to ALL_LINGUAS. 2003-12-12 Gustavo Maciel Dias Vieira * configure.ac: Added pt_BR to ALL_LINGUAS. 2003-11-23 Christian Neumair * configure.ac: Added German (de) to ALL_LINGUAS. 2003-11-17 Ole Laursen * src/text-view.cpp: Fixed the problem with the text not being aligned with the standard Gnome clock text. 2003-11-11 Pablo Gonzalo del Campo * configure.ac: Added 'es' (Spanish) to ALL_LINGUAS. 2003-11-03 Hasbullah Bin Pit * configure.ac: Added 'ms' (Malay) to ALL_LINGUAS. 2003-10-25 Metin Amiroff * configure.ac: Added az to ALL_LINGUAS. 2003-10-20 Ole Laursen * src/monitor-impls.cpp: Fixed LoadAverageMonitor to not drop below 1 for estimated max value. 2003-09-20 Ole Laursen * src/TODO: Updated with CORBA idea. 2003-09-14 Duarte Loreto * configure.ac: Added Portuguese (pt) to ALL_LINGUAS. 2003-09-14 Danilo Šegan * configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-09-14 Christian Rose * configure.ac: Added "sv" to ALL_LINGUAS. 2003-09-13 Ole Laursen * Makefile.am (SUBDIRS): Removed help directory since there is currently no help. 2003-08-27 Ole Laursen * NEWS: Version 0.7 released! 2003-08-26 Ole Laursen * configure.ac: Bumped version number. * src/applet.cpp (main_loop): Added code to sync NetworkLoadMonitors. * src/monitor-impls.cpp, src/monitor-impls.hpp: Added possibly_sync to NetworkLoadMonitor. * src/column-view.cpp: Made the column view draw itself with a pixbuf instead of the previous a-myriad-of-little-boxes approach. Fixes the performance problem with the column view, and also makes it more visually stable to look at due to a neat anti-aliasing effect. 2003-08-25 Ole Laursen * src/monitor-impls.cpp: Fixed the DiskUsageMonitor so that it actually monitors used space as advertised instead of free space. Doh. 2003-07-28 Ole Laursen * src/Makefile.am: Removed DISK_BLOCK_SIZE definition as having it here is completely wrong. * src/monitor-impls.cpp, src/monitor-impls.hpp: If exists, try to discover the block size automatically to work-around hard-coded value of 1024 (which is wrong for many systems). * configure.ac: Added detection of . 2003-07-24 Ole Laursen * NEWS: Version 0.6 released! * configure.ac: Bumped version no. * README: Updated and corrected. * src/monitor-impls.hpp, src/monitor-impls.cpp: Removed copied code. 2003-07-23 Ole Laursen * src/curve-view.cpp: Minor code cleanup. * src/preferences-window.cpp: Added UI code for widgets for column view. * src/hardware-monitor.glade: Added widgets for column view. * src/applet.cpp: Added support for column view. * src/Makefile.am, src/column-view.cpp, src/column-view.hpp: Added a column diagram viewer. 2003-07-20 Ole Laursen * src/choose-monitor-window.cpp, src/choose-monitor-window.hpp, src/applet.cpp, src/monitor-impls.cpp, src/monitor-impls.hpp, src/hardware-monitor.glade: Added support for monitoring fan speed via libsensors. 2003-07-19 Ole Laursen * src/monitor-impls.cpp, src/monitor-impls.hpp: Revamped Sensors to add support for autodetecting the available temperature sensors. Modified TemperatureMonitor to support that. * src/choose-monitor-window.cpp: Added support for choosing different temperature sensors. Fixed a bug related to swap usage. * src/hardware-monitor.glade: Added support for choosing different temperature sensors. Changed dialog to use a notebook to reduce the visual clutter. * src/monitor-impls.cpp (Sensors::find_feature): Ignore ignored features. * configure.ac: Added be to ALL_LINGUAS. * src/monitor-impls.cpp: Made the monitors without known maximum values reduce their maximum gradually (0.1% each iteration). Should fix the problems with large fluctuations followed by long slow periods. 2003-06-01 Ole Laursen * NEWS: Version 0.5.1 released! * configure.ac: Bumped version no. * src/text-view.cpp, src/monitor-impls.cpp: Remember to include (fixes building problem with GCC 3.3). 2003-05-24 Ole Laursen * src/monitor-impls.cpp (LoadAverageMonitor): Set max_value to 1.0 initially. 2003-05-14 Ole Laursen * configure.ac: Added Korean (ko) to the list in ALL_LINGUAS. 2003-05-08 Ole Laursen * src/monitor-impls.cpp (get_short_name): Include "in"/"out" in the name if monitoring incoming and outgoing connections. 2003-05-01 Ole Laursen * src/monitor-impls.cpp (do_measure): Fix stupid bug - measuring out really measured in. 2003-04-24 Ole Laursen * NEWS: V. 0.5 released! * configure.ac: Bumped version no. * src/bar-view.cpp (draw): Add small margin between bars. * src/bar-view.cpp, src/curve-view.cpp, src/flame-view.cpp: Changed to reflect changed get_fg_color interface. * src/applet.cpp (get_fg_color): Changed interface to include opacity, increased opacity for skin colour. * src/curve-view.cpp (draw): Removed bogus assertion. * src/monitor-impls.cpp (format_value): Don't use \uXXXX but use \xXX instead. Fixes the temperature monitor crash. * src/applet.cpp (on_about_activated): Use real copyright symbol. * src/ucompose.hpp: Upgraded to v. 1.0.3. 2003-04-22 Ole Laursen * src/monitor-impls.cpp: Suppress negative zero values (?) for the NetworkLoad. * src/canvas-view.cpp, src/applet.cpp: Moved frame from Applet to CanvasView so that it doesn't appear in TextView. 2003-04-21 Ole Laursen * src/bar-view.[ch]pp: Smoothed the bar drawing by separating the update loop from the drawing loop. Also split each bar into little boxes which looks much neater. 2003-04-20 Ole Laursen * src/main.cpp: Show exceptions with a message box instead of just printing them on std::cerr. Also nice the process to 10 so that we don't get in the way of any actually productive processes. 2003-04-19 Ole Laursen * src/curve-view.[ch]pp: Smoothed the curve drawing by separating the updating loop from the drawing loop so that the curves are not updated in chunks of the size of the update interval. * src/hardware-monitor.glade: Set minimum for samples spinbutton to 3 instead of 2 since the curve view doesn't seem to like only two points. * src/*view.[ch]pp: Refactored to use new facilities below, reducing code size quite a lot. * src/applet.[ch]pp: Moved tooltips code to applet, splitted background setting into two methods. * src/canvas-view.[ch]pp: Added middle class with canvas functionality. 2003-04-15 Ole Laursen * NEWS: V. 0.4 released! * README: Deleted comment about needing GCC 3. 2003-04-13 Ole Laursen * src/hardware-monitor.glade: Added accelerator underscores to option widgets in devices tab. * src/*-view.[ch]pp: Added background color switching code. * src/view.[ch]pp: Added virtual method to set background color. * src/preferences-window.[ch]pp, src/applet.[ch]pp: Added support for background color. 2003-04-12 Ole Laursen * src/gui-helpers.hpp (get_glade_xml): Issue fatal warning when Glade file isn't found. 2003-04-06 Ole Laursen * src/hardware-monitor.glade: Revamped the viewer/options layout, added widgets for background color. 2003-04-02 Ole Laursen * src/curve-view.cpp (draw): Adjusted vertical interval so that lines thicker than 1 pixel aren't cut off at the top. 2003-03-30 Ole Laursen * src/monitor-impls.cpp (find_feature): Fixed a bug with reading past end of buffer. * src/ucompose.hpp: Updated to newer version to support GCC 2.95. * src/monitor-impls.cpp: Inserted work-arounds for GCC 2.95. * src/curve-view.cpp (draw): Increase the default line thickness to 1.5. * src/monitor-impls.cpp: Set a 50 degree default max value for monitoring temperatures (will automatically be raised when necessary). 2003-03-29 Ole Laursen * src/applet.cpp: Update the view immediately upon constructing the applet so that we don't get a delay when starting the applet. * configure.ac, NEWS: V. 0.3 released! * src/monitor-impls.cpp: Made the sensor code actually work. * hardware-monitor-applet.png: Stole a better icon from gnome-system.png. * src/flame-view.cpp (recompute_fuel): Killed warnings. * src/hardware-monitor.glade: Fixed add/remove/change button layout in preferences window to circumvent bug in libglade. 2003-03-25 Ole Laursen * src/bar-view.cpp, src/curve-view.cpp, src/flame-view.cpp: Ask the applet for a default colour. * src/applet.[ch]pp: Added Applet::get_fg_color. 2003-03-22 Ole Laursen * src/hardware-monitor.glade: Fixed layout of preferences window. * autogen.sh: Stolen from gnome-hello. * configure.ac: Renamed from configure.in. Cleaned up build system, now has --with-libsensors. 2003-02-09 Ole Laursen * configure.in: Bumped the requirements for gconfmm to 2.0.1. 2003-02-08 Ole Laursen * src/applet.cpp: Added support for the temperature monitor. * src/hardware-monitor.glade, src/choose-monitor-window.cpp, src/choose-monitor-window.hpp: Added support for choosing the temperature monitor. * src/monitor-impls.cpp, src/monitor-impls.hpp: Added a new temperature monitor which uses lm-sensors. * configure.in: Autodetect whether the host has libsensors. 2003-02-03 Ole Laursen * configure.in, README, NEWS: V. 0.2 released! * src/flame-view.cpp, src/flame-view.hpp: Implemented a nice flame view. * src/hardware-monitor.glade, src/preferences-window.cpp: Added support for setting the preferences for the flames. * src/applet.cpp: Added support for the flame view. 2003-02-01 Ole Laursen * src/monitor-impls.cpp: Made NetworkLoadMonitor::get_name append the direction (in/out). * src/preferences-window.cpp: Start out without selecting any monitors so that a user can see that the grayed-out buttons become active. Also gray-out the change button. 2003-01-31 Ole Laursen * configure.in: V. 0.1 released! hardware-monitor-1.0/INSTALL0000644000175000017500000001722707704726156012635 00000000000000Basic Installation ================== These are generic installation instructions. 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, a file `config.cache' that saves the results of its tests to speed up reconfiguring, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). 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 at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.in' is used to create `configure' by a program called `autoconf'. You only need `configure.in' 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. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. 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. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. You can give `configure' initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure Or on systems that have the `env' program, you can do it like this: env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure 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 must use a version of `make' that supports the `VPATH' variable, such as 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 `..'. If you have to use a `make' that does not supports the `VPATH' variable, you have 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' will install the package's files in `/usr/local/bin', `/usr/local/man', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PATH'. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you give `configure' the option `--exec-prefix=PATH', the package will use PATH as the prefix for installing programs and libraries. Documentation and other data files will still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=PATH' 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' can not figure out automatically, but needs to determine by the type of host the package will run on. Usually `configure' can figure that out, but if it prints a message saying it can not guess the host type, give it the `--host=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name with three fields: CPU-COMPANY-SYSTEM 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 host type. If you are building compiler tools for cross-compiling, you can also use the `--target=TYPE' option to select the type of system they will produce code for and the `--build=TYPE' option to select the type of system on which you are compiling the package. 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. Operation Controls ================== `configure' recognizes the following options to control how it operates. `--cache-file=FILE' Use and save the results of the tests in FILE instead of `./config.cache'. Set FILE to `/dev/null' to disable caching, for debugging `configure'. `--help' Print a summary of the options to `configure', and exit. `--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. `--version' Print the version of Autoconf used to generate the `configure' script, and exit. `configure' also accepts some other, not widely useful, options. hardware-monitor-1.0/Makefile.am0000644000175000017500000000107007730630714013616 00000000000000SUBDIRS = src po # help # server file serverdir = $(libdir)/bonobo/servers server_in_files = HardwareMonitor.server.in server_DATA = $(server_in_files:.server.in=.server) $(server_in_files): $(server_in_files:.server.in=.server.in.in) Makefile sed -e "s|\@LIBEXECDIR\@|$(libexecdir)|" -e "s|\@PACKAGE\@|$(PACKAGE)|" $< > $@ @INTLTOOL_SERVER_RULE@ # icon icondir = $(datadir)/pixmaps icon_DATA = $(PACKAGE)-applet.png EXTRA_DIST = $(icon_DATA) $(server_DATA:.server=.server.in.in) \ intltool-merge.in intltool-extract.in intltool-update.in hardware-monitor-1.0/NEWS0000644000175000017500000000547610021711614012261 00000000000000Version 1.0 (2004-03-04) ------------------------ Added an option to show free disk space instead of used. Added support for monitoring wireless network connections. Fixed an alignment bug for the text viewer (it was not aligned with the GNOME clock). Assorted other bug fixes. Version 0.7 (2003-08-27) ------------------------ Fixed the performance problem with the column diagram viewer. CPU usage back to zero again now. Fixed disk usage sometimes reporting the wrong values for disk size. Made it report disk usage rather than disk free. The scales of network monitors over the same network interface are now synchronized (so that e.g. incoming and outgoing data use the same scale). Version 0.6 (2003-07-24) ------------------------ Added a column diagram viewer like the System Monitor one in gnome-applets. Added support for choosing all of the various temperature sensors in the system. Also added support for monitoring fan speeds with lm-sensors. Rearranged the UI for choosing a device to monitor to make room for these changes. Fixed a bug related to choosing the swap usage monitor. Really ignore ignored lm-sensors features. Made the monitors without predetermined maximum values reduce their maximum gradually. Version 0.5.1 (2003-06-01) -------------------------- Fixed bug with missing '#include '. Fixed bug with measuring outgoing data with network load. Fixed the network tooltip to mention in/out. Added Korean translation. Version 0.5 (2003-04-24) ------------------------ Made the curve and the bar viewer update themselves continuously instead of in small jumps. And the bars are broken into little boxes which look much neater. Fixed some of the issues with the text viewer. The applet now renices itself to 10 so that it doesn't steal CPU time from Real Productive Processes. Code cleanup, taking more advantage of the class hierarchy to reduce duplicate code. Fixed a character set bug that made the applet crash when monitoring CPU temperature. Version 0.4 (2003-04-15) ------------------------ Added a feature for optionally changing the background color. Rearranged the preferences window quite heavily, hopefully it is more user-friendly now. Fixed a bug with the curve viewer displaying half lines. Other bug fixes, including build fixes (should now work with GCC 2.95). Version 0.3 (2003-03-29) ------------------------ Added support for lm-sensors monitoring of CPU temperature if you have libsensors. Adding a monitor will now automatically choose a sensible colour for the monitor. Minor other UI enhancements. Version 0.2 (2003-02-03) ------------------------ A couple of minor bug fixes, and a brand-new beautiful flame view. Version 0.1 (2003-01-31) ------------------------ First public release. Supports bar view, curve view and textual view, and the various monitors supported by libgtop. hardware-monitor-1.0/aclocal.m40000644000175000017500000016500510021711661013417 00000000000000dnl aclocal.m4 generated automatically by aclocal 1.4-p6 dnl Copyright (C) 1994, 1995-8, 1999, 2001 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 This program is distributed in the hope that it will be useful, dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A dnl PARTICULAR PURPOSE. # lib-prefix.m4 serial 3 (gettext-0.13) dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. dnl AC_LIB_ARG_WITH is synonymous to AC_ARG_WITH in autoconf-2.13, and dnl similar to AC_ARG_WITH in autoconf 2.52...2.57 except that is doesn't dnl require excessive bracketing. ifdef([AC_HELP_STRING], [AC_DEFUN([AC_LIB_ARG_WITH], [AC_ARG_WITH([$1],[[$2]],[$3],[$4])])], [AC_DEFUN([AC_][LIB_ARG_WITH], [AC_ARG_WITH([$1],[$2],[$3],[$4])])]) dnl AC_LIB_PREFIX adds to the CPPFLAGS and LDFLAGS the flags that are needed dnl to access previously installed libraries. The basic assumption is that dnl a user will want packages to use other packages he previously installed dnl with the same --prefix option. dnl This macro is not needed if only AC_LIB_LINKFLAGS is used to locate dnl libraries, but is otherwise very convenient. AC_DEFUN([AC_LIB_PREFIX], [ AC_BEFORE([$0], [AC_LIB_LINKFLAGS]) AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib-prefix], [ --with-lib-prefix[=DIR] search for libraries in DIR/include and DIR/lib --without-lib-prefix don't search for libraries in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi ]) if test $use_additional = yes; then dnl Potentially add $additional_includedir to $CPPFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's already present in $CPPFLAGS, dnl 3. if it's /usr/local/include and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= for x in $CPPFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $CPPFLAGS. CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }-I$additional_includedir" fi fi fi fi dnl Potentially add $additional_libdir to $LDFLAGS. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's already present in $LDFLAGS, dnl 3. if it's /usr/local/lib and we are using GCC on Linux, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/lib"; then haveit= for x in $LDFLAGS; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LDFLAGS. LDFLAGS="${LDFLAGS}${LDFLAGS:+ }-L$additional_libdir" fi fi fi fi fi ]) dnl AC_LIB_PREPARE_PREFIX creates variables acl_final_prefix, dnl acl_final_exec_prefix, containing the values to which $prefix and dnl $exec_prefix will expand at the end of the configure script. AC_DEFUN([AC_LIB_PREPARE_PREFIX], [ dnl Unfortunately, prefix and exec_prefix get only finally determined dnl at the end of configure. if test "X$prefix" = "XNONE"; then acl_final_prefix="$ac_default_prefix" else acl_final_prefix="$prefix" fi if test "X$exec_prefix" = "XNONE"; then acl_final_exec_prefix='${prefix}' else acl_final_exec_prefix="$exec_prefix" fi acl_save_prefix="$prefix" prefix="$acl_final_prefix" eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" prefix="$acl_save_prefix" ]) dnl AC_LIB_WITH_FINAL_PREFIX([statement]) evaluates statement, with the dnl variables prefix and exec_prefix bound to the values they will have dnl at the end of the configure script. AC_DEFUN([AC_LIB_WITH_FINAL_PREFIX], [ acl_save_prefix="$prefix" prefix="$acl_final_prefix" acl_save_exec_prefix="$exec_prefix" exec_prefix="$acl_final_exec_prefix" $1 exec_prefix="$acl_save_exec_prefix" prefix="$acl_save_prefix" ]) # lib-link.m4 serial 4 (gettext-0.12) dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl From Bruno Haible. dnl AC_LIB_LINKFLAGS(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets and AC_SUBSTs the LIB${NAME} and LTLIB${NAME} variables and dnl augments the CPPFLAGS variable. AC_DEFUN([AC_LIB_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [ AC_LIB_LINKFLAGS_BODY([$1], [$2]) ac_cv_lib[]Name[]_libs="$LIB[]NAME" ac_cv_lib[]Name[]_ltlibs="$LTLIB[]NAME" ac_cv_lib[]Name[]_cppflags="$INC[]NAME" ]) LIB[]NAME="$ac_cv_lib[]Name[]_libs" LTLIB[]NAME="$ac_cv_lib[]Name[]_ltlibs" INC[]NAME="$ac_cv_lib[]Name[]_cppflags" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) dnl Also set HAVE_LIB[]NAME so that AC_LIB_HAVE_LINKFLAGS can reuse the dnl results of this search when this library appears as a dependency. HAVE_LIB[]NAME=yes undefine([Name]) undefine([NAME]) ]) dnl AC_LIB_HAVE_LINKFLAGS(name, dependencies, includes, testcode) dnl searches for libname and the libraries corresponding to explicit and dnl implicit dependencies, together with the specified include files and dnl the ability to compile and link the specified testcode. If found, it dnl sets and AC_SUBSTs HAVE_LIB${NAME}=yes and the LIB${NAME} and dnl LTLIB${NAME} variables and augments the CPPFLAGS variable, and dnl #defines HAVE_LIB${NAME} to 1. Otherwise, it sets and AC_SUBSTs dnl HAVE_LIB${NAME}=no and LIB${NAME} and LTLIB${NAME} to empty. AC_DEFUN([AC_LIB_HAVE_LINKFLAGS], [ AC_REQUIRE([AC_LIB_PREPARE_PREFIX]) AC_REQUIRE([AC_LIB_RPATH]) define([Name],[translit([$1],[./-], [___])]) define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME dnl accordingly. AC_LIB_LINKFLAGS_BODY([$1], [$2]) dnl Add $INC[]NAME to CPPFLAGS before performing the following checks, dnl because if the user has installed lib[]Name and not disabled its use dnl via --without-lib[]Name-prefix, he wants to use it. ac_save_CPPFLAGS="$CPPFLAGS" AC_LIB_APPENDTOVAR([CPPFLAGS], [$INC]NAME) AC_CACHE_CHECK([for lib[]$1], [ac_cv_lib[]Name], [ ac_save_LIBS="$LIBS" LIBS="$LIBS $LIB[]NAME" AC_TRY_LINK([$3], [$4], [ac_cv_lib[]Name=yes], [ac_cv_lib[]Name=no]) LIBS="$ac_save_LIBS" ]) if test "$ac_cv_lib[]Name" = yes; then HAVE_LIB[]NAME=yes AC_DEFINE([HAVE_LIB]NAME, 1, [Define if you have the $1 library.]) AC_MSG_CHECKING([how to link with lib[]$1]) AC_MSG_RESULT([$LIB[]NAME]) else HAVE_LIB[]NAME=no dnl If $LIB[]NAME didn't lead to a usable library, we don't need dnl $INC[]NAME either. CPPFLAGS="$ac_save_CPPFLAGS" LIB[]NAME= LTLIB[]NAME= fi AC_SUBST([HAVE_LIB]NAME) AC_SUBST([LIB]NAME) AC_SUBST([LTLIB]NAME) undefine([Name]) undefine([NAME]) ]) dnl Determine the platform dependent parameters needed to use rpath: dnl libext, shlibext, hardcode_libdir_flag_spec, hardcode_libdir_separator, dnl hardcode_direct, hardcode_minus_L. AC_DEFUN([AC_LIB_RPATH], [ AC_REQUIRE([AC_PROG_CC]) dnl we use $CC, $GCC, $LDFLAGS AC_REQUIRE([AC_LIB_PROG_LD]) dnl we use $LD, $with_gnu_ld AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT]) dnl we use $ac_aux_dir AC_CACHE_CHECK([for shared library run path origin], acl_cv_rpath, [ CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh . ./conftest.sh rm -f ./conftest.sh acl_cv_rpath=done ]) wl="$acl_cv_wl" libext="$acl_cv_libext" shlibext="$acl_cv_shlibext" hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" hardcode_direct="$acl_cv_hardcode_direct" hardcode_minus_L="$acl_cv_hardcode_minus_L" dnl Determine whether the user wants rpath handling at all. AC_ARG_ENABLE(rpath, [ --disable-rpath do not hardcode runtime library paths], :, enable_rpath=yes) ]) dnl AC_LIB_LINKFLAGS_BODY(name [, dependencies]) searches for libname and dnl the libraries corresponding to explicit and implicit dependencies. dnl Sets the LIB${NAME}, LTLIB${NAME} and INC${NAME} variables. AC_DEFUN([AC_LIB_LINKFLAGS_BODY], [ define([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-], [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])]) dnl By default, look in $includedir and $libdir. use_additional=yes AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) AC_LIB_ARG_WITH([lib$1-prefix], [ --with-lib$1-prefix[=DIR] search for lib$1 in DIR/include and DIR/lib --without-lib$1-prefix don't search for lib$1 in includedir and libdir], [ if test "X$withval" = "Xno"; then use_additional=no else if test "X$withval" = "X"; then AC_LIB_WITH_FINAL_PREFIX([ eval additional_includedir=\"$includedir\" eval additional_libdir=\"$libdir\" ]) else additional_includedir="$withval/include" additional_libdir="$withval/lib" fi fi ]) dnl Search the library and its dependencies in $additional_libdir and dnl $LDFLAGS. Using breadth-first-seach. LIB[]NAME= LTLIB[]NAME= INC[]NAME= rpathdirs= ltrpathdirs= names_already_handled= names_next_round='$1 $2' while test -n "$names_next_round"; do names_this_round="$names_next_round" names_next_round= for name in $names_this_round; do already_handled= for n in $names_already_handled; do if test "$n" = "$name"; then already_handled=yes break fi done if test -z "$already_handled"; then names_already_handled="$names_already_handled $name" dnl See if it was already located by an earlier AC_LIB_LINKFLAGS dnl or AC_LIB_HAVE_LINKFLAGS call. uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` eval value=\"\$HAVE_LIB$uppername\" if test -n "$value"; then if test "$value" = yes; then eval value=\"\$LIB$uppername\" test -z "$value" || LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$value" eval value=\"\$LTLIB$uppername\" test -z "$value" || LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$value" else dnl An earlier call to AC_LIB_HAVE_LINKFLAGS has determined dnl that this library doesn't exist. So just drop it. : fi else dnl Search the library lib$name in $additional_libdir and $LDFLAGS dnl and the already constructed $LIBNAME/$LTLIBNAME. found_dir= found_la= found_so= found_a= if test $use_additional = yes; then if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then found_dir="$additional_libdir" found_so="$additional_libdir/lib$name.$shlibext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi else if test -f "$additional_libdir/lib$name.$libext"; then found_dir="$additional_libdir" found_a="$additional_libdir/lib$name.$libext" if test -f "$additional_libdir/lib$name.la"; then found_la="$additional_libdir/lib$name.la" fi fi fi fi if test "X$found_dir" = "X"; then for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) case "$x" in -L*) dir=`echo "X$x" | sed -e 's/^X-L//'` if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then found_dir="$dir" found_so="$dir/lib$name.$shlibext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi else if test -f "$dir/lib$name.$libext"; then found_dir="$dir" found_a="$dir/lib$name.$libext" if test -f "$dir/lib$name.la"; then found_la="$dir/lib$name.la" fi fi fi ;; esac if test "X$found_dir" != "X"; then break fi done fi if test "X$found_dir" != "X"; then dnl Found the library. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$found_dir -l$name" if test "X$found_so" != "X"; then dnl Linking with a shared library. We attempt to hardcode its dnl directory into the executable's runpath, unless it's the dnl standard /usr/lib. if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then dnl No hardcoding is needed. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl Use an explicit option to hardcode DIR into the resulting dnl binary. dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $found_dir" fi dnl The hardcoding into $LIBNAME is system dependent. if test "$hardcode_direct" = yes; then dnl Using DIR/libNAME.so during linking hardcodes DIR into the dnl resulting binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then dnl Use an explicit option to hardcode DIR into the resulting dnl binary. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $found_dir" fi else dnl Rely on "-L$found_dir". dnl But don't add it if it's already contained in the LDFLAGS dnl or the already constructed $LIBNAME haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$found_dir"; then haveit=yes break fi done if test -z "$haveit"; then LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir" fi if test "$hardcode_minus_L" != no; then dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_so" else dnl We cannot use $hardcode_runpath_var and LD_RUN_PATH dnl here, because this doesn't fit in flags passed to the dnl compiler. So give up. No hardcoding. This affects only dnl very old systems. dnl FIXME: Not sure whether we should use dnl "-L$found_dir -l$name" or "-L$found_dir $found_so" dnl here. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" fi fi fi fi else if test "X$found_a" != "X"; then dnl Linking with a static library. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$found_a" else dnl We shouldn't come here, but anyway it's good to have a dnl fallback. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$found_dir -l$name" fi fi dnl Assume the include files are nearby. additional_includedir= case "$found_dir" in */lib | */lib/) basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'` additional_includedir="$basedir/include" ;; esac if test "X$additional_includedir" != "X"; then dnl Potentially add $additional_includedir to $INCNAME. dnl But don't add it dnl 1. if it's the standard /usr/include, dnl 2. if it's /usr/local/include and we are using GCC on Linux, dnl 3. if it's already present in $CPPFLAGS or the already dnl constructed $INCNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_includedir" != "X/usr/include"; then haveit= if test "X$additional_includedir" = "X/usr/local/include"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then for x in $CPPFLAGS $INC[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-I$additional_includedir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_includedir"; then dnl Really add $additional_includedir to $INCNAME. INC[]NAME="${INC[]NAME}${INC[]NAME:+ }-I$additional_includedir" fi fi fi fi fi dnl Look for dependencies. if test -n "$found_la"; then dnl Read the .la file. It defines the variables dnl dlname, library_names, old_library, dependency_libs, current, dnl age, revision, installed, dlopen, dlpreopen, libdir. save_libdir="$libdir" case "$found_la" in */* | *\\*) . "$found_la" ;; *) . "./$found_la" ;; esac libdir="$save_libdir" dnl We use only dependency_libs. for dep in $dependency_libs; do case "$dep" in -L*) additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` dnl Potentially add $additional_libdir to $LIBNAME and $LTLIBNAME. dnl But don't add it dnl 1. if it's the standard /usr/lib, dnl 2. if it's /usr/local/lib and we are using GCC on Linux, dnl 3. if it's already present in $LDFLAGS or the already dnl constructed $LIBNAME, dnl 4. if it doesn't exist as a directory. if test "X$additional_libdir" != "X/usr/lib"; then haveit= if test "X$additional_libdir" = "X/usr/local/lib"; then if test -n "$GCC"; then case $host_os in linux*) haveit=yes;; esac fi fi if test -z "$haveit"; then haveit= for x in $LDFLAGS $LIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LIBNAME. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-L$additional_libdir" fi fi haveit= for x in $LDFLAGS $LTLIB[]NAME; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X-L$additional_libdir"; then haveit=yes break fi done if test -z "$haveit"; then if test -d "$additional_libdir"; then dnl Really add $additional_libdir to $LTLIBNAME. LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-L$additional_libdir" fi fi fi fi ;; -R*) dir=`echo "X$dep" | sed -e 's/^X-R//'` if test "$enable_rpath" != no; then dnl Potentially add DIR to rpathdirs. dnl The rpathdirs will be appended to $LIBNAME at the end. haveit= for x in $rpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then rpathdirs="$rpathdirs $dir" fi dnl Potentially add DIR to ltrpathdirs. dnl The ltrpathdirs will be appended to $LTLIBNAME at the end. haveit= for x in $ltrpathdirs; do if test "X$x" = "X$dir"; then haveit=yes break fi done if test -z "$haveit"; then ltrpathdirs="$ltrpathdirs $dir" fi fi ;; -l*) dnl Handle this in the next round. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` ;; *.la) dnl Handle this in the next round. Throw away the .la's dnl directory; it is already contained in a preceding -L dnl option. names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` ;; *) dnl Most likely an immediate library name. LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$dep" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }$dep" ;; esac done fi else dnl Didn't find the library; assume it is in the system directories dnl known to the linker and runtime loader. (All the system dnl directories known to the linker should also be known to the dnl runtime loader, otherwise the system is severely misconfigured.) LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }-l$name" LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-l$name" fi fi fi done done if test "X$rpathdirs" != "X"; then if test -n "$hardcode_libdir_separator"; then dnl Weird platform: only the last -rpath option counts, the user must dnl pass all path elements in one option. We can arrange that for a dnl single library, but not when more than one $LIBNAMEs are used. alldirs= for found_dir in $rpathdirs; do alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir" done dnl Note: hardcode_libdir_flag_spec uses $libdir and $wl. acl_save_libdir="$libdir" libdir="$alldirs" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" else dnl The -rpath options are cumulative. for found_dir in $rpathdirs; do acl_save_libdir="$libdir" libdir="$found_dir" eval flag=\"$hardcode_libdir_flag_spec\" libdir="$acl_save_libdir" LIB[]NAME="${LIB[]NAME}${LIB[]NAME:+ }$flag" done fi fi if test "X$ltrpathdirs" != "X"; then dnl When using libtool, the option that works for both libraries and dnl executables is -R. The -R options are cumulative. for found_dir in $ltrpathdirs; do LTLIB[]NAME="${LTLIB[]NAME}${LTLIB[]NAME:+ }-R$found_dir" done fi ]) dnl AC_LIB_APPENDTOVAR(VAR, CONTENTS) appends the elements of CONTENTS to VAR, dnl unless already present in VAR. dnl Works only for CPPFLAGS, not for LIB* variables because that sometimes dnl contains two or three consecutive elements that belong together. AC_DEFUN([AC_LIB_APPENDTOVAR], [ for element in [$2]; do haveit= for x in $[$1]; do AC_LIB_WITH_FINAL_PREFIX([eval x=\"$x\"]) if test "X$x" = "X$element"; then haveit=yes break fi done if test -z "$haveit"; then [$1]="${[$1]}${[$1]:+ }$element" fi done ]) # lib-ld.m4 serial 3 (gettext-0.13) dnl Copyright (C) 1996-2003 Free Software Foundation, Inc. dnl This file is free software, distributed under the terms of the GNU dnl General Public License. As a special exception to the GNU General dnl Public License, this file may be distributed as part of a program dnl that contains a configuration script generated by Autoconf, under dnl the same distribution terms as the rest of that program. dnl Subroutines of libtool.m4, dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision dnl with libtool.m4. dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no. AC_DEFUN([AC_LIB_PROG_LD_GNU], [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], acl_cv_prog_gnu_ld, [# I'd rather use --version here, but apparently some GNU ld's only accept -v. case `$LD -v 2>&1 conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by GCC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]* | [A-Za-z]:[\\/]*)] [re_direlt='/[^/][^/]*/\.\./'] # Canonicalize the path of ld ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(acl_cv_path_LD, [if test -z "$LD"; then IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then acl_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some GNU ld's only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in *GNU* | *'with BFD'*) test "$with_gnu_ld" != no && break ;; *) test "$with_gnu_ld" != yes && break ;; esac fi done IFS="$ac_save_ifs" else acl_cv_path_LD="$LD" # Let the user override the test with a path. fi]) LD="$acl_cv_path_LD" if test -n "$LD"; then AC_MSG_RESULT($LD) else AC_MSG_RESULT(no) fi test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH]) AC_LIB_PROG_LD_GNU ]) # Like AC_CONFIG_HEADER, but automatically create stamp file. AC_DEFUN([AM_CONFIG_HEADER], [AC_PREREQ([2.12]) AC_CONFIG_HEADER([$1]) dnl When config.status generates a header, we must update the stamp-h file. dnl This file resides in the same directory as the config header dnl that is generated. We must strip everything past the first ":", dnl and everything past the last "/". AC_OUTPUT_COMMANDS(changequote(<<,>>)dnl ifelse(patsubst(<<$1>>, <<[^ ]>>, <<>>), <<>>, <>CONFIG_HEADERS" || echo timestamp > patsubst(<<$1>>, <<^\([^:]*/\)?.*>>, <<\1>>)stamp-h<<>>dnl>>, <>; do case " <<$>>CONFIG_HEADERS " in *" <<$>>am_file "*<<)>> echo timestamp > `echo <<$>>am_file | sed -e 's%:.*%%' -e 's%[^/]*$%%'`stamp-h$am_indx ;; esac am_indx=`expr "<<$>>am_indx" + 1` done<<>>dnl>>) changequote([,]))]) # Do all the work for Automake. 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. # serial 1 dnl Usage: dnl AM_INIT_AUTOMAKE(package,version, [no-define]) AC_DEFUN([AM_INIT_AUTOMAKE], [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL]) PACKAGE=[$1] AC_SUBST(PACKAGE) VERSION=[$2] AC_SUBST(VERSION) dnl test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi ifelse([$3],, AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])) AC_REQUIRE([AM_SANITY_CHECK]) AC_REQUIRE([AC_ARG_PROGRAM]) dnl FIXME This is truly gross. missing_dir=`cd $ac_aux_dir && pwd` AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir) AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir) AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir) AC_REQUIRE([AC_PROG_MAKE_SET])]) # Copyright 2002 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., 59 Temple Place - Suite 330, Boston, MA # 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. AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.4-p6])]) # # Check to make sure that the build environment is sane. # AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftestfile # 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 conftestfile 2> /dev/null` if test "[$]*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "[$]*" != "X $srcdir/configure conftestfile" \ && test "[$]*" != "X conftestfile $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" = conftestfile ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi rm -f conftest* AC_MSG_RESULT(yes)]) dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY) dnl The program must properly implement --version. AC_DEFUN([AM_MISSING_PROG], [AC_MSG_CHECKING(for working $2) # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if ($2 --version) < /dev/null > /dev/null 2>&1; then $1=$2 AC_MSG_RESULT(found) else $1="$3/missing $2" AC_MSG_RESULT(missing) fi AC_SUBST($1)]) ll## intltool.m4 - Configure intltool for the target system. -*-Shell-script-*- dnl AC_PROG_INTLTOOL([MINIMUM-VERSION]) # serial 1 AC_PROG_INTLTOOL AC_DEFUN([AC_PROG_INTLTOOL], [ if test -n "$1"; then AC_MSG_CHECKING(for intltool >= $1) INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ printf "%d", $[1] * 100 + $[2]; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $[2]; }' < ${ac_aux_dir}/intltool-update.in` changequote({{,}}) INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split(${{2}}, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in` changequote([,]) if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) else AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool $1 or later.]) exit 1 fi fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -k -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -o -p' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -o -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -x -u -m -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -s -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< [$]@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' AC_SUBST(INTLTOOL_DESKTOP_RULE) AC_SUBST(INTLTOOL_DIRECTORY_RULE) AC_SUBST(INTLTOOL_KEYS_RULE) AC_SUBST(INTLTOOL_PROP_RULE) AC_SUBST(INTLTOOL_OAF_RULE) AC_SUBST(INTLTOOL_PONG_RULE) AC_SUBST(INTLTOOL_SERVER_RULE) AC_SUBST(INTLTOOL_SHEET_RULE) AC_SUBST(INTLTOOL_SOUNDLIST_RULE) AC_SUBST(INTLTOOL_UI_RULE) AC_SUBST(INTLTOOL_XAM_RULE) AC_SUBST(INTLTOOL_KBD_RULE) AC_SUBST(INTLTOOL_XML_RULE) AC_SUBST(INTLTOOL_CAVES_RULE) AC_SUBST(INTLTOOL_SCHEMAS_RULE) AC_SUBST(INTLTOOL_THEME_RULE) # Use the tools built into the package, not the ones that are installed. INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' INTLTOOL_MERGE='$(top_builddir)/intltool-merge' INTLTOOL_UPDATE='$(top_builddir)/intltool-update' AC_SUBST(INTLTOOL_EXTRACT) AC_SUBST(INTLTOOL_MERGE) AC_SUBST(INTLTOOL_UPDATE) AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found; required for intltool]) fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then AC_MSG_ERROR([perl 5.x required for intltool]) fi if `perl -e "require XML::Parser" 2>/dev/null`; then : else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi # Remove file type tags (using []) from po/POTFILES. ifdef([AC_DIVERSION_ICMDS],[ AC_DIVERT_PUSH(AC_DIVERSION_ICMDS) changequote(,) mv -f po/POTFILES po/POTFILES.tmp sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES rm -f po/POTFILES.tmp changequote([,]) AC_DIVERT_POP() ],[ ifdef([AC_CONFIG_COMMANDS_PRE],[ AC_CONFIG_COMMANDS_PRE([ changequote(,) mv -f po/POTFILES po/POTFILES.tmp sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES rm -f po/POTFILES.tmp changequote([,]) ]) ]) ]) # Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT. AC_OUTPUT_COMMANDS([ sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then rm -f intltool-extract.out else mv -f intltool-extract.out intltool-extract fi chmod ugo+x intltool-extract chmod u+w intltool-extract sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \ < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then rm -f intltool-merge.out else mv -f intltool-merge.out intltool-merge fi chmod ugo+x intltool-merge chmod u+w intltool-merge sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out if cmp -s intltool-update intltool-update.out 2>/dev/null; then rm -f intltool-update.out else mv -f intltool-update.out intltool-update fi chmod ugo+x intltool-update chmod u+w intltool-update ], INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir}) ]) dnl PKG_CHECK_MODULES(GSTUFF, gtk+-2.0 >= 1.3 glib = 1.3.4, action-if, action-not) dnl defines GSTUFF_LIBS, GSTUFF_CFLAGS, see pkg-config man page dnl also defines GSTUFF_PKG_ERRORS on error AC_DEFUN(PKG_CHECK_MODULES, [ succeeded=no if test -z "$PKG_CONFIG"; then AC_PATH_PROG(PKG_CONFIG, pkg-config, no) fi if test "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then AC_MSG_CHECKING(for $2) if $PKG_CONFIG --exists "$2" ; then AC_MSG_RESULT(yes) succeeded=yes AC_MSG_CHECKING($1_CFLAGS) $1_CFLAGS=`$PKG_CONFIG --cflags "$2"` AC_MSG_RESULT($$1_CFLAGS) AC_MSG_CHECKING($1_LIBS) $1_LIBS=`$PKG_CONFIG --libs "$2"` AC_MSG_RESULT($$1_LIBS) else $1_CFLAGS="" $1_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. $1_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` ifelse([$4], ,echo $$1_PKG_ERRORS,) fi AC_SUBST($1_CFLAGS) AC_SUBST($1_LIBS) else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then ifelse([$3], , :, [$3]) else ifelse([$4], , AC_MSG_ERROR([Library requirements ($2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.]), [$4]) fi ]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003 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 # # 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 dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return (int) dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) if test "$gt_cv_func_dgettext_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 "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [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, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-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 # 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"; 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) 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" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix 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" 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 # Add --enable-maintainer-mode option to configure. # From Jim Meyering # serial 1 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 ] ) # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_SUBST($1_TRUE) AC_SUBST($1_FALSE) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi]) hardware-monitor-1.0/config.guess0000755000175000017500000012025607704726156014121 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-01-10' # 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., 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. # 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 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 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # 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 -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { 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 ;' # 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 ;; *) 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 0 ;; amiga:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; arc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; hp300:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mac68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; macppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme68k:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvme88k:OpenBSD:*:*) echo m88k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; mvmeppc:OpenBSD:*:*) echo powerpc-unknown-openbsd${UNAME_RELEASE} exit 0 ;; pmax:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sgi:OpenBSD:*:*) echo mipseb-unknown-openbsd${UNAME_RELEASE} exit 0 ;; sun3:OpenBSD:*:*) echo m68k-unknown-openbsd${UNAME_RELEASE} exit 0 ;; wgrisc:OpenBSD:*:*) echo mipsel-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:OpenBSD:*:*) echo ${UNAME_MACHINE}-unknown-openbsd${UNAME_RELEASE} exit 0 ;; *:MicroBSD:*:*) echo ${UNAME_MACHINE}-unknown-microbsd${UNAME_RELEASE} exit 0 ;; alpha:OSF1:*:*) if test $UNAME_RELEASE = "V4.0"; then UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` fi # 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. eval $set_cc_for_build cat <$dummy.s .data \$Lformat: .byte 37,100,45,37,120,10,0 # "%d-%x\n" .text .globl main .align 4 .ent main main: .frame \$30,16,\$26,0 ldgp \$29,0(\$27) .prologue 1 .long 0x47e03d80 # implver \$0 lda \$2,-1 .long 0x47e20c21 # amask \$2,\$1 lda \$16,\$Lformat mov \$0,\$17 not \$1,\$18 jsr \$26,printf ldgp \$29,0(\$26) mov 0,\$16 jsr \$26,exit .end main EOF $CC_FOR_BUILD -o $dummy $dummy.s 2>/dev/null if test "$?" = 0 ; then case `$dummy` in 0-0) UNAME_MACHINE="alpha" ;; 1-0) UNAME_MACHINE="alphaev5" ;; 1-1) UNAME_MACHINE="alphaev56" ;; 1-101) UNAME_MACHINE="alphapca56" ;; 2-303) UNAME_MACHINE="alphaev6" ;; 2-307) UNAME_MACHINE="alphaev67" ;; 2-1307) UNAME_MACHINE="alphaev68" ;; 3-1307) UNAME_MACHINE="alphaev7" ;; esac fi echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[VTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` exit 0 ;; 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 0 ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit 0 ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit 0;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit 0 ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit 0 ;; *:OS/390:*:*) echo i370-ibm-openedition exit 0 ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit 0;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit 0;; 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 0 ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit 0 ;; DRS?6000:UNIX_SV:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7 && exit 0 ;; esac ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; i86pc:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; 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 0 ;; 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 0 ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit 0 ;; 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 0 ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit 0 ;; # 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 0 ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit 0 ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit 0 ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit 0 ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit 0 ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit 0 ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit 0 ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit 0 ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit 0 ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit 0 ;; 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 \ && $dummy `echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` \ && exit 0 echo mips-mips-riscos${UNAME_RELEASE} exit 0 ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit 0 ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit 0 ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit 0 ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit 0 ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit 0 ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit 0 ;; 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 0 ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit 0 ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit 0 ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit 0 ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit 0 ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit 0 ;; ????????: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 0 ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit 0 ;; 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 0 ;; *: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 $CC_FOR_BUILD -o $dummy $dummy.c && $dummy && exit 0 echo rs6000-ibm-aix3.2.5 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 0 ;; *:AIX:*:[45]) 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 0 ;; *:AIX:*:*) echo rs6000-ibm-aix exit 0 ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit 0 ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit 0 ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit 0 ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit 0 ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit 0 ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit 0 ;; 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 # avoid double evaluation of $set_cc_for_build test -n "$CC_FOR_BUILD" || eval $set_cc_for_build if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E -) | grep __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit 0 ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit 0 ;; 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 && $dummy && exit 0 echo unknown-hitachi-hiuxwe2 exit 0 ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit 0 ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit 0 ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit 0 ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit 0 ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit 0 ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit 0 ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit 0 ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit 0 ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit 0 ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit 0 ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit 0 ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; 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 0 ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; *:UNICOS/mp:*:*) echo nv1-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit 0 ;; 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 0 ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit 0 ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit 0 ;; *:FreeBSD:*:*) # Determine whether the default compiler uses glibc. eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #if __GLIBC__ >= 2 LIBC=gnu #else LIBC= #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`${LIBC:+-$LIBC} exit 0 ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit 0 ;; i*:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit 0 ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit 0 ;; x86:Interix*:3*) echo i586-pc-interix3 exit 0 ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit 0 ;; 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 0 ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit 0 ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit 0 ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit 0 ;; *:GNU:*:*) echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit 0 ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit 0 ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; 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 | grep ^CPU=` test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; 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 | grep ^CPU=` test x"${CPU}" != x && echo "${CPU}-unknown-linux-gnu" && exit 0 ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit 0 ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit 0 ;; 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 0 ;; 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 0 ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit 0 ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit 0 ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit 0 ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit 0 ;; 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 0 ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit 0 ;; "") # 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 0 ;; 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 #ifdef __INTEL_COMPILER LIBC=gnu #else LIBC=gnuaout #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=` test x"${LIBC}" != x && echo "${UNAME_MACHINE}-pc-linux-${LIBC}" && exit 0 test x"${TENTATIVE}" != x && echo "${TENTATIVE}" && exit 0 ;; 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 0 ;; 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 0 ;; 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 0 ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit 0 ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit 0 ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit 0 ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit 0 ;; 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 0 ;; i*86:*:5:[78]*) 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 0 ;; 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 0 ;; 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 0 ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit 0 ;; paragon:*:*:*) echo i860-intel-osf1 exit 0 ;; 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 0 ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit 0 ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit 0 ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit 0 ;; M68*:*:R3V[567]*:*) test -r /sysV68 && echo 'm68k-motorola-sysv' && exit 0 ;; 3[34]??:*: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) 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 0 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && echo i586-ncr-sysv4.3${OS_REL} && exit 0 ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && echo i486-ncr-sysv4 && exit 0 ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit 0 ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit 0 ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit 0 ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit 0 ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit 0 ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit 0 ;; *: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 0 ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit 0 ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit 0 ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit 0 ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit 0 ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit 0 ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit 0 ;; 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 0 ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit 0 ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit 0 ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit 0 ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit 0 ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit 0 ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit 0 ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit 0 ;; *:Darwin:*:*) case `uname -p` in *86) UNAME_PROCESSOR=i686 ;; powerpc) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit 0 ;; *: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 0 ;; *:QNX:*:4*) echo i386-pc-qnx exit 0 ;; NSR-[DGKLNPTVW]:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit 0 ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit 0 ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit 0 ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit 0 ;; *: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 0 ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit 0 ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit 0 ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit 0 ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit 0 ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit 0 ;; *:ITS:*:*) echo pdp10-unknown-its exit 0 ;; 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"); 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 && $dummy && exit 0 # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit 0; } # 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 0 ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit 0 ;; c34*) echo c34-convex-bsd exit 0 ;; c38*) echo c38-convex-bsd exit 0 ;; c4*) echo c4-convex-bsd exit 0 ;; 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: hardware-monitor-1.0/config.h.in0000644000175000017500000000407107704726157013621 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* "definition of 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 /* libsensors is available */ #undef HAVE_LIBSENSORS /* 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_SENSORS_SENSORS_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 /* 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 hardware-monitor-1.0/config.sub0000755000175000017500000007210307704726156013561 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. timestamp='2003-01-03' # 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., 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. # 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 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 0 ;; --version | -v ) echo "$version" ; exit 0 ;; --help | --h* | -h ) echo "$usage"; exit 0 ;; -- ) # 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 0;; * ) 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* | freebsd*-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) 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 ;; -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/'` ;; -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] \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k \ | m32r | m68000 | m68k | m88k | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | msp430 \ | ns16k | ns32k \ | openrisc | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | sh | sh[1234] | sh3e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic80 | tron \ | v850 | v850e \ | we32k \ | x86 | xscale | 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) ;; # 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-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* \ | clipper-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* \ | m32r-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | msp430-* \ | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | romp-* | rs6000-* \ | sh-* | sh[1234]-* | sh3e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* | tic30-* | tic4x-* | tic54x-* | tic80-* | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \ | xtensa-* \ | ymp-* \ | z8k-*) ;; # 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 ;; 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 ;; 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 ;; 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 ;; crds | unos) basic_machine=m68k-crds ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; 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 ;; 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 ;; 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 ;; 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 ;; mmix*) basic_machine=mmix-knuth os=-mmixware ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; 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 ;; nv1) basic_machine=nv1-cray os=-unicosmp ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; or32 | or32-*) basic_machine=or32-unknown os=-coff ;; 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 ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2) basic_machine=i686-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-*) basic_machine=i686-`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 ;; 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 ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; 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 ;; tic4x | c4x*) basic_machine=tic4x-unknown os=-coff ;; tic54x | c54x*) basic_machine=tic54x-unknown os=-coff ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; 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 ;; 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 ;; 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 ;; sh3 | sh4 | sh3eb | sh4eb | sh[1234]le | sh3ele) basic_machine=sh-unknown ;; sh64) basic_machine=sh64-unknown ;; sparc | sparcv9 | sparcv9b) 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* | -netbsd* | -openbsd* | -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* | -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* | -microbsd*) # 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* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -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 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -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 ;; -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 ;; -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 *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; # 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 ;; 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 ;; *-ibm) os=-aix ;; *-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 ;; -ptx*) vendor=sequent ;; -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 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: hardware-monitor-1.0/configure0000755000175000017500000062707610021711666013506 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # # Copyright (C) 2003 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 Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') 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=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # 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 before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, 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 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH # 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` exec 6>&1 # # Initializations. # ac_default_prefix=/usr/local ac_config_libobj_dir=. cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. # This variable seems obsolete. It should probably be removed, and # only ac_max_sed_lines should be used. : ${ac_max_here_lines=38} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="src/main.cpp" # Factoring default headers for most tests. ac_includes_default="\ #include #if HAVE_SYS_TYPES_H # include #endif #if HAVE_SYS_STAT_H # include #endif #if STDC_HEADERS # include # include #else # if HAVE_STDLIB_H # include # endif #endif #if HAVE_STRING_H # if !STDC_HEADERS && HAVE_MEMORY_H # include # endif # include #endif #if HAVE_STRINGS_H # include #endif #if HAVE_INTTYPES_H # include #else # if HAVE_STDINT_H # include # endif #endif #if HAVE_UNISTD_H # include #endif" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC PKG_CONFIG DEPS_CFLAGS DEPS_LIBS CPP EGREP SENSORS_CFLAGS SENSORS_LIBS GETTEXT_PACKAGE USE_NLS MSGFMT GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. ac_init_help= ac_init_version=false # 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. bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datadir='${prefix}/share' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' libdir='${exec_prefix}/lib' includedir='${prefix}/include' oldincludedir='/usr/include' infodir='${prefix}/info' mandir='${prefix}/man' ac_prev= 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 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_option in -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 | --data | --dat | --da) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | --da=*) datadir=$ac_optarg ;; -disable-* | --disable-*) ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` eval "enable_$ac_feature=no" ;; -enable-* | --enable-*) ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "enable_$ac_feature='$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 ;; -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 ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst \ | --locals | --local | --loca | --loc | --lo) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 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 ;; -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_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package| sed 's/-/_/g'` case $ac_option in *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; *) ac_optarg=yes ;; esac eval "with_$ac_package='$ac_optarg'" ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/-/_/g'` eval "with_$ac_package=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 ;; -*) { 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 && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` eval "$ac_envvar='$ac_optarg'" export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 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'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute paths. for ac_var in exec_prefix prefix do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* | NONE | '' ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac done # Be sure to have absolute paths. for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ localstatedir libdir includedir oldincludedir infodir mandir do eval ac_val=$`echo $ac_var` case $ac_val in [\\/$]* | ?:[\\/]* ) ;; *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; };; esac 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 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 # 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 its parent. ac_confdir=`(dirname "$0") 2>/dev/null || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$0" | 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 if test "$ac_srcdir_defaulted" = yes; then { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 { (exit 1); exit 1; }; } else { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi fi (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 { (exit 1); exit 1; }; } srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` ac_env_build_alias_set=${build_alias+set} ac_env_build_alias_value=$build_alias ac_cv_env_build_alias_set=${build_alias+set} ac_cv_env_build_alias_value=$build_alias ac_env_host_alias_set=${host_alias+set} ac_env_host_alias_value=$host_alias ac_cv_env_host_alias_set=${host_alias+set} ac_cv_env_host_alias_value=$host_alias ac_env_target_alias_set=${target_alias+set} ac_env_target_alias_value=$target_alias ac_cv_env_target_alias_set=${target_alias+set} ac_cv_env_target_alias_value=$target_alias ac_env_CXX_set=${CXX+set} ac_env_CXX_value=$CXX ac_cv_env_CXX_set=${CXX+set} ac_cv_env_CXX_value=$CXX ac_env_CXXFLAGS_set=${CXXFLAGS+set} ac_env_CXXFLAGS_value=$CXXFLAGS ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} ac_cv_env_CXXFLAGS_value=$CXXFLAGS ac_env_LDFLAGS_set=${LDFLAGS+set} ac_env_LDFLAGS_value=$LDFLAGS ac_cv_env_LDFLAGS_set=${LDFLAGS+set} ac_cv_env_LDFLAGS_value=$LDFLAGS ac_env_CPPFLAGS_set=${CPPFLAGS+set} ac_env_CPPFLAGS_value=$CPPFLAGS ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} ac_cv_env_CPPFLAGS_value=$CPPFLAGS ac_env_CC_set=${CC+set} ac_env_CC_value=$CC ac_cv_env_CC_set=${CC+set} ac_cv_env_CC_value=$CC ac_env_CFLAGS_set=${CFLAGS+set} ac_env_CFLAGS_value=$CFLAGS ac_cv_env_CFLAGS_set=${CFLAGS+set} ac_cv_env_CFLAGS_value=$CFLAGS ac_env_CPP_set=${CPP+set} ac_env_CPP_value=$CPP ac_cv_env_CPP_set=${CPP+set} ac_cv_env_CPP_value=$CPP # # 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 this package 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 \`..'] _ACEOF cat <<_ACEOF 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] --datadir=DIR read-only architecture-independent data [PREFIX/share] --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] --infodir=DIR info documentation [PREFIX/info] --mandir=DIR man documentation [PREFIX/man] _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 _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --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 Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-libsensors=DIR use libsensors in DIR Some influential environment variables: CXX C++ compiler command CXXFLAGS C++ compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory CPPFLAGS C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory 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. _ACEOF fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. ac_popdir=`pwd` for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d $ac_dir || continue ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac cd $ac_dir # Check for guested configure; otherwise get Cygnus style 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 elif test -f $ac_srcdir/configure.ac || test -f $ac_srcdir/configure.in; then echo $ac_configure --help else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi cd "$ac_popdir" done fi test -n "$ac_init_help" && exit 0 if $ac_init_version; then cat <<\_ACEOF Copyright (C) 2003 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 0 fi exec 5>config.log cat >&5 <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was $ $0 $@ _ACEOF { 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` hostinfo = `(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=. echo "PATH: $as_dir" done } >&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_sep= 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=`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_sep'$ac_arg'" # Get rid of the leading space. ac_sep=" " ;; 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: Be sure not to use single quotes in there, as some shells, # such as our DU 5.0 friend, will then `close' the trap. 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, { (set) 2>&1 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in *ac_space=\ *) sed -n \ "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" ;; *) sed -n \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------- ## ## Output files. ## ## ------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=$`echo $ac_var` echo "$ac_var='"'"'$ac_val'"'"'" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo sed "/^$/d" confdefs.h | sort echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core && rm -rf 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 -rf conftest* confdefs.h # AIX cpp loses on an empty file, so make sure it contains at least a newline. echo >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 explicitly selected file to automatically selected ones. if test -z "$CONFIG_SITE"; then if test "x$prefix" != xNONE; then CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" else CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" fi fi for ac_site_file in $CONFIG_SITE; do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 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 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . $cache_file;; *) . ./$cache_file;; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 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 `(set) 2>&1 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; 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,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 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 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) ac_arg=$ac_var=`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 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 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_headers="$ac_config_headers config.h" ac_config_commands="$ac_config_commands default-1" PACKAGE=hardware-monitor VERSION=1.0 am__api_version="1.4" 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 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} { (exit 1); exit 1; }; } fi ac_config_guess="$SHELL $ac_aux_dir/config.guess" ac_config_sub="$SHELL $ac_aux_dir/config.sub" ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. # 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. echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : 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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done 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. We don't cache a # path for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the path is relative. INSTALL=$ac_install_sh fi fi echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$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' echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6 # Just in case sleep 1 echo timestamp > conftestfile # 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 conftestfile 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftestfile` fi if test "$*" != "X $srcdir/configure conftestfile" \ && test "$*" != "X conftestfile $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". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 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" = conftestfile ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi rm -f conftest* echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}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 $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm conftest.sed echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'` if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.make <<\_ACEOF all: @echo 'ac_maketemp="$(MAKE)"' _ACEOF # GNU make sometimes prints "make[1]: Entering...", which would confuse us. eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=` if test -n "$ac_maketemp"; then eval ac_cv_prog_make_${ac_make}_set=yes else eval ac_cv_prog_make_${ac_make}_set=no fi rm -f conftest.make fi if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 SET_MAKE= else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 SET_MAKE="MAKE=${MAKE-make}" fi PACKAGE=$PACKAGE VERSION=$VERSION if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF missing_dir=`cd $ac_aux_dir && pwd` echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5 echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then ACLOCAL=aclocal-${am__api_version} echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else ACLOCAL="$missing_dir/missing aclocal-${am__api_version}" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working autoconf" >&5 echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoconf --version) < /dev/null > /dev/null 2>&1; then AUTOCONF=autoconf echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOCONF="$missing_dir/missing autoconf" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5 echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then AUTOMAKE=automake-${am__api_version} echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOMAKE="$missing_dir/missing automake-${am__api_version}" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working autoheader" >&5 echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (autoheader --version) < /dev/null > /dev/null 2>&1; then AUTOHEADER=autoheader echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else AUTOHEADER="$missing_dir/missing autoheader" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi echo "$as_me:$LINENO: checking for working makeinfo" >&5 echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6 # Run test in a subshell; some versions of sh will print an error if # an executable is not found, even if stderr is redirected. # Redirect stdin to placate older versions of autoconf. Sigh. if (makeinfo --version) < /dev/null > /dev/null 2>&1; then MAKEINFO=makeinfo echo "$as_me:$LINENO: result: found" >&5 echo "${ECHO_T}found" >&6 else MAKEINFO="$missing_dir/missing makeinfo" echo "$as_me:$LINENO: result: missing" >&5 echo "${ECHO_T}missing" >&6 fi if test -n ""; then echo "$as_me:$LINENO: checking for intltool >= " >&5 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ printf "%d", $1 * 100 + $2; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { printf $2; }' < ${ac_aux_dir}/intltool-update.in` INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($2, VERSION, "."); printf "%d\n", VERSION[1] * 100 + VERSION[2];}' < ${ac_aux_dir}/intltool-update.in` if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT"; then echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6 else echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool or later." >&5 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found. Your intltool is too old. You need intltool or later." >&6 exit 1 fi fi INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -k -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -p' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -o -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -x -u -m -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -s -u -c $(top_builddir)/po/.intltool-merge-cache' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache' # Use the tools built into the package, not the ones that are installed. INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' INTLTOOL_MERGE='$(top_builddir)/intltool-merge' INTLTOOL_UPDATE='$(top_builddir)/intltool-update' # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 echo "${ECHO_T}$INTLTOOL_PERL" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test -z "$INTLTOOL_PERL"; then { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 echo "$as_me: error: perl not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 echo "$as_me: error: perl 5.x required for intltool" >&2;} { (exit 1); exit 1; }; } fi if `perl -e "require XML::Parser" 2>/dev/null`; then : else { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} { (exit 1); exit 1; }; } fi # Remove file type tags (using []) from po/POTFILES. # Manually sed perl in so people don't have to put the intltool scripts in AC_OUTPUT. ac_config_commands="$ac_config_commands default-2" ac_ext=cc 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 -n "$ac_tool_prefix"; then for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CXX=$ac_cv_prog_CXX if test -n "$CXX"; then echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CXX="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CXX" && break done test -n "$ac_ct_CXX" || ac_ct_CXX="g++" CXX=$ac_ct_CXX fi # Provide some information about the compiler. echo "$as_me:$LINENO:" \ "checking for C++ compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? 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.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. echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 (eval $ac_link_default) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Find the output, starting from the most likely. This scheme is # not robust to junk in `.', hence go to wildcards (a.*) only as a last # resort. # Be careful to initialize this variable, since it used to be cached. # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. ac_cv_exeext= # b.out is created by i960 compilers. for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; conftest.$ac_ext ) # This is the source file. ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` # FIXME: I believe we export ac_cv_exeext for Libtool, # but it would be cool to find out if it's true. Does anybody # maintain Libtool? --akim. export ac_cv_exeext break;; * ) break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables See \`config.log' for more details." >&5 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 echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6 # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&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' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? 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 { { 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 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 echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6 echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? 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 | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` export ac_cv_exeext break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 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 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6 rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 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 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6 OBJEXT=$ac_cv_objext ac_objext=$OBJEXT echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_cxx_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS CXXFLAGS="-g" echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cxx_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$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 for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h 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=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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi CC=$ac_ct_CC else CC="$ac_cv_prog_CC" 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done 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 echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi test -n "$ac_ct_CC" && break done CC=$ac_ct_CC fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 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. echo "$as_me:$LINENO:" \ "checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (eval echo "$as_me:$LINENO: \"$ac_compiler --version &5\"") >&5 (eval $ac_compiler --version &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -v &5\"") >&5 (eval $ac_compiler -v &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (eval echo "$as_me:$LINENO: \"$ac_compiler -V &5\"") >&5 (eval $ac_compiler -V &5) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS CFLAGS="-g" echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_cc_g=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$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 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 if test "${ac_cv_prog_cc_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_stdc=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 -std1 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 -std1. */ int osf4_cc_array ['\x00' == 0 ? 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 # Don't try gcc -ansi; that turns off useful extensions and # breaks some systems' header files. # AIX -qlanglvl=ansi # Ultrix and OSF/1 -std1 # HP-UX 10.20 and later -Ae # HP-UX older versions -Aa -D_HPUX_SOURCE # SVR4 -Xc -D__EXTENSIONS__ for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_prog_cc_stdc=$ac_arg break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext done rm -f conftest.$ac_ext conftest.$ac_objext CC=$ac_save_CC fi case "x$ac_cv_prog_cc_stdc" in x|xno) echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6 ;; *) echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 CC="$CC $ac_cv_prog_cc_stdc" ;; esac # Some people use a C++ compiler to compile C. Since we use `exit', # in C++ we need to declare it. In case someone uses the same compiler # for both compiling C and C++ we need to have the C++ compiler decide # the declaration of exit, since it's the most demanding environment. cat >conftest.$ac_ext <<_ACEOF #ifndef __cplusplus choke me #endif _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then for ac_declaration in \ '' \ 'extern "C" void std::exit (int) throw (); using std::exit;' \ 'extern "C" void std::exit (int); using std::exit;' \ 'extern "C" void exit (int) throw ();' \ 'extern "C" void exit (int);' \ 'void exit (int);' do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration #include int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 continue fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_declaration int main () { exit (42); ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then break else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext done rm -f conftest* if test -n "$ac_declaration"; then echo '#ifdef __cplusplus' >>confdefs.h echo $ac_declaration >>confdefs.h echo '#endif' >>confdefs.h fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 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 succeeded=no if test -z "$PKG_CONFIG"; then # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no" ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi fi if test "$PKG_CONFIG" = "no" ; then echo "*** The pkg-config script could not be found. Make sure it is" echo "*** in your path, or set the PKG_CONFIG environment variable" echo "*** to the full path to pkg-config." echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config." else PKG_CONFIG_MIN_VERSION=0.9.0 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then echo "$as_me:$LINENO: checking for \ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0" >&5 echo $ECHO_N "checking for \ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0... $ECHO_C" >&6 if $PKG_CONFIG --exists "\ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0" ; then echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6 succeeded=yes echo "$as_me:$LINENO: checking DEPS_CFLAGS" >&5 echo $ECHO_N "checking DEPS_CFLAGS... $ECHO_C" >&6 DEPS_CFLAGS=`$PKG_CONFIG --cflags "\ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0"` echo "$as_me:$LINENO: result: $DEPS_CFLAGS" >&5 echo "${ECHO_T}$DEPS_CFLAGS" >&6 echo "$as_me:$LINENO: checking DEPS_LIBS" >&5 echo $ECHO_N "checking DEPS_LIBS... $ECHO_C" >&6 DEPS_LIBS=`$PKG_CONFIG --libs "\ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0"` echo "$as_me:$LINENO: result: $DEPS_LIBS" >&5 echo "${ECHO_T}$DEPS_LIBS" >&6 else DEPS_CFLAGS="" DEPS_LIBS="" ## If we have a custom action on failure, don't print errors, but ## do set a variable so people can do so. DEPS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0"` echo $DEPS_PKG_ERRORS fi else echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer." echo "*** See http://www.freedesktop.org/software/pkgconfig" fi fi if test $succeeded = yes; then : else { { echo "$as_me:$LINENO: error: Library requirements (\ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5 echo "$as_me: error: Library requirements (\ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;} { (exit 1); exit 1; }; } fi _cppflags="${CPPFLAGS}" _ldflags="${LDFLAGS}" # Check whether --with-libsensors or --without-libsensors was given. if test "${with_libsensors+set}" = set; then withval="$with_libsensors" if test "$withval" != "no" -a "$withval" != "yes"; then SENSORS_DIR=$withval CPPFLAGS="${CPPFLAGS} -I$withval/include/sensors" LDFLAGS="${LDFLAGS} -L$withval/lib" fi fi; if test "$with_libsensors" = "no"; then echo "Disabling lmsensors support" else 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 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&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 echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else 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 non-existent 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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else 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 echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then : else 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 non-existent 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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then # Broken: success on invalid input. continue else 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 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 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 echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 if test "${ac_cv_prog_egrep+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi fi echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 EGREP=$ac_cv_prog_egrep echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f 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 #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)) exit(2); exit (0); } _ACEOF rm -f conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$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=`echo "ac_cv_header_$ac_header" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in sensors/sensors.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else 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 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF echo "$as_me:$LINENO: checking for sensors_init in -lsensors" >&5 echo $ECHO_N "checking for sensors_init in -lsensors... $ECHO_C" >&6 if test "${ac_cv_lib_sensors_sensors_init+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsensors $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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char sensors_init (); int main () { sensors_init (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_sensors_sensors_init=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_sensors_sensors_init=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_sensors_sensors_init" >&5 echo "${ECHO_T}$ac_cv_lib_sensors_sensors_init" >&6 if test $ac_cv_lib_sensors_sensors_init = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LIBSENSORS 1 _ACEOF if test "x${SENSORS_DIR}" != "x"; then SENSORS_CFLAGS="-I${SENSORS_DIR}/include" SENSORS_LIBS="-L${SENSORS_DIR}/lib -lsensors" case ${host} in *-*-solaris*) SENSORS_LIBS="-L${SENSORS_DIR}/lib -R${SENSORS_DIR}/lib -lsensors" ;; esac else SENSORS_LIBS="-lsensors" fi fi fi done fi CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags} if test "${ac_cv_header_sys_statfs_h+set}" = set; then echo "$as_me:$LINENO: checking for sys/statfs.h" >&5 echo $ECHO_N "checking for sys/statfs.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_statfs_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_statfs_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_statfs_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking sys/statfs.h usability" >&5 echo $ECHO_N "checking sys/statfs.h usability... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking sys/statfs.h presence" >&5 echo $ECHO_N "checking sys/statfs.h presence... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else 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 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: sys/statfs.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: sys/statfs.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: sys/statfs.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: sys/statfs.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: sys/statfs.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: sys/statfs.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: sys/statfs.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: sys/statfs.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: sys/statfs.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: sys/statfs.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: sys/statfs.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: sys/statfs.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: sys/statfs.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: sys/statfs.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: sys/statfs.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: sys/statfs.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for sys/statfs.h" >&5 echo $ECHO_N "checking for sys/statfs.h... $ECHO_C" >&6 if test "${ac_cv_header_sys_statfs_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_sys_statfs_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_sys_statfs_h" >&5 echo "${ECHO_T}$ac_cv_header_sys_statfs_h" >&6 fi ALL_LINGUAS="az be ca da de el es fr hr ko ms nl no pl pt pt_BR sr sr@Latn sv" GETTEXT_PACKAGE=$PACKAGE for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else 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 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 if eval "test \"\${$as_ac_Header+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6 if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$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 echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 else # Is the header compilable? echo "$as_me:$LINENO: checking libintl.h usability" >&5 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest.$ac_objext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f conftest.err conftest.$ac_objext conftest.$ac_ext echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? echo "$as_me:$LINENO: checking libintl.h presence" >&5 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&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 { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&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 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null; then if test -s conftest.err; then ac_cpp_err=$ac_c_preproc_warn_flag ac_cpp_err=$ac_cpp_err$ac_c_werror_flag else ac_cpp_err= fi else ac_cpp_err=yes fi if test -z "$ac_cpp_err"; then ac_header_preproc=yes else 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 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6 # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## ## Report this to the AC_PACKAGE_NAME lists. ## ## ------------------------------------------ ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6 if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6 fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # echo "$as_me:$LINENO: checking for dgettext in libc" >&5 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6 if test "${gt_cv_func_dgettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 (int) dgettext ("","") ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then gt_cv_func_dgettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6 if test "$gt_cv_func_dgettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ 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 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `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 "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char bindtextdomain (); int main () { bindtextdomain (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_bindtextdomain=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6 if test $ac_cv_lib_intl_bindtextdomain = yes; then echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dgettext (); int main () { dgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6 if test $ac_cv_lib_intl_dgettext = yes; then gt_cv_func_dgettext_libintl=yes fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6 echo "$as_me:$LINENO: result: " >&5 echo "${ECHO_T}" >&6 echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dcgettext (); int main () { dcgettext (); ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_lib_intl_dcgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6 if test $ac_cv_lib_intl_dcgettext = yes; then gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv 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 # 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=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ 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 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `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"; 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 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 if eval "test \"\${$as_ac_var+set}\" = set"; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ 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 #else char (*f) () = $ac_func; #endif #ifdef __cplusplus } #endif int main () { return f != $ac_func; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6 fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6 else echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}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 { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then CATOBJEXT=.gmo DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" { #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ 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 #else char (*f) () = bind_textdomain_codeset; #endif #ifdef __cplusplus } #endif int main () { return f != bind_textdomain_codeset; ; return 0; } _ACEOF rm -f conftest.$ac_objext conftest$ac_exeext if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; } && { ac_try='test -s conftest$ac_exeext' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6 if test $ac_cv_func_bind_textdomain_codeset = yes; then CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f conftest.err conftest.$ac_objext \ 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 echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}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-3" 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 echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&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 echo "$as_me:$LINENO: result: $LINGUAS" >&5 echo "${ECHO_T}$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 cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6 # Check whether --enable-maintainer-mode or --disable-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; echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$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 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in" 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, don't put newlines in cache variables' values. # 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. { (set) 2>&1 | case `(ac_space=' '; set | grep ac_space) 2>&1` in *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 \ "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" ;; esac; } | sed ' t clear : clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end /^ac_cv_env/!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" && echo "updating cache $cache_file" cat confcache >$cache_file else echo "not updating unwritable cache $cache_file" 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}' # 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 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_i=`echo "$ac_i" | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` # 2. Add them. ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs mv -f po/POTFILES po/POTFILES.tmp sed -e '/\[encoding.*\]/d' -e 's/\[.*\] *//' < po/POTFILES.tmp > po/POTFILES rm -f po/POTFILES.tmp : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $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 ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be Bourne compatible if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then set -o posix fi DUALCASE=1; export DUALCASE # for MKS sh # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # Work around bugs in pre-3.0 UWIN ksh. $as_unset ENV MAIL MAILPATH PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1; 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 || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } /^X\/\(\/\/\)$/{ s//\1/; q; } /^X\/\(\/\).*/{ s//\1/; q; } s/.*/./; q'` # PATH needs CR, and LINENO needs CR and PATH. # 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 # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" || { # Find who we are. Look in the path if we contain no path at all # relative or not. 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 ;; 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 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} { (exit 1); exit 1; }; } fi case $CONFIG_SHELL in '') 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=. for as_base in sh bash ksh sh5; do case $as_dir in /*) if ("$as_dir/$as_base" -c ' as_lineno_1=$LINENO as_lineno_2=$LINENO as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` test "x$as_lineno_1" != "x$as_lineno_2" && test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } CONFIG_SHELL=$as_dir/$as_base export CONFIG_SHELL exec "$CONFIG_SHELL" "$0" ${1+"$@"} fi;; esac done done ;; esac # 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 before each line; the second 'sed' does the real # work. The second script uses 'N' to pair each line-number line # with the numbered line, 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 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) sed '=' <$as_myself | sed ' N s,$,-, : loop s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, t loop s,-$,, s,^['$as_cr_digits']*\n,, ' >$as_me.lineno && chmod +x $as_me.lineno || { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 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 sensible to this). . ./$as_me.lineno # Exit status is that of the last command. exit } case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in *c*,-n*) ECHO_N= ECHO_C=' ' ECHO_T=' ' ;; *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; *) ECHO_N= ECHO_C='\c' ECHO_T= ;; esac if expr a : '\(a\)' >/dev/null 2>&1; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file echo >conf$$.file if ln -s conf$$.file conf$$ 2>/dev/null; then # We could just check for DJGPP; but this test a) works b) is more generic # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). if test -f conf$$.exe; then # Don't use ln at all; we don't have any links as_ln_s='cp -p' else as_ln_s='ln -s' fi elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.file if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_executable_p="test -f" # 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'" # IFS # We need space, tab and new line, in precisely that order. as_nl=' ' IFS=" $as_nl" # CDPATH. $as_unset CDPATH exec 6>&1 # Open the log real soon, to keep \$[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. Logging --version etc. is OK. exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX } >&5 cat >&5 <<_CSEOF This file was extended by $as_me, which was generated by GNU Autoconf 2.59. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ _CSEOF echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 echo >&5 _ACEOF # Files that config.status was made for. if test -n "$ac_config_files"; then echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS fi if test -n "$ac_config_headers"; then echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS fi if test -n "$ac_config_links"; then echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS fi if test -n "$ac_config_commands"; then echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS fi cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number, then exit -q, --quiet 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_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.59, with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2003 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." srcdir=$srcdir INSTALL="$INSTALL" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. 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 ;; *) # This is not an option, so the user has probably given explicit # arguments. ac_option=$1 ac_need_defaults=false;; esac case $ac_option in # Handling of the options. _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --vers* | -V ) echo "$ac_cs_version"; exit 0 ;; --he | --h) # Conflict between --help and --header { { echo "$as_me:$LINENO: error: ambiguous option: $1 Try \`$0 --help' for more information." >&5 echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2;} { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 Try \`$0 --help' for more information." >&5 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" ;; 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 if \$ac_cs_recheck; then echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS section. # INTLTOOL_PERL=${INTLTOOL_PERL} ac_aux_dir=${ac_aux_dir} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_config_target in $ac_config_targets do case "$ac_config_target" in # Handling of arguments. "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "default-2" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-2" ;; "default-3" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-3" ;; "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 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 to put it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Create a temporary directory, and hook for its removal unless debugging. $debug || { trap 'exit_status=$?; rm -rf $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 -q "./confstatXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./confstat$$-$RANDOM (umask 077 && mkdir $tmp) } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "\$CONFIG_FILES"; then # Protect against being on the right side of a sed subst in config.status. sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF s,@SHELL@,$SHELL,;t t s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t s,@exec_prefix@,$exec_prefix,;t t s,@prefix@,$prefix,;t t s,@program_transform_name@,$program_transform_name,;t t s,@bindir@,$bindir,;t t s,@sbindir@,$sbindir,;t t s,@libexecdir@,$libexecdir,;t t s,@datadir@,$datadir,;t t s,@sysconfdir@,$sysconfdir,;t t s,@sharedstatedir@,$sharedstatedir,;t t s,@localstatedir@,$localstatedir,;t t s,@libdir@,$libdir,;t t s,@includedir@,$includedir,;t t s,@oldincludedir@,$oldincludedir,;t t s,@infodir@,$infodir,;t t s,@mandir@,$mandir,;t t s,@build_alias@,$build_alias,;t t s,@host_alias@,$host_alias,;t t s,@target_alias@,$target_alias,;t t s,@DEFS@,$DEFS,;t t s,@ECHO_C@,$ECHO_C,;t t s,@ECHO_N@,$ECHO_N,;t t s,@ECHO_T@,$ECHO_T,;t t s,@LIBS@,$LIBS,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t s,@PACKAGE@,$PACKAGE,;t t s,@VERSION@,$VERSION,;t t s,@ACLOCAL@,$ACLOCAL,;t t s,@AUTOCONF@,$AUTOCONF,;t t s,@AUTOMAKE@,$AUTOMAKE,;t t s,@AUTOHEADER@,$AUTOHEADER,;t t s,@MAKEINFO@,$MAKEINFO,;t t s,@SET_MAKE@,$SET_MAKE,;t t s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t s,@CXX@,$CXX,;t t s,@CXXFLAGS@,$CXXFLAGS,;t t s,@LDFLAGS@,$LDFLAGS,;t t s,@CPPFLAGS@,$CPPFLAGS,;t t s,@ac_ct_CXX@,$ac_ct_CXX,;t t s,@EXEEXT@,$EXEEXT,;t t s,@OBJEXT@,$OBJEXT,;t t s,@CC@,$CC,;t t s,@CFLAGS@,$CFLAGS,;t t s,@ac_ct_CC@,$ac_ct_CC,;t t s,@PKG_CONFIG@,$PKG_CONFIG,;t t s,@DEPS_CFLAGS@,$DEPS_CFLAGS,;t t s,@DEPS_LIBS@,$DEPS_LIBS,;t t s,@CPP@,$CPP,;t t s,@EGREP@,$EGREP,;t t s,@SENSORS_CFLAGS@,$SENSORS_CFLAGS,;t t s,@SENSORS_LIBS@,$SENSORS_LIBS,;t t s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t s,@USE_NLS@,$USE_NLS,;t t s,@MSGFMT@,$MSGFMT,;t t s,@GMSGFMT@,$GMSGFMT,;t t s,@XGETTEXT@,$XGETTEXT,;t t s,@CATALOGS@,$CATALOGS,;t t s,@CATOBJEXT@,$CATOBJEXT,;t t s,@DATADIRNAME@,$DATADIRNAME,;t t s,@GMOFILES@,$GMOFILES,;t t s,@INSTOBJEXT@,$INSTOBJEXT,;t t s,@INTLLIBS@,$INTLLIBS,;t t s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t s,@POFILES@,$POFILES,;t t s,@POSUB@,$POSUB,;t t s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t s,@MAINT@,$MAINT,;t t s,@LIBOBJS@,$LIBOBJS,;t t s,@LTLIBOBJS@,$LTLIBOBJS,;t t CEOF _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Split the substitutions into bite-sized pieces for seds with # small command number limits, like on Digital OSF/1 and HP-UX. ac_max_sed_lines=48 ac_sed_frag=1 # Number of current file. ac_beg=1 # First line for current file. ac_end=$ac_max_sed_lines # Line after last line for current file. ac_more_lines=: ac_sed_cmds= while $ac_more_lines; do if test $ac_beg -gt 1; then sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag else sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag fi if test ! -s $tmp/subs.frag; then ac_more_lines=false else # The purpose of the label and of the branching condition is to # speed up the sed processing (if there are no `@' at all, there # is no need to browse any of the substitutions). # These are the two extra sed commands mentioned above. (echo ':t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed if test -z "$ac_sed_cmds"; then ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" else ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" fi ac_sed_frag=`expr $ac_sed_frag + 1` ac_beg=$ac_end ac_end=`expr $ac_end + $ac_max_sed_lines` fi done if test -z "$ac_sed_cmds"; then ac_sed_cmds=cat fi fi # test -n "$CONFIG_FILES" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac # 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. */ if test x"$ac_file" = x-; then configure_input= else configure_input="$ac_file. " fi configure_input=$configure_input"Generated from `echo $ac_file_in | sed 's,.*/,,'` by configure." # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } if test x"$ac_file" != x-; then { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} rm -f "$ac_file" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s,@configure_input@,$configure_input,;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,@top_builddir@,$ac_top_builddir,;t t s,@abs_top_builddir@,$ac_abs_top_builddir,;t t s,@INSTALL@,$ac_INSTALL,;t t " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out rm -f $tmp/stdin if test x"$ac_file" != x-; then mv $tmp/out $ac_file else cat $tmp/out rm -f $tmp/out fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_HEADER section. # # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where # NAME is the cpp macro being defined and VALUE is the value it is being given. # # ac_d sets the value in "#define NAME VALUE" lines. ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' ac_dB='[ ].*$,\1#\2' ac_dC=' ' ac_dD=',;t' # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' ac_uB='$,\1#\2define\3' ac_uC=' ' ac_uD=',;t' for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". case $ac_file in - | *:- | *:-:* ) # input from stdin cat >$tmp/stdin ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; * ) ac_file_in=$ac_file.in ;; esac test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} # First look for the input files in the build tree, otherwise in the # src tree. ac_file_inputs=`IFS=: for f in $ac_file_in; do case $f in -) echo $tmp/stdin ;; [\\/$]*) # Absolute (can't be DOS-style, as IFS=:) test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } # Do quote $f, to prevent DOS paths from being IFS'd. echo "$f";; *) # Relative if test -f "$f"; then # Build tree echo "$f" elif test -f "$srcdir/$f"; then # Source tree echo "$srcdir/$f" else # /dev/null tree { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 echo "$as_me: error: cannot find input file: $f" >&2;} { (exit 1); exit 1; }; } fi;; esac done` || { (exit 1); exit 1; } # Remove the trailing spaces. sed 's/[ ]*$//' $ac_file_inputs >$tmp/in _ACEOF # Transform confdefs.h into two sed scripts, `conftest.defines' and # `conftest.undefs', that substitutes the proper values into # config.h.in to produce config.h. The first handles `#define' # templates, and the second `#undef' templates. # And first: Protect against being on the right side of a sed subst in # config.status. Protect against being in an unquoted here document # in config.status. rm -f conftest.defines conftest.undefs # Using a here document instead of a string reduces the quoting nightmare. # Putting comments in sed scripts is not portable. # # `end' is used to avoid that the second main sed command (meant for # 0-ary CPP macros) applies to n-ary macro definitions. # See the Autoconf documentation for `clear'. cat >confdef2sed.sed <<\_ACEOF s/[\\&,]/\\&/g s,[\\$`],\\&,g t clear : clear s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp t end s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp : end _ACEOF # If some macros were called several times there might be several times # the same #defines, which is useless. Nevertheless, we may not want to # sort them, since we want the *last* AC-DEFINE to be honored. uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs rm -f confdef2sed.sed # This sed command replaces #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. cat >>conftest.undefs <<\_ACEOF s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, _ACEOF # Break up conftest.defines because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS echo ' :' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.defines >/dev/null do # Write a limited-size here document to $tmp/defines.sed. echo ' cat >$tmp/defines.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#define' lines. echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/defines.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines echo ' fi # grep' >>$CONFIG_STATUS echo >>$CONFIG_STATUS # Break up conftest.undefs because some shells have a limit on the size # of here documents, and old seds have small limits too (100 cmds). echo ' # Handle all the #undef templates' >>$CONFIG_STATUS rm -f conftest.tail while grep . conftest.undefs >/dev/null do # Write a limited-size here document to $tmp/undefs.sed. echo ' cat >$tmp/undefs.sed <>$CONFIG_STATUS # Speed up: don't consider the non `#undef' echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS # Work around the forget-to-reset-the-flag bug. echo 't clr' >>$CONFIG_STATUS echo ': clr' >>$CONFIG_STATUS sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS echo 'CEOF sed -f $tmp/undefs.sed $tmp/in >$tmp/out rm -f $tmp/in mv $tmp/out $tmp/in ' >>$CONFIG_STATUS sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail rm -f conftest.undefs mv conftest.tail conftest.undefs done rm -f conftest.undefs cat >>$CONFIG_STATUS <<\_ACEOF # 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. */ if test x"$ac_file" = x-; then echo "/* Generated by configure. */" >$tmp/config.h else echo "/* $ac_file. Generated by configure. */" >$tmp/config.h fi cat $tmp/in >>$tmp/config.h rm -f $tmp/in if test x"$ac_file" != x-; then if diff $ac_file $tmp/config.h >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else ac_dir=`(dirname "$ac_file") 2>/dev/null || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } rm -f $ac_file mv $tmp/config.h $ac_file fi else cat $tmp/config.h rm -f $tmp/config.h fi done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # # CONFIG_COMMANDS section. # for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue ac_dest=`echo "$ac_file" | sed 's,:.*,,'` ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` ac_dir=`(dirname "$ac_dest") 2>/dev/null || $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_dest" : 'X\(//\)[^/]' \| \ X"$ac_dest" : 'X\(//\)$' \| \ X"$ac_dest" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$ac_dest" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` { if $as_mkdir_p; then mkdir -p "$ac_dir" else as_dir="$ac_dir" as_dirs= while test ! -d "$as_dir"; do as_dirs="$as_dir $as_dirs" as_dir=`(dirname "$as_dir") 2>/dev/null || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| \ . : '\(.\)' 2>/dev/null || echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } /^X\(\/\/\)[^/].*/{ s//\1/; q; } /^X\(\/\/\)$/{ s//\1/; q; } /^X\(\/\).*/{ s//\1/; q; } s/.*/./; q'` done test ! -n "$as_dirs" || mkdir $as_dirs fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. if test "$ac_dir" != .; then ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A "../" for each directory in $ac_dir_suffix. ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` else ac_dir_suffix= ac_top_builddir= fi case $srcdir in .) # No --srcdir option. We are building in place. ac_srcdir=. if test -z "$ac_top_builddir"; then ac_top_srcdir=. else ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` fi ;; [\\/]* | ?:[\\/]* ) # Absolute path. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ;; *) # Relative path. ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_builddir$srcdir ;; esac # Do not use `cd foo && pwd` to compute absolute paths, because # the directories may not exist. case `pwd` in .) ac_abs_builddir="$ac_dir";; *) case "$ac_dir" in .) ac_abs_builddir=`pwd`;; [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; *) ac_abs_builddir=`pwd`/"$ac_dir";; esac;; esac case $ac_abs_builddir in .) ac_abs_top_builddir=${ac_top_builddir}.;; *) case ${ac_top_builddir}. in .) ac_abs_top_builddir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; esac;; esac case $ac_abs_builddir in .) ac_abs_srcdir=$ac_srcdir;; *) case $ac_srcdir in .) ac_abs_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; esac;; esac case $ac_abs_builddir in .) ac_abs_top_srcdir=$ac_top_srcdir;; *) case $ac_top_srcdir in .) ac_abs_top_srcdir=$ac_abs_builddir;; [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; esac;; esac { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 echo "$as_me: executing $ac_dest commands" >&6;} case $ac_dest in default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;; default-2 ) sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-extract.in > intltool-extract.out if cmp -s intltool-extract intltool-extract.out 2>/dev/null; then rm -f intltool-extract.out else mv -f intltool-extract.out intltool-extract fi chmod ugo+x intltool-extract chmod u+w intltool-extract sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" \ < ${ac_aux_dir}/intltool-merge.in > intltool-merge.out if cmp -s intltool-merge intltool-merge.out 2>/dev/null; then rm -f intltool-merge.out else mv -f intltool-merge.out intltool-merge fi chmod ugo+x intltool-merge chmod u+w intltool-merge sed -e "s:@INTLTOOL_PERL@:${INTLTOOL_PERL}:;" < ${ac_aux_dir}/intltool-update.in > intltool-update.out if cmp -s intltool-update intltool-update.out 2>/dev/null; then rm -f intltool-update.out else mv -f intltool-update.out intltool-update fi chmod ugo+x intltool-update chmod u+w intltool-update ;; default-3 ) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; esac done _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # 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 hardware-monitor-1.0/configure.ac0000644000175000017500000000446110021711257014044 00000000000000AC_INIT(src/main.cpp) AM_CONFIG_HEADER(config.h) dnl package name and version number PACKAGE=hardware-monitor VERSION=1.0 AM_INIT_AUTOMAKE($PACKAGE, $VERSION) dnl checks for programs AC_PROG_INTLTOOL AC_PROG_CXX AC_PROG_CC dnl checks for libraries PKG_CHECK_MODULES(DEPS, \ gtkmm-2.0 >= 2.0.0 \ libgnomemm-2.0 >= 1.3.9 \ libgnomeuimm-2.0 >= 1.3.11 \ libglademm-2.0 >= 2.0.0 \ libgnomecanvasmm-2.0 >= 2.0.0 \ gconfmm-2.0 >= 2.0.1 \ libpanelapplet-2.0 >= 2.0.0 \ libgtop-2.0 >= 2.0.0) AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) _cppflags="${CPPFLAGS}" _ldflags="${LDFLAGS}" AC_ARG_WITH(libsensors, [ --with-libsensors[=DIR] use libsensors in DIR],[ if test "$withval" != "no" -a "$withval" != "yes"; then SENSORS_DIR=$withval CPPFLAGS="${CPPFLAGS} -I$withval/include/sensors" LDFLAGS="${LDFLAGS} -L$withval/lib" fi ]) if test "$with_libsensors" = "no"; then echo "Disabling lmsensors support" else AC_CHECK_HEADERS(sensors/sensors.h, AC_CHECK_LIB(sensors, sensors_init,[ AC_DEFINE(HAVE_LIBSENSORS,1,[libsensors is available]) if test "x${SENSORS_DIR}" != "x"; then SENSORS_CFLAGS="-I${SENSORS_DIR}/include" SENSORS_LIBS="-L${SENSORS_DIR}/lib -lsensors" [case ${host} in *-*-solaris*) SENSORS_LIBS="-L${SENSORS_DIR}/lib -R${SENSORS_DIR}/lib -lsensors" ;; esac] else SENSORS_LIBS="-lsensors" fi])) fi AC_SUBST(SENSORS_CFLAGS) AC_SUBST(SENSORS_LIBS) CPPFLAGS=${_cppflags} LDFLAGS=${_ldflags} dnl for getting the block size AC_CHECK_HEADER(sys/statfs.h) dnl i18n ALL_LINGUAS="az be ca da de el es fr hr ko ms nl no pl pt pt_BR sr sr@Latn sv" GETTEXT_PACKAGE=$PACKAGE AC_SUBST(GETTEXT_PACKAGE) AM_GLIB_GNU_GETTEXT AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", "definition of GETTEXT_PACKAGE") dnl extra stuff AM_MAINTAINER_MODE dnl create makefiles AC_OUTPUT( Makefile src/Makefile po/Makefile.in dnl help/Makefile dnl help/C/Makefile ) hardware-monitor-1.0/install-sh0000755000175000017500000001273607704726156013610 00000000000000#!/bin/sh # # install - install a program, script, or datafile # This comes from X11R5 (mit/util/scripts/install.sh). # # Copyright 1991 by the Massachusetts Institute of Technology # # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that # copyright notice and this permission notice appear in supporting # documentation, and that the name of M.I.T. not be used in advertising or # publicity pertaining to distribution of the software without specific, # written prior permission. M.I.T. makes no representations about the # suitability of this software for any purpose. It is provided "as is" # without express or implied warranty. # # 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. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" transformbasename="" transform_arg="" instcmd="$mvprog" chmodcmd="$chmodprog 0755" chowncmd="" chgrpcmd="" stripcmd="" rmcmd="$rmprog -f" mvcmd="$mvprog" src="" dst="" dir_arg="" while [ x"$1" != x ]; do case $1 in -c) instcmd="$cpprog" shift continue;; -d) dir_arg=true shift continue;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; -s) stripcmd="$stripprog" shift continue;; -t=*) transformarg=`echo $1 | sed 's/-t=//'` shift continue;; -b=*) transformbasename=`echo $1 | sed 's/-b=//'` shift continue;; *) if [ x"$src" = x ] then src=$1 else # this colon is to work around a 386BSD /bin/sh bug : dst=$1 fi shift continue;; esac done if [ x"$src" = x ] then echo "install: no input file specified" exit 1 else true fi if [ x"$dir_arg" != x ]; then dst=$src src="" if [ -d $dst ]; then instcmd=: chmodcmd="" else instcmd=mkdir fi else # Waiting for this to be detected by the "$instcmd $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if [ -f $src -o -d $src ] then true else echo "install: $src does not exist" exit 1 fi if [ x"$dst" = x ] then echo "install: no destination specified" exit 1 else true fi # If destination is a directory, append the input filename; if your system # does not like double slashes in filenames, you may need to add some logic if [ -d $dst ] then dst="$dst"/`basename $src` else true fi fi ## this sed command emulates the dirname command dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` # Make sure that the destination directory exists. # this part is taken from Noah Friedman's mkinstalldirs script # Skip lots of stat calls in the usual case. if [ ! -d "$dstdir" ]; then defaultIFS=' ' IFS="${IFS-${defaultIFS}}" oIFS="${IFS}" # Some sh's can't handle IFS=/ for some reason. IFS='%' set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` IFS="${oIFS}" pathcomp='' while [ $# -ne 0 ] ; do pathcomp="${pathcomp}${1}" shift if [ ! -d "${pathcomp}" ] ; then $mkdirprog "${pathcomp}" else true fi pathcomp="${pathcomp}/" done fi if [ x"$dir_arg" != x ] then $doit $instcmd $dst && if [ x"$chowncmd" != x ]; then $doit $chowncmd $dst; else true ; fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dst; else true ; fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dst; else true ; fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dst; else true ; fi else # If we're going to rename the final executable, determine the name now. if [ x"$transformarg" = x ] then dstfile=`basename $dst` else dstfile=`basename $dst $transformbasename | sed $transformarg`$transformbasename fi # don't allow the sed command to completely eliminate the filename if [ x"$dstfile" = x ] then dstfile=`basename $dst` else true fi # Make a temp file name in the proper directory. dsttmp=$dstdir/#inst.$$# # Move or copy the file name to the temp name $doit $instcmd $src $dsttmp && trap "rm -f ${dsttmp}" 0 && # 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 $instcmd $src $dsttmp" command. if [ x"$chowncmd" != x ]; then $doit $chowncmd $dsttmp; else true;fi && if [ x"$chgrpcmd" != x ]; then $doit $chgrpcmd $dsttmp; else true;fi && if [ x"$stripcmd" != x ]; then $doit $stripcmd $dsttmp; else true;fi && if [ x"$chmodcmd" != x ]; then $doit $chmodcmd $dsttmp; else true;fi && # Now rename the file to the real destination. $doit $rmcmd -f $dstdir/$dstfile && $doit $mvcmd $dsttmp $dstdir/$dstfile fi && exit 0 hardware-monitor-1.0/ltmain.sh0000644000175000017500000043106307704726156013422 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 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 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. # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit 1 fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" # Parse our command line options once, thoroughly. while test $# -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" exit 0 ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $0 exit 0 ;; --debug) echo "$progname: enabling shell trace mode" set -x ;; --dry-run | -n) run=: ;; --features) echo "host: $host" if test "$build_libtool_libs" = yes; then echo "enable shared libraries" else echo "disable shared libraries" fi if test "$build_old_libs" = yes; then echo "enable static libraries" else echo "disable static libraries" fi exit 0 ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit 1 ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit 1 fi # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then case $nonopt in *cc | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit 1 fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= prev= lastarg= srcfile="$nonopt" suppress_output= user_target=no for arg do case $prev in "") ;; xcompiler) # Aesthetically quote the previous argument. prev= lastarg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac # Add the previous argument to base_compile. if test -z "$base_compile"; then base_compile="$lastarg" else base_compile="$base_compile $lastarg" fi continue ;; esac # Accept any command-line options. case $arg in -o) if test "$user_target" != "no"; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit 1 fi user_target=next ;; -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; -Xcompiler) prev=xcompiler continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. if test -z "$base_compile"; then base_compile="$lastarg" else base_compile="$base_compile $lastarg" fi continue ;; esac case $user_target in next) # The next one is the -o target name user_target=yes continue ;; yes) # We got the output file user_target=set libobj="$arg" continue ;; esac # Accept the current argument as the source file. lastarg="$srcfile" srcfile="$arg" # Aesthetically quote the previous argument. # Backslashify any backslashes, double quotes, and dollar signs. # These are the only characters that are still specially # interpreted inside of double-quoted scrings. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $lastarg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac # Add the previous argument to base_compile. if test -z "$base_compile"; then base_compile="$lastarg" else base_compile="$base_compile $lastarg" fi done case $user_target in set) ;; no) # Get the name of the library object. libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; *) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit 1 ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSfmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.f90) xform=f90 ;; *.for) xform=for ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit 1 ;; esac if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit 1 fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $libobj" else removelist="$libobj" fi $run $rm $removelist trap "$run $rm $removelist; exit 1" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit 1" 1 2 15 else need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$0" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit 1 fi echo $srcfile > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi # Only build a PIC object if we are building libtool libraries. if test "$build_libtool_libs" = yes; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test "$pic_mode" != no; then # All platforms use -DPIC, to notify preprocessed assembler code. command="$base_compile $srcfile $pic_flag -DPIC" else # Don't build PIC code command="$base_compile $srcfile" fi if test "$build_old_libs" = yes; then lo_libobj="$libobj" dir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$libobj"; then dir="$objdir" else dir="$dir/$objdir" fi libobj="$dir/"`$echo "X$libobj" | $Xsed -e 's%^.*/%%'` if test -d "$dir"; then $show "$rm $libobj" $run $rm $libobj else $show "$mkdir $dir" $run $mkdir $dir status=$? if test $status -ne 0 && test ! -d $dir; then exit $status fi fi fi if test "$compiler_o_lo" = yes; then output_obj="$libobj" command="$command -o $output_obj" elif test "$compiler_c_o" = yes; then output_obj="$obj" command="$command -o $output_obj" fi $run $rm "$output_obj" $show "$command" if $run eval "$command"; then : else test -n "$output_obj" && $run $rm $removelist exit 1 fi if test "$need_locks" = warn && test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit 1 fi # Just move the object if needed, then go on to compile the next one if test x"$output_obj" != x"$libobj"; then $show "$mv $output_obj $libobj" if $run $mv $output_obj $libobj; then : else error=$? $run $rm $removelist exit $error fi fi # If we have no pic_flag, then copy the object into place and finish. if (test -z "$pic_flag" || test "$pic_mode" != default) && test "$build_old_libs" = yes; then # Rename the .lo from within objdir to obj if test -f $obj; then $show $rm $obj $run $rm $obj fi $show "$mv $libobj $obj" if $run $mv $libobj $obj; then : else error=$? $run $rm $removelist exit $error fi xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir="." else xdir="$xdir" fi baseobj=`$echo "X$obj" | $Xsed -e "s%.*/%%"` libobj=`$echo "X$baseobj" | $Xsed -e "$o2lo"` # Now arrange that obj and lo_libobj become the same file $show "(cd $xdir && $LN_S $baseobj $libobj)" if $run eval '(cd $xdir && $LN_S $baseobj $libobj)'; then # Unlock the critical section if it was locked if test "$need_locks" != no; then $run $rm "$lockfile" fi exit 0 else error=$? $run $rm $removelist exit $error fi fi # Allow error messages only from the first compilation. suppress_output=' >/dev/null 2>&1' fi # Only build a position-dependent object if we build old libraries. if test "$build_old_libs" = yes; then if test "$pic_mode" != yes; then # Don't build PIC code command="$base_compile $srcfile" else # All platforms use -DPIC, to notify preprocessed assembler code. command="$base_compile $srcfile $pic_flag -DPIC" fi if test "$compiler_c_o" = yes; then command="$command -o $obj" output_obj="$obj" fi # Suppress compiler output if we already did a PIC compilation. command="$command$suppress_output" $run $rm "$output_obj" $show "$command" if $run eval "$command"; then : else $run $rm $removelist exit 1 fi if test "$need_locks" = warn && test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit 1 fi # Just move the object if needed if test x"$output_obj" != x"$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Create an invalid libtool object if no PIC, so that we do not # accidentally link it into a program. if test "$build_libtool_libs" != yes; then $show "echo timestamp > $libobj" $run eval "echo timestamp > \$libobj" || exit $? else # Move the .lo from within objdir $show "$mv $libobj $lo_libobj" if $run $mv $libobj $lo_libobj; then : else error=$? $run $rm $removelist exit $error fi fi fi # Unlock the critical section if it was locked if test "$need_locks" != no; then $run $rm "$lockfile" fi exit 0 ;; # libtool link mode link | relink) modename="$modename: link" case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # which system we are compiling for in order to pass an extra # flag for every libtool invokation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll which has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args="$nonopt" compile_command="$nonopt" finalize_command="$nonopt" compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= avoid_version=no dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= # We need to know -static, to get the right output filenames. for arg do case $arg in -all-static | -static) if test "X$arg" = "X-all-static"; then if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then $echo "$modename: warning: complete static linking is impossible in this configuration" 1>&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi fi build_libtool_libs=no build_old_libs=yes prefer_static_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test $# -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit 1 fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit 1 ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n $prev prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit 1 fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | no/*-*-nonstopux*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 exit 1 fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-mingw* | *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; -module) module=yes continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # The PATH hackery in wrapper scripts is required on Windows # in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -o) prev=output ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit 1 ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.lo | *.$objext) # A library or standard object. if test "$prev" = dlfiles; then # This file was specified with -dlopen. if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $arg" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles "`$echo "X$arg" | $Xsed -e "$lo2o"` prev= else case $arg in *.lo) libobjs="$libobjs $arg" ;; *) objs="$objs $arg" ;; esac fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit 1 fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d $output_objdir; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir status=$? if test $status -ne 0 && test ! -d $output_objdir; then exit $status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit 1 ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit 1 ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test $linkmode = prog; then # Determine which files to process case $pass in dlopen) libs="$dlfiles" save_deplibs="$deplibs" # Collect dlpreopened libraries deplibs= ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi for deplib in $libs; do lib= found=no case $deplib in -l*) if test $linkmode = oldlib && test $linkmode = obj; then $echo "$modename: warning: \`-l' is ignored for archives/objects: $deplib" 1>&2 continue fi if test $pass = conv; then deplibs="$deplib $deplibs" continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do # Search the libtool library lib="$searchdir/lib${name}.la" if test -f "$lib"; then found=yes break fi done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test $linkmode = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test $pass = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test $pass = conv; then deplibs="$deplib $deplibs" continue fi if test $pass = scan; then deplibs="$deplib $deplibs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects: $deplib" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test $pass = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test $pass = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) if test "$deplibs_check_method" != pass_all; then echo echo "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not used here." else echo echo "*** Warning: Linking the shared library $output against the" echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test $pass != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test $pass = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test $found = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib'" 1>&2 exit 1 fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variable installed. installed=yes # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test $linkmode = oldlib && test $linkmode = obj; }; then # Add dl[pre]opened files of deplib test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test $pass = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit 1 fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test $linkmode != prog && test $linkmode != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit 1 fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit 1 fi # This library was specified with -dlopen. if test $pass = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit 1 fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. dlprefiles="$dlprefiles $lib" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test $pass = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit 1 fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test $linkmode = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" fi continue fi if test $linkmode = prog && test $pass != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test $linkalldeplibs = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... link_static=no # Whether the deplib will be linked statically if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # Link against this shared library if test "$linkmode,$pass" = "prog,link" || { test $linkmode = lib && test $hardcode_into_libs = yes; }; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac if test $linkmode = prog; then # We need to hardcode the library path if test -n "$shlibpath_var"; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $dir" ;; esac fi fi fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' eval cmds=\"$extract_expsyms_cmds\" for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' eval cmds=\"$old_archive_from_expsyms_cmds\" for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n $old_archive_from_expsyms_cmds if test $linkmode = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case "$libdir" in [\/]*) add_dir="-L$inst_prefix_dir$libdir $add_dir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit 1 fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test $linkmode = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test $linkmode = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case "$libdir" in [\/]*) add_dir="-L$inst_prefix_dir$libdir $add_dir" ;; esac fi add="-l$name" fi if test $linkmode = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test $linkmode = prog; then if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi # Try to link the static library # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo echo "*** Warning: This system can not link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else convenience="$convenience $dir/$old_library" old_convenience="$old_convenience $dir/$old_library" deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test $linkmode = lib; then if test -n "$dependency_libs" && { test $hardcode_into_libs != yes || test $build_old_libs = yes || test $link_static = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test $link_all_deplibs != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="-L$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit 1 fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="-L$absdir" fi ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$deplibs $path" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test $pass = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test $pass != dlopen; then test $pass != scan && dependency_libs="$newdependency_libs" if test $pass != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do case $deplib in -L*) new_libs="$deplib $new_libs" ;; *) case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi if test "$pass" = "conv" && { test "$linkmode" = "lib" || test "$linkmode" = "prog"; }; then libs="$deplibs" # reset libs deplibs= fi done # for pass if test $linkmode = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit 1 fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit 1 else echo echo "*** Warning: Linking the shared library $output against the non-libtool" echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test $# -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. libext=al oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit 1 fi current="$2" revision="$3" age="$4" # Check that each of the things are valid numbers. case $current in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 ;; esac case $revision in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 ;; esac case $age in 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 ;; esac if test $age -gt $current; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit 1 fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) major=`expr $current - $age + 1` case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test $loop != 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test $loop != 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit 1 ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= verstring="0.0" case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring="" ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs. $show "${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.*" $run ${rm}r $output_objdir/$outputname $output_objdir/$libname.* $output_objdir/${libname}${release}.* fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. for path in $notinst_path; do lib_search_path=`echo "$lib_search_path " | ${SED} -e 's% $path % %g'` deplibs=`echo "$deplibs " | ${SED} -e 's% -L$path % %g'` dependency_libs=`echo "$dependency_libs " | ${SED} -e 's% -L$path % %g'` done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test $hardcode_into_libs != yes || test $build_old_libs = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd*) # Do not include libc due to us having libc/libc_r. ;; *) # Add libc to deplibs on all other systems if necessary. if test $build_libtool_need_lc = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behaviour. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | egrep "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done if test -n "$a_deplib" ; then droppeddeps=yes echo echo "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then echo "*** with $libname but no candidates were found. (...for file magic test)" else echo "*** with $libname and none of the candidates passed a file format test" echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name="`expr $a_deplib : '-l\(.*\)'`" # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check below in file_magic test if eval echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | egrep "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done if test -n "$a_deplib" ; then droppeddeps=yes echo echo "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then echo "*** with $libname but no candidates were found. (...for regex pattern test)" else echo "*** with $libname and none of the candidates passed a file format test" echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" if $echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g' -e 's/[ ]//g' | grep . >/dev/null; then echo if test "X$deplibs_check_method" = "Xnone"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" echo "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using \`nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test $allow_undefined = no; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test $hardcode_into_libs = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi test -z "$dlname" && dlname=$soname lib="$output_objdir/$realname" for link do linknames="$linknames $link" done # Ensure that we have .o objects for linkers which dislike .lo # (e.g. aix) in case we are running --disable-static for obj in $libobjs; do xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir="." else xdir="$xdir" fi baseobj=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"` if test ! -f $xdir/$oldobj; then $show "(cd $xdir && ${LN_S} $baseobj $oldobj)" $run eval '(cd $xdir && ${LN_S} $baseobj $oldobj)' || exit $? fi done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols eval cmds=\"$export_symbols_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "egrep -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval 'egrep -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "mkdir $gentop" $run mkdir "$gentop" status=$? if test $status -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" for xlib in $convenience; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "mkdir $xdir" $run mkdir "$xdir" status=$? if test $status -ne 0 && test ! -d "$xdir"; then exit $status fi $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? libobjs="$libobjs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` done fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval cmds=\"$archive_expsym_cmds\" else save_deplibs="$deplibs" for conv in $convenience; do tmp_deplibs= for test_deplib in $deplibs; do if test "$test_deplib" != "$conv"; then tmp_deplibs="$tmp_deplibs $test_deplib" fi done deplibs="$tmp_deplibs" done eval cmds=\"$archive_cmds\" deplibs="$save_deplibs" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? exit 0 fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit 1 fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "mkdir $gentop" $run mkdir "$gentop" status=$? if test $status -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" for xlib in $convenience; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "mkdir $xdir" $run mkdir "$xdir" status=$? if test $status -ne 0 && test ! -d "$xdir"; then exit $status fi $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? reload_conv_objs="$reload_objs "`find $xdir -name \*.o -print -o -name \*.lo -print | $NL2SP` done fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" eval cmds=\"$reload_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit 0 fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. $show "echo timestamp > $libobj" $run eval "echo timestamp > $libobj" || exit $? exit 0 fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" eval cmds=\"$reload_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" else # Just create a symlink. $show $rm $libobj $run $rm $libobj xdir=`$echo "X$libobj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$libobj"; then xdir="." else xdir="$xdir" fi baseobj=`$echo "X$libobj" | $Xsed -e 's%^.*/%%'` oldobj=`$echo "X$baseobj" | $Xsed -e "$lo2o"` $show "(cd $xdir && $LN_S $oldobj $baseobj)" $run eval '(cd $xdir && $LN_S $oldobj $baseobj)' || exit $? fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit 0 ;; prog) case $host in *cygwin*) output=`echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" ;; esac ;; esac compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval 'egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval 'egrep -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$output.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@$/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' else $run eval "${SED} -e 's/\([][.*^$]\)/\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$output.exp"' $run eval 'grep -f "$output_objdir/$output.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval 'echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then egrep -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DPIC";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $CC -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit 1 ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test $need_relink = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit 0 fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $0 --fallback-echo"; then case $0 in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $0 --fallback-echo";; *) qecho="$SHELL `pwd`/$0 --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe ;; *) exeext= ;; esac $rm $output trap "$rm $output; exit 1" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed="${SED}"' -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. if test \"\${CDPATH+set}\" = set; then CDPATH=:; export CDPATH; fi relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit 1 fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 ${SED} $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # win32 systems need to use the prog path for dll # lookup to work *-*-cygwin* | *-*-pw32*) $echo >> $output "\ exec \$progdir/\$program \${1+\"\$@\"} " ;; # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \$progdir\\\\\$program \${1+\"\$@\"} " ;; *) $echo >> $output "\ # Export the path to the program. PATH=\"\$progdir:\$PATH\" export PATH exec \$program \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit 1 fi else # The program doesn't exist. \$echo \"\$0: error: \$progdir/\$program does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " chmod +x $output fi exit 0 ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$objs$old_deplibs "`$echo "X$libobjs_save" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP` fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "mkdir $gentop" $run mkdir "$gentop" status=$? if test $status -ne 0 && test ! -d "$gentop"; then exit $status fi generated="$generated $gentop" # Add in members from convenience archives. for xlib in $addlibs; do # Extract the objects. case $xlib in [\\/]* | [A-Za-z]:[\\/]*) xabs="$xlib" ;; *) xabs=`pwd`"/$xlib" ;; esac xlib=`$echo "X$xlib" | $Xsed -e 's%^.*/%%'` xdir="$gentop/$xlib" $show "${rm}r $xdir" $run ${rm}r "$xdir" $show "mkdir $xdir" $run mkdir "$xdir" status=$? if test $status -ne 0 && test ! -d "$xdir"; then exit $status fi $show "(cd $xdir && $AR x $xabs)" $run eval "(cd \$xdir && $AR x \$xabs)" || exit $? oldobjs="$oldobjs "`find $xdir -name \*.${objext} -print -o -name \*.lo -print | $NL2SP` done fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then eval cmds=\"$old_archive_from_new_cmds\" else # Ensure that we have .o objects in place in case we decided # not to build a shared library, and have fallen back to building # static libs even though --disable-static was passed! for oldobj in $oldobjs; do if test ! -f $oldobj; then xdir=`$echo "X$oldobj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$oldobj"; then xdir="." else xdir="$xdir" fi baseobj=`$echo "X$oldobj" | $Xsed -e 's%^.*/%%'` obj=`$echo "X$baseobj" | $Xsed -e "$o2lo"` $show "(cd $xdir && ${LN_S} $obj $baseobj)" $run eval '(cd $xdir && ${LN_S} $obj $baseobj)' || exit $? fi done eval cmds=\"$old_archive_cmds\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $0 --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit 1 fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit 1 fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test $need_relink = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit 0 ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | $Xsed | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg="$nonopt" fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest="$arg" continue fi case $arg in -d) isdir=yes ;; -f) prev="-f" ;; -g) prev="-g" ;; -m) prev="-m" ;; -o) prev="-o" ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest="$arg" continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*) arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit 1 fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit 1 fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit 1 fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test $# -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit 1 fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit 1 fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | sed "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit 1 fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$echo "$relink_command" | sed "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit 1 fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test $# -gt 0; then # Delete the old symlinks, and create new ones. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" eval cmds=\"$postinstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit 0 ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | egrep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $wrapper ;; *) . ./$wrapper ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit 1 fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $wrapper ;; *) . ./$wrapper ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir="/tmp" test -n "$TMPDIR" && tmpdir="$TMPDIR" tmpdir="$tmpdir/libtool-$$" if $mkdir -p "$tmpdir" && chmod 700 "$tmpdir"; then : else $echo "$modename: error: cannot create temporary directory \`$tmpdir'" 1>&2 continue fi file=`$echo "X$file" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyways case $install_prog,$host in /usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. eval cmds=\"$old_postinstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $0 --finish$current_libdirs' else exit 0 fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. eval cmds=\"$finish_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = ":" && exit 0 echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do echo " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the \`-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the \`$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the \`$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" echo "more information, such as the ld(1) and ld.so(8) manual pages." echo "----------------------------------------------------------------------" exit 0 ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit 1 fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit 1 fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit 1 fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit 1 fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved enviroment variables if test "${save_LC_ALL+set}" = set; then LC_ALL="$save_LC_ALL"; export LC_ALL fi if test "${save_LANG+set}" = set; then LANG="$save_LANG"; export LANG fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit 0 fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit 1 fi rmdirs= for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$objdir" else objdir="$dir/$objdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test $mode = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test $mode = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" test $mode = clean && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" if test $mode = uninstall; then if test -n "$library_names"; then # Do each command in the postuninstall commands. eval cmds=\"$postuninstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" if test $? != 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. eval cmds=\"$old_postuninstall_cmds\" save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" if test $? != 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. fi fi ;; *.lo) if test "$build_old_libs" = yes; then oldobj=`$echo "X$name" | $Xsed -e "$lo2o"` rmfiles="$rmfiles $dir/$oldobj" fi ;; *) # Do a test to see if this is a libtool program. if test $mode = clean && (${SED} -e '4q' $file | egrep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$file rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit 1 ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit 1 fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit 1 fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE." exit 0 ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit 1 ;; esac echo $echo "Try \`$modename --help' for more information about other modes." exit 0 # Local Variables: # mode:shell-script # sh-indentation:2 # End: hardware-monitor-1.0/missing0000755000175000017500000002123107704726157013172 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. # Copyright 1996, 1997, 1999, 2000 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., 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. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # 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 case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in -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' 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]" ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing 0.3 - GNU automake" ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; aclocal) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 missing on your system. 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 missing on your system. 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 missing on your system. 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 ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) if test -z "$run" && (makeinfo --version) > /dev/null 2>&1; then # We have makeinfo, but it failed. exit 1 fi echo 1>&2 "\ WARNING: \`$1' is missing on your system. 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." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $file` fi touch $file ;; tar) shift if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 fi # 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 ${1+"$@"} && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar ${1+"$@"} && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" ${1+"$@"} && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" ${1+"$@"} && 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 you do not seem to have it handy on your system. 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 prerequirements 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 hardware-monitor-1.0/mkinstalldirs0000755000175000017500000000132207704726157014400 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman # Created: 1993-05-16 # Public domain # $Id: mkinstalldirs,v 1.13 1999/01/05 03:18:55 bje Exp $ errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do 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 fi fi pathcomp="$pathcomp/" done done exit $errstatus # mkinstalldirs ends here hardware-monitor-1.0/hardware-monitor-applet.png0000644000175000017500000000521307704726176017051 00000000000000PNG  IHDR00WbKGDtIME $ʔ5 -IDATx[l׎ \bcdJ(A"#@Q7)j!A+9QP DE5m,@`טΜK|f31>H朝swqW#0}NGKcÞ+VܹsP(@ p_ZsĉCsmZˀJׯ4 DJ:sZgTf>88|@ww۷ǁ 35ˆ{PTTDCCo@ Gcth 6!҂mX٤pI)G{?e?~ՇeYUv4C>0ݶ eY*Z?u()R9z(VK^&F"eIW Reh5kA`>N% F) Bk֠JKTT_!p+T<ԍj:q%%F)o#zh*tRtF*9 a%5J!xHf-d<]TH-뢵BJVD)8!B"4U ϩܩ ݶ(j6vچ)5ZˌhI;JJb\E) -Rp4NA)CJ ANTX!IqV0N J?NB2}T24v`YPT,Y}?Db"NR(9A xpKI(R!&??X$ @g vBDim0CybJi\?$2i$ oxϲt8rUhĉsmnu]PV9mPRRB*Lѫ B:u*{<!0 #Nt,hׯSXXx1gΜ2N>MQQ'NѣTTTd%f„ E|>e˖ m6+Z)nX\www~ZbΜ9rq-ZDoo/X?,[h4ʱc{.S l۶mkSSӏLiOt,X4lذ뭼{RR)Ν;zҥ_~y8qbͦM¦cX*9d`!P3… q2d2ɸq2O`|u<ߍ/ҕ^ͱX4p$'8F&>jʔ){zz!)))FD8&g@u"u4gikk{4쨨x~ EEEۧ]^b,Z+Ph%fw3v px^6mڴ[linoo1ǯR< ,JO!e l9Ԝ:t(X[[ϟs!hn_lz70ί_ ?D"{n/Hs>L2ȶmrss RWWGAAmsVZ8ta5C08$;vpL \)@k7o&={ׯESS/9cM/osNY`ZkۇRKk.R,_/ .`v&SJ1k, tvvR]]oΝ… Bw20!n d~c2ov&:uH$YR)PJeN虫͛7 ϟgҤIL>B!ti&֮]Kuu5}}}lܸxoSą Ֆ}ĝ xg]ڈ IENDB`hardware-monitor-1.0/HardwareMonitor.server.in.in0000644000175000017500000000213307704726176017143 00000000000000 hardware-monitor-1.0/intltool-merge.in0000644000175000017500000005274207704726156015076 00000000000000#!@INTLTOOL_PERL@ -w # # The Intltool Message Merger # # Copyright (C) 2000, 2002 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.25"; ## Loaded modules use strict; use Getopt::Long; use Text::Wrap; ## 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 $QUIET_ARG = 0; my $PASS_THROUGH_ARG = 0; my $UTF8_ARG = 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, "pass-through|p" => \$PASS_THROUGH_ARG, "utf8|u" => \$UTF8_ARG, "cache|c=s" => \$cache_file ) or &error; my $PO_DIR; my $FILE; my $OUTFILE; my %po_files_by_lang = (); my %translations = (); # 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) { &preparation; &print_message; &ba_merge_translations; &finalize; } elsif ($XML_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &xml_merge_translations; &finalize; } elsif ($KEYS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &keys_merge_translations; &finalize; } elsif ($DESKTOP_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &desktop_merge_translations; &finalize; } elsif ($SCHEMAS_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &schemas_merge_translations; &finalize; } elsif ($RFC822DEB_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &rfc822deb_merge_translations; &finalize; } else { &print_help; } exit; ## Sub for printing release information sub print_version { print "${PROGRAM} (${PACKAGE}) ${VERSION}\n"; print "Written by Maciej Stachowiak, Darin Adler and Kenneth Christiansen.\n\n"; print "Copyright (C) 2000-2002 Free Software Foundation, Inc.\n"; print "Copyright (C) 2000-2001 Eazel, Inc.\n"; print "This is free software; see the source for copying conditions. There is NO\n"; print "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; exit; } ## Sub for printing usage information sub print_help { print "Usage: ${PROGRAM} [OPTIONS] PO_DIRECTORY FILENAME OUTPUT_FILE\n"; print "Generates an output file that includes translated versions of some attributes,\n"; print "from an untranslated source and a po directory that includes translations.\n\n"; print " -b, --ba-style includes translations in the bonobo-activation style\n"; print " -d, --desktop-style includes translations in the desktop style\n"; print " -k, --keys-style includes translations in the keys style\n"; print " -s, --schemas-style includes translations in the schemas style\n"; print " -r, --rfc822deb-style includes translations in the RFC822 style\n"; print " -x, --xml-style includes translations in the standard xml style\n"; print " -u, --utf8 convert all strings to UTF-8 before merging\n"; print " -p, --pass-through use strings as found in .po files, without\n"; print " conversion (STRONGLY unrecommended with -x)\n"; print " -q, --quiet suppress most messages\n"; print " --help display this help and exit\n"; print " --version output version information and exit\n"; print "\nReport bugs to bugzilla.gnome.org, module intltool, or contact us through \n"; print ".\n"; exit; } ## Sub for printing error messages sub print_error { print "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 { 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"} || "/usr/lib/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 "Warning: no encoding found in $in_po_file. Assuming ISO-8859-1\n"; $encoding = "ISO-8859-1"; } $encoding = get_local_charset($encoding); return $encoding } sub utf8_sanity_check { if (!$UTF8_ARG) { if (!$PASS_THROUGH_ARG) { $PASS_THROUGH_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; } 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 { my $iconv = $ENV{"INTLTOOL_ICONV"} || "iconv"; 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"; # gettext also handles \n, \t, \b, \r, \f, \v, \a, \xxx (octal), # \xXX (hex) and has a comment saying they want to handle \u and \U. return $sequence; } sub unescape_po_string { my ($string) = @_; $string =~ s/(\\.)/unescape_one_sequence($1)/eg; return $string; } ## NOTE: deal with < - < but not > - > because it seems its ok to have ## > in the entity. For further info please look at #84738. sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; s/</ 127 || $_ == 34 || $_ == 38 || $_ == 39 || $_ == 60) { # the ($_ > 127) should probably be removed return "&#" . $_ . ";"; } else { 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: $!"; 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 sub xml_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die; # 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; # Support for <_foo>blah style translations. while ($source =~ s|^(.*?)([ \t]*)<\s*_($w+)\s*>(.*?)<\s*/_\3\s*>([ \t]*\n)?||s) { print OUTPUT $1; my $spaces = $2; my $tag = $3; my $string = $4; print OUTPUT "$spaces<$tag>$string\n"; $string =~ s/\s+/ /g; $string =~ s/^ //; $string =~ s/ $//; $string = entity_decode($string); for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $translation = entity_encode($translation); print OUTPUT "$spaces<$tag xml:lang=\"$lang\">$translation\n"; } } print OUTPUT $source; close OUTPUT; } sub keys_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; 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+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub desktop_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; 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; # 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*<\/default>)?(\s*) (\s*(.*?)\s*<\/short>)?(\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 : ''; $c_default_block =~ s/default>\[.*?\]/default>/s; 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 $source; $Text::Wrap::huge = 'overflow'; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">${OUTFILE}" or die; while ($source =~ /(^|\n+)(_)?([^:_\n]+)(:\s*)(.*?)(?=\n[\S\n]|$)/sg) { my $sep = $1; my $non_translated_line = $3.$4; my $string = $5; my $is_translatable = defined($2); # Remove [] dummy strings $string =~ s/\[\s[^\[\]]*\]$//; $non_translated_line .= $string; print OUTPUT $sep.$non_translated_line; if ($is_translatable) { my @str_list = rfc822deb_split($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) { $str_translated .= Text::Tabs::expand($translation) . "\n"; } 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: $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. my $text = shift; $text =~ s/^ //mg; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; $line =~ /\s+$/; if ($line =~ /^\.$/) { # 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$/; $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; } hardware-monitor-1.0/intltool-extract.in0000644000175000017500000002346207704726156015446 00000000000000#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Extractor # # Copyright (C) 2000-2001 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.25"; ## 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 $FILE; my $OUTFILE; my $gettext_type = ""; my $input; my %messages = (); ## 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, ) 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"; } sub place_local { $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 "${PROGRAM} (${PACKAGE}) $VERSION\n"; print "Copyright (C) 2000 Free Software Foundation, Inc.\n"; print "Written by Kenneth Christiansen, 2000.\n\n"; print "This is free software; see the source for copying conditions. There is NO\n"; print "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; exit; } ## Sub for printing usage information sub help{ print "Usage: ${PROGRAM} [FILENAME] [OPTIONS] ...\n"; print "Generates a header file from an xml source file.\n\nGrabs all strings "; print "between <_translatable_node> and it's end tag,\nwhere tag are all allowed "; print "xml tags. Read the docs for more info.\n\n"; print " -v, --version shows the version\n"; print " -h, --help shows this help page\n"; print " -q, --quiet quiet mode\n"; print "\nReport bugs to .\n"; exit; } ## Sub for printing error messages sub error{ print "Try `${PROGRAM} --help' for more information.\n"; exit; } sub message { print "Generating C format header file for translation.\n"; } sub extract { &determine_type; &convert ($FILE); open OUT, ">$OUTFILE"; &msg_write; close OUT; print "Wrote $OUTFILE\n" unless $QUIET_ARG; } sub convert($) { ## Reading the file { local (*IN); local $/; #slurp mode open (IN, "<$FILE") || die "can't open $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"; } 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 =~ /^_.*=(.*)$/mg) { $messages{$1} = []; } } sub type_keys { ### For generic translatable mime/keys files ### while ($input =~ /^\s*_\w+=(.*)$/mg) { $messages{$1} = []; } } sub type_xml { ### For generic translatable XML files ### while ($input =~ /\s_$w+=\"([^"]+)\"/sg) { # " $messages{entity_decode_minimal($1)} = []; } while ($input =~ /<_($w+)(?: xml:space="($w+)")?>(.+?)<\/_\1>/sg) { $_ = $3; if (!defined($2) || $2 ne "preserve") { s/\s+/ /g; s/^ //; s/ $//; } $messages{entity_decode_minimal($_)} = []; } } sub type_schemas { ### For schemas XML files ### # FIXME: We should handle escaped < (less than) while ($input =~ / \s* (\s*(.*?)\s*<\/default>\s*)? (\s*(.*?)\s*<\/short>\s*)? (\s*(.*?)\s*<\/long>\s*)? <\/locale> /sgx) { my @totranslate = ($2,$4,$6); foreach (@totranslate) { next if !$_; s/\s+/ /g; $messages{entity_decode_minimal($_)} = []; } } } sub type_rfc822deb { ### For rfc822-style Debian configuration files ### while ($input =~ /(?:^|\n)_[^:]+:\s*(.*?)(?=\n\S|$)/sg) { my @str_list = rfc822deb_split($1); for my $str (@str_list) { # As rfc822deb is for configuration files, duplicates # should never happen. Developers must use the # [] construct to make msgid unique, see also intltool-merge print STDERR "Warning: msgid multiply defined:\n $str\n" if defined($messages{$str}); $messages{$str} = []; } } } 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. my $text = shift; $text =~ s/^ //mg; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; $line =~ /\s+$/; if ($line =~ /^\.$/) { # 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$/; $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_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)[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"[^>]*>([^<]+)<\/\1>/sg) { $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label)[0-9]+$/; } while ($input =~ /]*)"\s+description="([^>]+)"\/>/sg) { $messages{entity_decode_minimal($2)} = []; } } sub type_scheme { while ($input =~ /_\(?"((?:[^"\\]+|\\.)*)"\)?/sg) { $messages{$1} = []; } } sub msg_write { for my $message (sort keys %messages) { 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"; } } } } hardware-monitor-1.0/intltool-update.in0000644000175000017500000004004307704726156015250 00000000000000#!@INTLTOOL_PERL@ -w # # The Intltool Message Updater # # Copyright (C) 2000-2002 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.25"; 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 @languages; my %po_files_by_lang = (); # Regular expressions to categorize file types. # FIXME: Please check if the following is correct my $xml_extension = "xml(\.in)*|". # .in is not required "ui|". "glade2?(\.in)*|". # .in is not required "scm(\.in)*|". # .in is not required "oaf(\.in)+|". "etspec|". "sheet(\.in)+|". "schemas(\.in)+|". "pong(\.in)+"; my $ini_extension = "desktop(\.in)+|". "caves(\.in)+|". "directory(\.in)+|". "soundlist(\.in)+|". "keys(\.in)+|". "theme(\.in)+|". "server(\.in)+"; ## Always print as the first thing $| = 1; ## 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, ) or &print_error_invalid_option; &print_help if $HELP_ARG; &print_version if $VERSION_ARG; my $arg_count = ($DIST_ARG > 0) + ($POT_ARG > 0) + ($HEADERS_ARG > 0) + ($MAINTAIN_ARG > 0) + ($REPORT_ARG > 0); &print_help if $arg_count > 1; # --version and --help don't require a module name my $MODULE = $GETTEXT_PACKAGE || &find_package_name; if ($DIST_ARG) { if ($ARGV[0] =~ /^[a-z]/){ &update_po_file ($ARGV[0]); &print_status ($ARGV[0]); } else { &print_help; } } elsif ($POT_ARG) { &generate_headers; &generate_po_template; } elsif ($HEADERS_ARG) { &generate_headers; } elsif ($MAINTAIN_ARG) { &find_leftout_files; } elsif ($REPORT_ARG) { &print_report; } else { if ($ARGV[0] =~ /^[a-z]/) { &main ($ARGV[0]); } else { &print_help; } } exit; ######### sub print_version { ## Print version information print "${PROGRAM} (${PACKAGE}) $VERSION\n"; print "Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler.\n\n"; print "Copyright (C) 2000-2002 Free Software Foundation, Inc.\n"; print "This is free software; see the source for copying conditions. There is NO\n"; print "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n"; exit; } sub print_help { ## Print usage information print "Usage: ${PROGRAM} [OPTIONS] ...LANGCODE\n"; print "Updates PO template files and merge them with the translations.\n\n"; print " -p, --pot generate the PO template only\n"; print " -s, --headers generate the header files in POTFILES.in\n"; print " -m, --maintain search for left out files from POTFILES.in\n"; print " -r, --report display a status report for the module.\n"; print " -x, --verbose display lots of feedback\n"; print " --help display this help and exit\n"; print " --version output version information and exit\n"; print "\nExamples of use:\n"; print "${PROGRAM} --pot just creates a new PO template from the source\n"; print "${PROGRAM} da created new PO template and updated the da.po file\n\n"; print "Report bugs to bugzilla.gnome.org, module 'intltool'.\n"; exit; } sub main { my ($lang) = @_; ## Report error if the language file supplied ## to the command line is non-existent &print_error_not_existing("$lang.po") if ! -s "$lang.po"; print "Working, please wait..." unless $VERBOSE; &generate_headers; &generate_po_template; &update_po_file ($lang); &print_status ($lang); } sub determine_type ($) { my $type = $_; my $gettext_type; # FIXME: Use $xml_extentions, and maybe do all this even nicer my $xml_regex = "(?:xml(\.in)*|ui|oaf(?:\.in)+|server(?:\.in)+|sheet(?:\.in)+|". "pong(?:\.in)+|etspec|schemas(?:\.in)+)"; my $ini_regex = "(?:desktop(?:\.in)+|theme(?:\.in)+|caves(?:\.in)+|directory(?:\.in)+|". "soundlist(?:\.in)+)"; if ($type =~ /\[type: gettext\/([^\]].*)]/) { $gettext_type=$1; } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; } elsif ($type =~ /$xml_regex$/) { $gettext_type="xml"; } elsif ($type =~ /glade2?(\.in)*$/) { $gettext_type="glade"; } elsif ($type =~ /$ini_regex$/) { $gettext_type="ini"; } elsif ($type =~ /scm(\.in)*$/) { $gettext_type="scheme"; } elsif ($type =~ /keys(\.in)+$/) { $gettext_type="keys"; } else { $gettext_type=""; } return "gettext\/$gettext_type"; } sub find_leftout_files { 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 ); ## Search and find all translatable files find sub { push @buf_i18n_plain, "$File::Find::name" if /\.(c|y|cc|cpp|c\+\+|h|gob)$/ }, ".."; find sub { push @buf_i18n_xml, "$File::Find::name" if /\.($xml_extension)$/ }, ".."; find sub { push @buf_i18n_ini, "$File::Find::name" if /\.($ini_extension)$/ }, ".."; find sub { push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/ }, ".."; open POTFILES, "POTFILES.in" or die "$PROGRAM: there's no POTFILES.in!\n"; @buf_potfiles = grep /^[^#]/, ; 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") { if (-s $ignore) { open FILE, $ignore; while () { if (/^[^#]/){ push @buf_potfiles_ignore, $_; } } print "Found $ignore: Ignoring files...\n" if $VERBOSE; @buf_potfiles = (@buf_potfiles_ignore, @buf_potfiles); } } 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 (/_\(QUOTEDTEXT/) { ## 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 () { if (/\s_(.*)=\"/ || /translatable=\"yes\"/){ push @buf_allfiles, unpack("x3 A*", $file) . "\n"; last; } } } foreach my $file (@buf_i18n_ini){ open FILE, "<$file"; while () { if (/_(.*)=/){ push @buf_allfiles, unpack("x3 A*", $file) . "\n"; last; } } } foreach my $file (@buf_i18n_xml_unmarked){ 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) { $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted){ if (!exists($in2{$_})){ push @result, $_ } } ## Save file with information about the files missing ## if any, and give information about this procedure. if (@result) { print "\n" if $VERBOSE; open OUT, ">missing"; print OUT @result; print "The following files contain translations and are currently not in use. Please\n"; print "consider adding these to the POTFILES.in file, located in the po/ directory.\n\n"; print @result, "\n"; print "If some of these files are left out on purpose then please add them to\n"; print "POTFILES.skip instead of POTFILES.in. A file 'missing' containing this list\n"; print "of left out 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"; } } sub print_error_invalid_option { ## Handle invalid arguments print "Try `${PROGRAM} --help' for more information.\n"; exit 1; } sub generate_headers { my $EXTRACT = `which intltool-extract 2>/dev/null`; chomp $EXTRACT; $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} if $ENV{"INTLTOOL_EXTRACT"}; ## Generate the .h header files, so we can allow glade and ## xml translation support if (! -s $EXTRACT) { print "\n *** The intltool-extract script wasn't found!" ."\n *** Without it, intltool-update can not generate files.\n"; exit; } else { open FILE, ") { chomp; ## Find xml files in POTFILES.in and generate the ## files with help from the extract script my $gettext_type= &determine_type ($1); if (/\.($xml_extension|$ini_extension)$/ || /^\[/){ $_ =~ s/^\[[^\[].*]\s*//; my $filename = "../$_"; if ($VERBOSE){ system($EXTRACT, "--update", "--type=$gettext_type", $filename); } else { system($EXTRACT, "--update", "--type=$gettext_type", "--quiet", $filename); } } } close FILE; } } sub generate_po_template { ## Generate the potfiles from the POTFILES.in file print "Building the $MODULE.pot...\n" if $VERBOSE; move ("POTFILES.in", "POTFILES.in.old"); open INFILE, "POTFILES.in"; while () { chomp; if (/\.($xml_extension|$ini_extension)$/ || /^\[/) { s/^\[.*]\s*//; print OUTFILE "$_.h\n"; } else { print OUTFILE "$_\n"; } } close OUTFILE; close INFILE; system ("xgettext", "--default-domain\=$MODULE", "--directory\=\.\.", "--add-comments", "--keyword\=\_", "--keyword\=N\_", "--keyword\=U\_", "--files-from\=\.\/POTFILES\.in"); move ("POTFILES.in.old", "POTFILES.in"); print "Removing generated header (.h) files..." if $VERBOSE; open FILE, ") { chomp; unlink "../$_.h" if /\.($xml_extension|$ini_extension)$/; } close FILE; print "done\n" if $VERBOSE; if (!-e "$MODULE.po") { print "WARNING: It seems that none of the files in POTFILES.in ". "contain marked strings\n"; exit (1); } system ("rm", "-f", "$MODULE.pot"); move ("$MODULE.po", "$MODULE.pot") or die "$PROGRAM: couldn't move $MODULE.po to $MODULE.pot.\n"; print "Wrote $MODULE.pot\n" if $VERBOSE; } sub update_po_file { my ($lang) = @_; print "Merging $lang.po with $MODULE.pot..." if $VERBOSE; copy ("$lang.po", "$lang.po.old") || die "copy failed: $!"; # Perform merge, remove backup file and the "messages" trash file # generated by gettext system ("msgmerge", "-o", "$lang.po", "$lang.po.old", "$MODULE.pot"); unlink "$lang.po.old"; unlink "messages"; } sub print_error_not_existing { my ($file) = @_; ## Report error if supplied language file is non-existing print "$PROGRAM: $file does not exist!\n"; print "Try '$PROGRAM --help' for more information.\n"; exit; } sub gather_po_files { my @po_files = glob ("./*.po"); @languages = map (&po_file2lang, @po_files); foreach my $lang (@languages) { $po_files_by_lang{$lang} = shift (@po_files); } } sub po_file2lang ($) { my $tmp = $_; $tmp =~ s/^.*\/(.*)\.po$/$1/; return $tmp; } sub print_status { my ($lang) = @_; system ("msgfmt", "--statistics", "$lang.po"); print "\n"; } sub print_report { &generate_headers; &generate_po_template; &gather_po_files; foreach my $lang (@languages) { print "$lang: "; &update_po_file ($lang); } print "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages){ print "$lang: "; system ("msgfmt", "--statistics", "$lang.po"); } } sub find_package_name { my $base_dirname = getcwd(); $base_dirname =~ s@.*/@@; my ($conf_in, $src_dir); if ($base_dirname =~ /^po(-.+)?$/) { if (-f "../configure.in") { $conf_in = "../configure.in"; } elsif (-f "../configure.ac") { $conf_in = "../configure.ac"; } else { my $makefile_source; local (*IN); open IN, ") { if (/^top_srcdir[ \t]*=/) { $src_dir = $_; # print "${src_dir}\n"; $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; # print "${src_dir}\n"; chomp $src_dir; $conf_in = "$src_dir" . "/configure.in" . "\n"; last; } } $conf_in || die "Cannot find top_srcdir in Makefile." } my %varhash = (); my $conf_source; { local (*IN); open (IN, "<$conf_in") || die "can't open $conf_in: $!"; while () { if (/^(\w+)=(\S+)/) { $varhash{$1} = $2 }; } seek (IN, 0, 0); local $/; # slurp mode $conf_source = ; } my $name = ""; $name = $1 if $conf_source =~ /^AM_INIT_AUTOMAKE\([\s\[]*([^,\)\s\]]+)/m; if ($conf_source =~ /^AC_INIT\([\s\[]*([^,\)\s\]]+)\]?\s*,/m) { $name = $1; $varhash{"AC_PACKAGE_NAME"} = $1; } $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\s\]]+)/m; $name = "\$AC_PACKAGE_NAME" if "$name" eq "AC_PACKAGE_NAME"; my $oldname = ""; while (($name =~ /[\$](\S+)/) && ("$oldname" ne "$name")) { $oldname = $name; if (exists $varhash{$1}) { $name =~ s/[\$](\S+)/$varhash{$1}/; } } return $name if $name; } print "$PROGRAM: Unable to determine package name.\n" . "Make sure to run this script inside the po directory.\n"; exit; } hardware-monitor-1.0/src/0000777000175000017500000000000010021711717012425 500000000000000hardware-monitor-1.0/src/Makefile.in0000644000175000017500000003251710021711717014416 00000000000000# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am # Copyright (C) 1994, 1995-8, 1999, 2001 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. # pass info on to source SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ sbindir = @sbindir@ libexecdir = @libexecdir@ datadir = @datadir@ sysconfdir = @sysconfdir@ sharedstatedir = @sharedstatedir@ localstatedir = @localstatedir@ libdir = @libdir@ infodir = @infodir@ mandir = @mandir@ includedir = @includedir@ oldincludedir = /usr/include DESTDIR = pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. ACLOCAL = @ACLOCAL@ AUTOCONF = @AUTOCONF@ AUTOMAKE = @AUTOMAKE@ AUTOHEADER = @AUTOHEADER@ INSTALL = @INSTALL@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS) INSTALL_DATA = @INSTALL_DATA@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ transform = @program_transform_name@ NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : host_alias = @host_alias@ host_triplet = @host@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CXX = @CXX@ DATADIRNAME = @DATADIRNAME@ DEPS_CFLAGS = @DEPS_CFLAGS@ DEPS_LIBS = @DEPS_LIBS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ HAVE_LIB = @HAVE_LIB@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LIB = @LIB@ LTLIB = @LTLIB@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MKINSTALLDIRS = @MKINSTALLDIRS@ PACKAGE = @PACKAGE@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ SENSORS_CFLAGS = @SENSORS_CFLAGS@ SENSORS_LIBS = @SENSORS_LIBS@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ INCLUDES = -DHARDWARE_MONITOR_GLADEDIR=\""$(gladedir)/"\" -DGNOMELOCALEDIR=\""$(gnomelocaledir)"\" -DGNOMEICONDIR=\""$(icondir)"\" -DSENSORS_CONF_FILE=\""/etc/sensors.conf"\" libexec_PROGRAMS = hardware-monitor # list of source files needed to build the executable hardware_monitor_SOURCES = applet.cpp applet.hpp bar-view.cpp bar-view.hpp choose-monitor-window.cpp choose-monitor-window.hpp canvas-view.cpp canvas-view.hpp column-view.cpp column-view.hpp curve-view.cpp curve-view.hpp flame-view.cpp flame-view.hpp gui-helpers.hpp helpers.cpp helpers.hpp i18n.hpp main.cpp monitor.hpp monitor-impls.cpp monitor-impls.hpp preferences-window.cpp preferences-window.hpp pixbuf-drawing.hpp text-view.cpp text-view.hpp view.cpp view.hpp ucompose.hpp @MAINTAINER_MODE_TRUE@CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) $(SENSORS_CFLAGS) -O0 -Wall @MAINTAINER_MODE_FALSE@CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) $(SENSORS_CFLAGS) -Wall -O3 LDADD = $(DEPS_LIBS) $(SENSORS_LIBS) glade_DATA = ui.glade gladedir = $(datadir)/$(PACKAGE)/glade # FIXME: both here and in ../Makefile.am? icondir = $(datadir)/pixmaps gnomelocaledir = $(datadir)/locale EXTRA_DIST = $(glade_DATA) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = PROGRAMS = $(libexec_PROGRAMS) DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ hardware_monitor_OBJECTS = applet.o bar-view.o choose-monitor-window.o \ canvas-view.o column-view.o curve-view.o flame-view.o helpers.o main.o \ monitor-impls.o preferences-window.o text-view.o view.o hardware_monitor_LDADD = $(LDADD) hardware_monitor_DEPENDENCIES = hardware_monitor_LDFLAGS = CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) CXXLD = $(CXX) CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ CFLAGS = @CFLAGS@ COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ DATA = $(glade_DATA) DIST_COMMON = Makefile.am Makefile.in TODO DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) TAR = tar GZIP_ENV = --best SOURCES = $(hardware_monitor_SOURCES) OBJECTS = $(hardware_monitor_OBJECTS) all: all-redirect .SUFFIXES: .SUFFIXES: .S .c .cpp .o .s $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps src/Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status mostlyclean-libexecPROGRAMS: clean-libexecPROGRAMS: -test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS) distclean-libexecPROGRAMS: maintainer-clean-libexecPROGRAMS: install-libexecPROGRAMS: $(libexec_PROGRAMS) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(libexecdir) @list='$(libexec_PROGRAMS)'; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ else :; fi; \ done uninstall-libexecPROGRAMS: @$(NORMAL_UNINSTALL) list='$(libexec_PROGRAMS)'; for p in $$list; do \ rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \ done .c.o: $(COMPILE) -c $< .s.o: $(COMPILE) -c $< .S.o: $(COMPILE) -c $< mostlyclean-compile: -rm -f *.o core *.core clean-compile: distclean-compile: -rm -f *.tab.c maintainer-clean-compile: hardware-monitor: $(hardware_monitor_OBJECTS) $(hardware_monitor_DEPENDENCIES) @rm -f hardware-monitor $(CXXLINK) $(hardware_monitor_LDFLAGS) $(hardware_monitor_OBJECTS) $(hardware_monitor_LDADD) $(LIBS) .cpp.o: $(CXXCOMPILE) -c $< install-gladeDATA: $(glade_DATA) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(gladedir) @list='$(glade_DATA)'; for p in $$list; do \ if test -f $(srcdir)/$$p; then \ echo " $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p"; \ $(INSTALL_DATA) $(srcdir)/$$p $(DESTDIR)$(gladedir)/$$p; \ else if test -f $$p; then \ echo " $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p"; \ $(INSTALL_DATA) $$p $(DESTDIR)$(gladedir)/$$p; \ fi; fi; \ done uninstall-gladeDATA: @$(NORMAL_UNINSTALL) list='$(glade_DATA)'; for p in $$list; do \ rm -f $(DESTDIR)$(gladedir)/$$p; \ done tags: TAGS ID: $(HEADERS) $(SOURCES) $(LISP) list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ here=`pwd` && cd $(srcdir) \ && mkid -f$$here/ID $$unique $(LISP) TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS)'; \ unique=`for i in $$list; do echo $$i; done | \ awk ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags $$unique $(LISP)) mostlyclean-tags: clean-tags: distclean-tags: -rm -f TAGS ID maintainer-clean-tags: distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) subdir = src distdir: $(DISTFILES) @for file in $(DISTFILES); do \ d=$(srcdir); \ if test -d $$d/$$file; then \ cp -pr $$d/$$file $(distdir)/$$file; \ else \ test -f $(distdir)/$$file \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || cp -p $$d/$$file $(distdir)/$$file || :; \ fi; \ done applet.o: applet.cpp ../config.h ucompose.hpp applet.hpp column-view.hpp \ canvas-view.hpp view.hpp helpers.hpp curve-view.hpp \ bar-view.hpp text-view.hpp flame-view.hpp monitor-impls.hpp \ monitor.hpp preferences-window.hpp i18n.hpp bar-view.o: bar-view.cpp bar-view.hpp canvas-view.hpp view.hpp \ ../config.h helpers.hpp applet.hpp monitor.hpp canvas-view.o: canvas-view.cpp ../config.h canvas-view.hpp view.hpp \ helpers.hpp applet.hpp choose-monitor-window.o: choose-monitor-window.cpp ../config.h \ choose-monitor-window.hpp gui-helpers.hpp helpers.hpp \ monitor-impls.hpp monitor.hpp applet.hpp i18n.hpp ucompose.hpp column-view.o: column-view.cpp column-view.hpp canvas-view.hpp view.hpp \ ../config.h helpers.hpp applet.hpp monitor.hpp \ pixbuf-drawing.hpp curve-view.o: curve-view.cpp curve-view.hpp canvas-view.hpp view.hpp \ ../config.h helpers.hpp applet.hpp monitor.hpp flame-view.o: flame-view.cpp pixbuf-drawing.hpp flame-view.hpp \ canvas-view.hpp view.hpp ../config.h helpers.hpp applet.hpp \ monitor.hpp graph-view.o: graph-view.cpp ../config.h ucompose.hpp graph-view.hpp \ view.hpp helpers.hpp applet.hpp monitor.hpp i18n.hpp gui-applet.o: gui-applet.cpp ../config.h ucompose.hpp view.hpp i18n.hpp \ gui-applet.hpp helpers.o: helpers.cpp ../config.h helpers.hpp i18n.hpp main.o: main.cpp ../config.h applet.hpp helpers.hpp i18n.hpp monitor-impls.o: monitor-impls.cpp monitor-impls.hpp ../config.h \ monitor.hpp helpers.hpp ucompose.hpp i18n.hpp monitors.o: monitors.cpp ../config.h monitors.hpp helpers.hpp \ ucompose.hpp i18n.hpp preferences-window.o: preferences-window.cpp ../config.h \ preferences-window.hpp choose-monitor-window.hpp \ gui-helpers.hpp helpers.hpp applet.hpp monitor.hpp i18n.hpp text-view.o: text-view.cpp text-view.hpp view.hpp ../config.h \ helpers.hpp monitor.hpp applet.hpp ucompose.hpp i18n.hpp textual-view.o: textual-view.cpp textual-view.hpp view.hpp ../config.h \ helpers.hpp monitor-sequence.hpp monitors.hpp view.o: view.cpp view.hpp ../config.h helpers.hpp info-am: info: info-am dvi-am: dvi: dvi-am check-am: all-am check: check-am installcheck-am: installcheck: installcheck-am install-exec-am: install-libexecPROGRAMS install-exec: install-exec-am install-data-am: install-gladeDATA install-data: install-data-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install: install-am uninstall-am: uninstall-libexecPROGRAMS uninstall-gladeDATA uninstall: uninstall-am all-am: Makefile $(PROGRAMS) $(DATA) all-redirect: all-am install-strip: $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install installdirs: $(mkinstalldirs) $(DESTDIR)$(libexecdir) $(DESTDIR)$(gladedir) mostlyclean-generic: clean-generic: distclean-generic: -rm -f Makefile $(CONFIG_CLEAN_FILES) -rm -f config.cache config.log stamp-h stamp-h[0-9]* maintainer-clean-generic: mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \ mostlyclean-tags mostlyclean-generic mostlyclean: mostlyclean-am clean-am: clean-libexecPROGRAMS clean-compile clean-tags clean-generic \ mostlyclean-am clean: clean-am distclean-am: distclean-libexecPROGRAMS distclean-compile \ distclean-tags distclean-generic clean-am distclean: distclean-am maintainer-clean-am: maintainer-clean-libexecPROGRAMS \ maintainer-clean-compile maintainer-clean-tags \ maintainer-clean-generic distclean-am @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." maintainer-clean: maintainer-clean-am .PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \ clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \ uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \ distclean-compile clean-compile maintainer-clean-compile \ uninstall-gladeDATA install-gladeDATA tags mostlyclean-tags \ distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ dvi-am dvi check check-am installcheck-am installcheck install-exec-am \ install-exec install-data-am install-data install-am install \ uninstall-am uninstall all-redirect all-am all installdirs \ mostlyclean-generic distclean-generic clean-generic \ maintainer-clean-generic clean mostlyclean distclean maintainer-clean # 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: hardware-monitor-1.0/src/Makefile.am0000644000175000017500000000315610020347765014411 00000000000000# pass info on to source INCLUDES = -DHARDWARE_MONITOR_GLADEDIR=\""$(gladedir)/"\" \ -DGNOMELOCALEDIR=\""$(gnomelocaledir)"\" \ -DGNOMEICONDIR=\""$(icondir)"\" \ -DSENSORS_CONF_FILE=\""/etc/sensors.conf"\" libexec_PROGRAMS = hardware-monitor # list of source files needed to build the executable hardware_monitor_SOURCES = \ applet.cpp applet.hpp \ bar-view.cpp bar-view.hpp \ choose-monitor-window.cpp choose-monitor-window.hpp \ canvas-view.cpp canvas-view.hpp \ column-view.cpp column-view.hpp \ curve-view.cpp curve-view.hpp \ flame-view.cpp flame-view.hpp \ gui-helpers.hpp \ helpers.cpp helpers.hpp \ i18n.hpp \ main.cpp \ monitor.hpp \ monitor-impls.cpp monitor-impls.hpp \ preferences-window.cpp preferences-window.hpp \ pixbuf-drawing.hpp \ text-view.cpp text-view.hpp \ view.cpp view.hpp \ ucompose.hpp if MAINTAINER_MODE CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) $(SENSORS_CFLAGS) -O0 -Wall else CXXFLAGS = @CXXFLAGS@ $(DEPS_CFLAGS) $(SENSORS_CFLAGS) -Wall -O3 endif LDADD = $(DEPS_LIBS) $(SENSORS_LIBS) glade_DATA = ui.glade gladedir = $(datadir)/$(PACKAGE)/glade # FIXME: both here and in ../Makefile.am? icondir = $(datadir)/pixmaps gnomelocaledir = $(datadir)/locale EXTRA_DIST = $(glade_DATA) hardware-monitor-1.0/src/TODO0000644000175000017500000000165110020371073013030 00000000000000Things that should be done: * Add help * Implement reordering of monitors in devices tab * Persuade someone to make an icon * Fix mysterious bug: to reproduce, start in terminal, add one applet and remove it again Things to consider: * Change DiskUsage to present a list of available mount points to choose from in device chooser dialog, perhaps this should simply be a ComboBox * Inject love into the text view - The labels don't really respect the panel size - It isn't possible to change the font (or color) * Convert monitors to a seamless CORBA plug-in architecture to break down binary dependencies and support monitoring another host External things: * Write to libsensors team and make them improve the API so that the descriptive names can be unified and translated * Get disk block size into the fsusage structure in libgtop (bug filed and patch done, waiting for maintainer to react) hardware-monitor-1.0/src/applet.cpp0000644000175000017500000004110310020363175014331 00000000000000/* Implementation of the Applet class. * * Copyright (c) 2003, 2004 Ole Laursen. * * 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. */ #include #include #include #include #include "ucompose.hpp" #include "applet.hpp" #include "column-view.hpp" #include "curve-view.hpp" #include "bar-view.hpp" #include "text-view.hpp" #include "flame-view.hpp" #include "monitor-impls.hpp" #include "preferences-window.hpp" #include "i18n.hpp" // helpers for popping up the various things void display_preferences(BonoboUIComponent *, void *applet, const gchar *) { static_cast(applet)->on_preferences_activated(); } void display_help(BonoboUIComponent *, void *applet, const gchar *) { static_cast(applet)->on_help_activated(); } void display_about(BonoboUIComponent *, void *applet, const gchar *) { static_cast(applet)->on_about_activated(); } Applet::Applet(PanelApplet *a) : panel_applet(a) { // load icon std::string icon_name = GNOMEICONDIR "/hardware-monitor-applet.png"; try { icon = Gdk::Pixbuf::create_from_file(icon_name); } catch(...) { std::cerr << String::ucompose(_("Hardware Monitor: cannot load the icon '%1'.\n"), icon_name); // it's a minor problem if we can't find the icon icon = Glib::RefPtr(); } // setup GConf gconf_dir = panel_applet_get_preferences_key(panel_applet); gconf_client = Gnome::Conf::Client::get_default_client(); gconf_client->add_dir(gconf_dir); // circumvent GConf bug (FIXME: report it) gconf_client->set(gconf_dir + "/dummy", 0); gconf_client->set(gconf_dir + "/monitors/dummy", 0); // connect GConf gconf_client->notify_add(gconf_dir + "/viewer_type", SigC::slot(*this, &Applet::viewer_type_listener)); gconf_client->notify_add(gconf_dir + "/update_interval", SigC::slot(*this, &Applet:: update_interval_listener)); gconf_client->notify_add(gconf_dir + "/background_color", SigC::slot(*this, &Applet:: background_color_listener)); gconf_client->notify_add(gconf_dir + "/use_background_color", SigC::slot(*this, &Applet:: use_background_color_listener)); load_monitors(); preferences_window.reset(new PreferencesWindow(*this)); // we need this #if 0 so the string will be in the message catalog for // translation below in menu_xml #if 0 // pop-up menu strings _("_Preferences...") _("_Help") _("_About...") #endif // setup menu static const char menu_xml[] = "\n" " \n" " \n" " \n" "\n"; static const BonoboUIVerb menu_verbs[] = { BONOBO_UI_VERB("HardwareMonitorPreferences", &display_preferences), BONOBO_UI_VERB("HardwareMonitorHelp", &display_help), BONOBO_UI_VERB("HardwareMonitorAbout", &display_about), BONOBO_UI_VERB_END }; panel_applet_setup_menu(panel_applet, menu_xml, menu_verbs, this); // start displaying something viewer_type_listener(0, gconf_client->get_entry(gconf_dir + "/viewer_type")); update_interval_listener(0, gconf_client->get_entry(gconf_dir + "/update_interval")); background_color_listener(0, gconf_client->get_entry(gconf_dir + "/background_color")); use_background_color_listener(0, gconf_client->get_entry(gconf_dir + "/use_background_color")); main_loop(); } Applet::~Applet() { // make sure noone is trying to read the monitors before we kill them if (view.get()) for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) view->detach(i->second); view.reset(); for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) delete i->second; } void Applet::set_view(View *v) { if (view.get()) for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) view->detach(i->second); view.reset(v); view->display(*this); for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) view->attach(i->second, i->first); } bool Applet::main_loop() { // update monitors for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) i->second->measure(); // possibly sync network load monitors maxima for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) if (NetworkLoadMonitor *n1 = dynamic_cast(i->second)) for (monitor_iterator i2 = i; i2 != end; ++i2) if (NetworkLoadMonitor *n2 = dynamic_cast(i2->second)) n1->possibly_sync(*n2); // update view if (view.get()) view->update(); // update tooltip Glib::ustring tip; for (monitor_iterator i = monitors.begin(), end = monitors.end(); i != end; ++i) { Monitor &mon = *i->second; // note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is // the current measurement, e.g. "78%" Glib::ustring next = String::ucompose(_("%1: %2"), mon.get_short_name(), mon.format_value(mon.value())); if (tip.empty()) tip = next; else // note to translators: this is used for composing a list of monitors; %1 // is the previous part of the list and %2 is the part to append tip = String::ucompose(_("%1\n%2"), tip, next); } tooltips.set_tip(get_container(), tip); return true; } Gtk::Container &Applet::get_container() { return *this; } unsigned int Applet::get_fg_color() { static unsigned int colors[] = { 0x83A67FB0, 0xC1665AB0, 0x7590AEB0, 0xE0C39ED0, 0x887FA3B0 }; Gnome::Conf::Value v = gconf_client->get(gconf_dir + "/next_color"); int c; if (v.get_type() == Gnome::Conf::VALUE_INT) c = v.get_int(); else c = 0; gconf_client->set(gconf_dir + "/next_color", int((c + 1) % (sizeof(colors) / sizeof(unsigned int)))); return colors[c]; } int Applet::get_update_interval() const { return update_interval; } int Applet::get_size() const { // 2 pixels of frame decoration on both sides return panel_applet_get_size(panel_applet) - 2 * 2; } bool Applet::horizontal() const { PanelAppletOrient orient = panel_applet_get_orient(panel_applet); return orient == PANEL_APPLET_ORIENT_UP || orient == PANEL_APPLET_ORIENT_DOWN; } Glib::RefPtr &Applet::get_gconf_client() { return gconf_client; } Glib::ustring Applet::get_gconf_dir() const { return gconf_dir; } Glib::RefPtr Applet::get_icon() { return icon; } void Applet::add_monitor(Monitor *monitor) { Glib::ustring mon_dir = find_empty_monitor_dir(); add_monitor(monitor, mon_dir); } void Applet::remove_monitor(Glib::ustring mon_dir) { Monitor *monitor = monitors[mon_dir]; monitors.erase(mon_dir); if (view.get()) view->detach(monitor); delete monitor; // delete the GConf keys Glib::SListHandle list = gconf_client->all_entries(mon_dir); for (Glib::SListHandle::const_iterator i = list.begin(), end = list.end(); i != end; ++i) gconf_client->unset((*i).get_key()); } void Applet::replace_monitor(Glib::ustring mon_dir, Monitor *new_mon) { Monitor *old_mon = monitors[mon_dir]; monitors[mon_dir] = new_mon; new_mon->save(gconf_client, mon_dir); if (view.get()) { view->detach(old_mon); view->attach(new_mon, mon_dir); } delete old_mon; } Monitor *Applet::look_up_monitor(Glib::ustring mon_dir) { return monitors[mon_dir]; } void Applet::viewer_type_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_STRING) { // FIXME: use schema for this? Gnome::Conf::Value v(Gnome::Conf::VALUE_STRING); v.set(Glib::ustring("curve")); entry.set_value(v); gconf_client->set(entry.get_key(), Glib::ustring("curve")); } Glib::ustring s = entry.get_value().get_string(); if (s == "curve") { if (!dynamic_cast(view.get())) set_view(new CurveView); } else if (s == "bar") { if (!dynamic_cast(view.get())) set_view(new BarView); } else if (s == "text") { if (!dynamic_cast(view.get())) set_view(new TextView); } else if (s == "flame") { if (!dynamic_cast(view.get())) set_view(new FlameView); } else if (s == "column") { if (!dynamic_cast(view.get())) set_view(new ColumnView); } // make sure the view sets the background background_color_listener(0, gconf_client->get_entry(gconf_dir + "/background_color")); } void Applet::update_interval_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_FLOAT) { // FIXME: use schema for this? Gnome::Conf::Value v(Gnome::Conf::VALUE_FLOAT); v.set(1.0); entry.set_value(v); } update_interval = int(1000 * entry.get_value().get_float()); timer.disconnect(); timer = Glib::signal_timeout().connect(SigC::slot(*this, &Applet::main_loop), update_interval); } void Applet::background_color_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_INT) { // FIXME: use schema for this? Gnome::Conf::Value v(Gnome::Conf::VALUE_INT); v.set(0x00000000); // black as the night entry.set_value(v); } unsigned int color = entry.get_value().get_int(); Gnome::Conf::Value v = gconf_client->get(gconf_dir + "/use_background_color"); bool use; if (v.get_type() != Gnome::Conf::VALUE_BOOL) use = false; else use = v.get_bool(); if (view.get()) if (use) view->set_background(color); } void Applet::use_background_color_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_BOOL) { // FIXME: use schema for this? Gnome::Conf::Value v(Gnome::Conf::VALUE_BOOL); v.set(false); entry.set_value(v); } bool use = entry.get_value().get_bool(); Gnome::Conf::Value v = gconf_client->get(gconf_dir + "/background_color"); unsigned int color; if (v.get_type() != Gnome::Conf::VALUE_INT) color = 0x00000000; else color = v.get_int(); if (view.get()) if (use) view->set_background(color); else view->unset_background(); } Glib::ustring Applet::find_empty_monitor_dir() { Glib::SListHandle list = gconf_client->all_dirs(gconf_dir + "/monitors"); Glib::SListHandle::const_iterator begin = list.begin(), end = list.end(); int c = 1; Glib::ustring mon_dir = String::ucompose(gconf_dir + "/monitors/%1", c); while (std::find(begin, end, mon_dir) != end) mon_dir = String::ucompose(gconf_dir + "/monitors/%1", ++c); return mon_dir; } void Applet::add_monitor(Monitor *monitor, Glib::ustring mon_dir) { monitors[mon_dir] = monitor; monitor->save(gconf_client, mon_dir); if (view.get()) view->attach(monitor, mon_dir); } void Applet::load_monitors() { Glib::SListHandle list = gconf_client->all_dirs(gconf_dir + "/monitors"); for (Glib::SListHandle::const_iterator i = list.begin(), end = list.end(); i != end; ++i) { const Glib::ustring &mon_dir = *i; Glib::ustring type = gconf_client->get_string(mon_dir + "/type"); if (type == "cpu_usage") { Gnome::Conf::Value v = gconf_client->get(mon_dir + "/cpu_no"); int cpu_no; if (v.get_type() == Gnome::Conf::VALUE_INT) cpu_no = v.get_int(); else cpu_no = -1; if (cpu_no == -1) add_monitor(new CpuUsageMonitor, mon_dir); else add_monitor(new CpuUsageMonitor(cpu_no), mon_dir); } else if (type == "memory_usage") add_monitor(new MemoryUsageMonitor, mon_dir); else if (type == "swap_usage") add_monitor(new SwapUsageMonitor, mon_dir); else if (type == "load_average") add_monitor(new LoadAverageMonitor, mon_dir); else if (type == "disk_usage") { Gnome::Conf::Value v = gconf_client->get(mon_dir + "/mount_dir"); Glib::ustring mount_dir; if (v.get_type() == Gnome::Conf::VALUE_STRING) mount_dir = v.get_string(); else mount_dir = "/"; // FIXME: use schema? v = gconf_client->get(mon_dir + "/show_free"); bool show_free; if (v.get_type() == Gnome::Conf::VALUE_BOOL) show_free = v.get_bool(); else show_free = false; // FIXME: use schema? add_monitor(new DiskUsageMonitor(mount_dir, show_free), mon_dir); } else if (type == "network_load") { Glib::ustring inter; int inter_no, inter_direction; Gnome::Conf::Value v = gconf_client->get(mon_dir + "/interface"); if (v.get_type() == Gnome::Conf::VALUE_STRING) inter = v.get_string(); else inter = "eth"; // FIXME: use schema? v = gconf_client->get(mon_dir + "/interface_no"); if (v.get_type() == Gnome::Conf::VALUE_INT) inter_no = v.get_int(); else inter_no = 0; // FIXME: use schema? v = gconf_client->get(mon_dir + "/interface_direction"); if (v.get_type() == Gnome::Conf::VALUE_INT) inter_direction = v.get_int(); else inter_direction = NetworkLoadMonitor::all_data; // FIXME: use schema? NetworkLoadMonitor::Direction dir; if (inter_direction == NetworkLoadMonitor::incoming_data) dir = NetworkLoadMonitor::incoming_data; else if (inter_direction == NetworkLoadMonitor::outgoing_data) dir = NetworkLoadMonitor::outgoing_data; else dir = NetworkLoadMonitor::all_data; add_monitor(new NetworkLoadMonitor(inter, inter_no, dir), mon_dir); } else if (type == "temperature") { Gnome::Conf::Value v = gconf_client->get(mon_dir + "/temperature_no"); int temperature_no; if (v.get_type() == Gnome::Conf::VALUE_INT) temperature_no = v.get_int(); else temperature_no = 0; // FIXME: use schema? add_monitor(new TemperatureMonitor(temperature_no), mon_dir); } else if (type == "fan_speed") { Gnome::Conf::Value v = gconf_client->get(mon_dir + "/fan_no"); int fan_no; if (v.get_type() == Gnome::Conf::VALUE_INT) fan_no = v.get_int(); else fan_no = 0; // FIXME: use schema? add_monitor(new FanSpeedMonitor(fan_no), mon_dir); } } // always start with a CpuUsageMonitor - FIXME: use schema? if (monitors.empty()) add_monitor(new CpuUsageMonitor); } void Applet::on_preferences_activated() { preferences_window->show(); } void Applet::on_help_activated() { // FIXME: do something } void Applet::on_about_activated() { std::vector authors; authors.push_back("Ole Laursen "); std::vector documenters; // add documenters here // note to translators: please fill in your names and email addresses Glib::ustring translators = _("translator-credits"); Glib::ustring description = _("Monitor various hardware-related information, such as CPU usage, " "memory usage etc. Supports curve graphs, horizontal bar plots, " "column diagrams, textual monitoring and fluctuating flames."); if (about.get() == 0) { about.reset(new Gnome::UI::About(_("Hardware Monitor"), VERSION, // %1 is the copyright symbol String::ucompose(_("Copyright %1 2003 Ole Laursen"), "\xc2\xa9"), authors, documenters, description, translators == "translator-credits" ? "" : translators, icon)); about->set_icon(icon); about->show(); } else { about->show(); about->raise(); } } hardware-monitor-1.0/src/applet.hpp0000644000175000017500000000664307717130324014357 00000000000000/* The applet class which coordinates everything. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef APPLET_HPP #define APPLET_HPP #include #include #include #include #include #include #include #include #include #include #include class PreferencesWindow; class View; class Monitor; // main monster GUI class class Applet: public Gtk::EventBox { public: Applet(PanelApplet *panel_applet); ~Applet(); Gtk::Container &get_container(); unsigned int get_fg_color(); // return varying foreground colours int get_update_interval() const; // in milliseconds int get_size() const; // in pixels bool horizontal() const; // whether we're in horizontal mode void set_view(View *view); // use this view to monitor Glib::RefPtr &get_gconf_client(); Glib::ustring get_gconf_dir() const; Glib::RefPtr get_icon(); // get the application icon // take over ownership of monitor void add_monitor(Monitor *monitor); // get rid of the monitor void remove_monitor(Glib::ustring mon_dir); void replace_monitor(Glib::ustring mon_dir, Monitor *new_monitor); Monitor *look_up_monitor(Glib::ustring mon_dir); private: // internal decoration //Gtk::Frame frame; // monitors typedef std::map monitor_sequence; typedef monitor_sequence::iterator monitor_iterator; monitor_sequence monitors; // the context menu void on_preferences_activated(); void on_help_activated(); void on_about_activated(); // looping bool main_loop(); SigC::Connection timer; int update_interval; // GConf Glib::RefPtr gconf_client; Glib::ustring gconf_dir; void viewer_type_listener(unsigned int, Gnome::Conf::Entry entry); void update_interval_listener(unsigned int, Gnome::Conf::Entry entry); void background_color_listener(unsigned int, Gnome::Conf::Entry entry); void use_background_color_listener(unsigned int, Gnome::Conf::Entry entry); Glib::ustring find_empty_monitor_dir(); void add_monitor(Monitor *monitor, Glib::ustring mon_dir); void load_monitors(); // data PanelApplet *panel_applet; Glib::RefPtr icon; std::auto_ptr about; std::auto_ptr view; std::auto_ptr preferences_window; Gtk::Tooltips tooltips; friend void display_preferences(BonoboUIComponent *, void *applet, const gchar *); friend void display_help(BonoboUIComponent *, void *applet, const gchar *); friend void display_about(BonoboUIComponent *, void *applet, const gchar *); }; #endif hardware-monitor-1.0/src/bar-view.cpp0000644000175000017500000001335007722430677014604 00000000000000/* Implementation of the bar view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include // for ceil/floor #include // for max/min #include #include #include "bar-view.hpp" #include "applet.hpp" #include "monitor.hpp" // // class Bar - represents a single bar graph // class Bar { public: Bar(Monitor *monitor, const Glib::ustring &mon_dir); ~Bar(); void update(); void draw(Gnome::Canvas::Canvas &canvas, Applet *applet, int width, int height, int no, int total, double time_offset); Monitor *monitor; private: typedef std::vector box_sequence; box_sequence boxes; double old_value, new_value; Glib::ustring monitor_dir; }; Bar::Bar(Monitor *m, const Glib::ustring &mon_dir) : monitor(m), old_value(0), new_value(0), monitor_dir(mon_dir) {} Bar::~Bar() { for (box_sequence::iterator i = boxes.begin(), end = boxes.end(); i != end; ++i) delete *i; } void Bar::update() { old_value = new_value; new_value = monitor->value(); } unsigned int outlineified(unsigned int color) { int r = (color >> 24) & 0xff, g = (color >> 16) & 0xff, b = (color >> 8) & 0xff; if ((r + g + b) / 3 < 50) { // enlight instead of darken r = std::min(255, int(r * 1.2)); g = std::min(255, int(g * 1.2)); b = std::min(255, int(b * 1.2)); } else { r = std::max(0, int(r * 0.8)); g = std::max(0, int(g * 0.8)); b = std::max(0, int(b * 0.8)); } return (r << 24) | (g << 16) | (b << 8) | (color & 0xff); } void Bar::draw(Gnome::Canvas::Canvas &canvas, Applet *applet, int width, int height, int no, int total, double time_offset) { Glib::RefPtr &client = applet->get_gconf_client(); // get drawing attributes unsigned int fill_color; Gnome::Conf::Value v; v = client->get(monitor_dir + "/color"); if (v.get_type() == Gnome::Conf::VALUE_INT) fill_color = v.get_int(); else { fill_color = applet->get_fg_color(); client->set(monitor_dir + "/color", int(fill_color)); } unsigned int outline_color = outlineified(fill_color); // calculate parameters int const box_width = 3, min_spacing = 2; // use min_spacing at least, except for last box which doesn't need spacing int total_no_boxes = (width + min_spacing) / (box_width + min_spacing); double box_spacing = (double(width) - box_width * total_no_boxes) / (total_no_boxes - 1); // don't attain new value immediately double value = old_value * (1 - time_offset) + new_value * time_offset; double max = monitor->max(); if (max <= 0) max = 0.0000001; double box_frac = total_no_boxes * value / max; unsigned int no_boxes = int(std::ceil(box_frac)); double alpha = box_frac - std::floor(box_frac); if (alpha == 0) // x.0 should give an opaque last box alpha = 1; // trim/expand boxes list while (boxes.size() < no_boxes) boxes.push_back(new Gnome::Canvas::Rect(*canvas.root())); while (boxes.size() > no_boxes) { delete boxes.back(); boxes.pop_back(); } double x = 0; // update parameters, starting from left for (box_sequence::iterator i = boxes.begin(), end = boxes.end(); i != end; ++i) { Gnome::Canvas::Rect &rect = **i; rect.property_fill_color_rgba() = fill_color; rect.property_outline_color_rgba() = outline_color; rect.property_x1() = x; rect.property_x2() = x + box_width; rect.property_y1() = double(height) * no / total + 1; rect.property_y2() = double(height) * (no + 1) / total - 1; x += box_width + box_spacing; } // tint last box if (!boxes.empty()) { Gnome::Canvas::Rect &last = *boxes.back(); last.property_fill_color_rgba() = (fill_color & 0xffffff00) | static_cast((fill_color & 0xff) * alpha); last.property_outline_color_rgba() = (outline_color & 0xffffff00) | static_cast((outline_color & 0xff) * alpha); } } // // class BarView // BarView::BarView() : draws_since_update(0) { } BarView::~BarView() { for (bar_iterator i = bars.begin(), end = bars.end(); i != end; ++i) delete *i; } void BarView::do_update() { CanvasView::do_update(); draws_since_update = 0; for (bar_iterator i = bars.begin(), end = bars.end(); i != end; ++i) (*i)->update(); } void BarView::do_attach(Monitor *monitor, const Glib::ustring &mon_dir) { bars.push_back(new Bar(monitor, mon_dir)); } void BarView::do_detach(Monitor *monitor) { for (bar_iterator i = bars.begin(), end = bars.end(); i != end; ++i) if ((*i)->monitor == monitor) { delete *i; bars.erase(i); return; } g_assert_not_reached(); } void BarView::do_draw_loop() { double time_offset = double(draws_since_update) * CanvasView::draw_interval / applet->get_update_interval(); int total = bars.size(); int no = 0; for (bar_iterator i = bars.begin(), end = bars.end(); i != end; ++i) (*i)->draw(*canvas, applet, width(), height(), no++, total, time_offset); ++draws_since_update; } hardware-monitor-1.0/src/bar-view.hpp0000644000175000017500000000265507717130324014605 00000000000000/* A view which displays a bar plot. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef BAR_VIEW_HPP #define BAR_VIEW_HPP #include #include #include #include #include #include "canvas-view.hpp" class Bar; class BarView: public CanvasView { public: BarView(); ~BarView(); private: virtual void do_update(); virtual void do_attach(Monitor *monitor, const Glib::ustring &mon_dir); virtual void do_detach(Monitor *monitor); virtual void do_draw_loop(); // must be destroyed before the canvas typedef std::list bar_sequence; typedef bar_sequence::iterator bar_iterator; bar_sequence bars; int draws_since_update; }; #endif hardware-monitor-1.0/src/choose-monitor-window.cpp0000644000175000017500000003001710020363542017316 00000000000000/* Implementation of the ChooseMonitorWindow class. * * Copyright (c) 2003, 2004 Ole Laursen. * * 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. */ #include #include #include #include "choose-monitor-window.hpp" #include "gui-helpers.hpp" #include "monitor-impls.hpp" #include "applet.hpp" #include "i18n.hpp" #include "ucompose.hpp" ChooseMonitorWindow::ChooseMonitorWindow() { ui = get_glade_xml("choose_monitor_window"); ui->get_widget("choose_monitor_window", window); window->set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG); ui->get_widget("device_notebook", device_notebook); ui->get_widget("cpu_usage_radiobutton", cpu_usage_radiobutton); ui->get_widget("memory_usage_radiobutton", memory_usage_radiobutton); ui->get_widget("swap_usage_radiobutton", swap_usage_radiobutton); ui->get_widget("load_average_radiobutton", load_average_radiobutton); ui->get_widget("disk_usage_radiobutton", disk_usage_radiobutton); ui->get_widget("network_load_radiobutton", network_load_radiobutton); ui->get_widget("temperature_radiobutton", temperature_radiobutton); ui->get_widget("fan_speed_radiobutton", fan_speed_radiobutton); ui->get_widget("cpu_usage_options", cpu_usage_options); ui->get_widget("disk_usage_options", disk_usage_options); ui->get_widget("network_load_options", network_load_options); ui->get_widget("all_cpus_radiobutton", all_cpus_radiobutton); ui->get_widget("one_cpu_radiobutton", one_cpu_radiobutton); ui->get_widget("cpu_no_spinbutton", cpu_no_spinbutton); ui->get_widget("mount_dir_entry", mount_dir_entry); ui->get_widget("show_free_checkbutton", show_free_checkbutton); ui->get_widget("network_type_optionmenu", network_type_optionmenu); ui->get_widget("network_direction_optionmenu", network_direction_optionmenu); ui->get_widget("temperature_box", temperature_box); ui->get_widget("temperature_options", temperature_options); ui->get_widget("temperature_optionmenu", temperature_optionmenu); ui->get_widget("fan_speed_box", fan_speed_box); ui->get_widget("fan_speed_options", fan_speed_options); ui->get_widget("fan_speed_optionmenu", fan_speed_optionmenu); cpu_usage_radiobutton->signal_toggled() .connect(SigC::slot(*this, &ChooseMonitorWindow:: on_cpu_usage_radiobutton_toggled)); disk_usage_radiobutton->signal_toggled() .connect(SigC::slot(*this, &ChooseMonitorWindow:: on_disk_usage_radiobutton_toggled)); network_load_radiobutton->signal_toggled() .connect(SigC::slot(*this, &ChooseMonitorWindow:: on_network_load_radiobutton_toggled)); temperature_radiobutton->signal_toggled() .connect(SigC::slot(*this, &ChooseMonitorWindow:: on_temperature_radiobutton_toggled)); fan_speed_radiobutton->signal_toggled() .connect(SigC::slot(*this, &ChooseMonitorWindow:: on_fan_speed_radiobutton_toggled)); cpu_no_spinbutton->set_range(1, GLIBTOP_NCPU); #if !HAVE_LIBSENSORS // no sensors support, no options for it device_notebook->get_nth_page(3)->hide(); #endif // setup temperature option menu Sensors::FeatureInfoSequence seq = Sensors::instance().get_temperature_features(); if (!seq.empty()) { temperature_box->set_sensitive(true); Gtk::Menu *menu = manage(new Gtk::Menu()); int counter = 1; for (Sensors::FeatureInfoSequence::iterator i = seq.begin(), end = seq.end(); i != end; ++i) { Glib::ustring s; if (!i->description.empty()) // %2 is a descriptive string from sensors.conf s = String::ucompose(_("Sensor %1: \"%2\""), counter, i->description); else s = String::ucompose(_("Sensor %1"), counter); menu->append(*manage(new Gtk::MenuItem(s))); ++counter; } temperature_optionmenu->set_menu(*menu); menu->show_all(); } // setup fan option menu seq = Sensors::instance().get_fan_features(); if (!seq.empty()) { fan_speed_box->set_sensitive(true); Gtk::Menu *menu = manage(new Gtk::Menu()); int counter = 1; for (Sensors::FeatureInfoSequence::iterator i = seq.begin(), end = seq.end(); i != end; ++i) { Glib::ustring s; if (!i->description.empty()) // %2 is a descriptive string from sensors.conf s = String::ucompose(_("Fan %1: \"%2\""), counter, i->description); else s = String::ucompose(_("Fan %1"), counter); menu->append(*manage(new Gtk::MenuItem(s))); ++counter; } fan_speed_optionmenu->set_menu(*menu); menu->show_all(); } // connect close operations Gtk::Button *help_button; ui->get_widget("help_button", help_button); help_button->signal_clicked() .connect(SigC::slot(*this, &ChooseMonitorWindow::on_help_button_clicked)); window->signal_delete_event() .connect(SigC::slot(*this, &ChooseMonitorWindow::on_closed)); } ChooseMonitorWindow::~ChooseMonitorWindow() { window->hide(); } void ChooseMonitorWindow::set_icon(Glib::RefPtr icon) { window->set_icon(icon); } Monitor *ChooseMonitorWindow::run(const Glib::RefPtr &client, const Glib::ustring &mon_dir) { // setup dialog if (!mon_dir.empty()) { Glib::ustring type = client->get_string(mon_dir + "/type"); if (type == "memory_usage") { device_notebook->set_current_page(1); memory_usage_radiobutton->set_active(); } else if (type == "load_average") { device_notebook->set_current_page(0); load_average_radiobutton->set_active(); } else if (type == "disk_usage") { device_notebook->set_current_page(1); disk_usage_radiobutton->set_active(); } else if (type == "swap_usage") { device_notebook->set_current_page(1); swap_usage_radiobutton->set_active(); } else if (type == "network_load") { device_notebook->set_current_page(2); network_load_radiobutton->set_active(); } else if (type == "temperature") { device_notebook->set_current_page(3); temperature_radiobutton->set_active(); } else { device_notebook->set_current_page(0); // FIXME: use schema? cpu_usage_radiobutton->set_active(); } Gnome::Conf::Value v; // fill in cpu info v = client->get(mon_dir + "/cpu_no"); if (v.get_type() == Gnome::Conf::VALUE_INT) { int no = v.get_int(); if (no >= 0 || no < GLIBTOP_NCPU) { one_cpu_radiobutton->set_active(); cpu_no_spinbutton->set_value(no + 1); } } // fill in disk usage info v = client->get(mon_dir + "/mount_dir"); if (v.get_type() == Gnome::Conf::VALUE_STRING) mount_dir_entry->set_text(v.get_string()); v = client->get(mon_dir + "/show_free"); if (v.get_type() == Gnome::Conf::VALUE_BOOL) show_free_checkbutton->set_active(v.get_bool()); // fill in network load info v = client->get(mon_dir + "/interface"); if (v.get_type() == Gnome::Conf::VALUE_STRING) { Glib::ustring interface = v.get_string(); int interface_no = 0; v = client->get(mon_dir + "/interface_no"); if (v.get_type() == Gnome::Conf::VALUE_INT) interface_no = v.get_int(); if (interface == "eth" && interface_no == 0) network_type_optionmenu->set_history(0); else if (interface == "eth" && interface_no == 1) network_type_optionmenu->set_history(1); else if (interface == "eth" && interface_no == 2) network_type_optionmenu->set_history(2); else if (interface == "ppp") network_type_optionmenu->set_history(3); else if (interface == "slip") network_type_optionmenu->set_history(4); else if (interface == "wlan") network_type_optionmenu->set_history(5); else network_type_optionmenu->set_history(0); } v = client->get(mon_dir + "/interface_direction"); if (v.get_type() == Gnome::Conf::VALUE_INT) { int direction = v.get_int(); if (direction == NetworkLoadMonitor::incoming_data) network_direction_optionmenu->set_history(1); else if (direction == NetworkLoadMonitor::outgoing_data) network_direction_optionmenu->set_history(2); else if (direction == NetworkLoadMonitor::all_data) network_direction_optionmenu->set_history(0); } int temperature_no = 0; v = client->get(mon_dir + "/temperature_no"); if (v.get_type() == Gnome::Conf::VALUE_INT) temperature_no = v.get_int(); temperature_optionmenu->set_history(temperature_no); } if (cpu_usage_radiobutton->get_active()) cpu_usage_radiobutton->toggled(); // send a signal // then ask the user int response; do { response = window->run(); if (response == Gtk::RESPONSE_OK) { Monitor *mon = 0; if (cpu_usage_radiobutton->get_active()) if (one_cpu_radiobutton->get_active()) mon = new CpuUsageMonitor(int(cpu_no_spinbutton->get_value()) - 1); else mon = new CpuUsageMonitor; else if (memory_usage_radiobutton->get_active()) mon = new MemoryUsageMonitor; else if (swap_usage_radiobutton->get_active()) mon = new SwapUsageMonitor; else if (load_average_radiobutton->get_active()) mon = new LoadAverageMonitor; else if (disk_usage_radiobutton->get_active()) { Glib::ustring mount_dir = mount_dir_entry->get_text(); bool show_free = show_free_checkbutton->get_active(); // FIXME: check that mount_dir is valid mon = new DiskUsageMonitor(mount_dir, show_free); } else if (network_load_radiobutton->get_active()) { Glib::ustring interface; int interface_no; switch (network_type_optionmenu->get_history()) { case 1: interface = "eth"; interface_no = 1; break; case 2: interface = "eth"; interface_no = 2; break; case 3: interface = "ppp"; interface_no = 0; break; case 4: interface = "slip"; interface_no = 0; break; case 5: interface = "wlan"; interface_no = 0; break; default: interface = "eth"; interface_no = 0; break; } NetworkLoadMonitor::Direction dir; switch (network_direction_optionmenu->get_history()) { case NetworkLoadMonitor::incoming_data: dir = NetworkLoadMonitor::incoming_data; break; case NetworkLoadMonitor::outgoing_data: dir = NetworkLoadMonitor::outgoing_data; break; default: dir = NetworkLoadMonitor::all_data; break; } mon = new NetworkLoadMonitor(interface, interface_no, dir); } else if (temperature_radiobutton->get_active()) mon = new TemperatureMonitor(temperature_optionmenu->get_history()); else if (fan_speed_radiobutton->get_active()) mon = new FanSpeedMonitor(fan_speed_optionmenu->get_history()); return mon; } } while (response == Gtk::RESPONSE_HELP); return 0; } // UI callbacks void ChooseMonitorWindow::on_cpu_usage_radiobutton_toggled() { cpu_usage_options->property_sensitive() = cpu_usage_radiobutton->get_active(); } void ChooseMonitorWindow::on_disk_usage_radiobutton_toggled() { disk_usage_options->property_sensitive() = disk_usage_radiobutton->get_active(); } void ChooseMonitorWindow::on_network_load_radiobutton_toggled() { network_load_options->property_sensitive() = network_load_radiobutton->get_active(); } void ChooseMonitorWindow::on_temperature_radiobutton_toggled() { temperature_options->property_sensitive() = temperature_radiobutton->get_active(); } void ChooseMonitorWindow::on_fan_speed_radiobutton_toggled() { fan_speed_options->property_sensitive() = fan_speed_radiobutton->get_active(); } void ChooseMonitorWindow::on_help_button_clicked() { // FIXME: do something } bool ChooseMonitorWindow::on_closed(GdkEventAny *) { window->hide(); return false; } hardware-monitor-1.0/src/choose-monitor-window.hpp0000644000175000017500000000536410020363217017331 00000000000000/* The choose monitor window. * * Copyright (c) 2003, 2004 Ole Laursen. * * 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. */ #ifndef CHOOSE_MONITOR_WINDOW_HPP #define CHOOSE_MONITOR_WINDOW_HPP #include #include #include #include #include #include #include #include #include #include #include #include class Applet; class Monitor; class ChooseMonitorWindow: public SigC::Object { public: ChooseMonitorWindow(); ~ChooseMonitorWindow(); void set_icon(Glib::RefPtr icon); // given a monitor directory (may be ""), return a new monitor or 0 Monitor *run(const Glib::RefPtr &client, const Glib::ustring &mon_dir); private: Glib::RefPtr ui; Gtk::Dialog *window; Gtk::Notebook *device_notebook; Gtk::RadioButton *cpu_usage_radiobutton, *memory_usage_radiobutton, *swap_usage_radiobutton, *load_average_radiobutton, *disk_usage_radiobutton, *network_load_radiobutton, *temperature_radiobutton, *fan_speed_radiobutton; Gtk::Box *cpu_usage_options; Gtk::RadioButton *all_cpus_radiobutton; Gtk::RadioButton *one_cpu_radiobutton; Gtk::SpinButton *cpu_no_spinbutton; Gtk::Box *disk_usage_options; Gtk::Entry *mount_dir_entry; Gtk::CheckButton *show_free_checkbutton; Gtk::Box *network_load_options; Gtk::OptionMenu *network_type_optionmenu; Gtk::OptionMenu *network_direction_optionmenu; Gtk::Box *temperature_box, *temperature_options; Gtk::OptionMenu *temperature_optionmenu; Gtk::Box *fan_speed_box, *fan_speed_options; Gtk::OptionMenu *fan_speed_optionmenu; // GUI void on_cpu_usage_radiobutton_toggled(); void on_disk_usage_radiobutton_toggled(); void on_network_load_radiobutton_toggled(); void on_temperature_radiobutton_toggled(); void on_fan_speed_radiobutton_toggled(); void on_help_button_clicked(); bool on_closed(GdkEventAny *); }; #endif hardware-monitor-1.0/src/canvas-view.cpp0000644000175000017500000000645207717130324015306 00000000000000/* Implementation of the non-abstract parts of canvas view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include #include #include "canvas-view.hpp" #include "applet.hpp" CanvasView::CanvasView() { } CanvasView::~CanvasView() { draw_timer.disconnect(); // FIXME: is this enough to prevent crash? } void CanvasView::do_display() { // put a frame around the canvas frame.reset(new Gtk::Frame); applet->get_container().add(*frame); frame->set_shadow_type(Gtk::SHADOW_ETCHED_IN); frame->show(); // canvas creation magic canvas.reset(new Gnome::Canvas::Canvas); canvas->property_aa() = true; frame->add(*canvas); draw_timer = Glib::signal_timeout() .connect(SigC::slot(*this, &CanvasView::draw_loop), draw_interval); } void CanvasView::do_update() { // first update the configured attributes Glib::RefPtr &client = applet->get_gconf_client(); Glib::ustring dir = applet->get_gconf_dir(); // FIXME: use schemas? if (client->get(dir + "/viewer/size").get_type() == Gnome::Conf::VALUE_INT) size = client->get_int(dir + "/viewer/size"); else { size = 60; client->set(dir + "/viewer/size", size); } // ensure the canvas is shown resize_canvas(); canvas->show(); } void CanvasView::do_set_background(unsigned int color) { Gdk::Color c; c.set_rgb(((color >> 24) & 0xff) * 256, ((color >> 16) & 0xff) * 256, ((color >> 8) & 0xff) * 256); canvas->modify_bg(Gtk::STATE_NORMAL, c); canvas->modify_bg(Gtk::STATE_ACTIVE, c); canvas->modify_bg(Gtk::STATE_PRELIGHT, c); canvas->modify_bg(Gtk::STATE_SELECTED, c); canvas->modify_bg(Gtk::STATE_INSENSITIVE, c); } void CanvasView::do_unset_background() { // FIXME: convert to C++ code in gtkmm 2.4 gtk_widget_modify_bg(canvas->Gtk::Widget::gobj(), GTK_STATE_NORMAL, 0); gtk_widget_modify_bg(canvas->Gtk::Widget::gobj(), GTK_STATE_ACTIVE, 0); gtk_widget_modify_bg(canvas->Gtk::Widget::gobj(), GTK_STATE_PRELIGHT, 0); gtk_widget_modify_bg(canvas->Gtk::Widget::gobj(), GTK_STATE_SELECTED, 0); gtk_widget_modify_bg(canvas->Gtk::Widget::gobj(), GTK_STATE_INSENSITIVE, 0); } int CanvasView::width() const { if (applet->horizontal()) return size; else return applet->get_size(); } int CanvasView::height() const { if (applet->horizontal()) return applet->get_size(); else return size; } void CanvasView::resize_canvas() { int w = width(), h = height(); canvas->set_scroll_region(0, 0, w, h); canvas->set_size_request(w, h); } bool CanvasView::draw_loop() { do_draw_loop(); return true; } hardware-monitor-1.0/src/canvas-view.hpp0000644000175000017500000000325507717130324015311 00000000000000/* An abstract base class for canvas-based views. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef CANVAS_VIEW_HPP #define CANVAS_VIEW_HPP #include #include #include #include #include #include #include "view.hpp" class Canvas; class CanvasView: public View, public SigC::Object { public: CanvasView(); ~CanvasView(); protected: virtual void do_display(); virtual void do_update(); virtual void do_set_background(unsigned int color); virtual void do_unset_background(); int width() const; int height() const; void resize_canvas(); // resize canvas according to width and height int size; // in pixels, width when vertical, else height std::auto_ptr frame; std::auto_ptr canvas; static int const draw_interval = 100; SigC::Connection draw_timer; private: bool draw_loop(); virtual void do_draw_loop() = 0; }; #endif hardware-monitor-1.0/src/column-view.cpp0000644000175000017500000001355507722631526015340 00000000000000/* Implementation of the column view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include #include #include #include "column-view.hpp" #include "applet.hpp" #include "monitor.hpp" #include "pixbuf-drawing.hpp" // // class ColumnGraph - represents the columns in a column diagram // class ColumnGraph { public: ColumnGraph(Monitor *monitor, const Glib::ustring &mon_dir); ~ColumnGraph(); void update(unsigned int max_samples); // gather info from monitor void draw(Gnome::Canvas::Canvas &canvas, // redraw columns on canvas Applet *applet, int width, int height, int samples, double time_offset); Monitor *monitor; private: // a pixbuf is used for the columns std::auto_ptr columns; // we need to store the past values typedef std::deque value_sequence; typedef value_sequence::iterator value_iterator; value_sequence values; Glib::ustring monitor_dir; }; ColumnGraph::ColumnGraph(Monitor *m, const Glib::ustring &mon_dir) : monitor(m), monitor_dir(mon_dir) { } ColumnGraph::~ColumnGraph() { } void ColumnGraph::update(unsigned int max_samples) { double val = monitor->value(); values.push_front(val); // get rid of extra samples (there may be more than one if user changes // configuration) while (values.size() > max_samples) values.pop_back(); } void ColumnGraph::draw(Gnome::Canvas::Canvas &canvas, Applet *applet, int width, int height, int samples, double time_offset) { Glib::RefPtr &client = applet->get_gconf_client(); // ensure there are the correct no. of rectangles value_iterator vi = values.begin(), vend = values.end(); if (vi == vend) // there must be at least one point return; // get colour unsigned int color; Gnome::Conf::Value v; v = client->get(monitor_dir + "/color"); if (v.get_type() == Gnome::Conf::VALUE_INT) color = v.get_int(); else { color = applet->get_fg_color(); client->set(monitor_dir + "/color", int(color)); } // make sure we got a pixbuf and that it has the right size Glib::RefPtr pixbuf; if (columns.get() == 0) pixbuf = Gdk::Pixbuf::create(Gdk::COLORSPACE_RGB, true, 8, width, height); else { pixbuf = columns->property_pixbuf(); // but perhaps the dimensions have changed if (pixbuf->get_width() != width || pixbuf->get_height() != height) pixbuf = Gdk::Pixbuf::create(Gdk::COLORSPACE_RGB, true, 8, width, height); } pixbuf->fill(color & 0xFFFFFF00); double max = std::max(monitor->max(), 0.000001); // avoid division by zero double pixels_per_sample = double(width) / (samples - 1); // start from right double l = width - pixels_per_sample * time_offset; do { double r = l + pixels_per_sample; int t = std::max(int((1 - (*vi / max)) * (height - 1)), 0), b = height - 1; for (int x = std::max(int(l), 0); x < std::min(r, double(width)); ++x) { PixelPosition pos = get_position(pixbuf, x, t); // anti-aliasing effect; if we are partly on a pixel, scale alpha down double scale = 1.0; if (x < l) scale -= l - std::floor(l); if (x + 1 > r) scale -= std::ceil(r) - r; int alpha = int((color & 0xFF) * scale); for (int y = t; y <= b; ++y, pos.down()) pos.pixel().alpha() = std::min(pos.pixel().alpha() + alpha, 255); } l -= pixels_per_sample; } while (++vi != vend); // update columns if (columns.get() == 0) columns.reset(new Gnome::Canvas::Pixbuf(*canvas.root(), 0, 0, pixbuf)); else columns->property_pixbuf() = pixbuf; } // // class ColumnView // ColumnView::ColumnView() : draws_since_update(0) { } ColumnView::~ColumnView() { for (column_iterator i = columns.begin(), end = columns.end(); i != end; ++i) delete *i; } void ColumnView::do_update() { CanvasView::do_update(); // first update the configured attributes Glib::RefPtr &client = applet->get_gconf_client(); Glib::ustring dir = applet->get_gconf_dir(); if (client->get(dir + "/viewer/samples").get_type() == Gnome::Conf::VALUE_INT) samples = client->get_int(dir + "/viewer/samples"); else { samples = 30; client->set(dir + "/viewer/samples", int(samples)); } // then loop through each column for (column_iterator i = columns.begin(), end = columns.end(); i != end; ++i) (*i)->update(samples); draws_since_update = 0; } void ColumnView::do_attach(Monitor *monitor, const Glib::ustring &mon_dir) { columns.push_back(new ColumnGraph(monitor, mon_dir)); } void ColumnView::do_detach(Monitor *monitor) { for (column_iterator i = columns.begin(), end = columns.end(); i != end; ++i) if ((*i)->monitor == monitor) { delete *i; columns.erase(i); return; } g_assert_not_reached(); } void ColumnView::do_draw_loop() { double time_offset = double(draws_since_update) * CanvasView::draw_interval / applet->get_update_interval(); for (column_iterator i = columns.begin(), end = columns.end(); i != end; ++i) (*i)->draw(*canvas, applet, width(), height(), samples, time_offset); ++draws_since_update; } hardware-monitor-1.0/src/column-view.hpp0000644000175000017500000000304207717130324015325 00000000000000/* A view which displays a (time, value) column plot. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef COLUMN_VIEW_HPP #define COLUMN_VIEW_HPP #include #include #include #include #include #include "canvas-view.hpp" class ColumnGraph; class ColumnView: public CanvasView { public: ColumnView(); ~ColumnView(); private: virtual void do_update(); virtual void do_attach(Monitor *monitor, const Glib::ustring &mon_dir); virtual void do_detach(Monitor *monitor); virtual void do_draw_loop(); unsigned int samples; // number of samples to store // must be destroyed before the canvas typedef std::list column_sequence; typedef column_sequence::iterator column_iterator; column_sequence columns; int draws_since_update; }; #endif hardware-monitor-1.0/src/curve-view.cpp0000644000175000017500000001240307722430707015154 00000000000000/* Implementation of the curve view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include // for max/min[_element]() #include #include #include #include #include "curve-view.hpp" #include "applet.hpp" #include "monitor.hpp" // // class Curve - represents a line curve // class Curve { public: Curve(Monitor *monitor, const Glib::ustring &mon_dir); void update(unsigned int max_samples); // gather info from monitor void draw(Gnome::Canvas::Canvas &canvas, // redraw curve on canvas Applet *applet, int width, int height, int samples, double time_offset); Monitor *monitor; private: std::auto_ptr line; // we need to store the past values typedef std::deque value_sequence; typedef value_sequence::iterator value_iterator; value_sequence values; Glib::ustring monitor_dir; }; Curve::Curve(Monitor *m, const Glib::ustring &mon_dir) : monitor(m), monitor_dir(mon_dir) {} void Curve::update(unsigned int max_samples) { double val = monitor->value(); values.push_front(val); // get rid of extra samples (there may be more than one if user changes // configuration) while (values.size() > max_samples) values.pop_back(); } void Curve::draw(Gnome::Canvas::Canvas &canvas, Applet *applet, int width, int height, int samples, double time_offset) { Glib::RefPtr &client = applet->get_gconf_client(); value_iterator vi = values.begin(), vend = values.end(); // only one point is pointless if (std::distance(vi, vend) < 2) return; // make sure line is initialised if (line.get() == 0) { line.reset(new Gnome::Canvas::Line(*canvas.root())); line->property_smooth() = true; line->property_join_style() = Gdk::JOIN_ROUND; } // get drawing attributes unsigned int color; double line_width; Gnome::Conf::Value v; v = client->get(monitor_dir + "/color"); if (v.get_type() == Gnome::Conf::VALUE_INT) color = v.get_int(); else { color = applet->get_fg_color(); client->set(monitor_dir + "/color", int(color)); } v = client->get(monitor_dir + "/line_width"); if (v.get_type() == Gnome::Conf::VALUE_FLOAT) line_width = v.get_float(); else { line_width = 1.5; // FIXME: use schema? client->set(monitor_dir + "/line_width", line_width); } line->property_fill_color_rgba() = color; line->property_width_units() = line_width; double max = std::max(monitor->max(), 0.000001); // avoid division by zero Gnome::Canvas::Points points; points.reserve(values.size()); // one less than no. of samples because two points are end-points double pixels_per_sample = double(width) / (samples - 1 - 1); // start from right double x = width + pixels_per_sample - pixels_per_sample * time_offset; do { double y = line_width/2 + (1 - (*vi / max)) * (height - line_width/2); points.push_back(Gnome::Art::Point(x, y)); x -= pixels_per_sample; } while (++vi != vend); line->property_points() = points; } // // class CurveView // CurveView::CurveView() : draws_since_update(0) { } CurveView::~CurveView() { for (curve_iterator i = curves.begin(), end = curves.end(); i != end; ++i) delete *i; } void CurveView::do_update() { CanvasView::do_update(); // first update the configured attributes Glib::RefPtr &client = applet->get_gconf_client(); Glib::ustring dir = applet->get_gconf_dir(); if (client->get(dir + "/viewer/samples").get_type() == Gnome::Conf::VALUE_INT) samples = client->get_int(dir + "/viewer/samples"); else { samples = 30; client->set(dir + "/viewer/samples", int(samples)); } // then loop through each curve for (curve_iterator i = curves.begin(), end = curves.end(); i != end; ++i) (*i)->update(samples); draws_since_update = 0; } void CurveView::do_attach(Monitor *monitor, const Glib::ustring &mon_dir) { curves.push_back(new Curve(monitor, mon_dir)); } void CurveView::do_detach(Monitor *monitor) { for (curve_iterator i = curves.begin(), end = curves.end(); i != end; ++i) if ((*i)->monitor == monitor) { delete *i; curves.erase(i); return; } g_assert_not_reached(); } void CurveView::do_draw_loop() { double time_offset = double(draws_since_update) * CanvasView::draw_interval / applet->get_update_interval(); for (curve_iterator i = curves.begin(), end = curves.end(); i != end; ++i) (*i)->draw(*canvas, applet, width(), height(), samples, time_offset); ++draws_since_update; } hardware-monitor-1.0/src/curve-view.hpp0000644000175000017500000000301307717130324015152 00000000000000/* A view which displays a (time, value) curve plot. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef CURVE_VIEW_HPP #define CURVE_VIEW_HPP #include #include #include #include #include #include "canvas-view.hpp" class Curve; class CurveView: public CanvasView { public: CurveView(); ~CurveView(); private: virtual void do_update(); virtual void do_attach(Monitor *monitor, const Glib::ustring &mon_dir); virtual void do_detach(Monitor *monitor); virtual void do_draw_loop(); unsigned int samples; // number of samples to store // must be destroyed before the canvas typedef std::list curve_sequence; typedef curve_sequence::iterator curve_iterator; curve_sequence curves; int draws_since_update; }; #endif hardware-monitor-1.0/src/flame-view.cpp0000644000175000017500000001547707717130324015126 00000000000000/* Implementation of the flame view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include #include #include #include #include "pixbuf-drawing.hpp" #include "flame-view.hpp" #include "applet.hpp" #include "monitor.hpp" // // class Flame - represents a flame layer // class Flame { public: Flame(Monitor *monitor, const Glib::ustring &mon_dir); void update(Gnome::Canvas::Canvas &canvas, Applet *applet, int width, int height, int no, int total); void burn(); Monitor *monitor; private: std::auto_ptr flame; double value, max; std::vector fuel; int next_refuel; int cooling; // cooling factor void recompute_fuel(); Glib::ustring monitor_dir; }; Flame::Flame(Monitor *m, const Glib::ustring &mon_dir) : monitor(m), value(0), next_refuel(0), monitor_dir(mon_dir) {} void Flame::update(Gnome::Canvas::Canvas &canvas, Applet *applet, int width, int height, int no, int total) { Glib::RefPtr &client = applet->get_gconf_client(); // get color unsigned int color; Gnome::Conf::Value v; v = client->get(monitor_dir + "/color"); if (v.get_type() == Gnome::Conf::VALUE_INT) color = v.get_int(); else { color = applet->get_fg_color(); client->set(monitor_dir + "/color", int(color)); } // then make sure layer is correctly setup if (flame.get() == 0) { Glib::RefPtr p = Gdk::Pixbuf::create(Gdk::COLORSPACE_RGB, true, 8, width, height); p->fill(color & 0xFFFFFF00); flame.reset(new Gnome::Canvas::Pixbuf(*canvas.root(), 0, 0, p)); } else { Glib::RefPtr pixbuf = flame->property_pixbuf(); // perhaps the dimensions have changed if (pixbuf->get_width() != width || pixbuf->get_height() != height) { Glib::RefPtr new_pixbuf = Gdk::Pixbuf::create(Gdk::COLORSPACE_RGB, true, 8, width, height); new_pixbuf->fill(color & 0xFFFFFF00); flame->property_pixbuf() = new_pixbuf; } else { // perhaps the color has changed PixelIterator i = begin(pixbuf); unsigned char red = color >> 24, green = color >> 16, blue = color >> 8; if (i->red() != red || i->green() != green || i->blue() != blue) { for (PixelIterator e = end(pixbuf); i != e; ++i) { Pixel pixel = *i; pixel.red() = red; pixel.green() = green; pixel.blue() = blue; } flame->property_pixbuf() = pixbuf; } } } // finally just extract values, we don't draw here value = monitor->value(); max = monitor->max(); if (max <= 0) max = 0.0000001; cooling = int((std::pow(-1.0 / (0.30 - 1), 1.0 / height) - 1) * 256); if (width != int(fuel.size())) fuel.resize(width); } unsigned int random_between(unsigned int min, unsigned int max) { return min + std::rand() % (max - min); } void Flame::recompute_fuel() { int ratio = int(value / max * 255); if (next_refuel <= 0) { next_refuel = random_between(5, 20); // the fuel values are calculated from second-degree graphs with the // branches turning downwards, concatenated at the roots; span is the // distance between the roots and max is the value at the summit int span = 0, max = 0; int i = 0; for (std::vector::iterator x = fuel.begin(), end = fuel.end(); x != end; ++x) { if (i <= 0) { // new graph, new parameters i = span = random_between(6, 16); max = random_between(255 + ratio * 3, 255 * 2 + ratio * 6) / 8; } else { // y = -(x - |r1-r2|/2)^2 + y_max *x = - (i - span / 2) * (i - span / 2) + max; --i; } } } else --next_refuel; } void Flame::burn() { if (!flame.get()) return; Glib::RefPtr pixbuf = flame->property_pixbuf(); int width = pixbuf->get_width(); int height = pixbuf->get_height(); recompute_fuel(); // process the lowest row PixelPosition lowest = get_position(pixbuf, 0, height - 1); for (int x = 0; x < width; ++x) { lowest.pixel().alpha() = (lowest.pixel().alpha() * 3 + fuel[x]) / 4; lowest.right(); } // then process the rest of the pixbuf for (int y = height - 2; y >= 0; --y) { // setup positions PixelPosition pos = get_position(pixbuf, 0, y), right = get_position(pixbuf, 2, y), below = get_position(pixbuf, 1, y + 1); unsigned char left_alpha = pos.pixel().alpha(); pos.right(); // process row for (int x = 1; x < width - 1; ++x) { // this is int to ensure enough precision in sum below unsigned int pos_alpha = pos.pixel().alpha(), right_alpha = right.pixel().alpha(), below_alpha = below.pixel().alpha(); int tmp = (left_alpha + 6 * pos_alpha + right_alpha + 8 * below_alpha) / 16; pos.pixel().alpha() = std::max(((256 + cooling) * tmp - cooling * 256) / 256, 0); #if 0 if (std::rand() / 4 == 0) pos.pixel().alpha() = (pos.pixel().alpha() * y * 2 + random_between(0, 255) * (height - y)) / height / 3; #endif left_alpha = pos_alpha; pos.right(); right.right(); below.right(); } } flame->property_pixbuf() = pixbuf; } // // class FlameView // FlameView::FlameView() { } FlameView::~FlameView() { for (flame_iterator i = flames.begin(), end = flames.end(); i != end; ++i) delete *i; } void FlameView::do_update() { CanvasView::do_update(); int total = flames.size(); int no = 0; for (flame_iterator i = flames.begin(), end = flames.end(); i != end; ++i) { Flame &flame = **i; flame.update(*canvas, applet, width(), height(), no++, total); } } void FlameView::do_attach(Monitor *monitor, const Glib::ustring &mon_dir) { flames.push_back(new Flame(monitor, mon_dir)); } void FlameView::do_detach(Monitor *monitor) { for (flame_iterator i = flames.begin(), end = flames.end(); i != end; ++i) if ((*i)->monitor == monitor) { delete *i; flames.erase(i); return; } g_assert_not_reached(); } void FlameView::do_draw_loop() { for (flame_iterator i = flames.begin(), end = flames.end(); i != end; ++i) (*i)->burn(); } hardware-monitor-1.0/src/flame-view.hpp0000644000175000017500000000274707717130324015127 00000000000000/* A view which displays steady flames, the sizes of which are determined by the * monitor values. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef FLAME_VIEW_HPP #define FLAME_VIEW_HPP #include #include #include #include #include #include "canvas-view.hpp" class Flame; class FlameView: public CanvasView { public: FlameView(); ~FlameView(); private: virtual void do_update(); virtual void do_attach(Monitor *monitor, const Glib::ustring &mon_dir); virtual void do_detach(Monitor *monitor); virtual void do_draw_loop(); // must be destroyed before the canvas typedef std::list flame_sequence; typedef flame_sequence::iterator flame_iterator; flame_sequence flames; }; #endif hardware-monitor-1.0/src/gui-helpers.hpp0000644000175000017500000000241310020347457015303 00000000000000/* Helper functions. * * Copyright (c) 2003, 2004 Ole Laursen. * * 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. */ #ifndef GUI_HELPERS_HPP #define GUI_HELPERS_HPP #include #include #include #include "helpers.hpp" // helper for loading a Glade XML file inline Glib::RefPtr get_glade_xml(Glib::ustring root) { try { return Gnome::Glade::Xml::create(HARDWARE_MONITOR_GLADEDIR "ui.glade", root); } catch (Gnome::Glade::XmlError &error) { fatal_error(error.what()); return Glib::RefPtr(); } } #endif hardware-monitor-1.0/src/helpers.cpp0000644000175000017500000000247507717130324014526 00000000000000/* Helper functions. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include #include "helpers.hpp" #include "i18n.hpp" void fatal_error(const Glib::ustring &msg) { Gtk::MessageDialog d(msg, Gtk::MESSAGE_ERROR); d.set_modal(); d.set_title(_("Fatal error")); d.run(); exit(1); } Glib::ustring truncate_string(Glib::ustring s, unsigned int n) { // for when a string needs to be truncated Glib::ustring ellipsis = "..."; if (s.length() > n && n - ellipsis.length() > 0) s.replace(n - ellipsis.length(), Glib::ustring::npos, ellipsis); return s; } hardware-monitor-1.0/src/helpers.hpp0000644000175000017500000000221607717130324014524 00000000000000/* Helper functions. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef HELPERS_HPP #define HELPERS_HPP #include // from www.boost.org - derivation from this class makes the derived class // noncopyable class noncopyable { protected: noncopyable() {} ~noncopyable() {} private: noncopyable(const noncopyable&); const noncopyable& operator=(const noncopyable&); }; void fatal_error(const Glib::ustring &msg); #endif hardware-monitor-1.0/src/i18n.hpp0000644000175000017500000000216607717130324013645 00000000000000/* Internationalisation functions. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef HARDWARE_MONITOR_I18N_HPP #define HARDWARE_MONITOR_I18N_HPP #ifndef GETTEXT_PACKAGE #error "config.h must be included prior to i18n.hpp" #endif #include #include #ifdef _ #undef _ #endif #ifdef N_ #undef N_ #endif //#define _(x) dgettext (GETTEXT_PACKAGE, x) #define _(x) gettext (x) #define N_(x) x #endif hardware-monitor-1.0/src/main.cpp0000644000175000017500000000352207717130324014002 00000000000000/* Main program. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include // for nice #include #include #include #include #include "applet.hpp" #include "helpers.hpp" #include "i18n.hpp" gboolean hardware_monitor_factory(PanelApplet *panel_applet, const gchar *iid, void *) { // construct applet Applet *applet = manage(new Applet(panel_applet)); applet->show(); gtk_container_add(GTK_CONTAINER(panel_applet), GTK_WIDGET(applet->gobj())); gtk_widget_show(GTK_WIDGET(panel_applet)); return true; } int main(int argc, char *argv[]) { nice(10); // don't eat up too much CPU Gnome::Main main(PACKAGE, VERSION, Gnome::UI::module_info_get(), argc, argv); try { // i18n bindtextdomain(GETTEXT_PACKAGE, GNOMELOCALEDIR); bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); textdomain(GETTEXT_PACKAGE); panel_applet_factory_main("OAFIID:HardwareMonitor_Factory", PANEL_TYPE_APPLET, &hardware_monitor_factory, 0); } catch(const Glib::Error &ex) { fatal_error(ex.what()); } } hardware-monitor-1.0/src/monitor.hpp0000644000175000017500000000352107717130324014551 00000000000000/* Interface base class for the monitors. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef MONITOR_HPP #define MONITOR_HPP #include #include #include #include "helpers.hpp" class Monitor: noncopyable { public: virtual ~Monitor() {} // update the measured value from device void measure() { measured_value = do_measure(); } // fetch the currently measured value double value() { return measured_value; } // the max value that the monitor may attain virtual double max() = 0; // convert float to string which represents an actual number with the // appropriate unit virtual Glib::ustring format_value(double val) = 0; // return a descriptive name virtual Glib::ustring get_name() = 0; // return a short name virtual Glib::ustring get_short_name() = 0; // save information about the monitor virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir) = 0; protected: double measured_value; private: // perform actual measurement, for derived classes virtual double do_measure() = 0; }; #endif hardware-monitor-1.0/src/monitor-impls.cpp0000644000175000017500000004435710021710360015664 00000000000000/* The various system statistics - adapters of the libgtop interface. * * Copyright (c) 2003, 2004 Ole Laursen. * * 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. */ #include #include #include #if __GNUC__ < 3 #include #else #include #endif #include // for high-precision timing for the network load #include #include #include #include #include #include #include #include #include #include #include #include #if HAVE_SYS_STATFS_H #include #endif #include "monitor-impls.hpp" #include "ucompose.hpp" #include "i18n.hpp" // decay factor for maximum values (log_0.999(0.9) = 105 iterations before // reduced 10%) double const max_decay = 0.999; // helpers // for setting precision struct Precision { int n; }; std::ostream &operator <<(std::ostream& os, const Precision &p) { #if __GNUC__ < 3 os << std::setprecision(p.n) << std::setiosflags(std::ios::fixed); #else os << std::setprecision(p.n) << std::setiosflags(std::ios_base::fixed); #endif return os; } Precision precision(int n) { Precision p; p.n = n; return p; } // for getting max no. of decimal digits Precision decimal_digits(double val, int n) { Precision p; if (val == 0) p.n = 1; else { while (val > 1 && n > 0) { val /= 10; --n; } p.n = n; } return p; } // // class CpuUsageMonitor // CpuUsageMonitor::CpuUsageMonitor() : cpu_no(all_cpus), user_time(0), nice_time(0), sys_time(0), idle_time(0) {} CpuUsageMonitor::CpuUsageMonitor(int cpu) : cpu_no(cpu), user_time(0), nice_time(0), sys_time(0), idle_time(0) { assert(cpu_no >= 0 && cpu_no < GLIBTOP_NCPU); } double CpuUsageMonitor::do_measure() { glibtop_cpu cpu; glibtop_get_cpu(&cpu); guint64 u, n, s, i; if (cpu_no == all_cpus) { u = cpu.user; n = cpu.nice; s = cpu.sys; i = cpu.idle; } else { u = cpu.xcpu_user[cpu_no]; n = cpu.xcpu_nice[cpu_no]; s = cpu.xcpu_sys[cpu_no]; i = cpu.xcpu_idle[cpu_no]; } // calculate ticks since last call guint64 duser = u - user_time, dnice = n - nice_time, dsys = s - sys_time, didle = i - idle_time; // and save the new values user_time = u; nice_time = n; sys_time = s; idle_time = i; guint64 total = duser + dnice + dsys + didle; if (total > 0) // don't count dnice to avoid always showing 100% with SETI@home and // similar applications running return double(duser + dsys) / total; else return 0; } double CpuUsageMonitor::max() { return 1; } Glib::ustring CpuUsageMonitor::format_value(double val) { return String::ucompose(_("%1%%"), precision(1), 100 * val); } Glib::ustring CpuUsageMonitor::get_name() { if (cpu_no == all_cpus) return _("All processors"); else return String::ucompose(_("Processor no. %1"), cpu_no + 1); } Glib::ustring CpuUsageMonitor::get_short_name() { if (cpu_no == all_cpus) // must be short return _("CPU"); else // note to translators: %1 is the cpu no, e.g. "CPU 1" return String::ucompose(_("CPU %1"), cpu_no + 1); } void CpuUsageMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("cpu_usage")); client->set(dir + "/cpu_no", cpu_no); } // // class SwapUsageMonitor // SwapUsageMonitor::SwapUsageMonitor() : max_value(0) { } double SwapUsageMonitor::do_measure() { glibtop_swap swp; glibtop_get_swap(&swp); max_value = swp.total; if (swp.total > 0) return swp.used; else return 0; } double SwapUsageMonitor::max() { return max_value; } Glib::ustring SwapUsageMonitor::format_value(double val) { val /= 1000000; return String::ucompose(_("%1 Mb"), decimal_digits(val, 3), val); } Glib::ustring SwapUsageMonitor::get_name() { return _("Disk-based memory"); } Glib::ustring SwapUsageMonitor::get_short_name() { // must be short return _("Swap"); } void SwapUsageMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("swap_usage")); } // // class LoadAverageMonitor // LoadAverageMonitor::LoadAverageMonitor() : max_value(1.0) { } double LoadAverageMonitor::do_measure() { glibtop_loadavg loadavg; glibtop_get_loadavg (&loadavg); double val = loadavg.loadavg[0]; max_value *= max_decay; // reduce gradually if (max_value < 1) // make sure we don't get below 1 max_value = 1; if (val > max_value) max_value = val * 1.05; if (max_value > 0) return val; else return 0; } double LoadAverageMonitor::max() { return max_value; } Glib::ustring LoadAverageMonitor::format_value(double val) { return String::ucompose("%1", precision(1), val); } Glib::ustring LoadAverageMonitor::get_name() { return _("Load average"); } Glib::ustring LoadAverageMonitor::get_short_name() { // note to translators: short for "load average" - it has nothing to do with // loading data return _("Load"); } void LoadAverageMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("load_average")); } // // class MemoryUsageMonitor // MemoryUsageMonitor::MemoryUsageMonitor() : max_value(0) { } double MemoryUsageMonitor::do_measure() { glibtop_mem mem; glibtop_get_mem (&mem); max_value = mem.total; if (mem.total > 0) return mem.used - (mem.buffer + mem.cached); else return 0; } double MemoryUsageMonitor::max() { return max_value; } Glib::ustring MemoryUsageMonitor::format_value(double val) { val /= 1000000; return String::ucompose(_("%1 Mb"), decimal_digits(val, 3), val); } Glib::ustring MemoryUsageMonitor::get_name() { return _("Memory"); } Glib::ustring MemoryUsageMonitor::get_short_name() { // short for memory return _("Mem."); } void MemoryUsageMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("memory_usage")); } // // class DiskUsageMonitor // DiskUsageMonitor::DiskUsageMonitor(const std::string &dir, bool free) : max_value(0), mount_dir(dir), show_free(free) { disk_block_size = 512; // 512 is apparently pretty common #if HAVE_SYS_STATFS_H // with statfs we can, however, do better struct statfs buf; if (statfs(mount_dir.c_str(), &buf) == 0) disk_block_size = buf.f_bsize; #endif } double DiskUsageMonitor::do_measure() { glibtop_fsusage fsusage; glibtop_get_fsusage(&fsusage, mount_dir.c_str()); max_value = fsusage.blocks; if (show_free) { if (fsusage.bavail > 0) return fsusage.bavail; else return 0; } else { if (fsusage.blocks > 0) return fsusage.blocks - fsusage.bfree; else return 0; } } double DiskUsageMonitor::max() { return max_value; } Glib::ustring DiskUsageMonitor::format_value(double val) { // 1 block = disk_block_size bytes val *= disk_block_size; if (val >= 1000 * 1000 * 1000) { val /= 1000 * 1000 * 1000; return String::ucompose(_("%1 Gb"), decimal_digits(val, 3), val); } else if (val >= 1000 * 1000) { val /= 1000 * 1000; return String::ucompose(_("%1 Mb"), decimal_digits(val, 3), val); } else if (val >= 1000) { val /= 1000; return String::ucompose(_("%1 kb"), decimal_digits(val, 3), val); } else return String::ucompose(_("%1 b"), decimal_digits(val, 3), val); } Glib::ustring DiskUsageMonitor::get_name() { return String::ucompose(_("Disk (%1)"), mount_dir); } Glib::ustring DiskUsageMonitor::get_short_name() { return String::ucompose("%1", mount_dir); } void DiskUsageMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("disk_usage")); client->set(dir + "/mount_dir", mount_dir); client->set(dir + "/show_free", show_free); } // // class NetworkLoadMonitor // NetworkLoadMonitor::NetworkLoadMonitor(const Glib::ustring &inter, int inter_no, Direction dir) : max_value(1), byte_count(0), time_stamp_secs(0), time_stamp_usecs(0), interface(inter), interface_no(inter_no), direction(dir) { } double NetworkLoadMonitor::do_measure() { glibtop_netload netload; glibtop_get_netload(&netload, String::ucompose("%1%2", interface, interface_no).c_str()); guint64 val, bytes; if (direction == all_data) bytes = netload.bytes_total; else if (direction == incoming_data) bytes = netload.bytes_in; else bytes = netload.bytes_out; if (byte_count == 0) val = 0; // avoid calculating an enormous throughput initially else val = bytes - byte_count; byte_count = bytes; max_value = guint64(max_value * max_decay); // reduce gradually if (val > max_value) max_value = guint64(val * 1.05); // calculate difference in msecs struct timeval tv; if (gettimeofday(&tv, 0) == 0) { time_difference = (tv.tv_sec - time_stamp_secs) * 1000 + (tv.tv_usec - time_stamp_usecs) / 1000; time_stamp_secs = tv.tv_sec; time_stamp_usecs = tv.tv_usec; } return val; } double NetworkLoadMonitor::max() { return max_value; } Glib::ustring NetworkLoadMonitor::format_value(double val) { // 1000 ms = 1 s val = val / time_difference * 1000; if (val <= 0) // fix weird problem with negative values val = 0; if (val >= 1000 * 1000 * 1000) { val /= 1000 * 1000 * 1000; return String::ucompose(_("%1 Gb/s"), decimal_digits(val, 3), val); } else if (val >= 1000 * 1000) { val /= 1000 * 1000; return String::ucompose(_("%1 Mb/s"), decimal_digits(val, 3), val); } else if (val >= 1000) { val /= 1000; return String::ucompose(_("%1 kb/s"), decimal_digits(val, 3), val); } else return String::ucompose(_("%1 b/s"), decimal_digits(val, 3), val); } Glib::ustring NetworkLoadMonitor::get_name() { Glib::ustring str; if (interface == "eth" && interface_no == 0) str = _("Ethernet (first)"); else if (interface == "eth" && interface_no == 1) str = _("Ethernet (second)"); else if (interface == "eth" && interface_no == 2) str = _("Ethernet (third)"); else if (interface == "ppp" && interface_no == 0) str = _("Modem"); else if (interface == "slip" && interface_no == 0) str = _("Serial link"); else if (interface == "wlan" && interface_no == 0) str = _("Wireless"); else // unknown, someone must have been fiddling with GConf str = String::ucompose("%1%2", interface, interface_no); if (direction == incoming_data) // %1 is the network connection, e.g. "Ethernet (first)", in signifies // that this is incoming data str = String::ucompose(_("%1, in"), str); else if (direction == outgoing_data) // %1 is the network connection, e.g. "Ethernet (first)", out signifies // that this is outgoing data str = String::ucompose(_("%1, out"), str); return str; } Glib::ustring NetworkLoadMonitor::get_short_name() { Glib::ustring str; if (interface == "eth") // short for an ethernet card str = String::ucompose(_("Eth. %1"), interface_no + 1); else if (interface == "ppp" && interface_no == 0) // short for modem str = _("Mod."); else if (interface == "slip" && interface_no == 0) // short for serial link str = _("Ser."); else if (interface == "wlan" && interface_no == 0) // short for wireless str = _("W.less."); else // unknown, someone must have been fiddling with GConf str = String::ucompose("%1%2", interface, interface_no); if (direction == incoming_data) str = String::ucompose(_("%1, in"), str); else if (direction == outgoing_data) str = String::ucompose(_("%1, out"), str); return str; } void NetworkLoadMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("network_load")); client->set(dir + "/interface", interface); client->set(dir + "/interface_no", interface_no); client->set(dir + "/interface_direction", int(direction)); } void NetworkLoadMonitor::possibly_sync(NetworkLoadMonitor &other) { if (interface == other.interface && interface_no == other.interface_no && direction != other.direction) { if (other.max_value > max_value) max_value = other.max_value; else if (max_value > other.max_value) other.max_value = max_value; } } // // implementation of sensors wrapper // Sensors::Sensors() { #if HAVE_LIBSENSORS std::FILE *conf_file = std::fopen(SENSORS_CONF_FILE, "r"); if (!conf_file) return; if (sensors_init(conf_file) != 0) return; int i = 0; const sensors_chip_name *c; while ((c = sensors_get_detected_chips(&i))) chips.push_back(*c); #endif } Sensors::~Sensors() { #if HAVE_LIBSENSORS chips.clear(); sensors_cleanup(); #endif } Sensors &Sensors::instance() { static Sensors s; return s; } Sensors::FeatureInfoSequence Sensors::get_features(std::string base) { FeatureInfoSequence vec; #if HAVE_LIBSENSORS const sensors_feature_data *data; for (unsigned int i = 0; i < chips.size(); ++i) { sensors_chip_name &chip = chips[i]; int i1 = 0, i2 = 0; std::string last_feature; while ((data = sensors_get_all_features(chip, &i1, &i2))) { std::string name = data->name; // check whether this is a main feature if (name.find(base) != std::string::npos && data->mapping == SENSORS_NO_MAPPING && sensors_get_ignored(chip, data->number) != 0) { FeatureInfo info; info.chip_no = i; info.feature_no = data->number; info.max = invalid_max; char *desc; if (sensors_get_label(chip, info.feature_no, &desc) == 0) { info.description = desc; std::free(desc); } vec.push_back(info); last_feature = name; } // check whether this is a max value for the last feature else if (data->mapping != SENSORS_NO_MAPPING && !last_feature.empty() && name.find(last_feature) != std::string::npos && name.find("_over") != std::string::npos) { double max; if (sensors_get_feature(chip, data->number, &max) == 0) vec.back().max = max; else vec.back().max = invalid_max; } } } #endif return vec; } Sensors::FeatureInfoSequence Sensors::get_temperature_features() { return get_features("temp"); } Sensors::FeatureInfoSequence Sensors::get_fan_features() { return get_features("fan"); } double Sensors::get_value(int chip_no, int feature_no) { #if HAVE_LIBSENSORS if (chip_no < 0 || chip_no >= int(chips.size())) return 0; double res; if (sensors_get_feature(chips[chip_no], feature_no, &res) == 0) return res; else return 0; #else return 0; #endif } // // class TemperatureMonitor // TemperatureMonitor::TemperatureMonitor(int no) : sensors_no(no) { Sensors::FeatureInfo info = Sensors::instance().get_temperature_features()[sensors_no]; chip_no = info.chip_no; feature_no = info.feature_no; description = info.description; if (info.max != Sensors::invalid_max) max_value = info.max; else max_value = 40; // set a reasonable default (40 Celcius degrees) } double TemperatureMonitor::do_measure() { double val = Sensors::instance().get_value(chip_no, feature_no); if (val > max_value) max_value = val; return val; } double TemperatureMonitor::max() { return max_value; } Glib::ustring TemperatureMonitor::format_value(double val) { // %2 contains the degree sign (the following 'C' stands for Celsius) return String::ucompose(_("%1%2C"), decimal_digits(val, 3), val, "\xc2\xb0"); } Glib::ustring TemperatureMonitor::get_name() { if (!description.empty()) // %2 is a descriptive string from sensors.conf return String::ucompose(_("Temperature %1: \"%2\""), sensors_no + 1, description); else return String::ucompose(_("Temperature %1"), sensors_no + 1); } Glib::ustring TemperatureMonitor::get_short_name() { // short for "temperature", %1 is sensor no. return String::ucompose(_("Temp. %1"), sensors_no + 1); } void TemperatureMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("temperature")); client->set(dir + "/temperature_no", sensors_no); } // // class FanSpeedMonitor // FanSpeedMonitor::FanSpeedMonitor(int no) : sensors_no(no) { Sensors::FeatureInfo info = Sensors::instance().get_fan_features()[sensors_no]; chip_no = info.chip_no; feature_no = info.feature_no; description = info.description; if (info.max != Sensors::invalid_max) max_value = info.max; else max_value = 1; // 1 rpm isn't realistic, but whatever } double FanSpeedMonitor::do_measure() { double val = Sensors::instance().get_value(chip_no, feature_no); if (val > max_value) max_value = val; return val; } double FanSpeedMonitor::max() { return max_value; } Glib::ustring FanSpeedMonitor::format_value(double val) { // rpm is rotations per minute return String::ucompose(_("%1 rpm"), val, val); } Glib::ustring FanSpeedMonitor::get_name() { if (!description.empty()) // %2 is a descriptive string from sensors.conf return String::ucompose(_("Fan %1 speed: \"%2\""), sensors_no + 1, description); else return String::ucompose(_("Fan %1 speed"), sensors_no + 1); } Glib::ustring FanSpeedMonitor::get_short_name() { return String::ucompose(_("Fan %1"), sensors_no + 1); } void FanSpeedMonitor::save(const Glib::RefPtr &client, const Glib::ustring &dir) { client->set(dir + "/type", Glib::ustring("fan_speed")); client->set(dir + "/fan_no", sensors_no); } hardware-monitor-1.0/src/monitor-impls.hpp0000644000175000017500000001435510020362063015666 00000000000000/* Implementation of the various system statistics. * * Copyright (c) 2003, 2004 Ole Laursen. * * 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. */ #ifndef MONITOR_IMPLS_HPP #define MONITOR_IMPLS_HPP #include #include #include #if HAVE_LIBSENSORS #include #endif #include "monitor.hpp" // // concrete Monitor classes // class CpuUsageMonitor: public Monitor { public: CpuUsageMonitor(); // monitor all cpus CpuUsageMonitor(int cpu_no); // monitor only cpu no. virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); static int const all_cpus = -1; int cpu_no; // we need to save these values to compute the difference next time the // monitor is updated guint64 user_time, nice_time, sys_time, idle_time; }; class SwapUsageMonitor: public Monitor { public: SwapUsageMonitor(); virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); guint64 max_value; // maximum available swap }; class LoadAverageMonitor: public Monitor { public: LoadAverageMonitor(); virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); double max_value; // currently monitored max number of processes }; class MemoryUsageMonitor: public Monitor { public: MemoryUsageMonitor(); virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); guint64 max_value; // maximum available physical RAM }; class DiskUsageMonitor: public Monitor { public: DiskUsageMonitor(const std::string &mount_dir, bool show_free); virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); guint64 max_value; // maximum available disk blocks int disk_block_size; std::string mount_dir; bool show_free; }; class NetworkLoadMonitor: public Monitor { public: enum Direction { all_data, incoming_data, outgoing_data }; NetworkLoadMonitor(const Glib::ustring &interface, int interface_no, Direction direction); virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); // if other is watching the same interface as this monitor, sync with it void possibly_sync(NetworkLoadMonitor &other); private: virtual double do_measure(); guint64 max_value; // maximum measured capacity of line long int time_difference; // no. of msecs. between the last two calls guint64 byte_count; // number of bytes at last call long int time_stamp_secs, time_stamp_usecs; // time stamp for last call Glib::ustring interface; // e.g. "eth" int interface_no; // e.g. 0 Direction direction; }; class TemperatureMonitor: public Monitor { public: TemperatureMonitor(int no); // no. in the temperature features virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); double max_value; int chip_no, feature_no, sensors_no; std::string description; }; class FanSpeedMonitor: public Monitor { public: FanSpeedMonitor(int no); // no. in the fan features virtual double max(); virtual Glib::ustring format_value(double val); virtual Glib::ustring get_name(); virtual Glib::ustring get_short_name(); virtual void save(const Glib::RefPtr &client, const Glib::ustring &dir); private: virtual double do_measure(); double max_value; int chip_no, feature_no, sensors_no; std::string description; }; // a singleton for initializing the sensors library class Sensors: noncopyable { public: static Sensors &instance(); static double const invalid_max = -1000000; struct FeatureInfo { int chip_no, feature_no; std::string description; // description from sensors.conf double max; }; typedef std::vector FeatureInfoSequence; FeatureInfoSequence get_temperature_features(); FeatureInfoSequence get_fan_features(); // return value for feature, or 0 if not available double get_value(int chip_no, int feature_no); private: Sensors(); ~Sensors(); // get a list of available features that contains base (e.g. "temp") FeatureInfoSequence get_features(std::string base); #if HAVE_LIBSENSORS std::vector chips; #endif }; #endif hardware-monitor-1.0/src/preferences-window.cpp0000644000175000017500000005543307717130324016674 00000000000000/* Implementation of the PreferencesWindow class. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include #include #include #include "preferences-window.hpp" #include "choose-monitor-window.hpp" #include "gui-helpers.hpp" #include "applet.hpp" #include "monitor.hpp" #include "i18n.hpp" PreferencesWindow::PreferencesWindow(Applet &applet_) : applet(applet_) { ui = get_glade_xml("preferences_window"); ui->get_widget("preferences_window", window); window->set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG); window->set_icon(applet.get_icon()); // connect the General tab widgets ui->get_widget("update_interval_spinbutton", update_interval_spinbutton); update_interval_spinbutton->signal_value_changed() .connect(SigC::slot(*this, &PreferencesWindow:: on_update_interval_spinbutton_changed)); ui->get_widget("background_colorpicker", background_colorpicker); background_colorpicker->signal_color_set() .connect(SigC::slot(*this, &PreferencesWindow:: on_background_colorpicker_set)); ui->get_widget("panel_background_radiobutton", panel_background_radiobutton); ui->get_widget("background_color_radiobutton", background_color_radiobutton); background_color_radiobutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_background_color_radiobutton_toggled)); // connect the Viewer tab radiobuttons ui->get_widget("curve_radiobutton", curve_radiobutton); curve_radiobutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_curve_radiobutton_toggled)); ui->get_widget("bar_radiobutton", bar_radiobutton); bar_radiobutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_bar_radiobutton_toggled)); ui->get_widget("column_radiobutton", column_radiobutton); column_radiobutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_column_radiobutton_toggled)); ui->get_widget("text_radiobutton", text_radiobutton); text_radiobutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_text_radiobutton_toggled)); ui->get_widget("flame_radiobutton", flame_radiobutton); flame_radiobutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_flame_radiobutton_toggled)); ui->get_widget("curve_options", curve_options); ui->get_widget("curve_size_spinbutton", curve_size_spinbutton); curve_size_spinbutton->signal_value_changed() .connect(SigC::bind(SigC::slot(*this, &PreferencesWindow:: on_size_spinbutton_changed), curve_size_spinbutton)); ui->get_widget("curve_samples_spinbutton", curve_samples_spinbutton); curve_samples_spinbutton->signal_value_changed() .connect(SigC::bind(SigC::slot(*this, &PreferencesWindow:: on_samples_spinbutton_changed), curve_samples_spinbutton)); ui->get_widget("bar_options", bar_options); ui->get_widget("bar_size_spinbutton", bar_size_spinbutton); bar_size_spinbutton->signal_value_changed() .connect(SigC::bind(SigC::slot(*this, &PreferencesWindow:: on_size_spinbutton_changed), bar_size_spinbutton)); ui->get_widget("column_options", column_options); ui->get_widget("column_size_spinbutton", column_size_spinbutton); column_size_spinbutton->signal_value_changed() .connect(SigC::bind(SigC::slot(*this, &PreferencesWindow:: on_size_spinbutton_changed), column_size_spinbutton)); ui->get_widget("column_samples_spinbutton", column_samples_spinbutton); column_samples_spinbutton->signal_value_changed() .connect(SigC::bind(SigC::slot(*this, &PreferencesWindow:: on_samples_spinbutton_changed), column_samples_spinbutton)); ui->get_widget("text_options", text_options); ui->get_widget("font_checkbutton", font_checkbutton); font_checkbutton->signal_toggled() .connect(SigC::slot(*this, &PreferencesWindow:: on_font_checkbutton_toggled)); ui->get_widget("fontpicker", fontpicker); fontpicker->signal_font_set() .connect(SigC::slot(*this, &PreferencesWindow::on_fontpicker_set)); ui->get_widget("flame_options", flame_options); ui->get_widget("flame_size_spinbutton", flame_size_spinbutton); flame_size_spinbutton->signal_value_changed() .connect(SigC::bind(SigC::slot(*this, &PreferencesWindow:: on_size_spinbutton_changed), flame_size_spinbutton)); // connect the Monitor tab widgets Gtk::Button *add_button; ui->get_widget("add_button", add_button); add_button->signal_clicked() .connect(SigC::slot(*this, &PreferencesWindow::on_add_button_clicked)); ui->get_widget("remove_button", remove_button); remove_button->signal_clicked() .connect(SigC::slot(*this, &PreferencesWindow::on_remove_button_clicked)); ui->get_widget("change_button", change_button); change_button->signal_clicked() .connect(SigC::slot(*this, &PreferencesWindow::on_change_button_clicked)); ui->get_widget("monitor_treeview", monitor_treeview); monitor_treeview->get_selection()->signal_changed() .connect(SigC::slot(*this, &PreferencesWindow::on_selection_changed)); ui->get_widget("monitor_options", monitor_options); static MonitorColumns mc; monitor_store = Gtk::ListStore::create(mc); monitor_treeview->set_model(monitor_store); monitor_treeview->append_column(_("Device"), mc.name); ui->get_widget("monitor_curve_options", monitor_curve_options); ui->get_widget("line_width_spinbutton", line_width_spinbutton); line_width_spinbutton->signal_value_changed() .connect(SigC::slot(*this, &PreferencesWindow:: on_line_width_spinbutton_changed)); ui->get_widget("line_colorpicker", line_colorpicker); line_colorpicker->signal_color_set() .connect(SigC::slot(*this, &PreferencesWindow::on_monitor_colorpicker_set)); ui->get_widget("monitor_bar_options", monitor_bar_options); ui->get_widget("bar_colorpicker", bar_colorpicker); bar_colorpicker->signal_color_set() .connect(SigC::slot(*this, &PreferencesWindow::on_monitor_colorpicker_set)); ui->get_widget("monitor_column_options", monitor_column_options); ui->get_widget("column_colorpicker", column_colorpicker); column_colorpicker->signal_color_set() .connect(SigC::slot(*this, &PreferencesWindow::on_monitor_colorpicker_set)); ui->get_widget("monitor_flame_options", monitor_flame_options); ui->get_widget("flame_colorpicker", flame_colorpicker); flame_colorpicker->signal_color_set() .connect(SigC::slot(*this, &PreferencesWindow::on_monitor_colorpicker_set)); // connect GConf Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); client->notify_add(dir + "/viewer_type", SigC::slot(*this, &PreferencesWindow:: viewer_type_listener)); client->notify_add(dir + "/update_interval", SigC::slot(*this, &PreferencesWindow:: update_interval_listener)); client->notify_add(dir + "/background_interval", SigC::slot(*this, &PreferencesWindow:: background_color_listener)); client->notify_add(dir + "/viewer/size", SigC::slot(*this, &PreferencesWindow::size_listener)); client->notify_add(dir + "/viewer/samples", SigC::slot(*this, &PreferencesWindow::samples_listener)); client->notify_add(dir + "/viewer/font", SigC::slot(*this, &PreferencesWindow::font_listener)); client->notify_add(dir + "/monitors", SigC::slot(*this, &PreferencesWindow::monitors_listener)); // fill in values viewer_type_listener(0, client->get_entry(dir + "/viewer_type")); update_interval_listener(0, client->get_entry(dir + "/update_interval")); background_color_listener(0, client->get_entry(dir + "/background_color")); use_background_color_listener(0, client ->get_entry(dir + "/use_background_color")); size_listener(0, client->get_entry(dir + "/viewer/size")); samples_listener(0, client->get_entry(dir + "/viewer/samples")); font_listener(0, client->get_entry(dir + "/viewer/font")); Glib::SListHandle list = applet.get_gconf_client()->all_dirs(applet.get_gconf_dir() + "/monitors"); for (Glib::SListHandle::const_iterator i = list.begin(), end = list.end(); i != end; ++i) monitors_listener(0, client->get_entry(*i + "/type")); // this allows the user to discover the relationship between the grayed-out // buttons and the treeview monitor_treeview->get_selection()->unselect_all(); // make sure background colorpicker is grayed out background_color_radiobutton->toggled(); // connect close operations Gtk::Button *close_button; ui->get_widget("close_button", close_button); close_button->signal_clicked() .connect(SigC::slot(*this, &PreferencesWindow::on_close_button_clicked)); window->signal_delete_event() .connect(SigC::slot(*this, &PreferencesWindow::on_closed)); } PreferencesWindow::~PreferencesWindow() { window->hide(); stop_monitor_listeners(); } void PreferencesWindow::show() { window->show(); window->raise(); } // GConf callbacks void PreferencesWindow::viewer_type_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_STRING) return; Glib::ustring s = entry.get_value().get_string(); if (s == "curve") { if (!curve_radiobutton->get_active()) curve_radiobutton->property_active() = true; curve_options->property_visible() = true; monitor_curve_options->property_visible() = true; } else if (s == "bar") { if (!bar_radiobutton->get_active()) bar_radiobutton->property_active() = true; bar_options->property_visible() = true; monitor_bar_options->property_visible() = true; } else if (s == "column") { if (!column_radiobutton->get_active()) column_radiobutton->property_active() = true; column_options->property_visible() = true; monitor_column_options->property_visible() = true; } else if (s == "text") { if (!text_radiobutton->get_active()) text_radiobutton->property_active() = true; text_options->property_visible() = true; } else if (s == "flame") { if (!flame_radiobutton->get_active()) flame_radiobutton->property_active() = true; flame_options->property_visible() = true; monitor_flame_options->property_visible() = true; } } void PreferencesWindow::update_interval_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_FLOAT) return; double d = entry.get_value().get_float(); if (update_interval_spinbutton->get_value() != d) update_interval_spinbutton->set_value(d); } void PreferencesWindow::background_color_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_INT) return; unsigned int i = entry.get_value().get_int(); unsigned char r = i >> 24, g = i >> 16, b = i >> 8, a = i; unsigned char pr, pg, pb, pa; background_colorpicker->get(pr, pg, pb, pa); if (pr != r || pg != g || pb != b || pa != a) background_colorpicker->set(r, g, b, a); } void PreferencesWindow::use_background_color_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_BOOL) return; bool b = entry.get_value().get_bool(); if (b) background_color_radiobutton->set_active(); else panel_background_radiobutton->set_active(); } void PreferencesWindow::size_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_INT) return; int i = entry.get_value().get_int(); if (curve_size_spinbutton->get_value() != i) curve_size_spinbutton->set_value(i); if (bar_size_spinbutton->get_value() != i) bar_size_spinbutton->set_value(i); if (column_size_spinbutton->get_value() != i) column_size_spinbutton->set_value(i); if (flame_size_spinbutton->get_value() != i) flame_size_spinbutton->set_value(i); } void PreferencesWindow::samples_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_INT) return; int i = entry.get_value().get_int(); if (curve_samples_spinbutton->get_value() != i) curve_samples_spinbutton->set_value(i); if (column_samples_spinbutton->get_value() != i) column_samples_spinbutton->set_value(i); } void PreferencesWindow::font_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_STRING) return; Glib::ustring font = entry.get_value().get_string(); if (font.empty()) font_checkbutton->set_active(false); else { font_checkbutton->set_active(true); if (fontpicker->get_font_name() != font) fontpicker->set_font_name(font); } } void PreferencesWindow::monitors_listener(unsigned int, Gnome::Conf::Entry entry) { static MonitorColumns mc; Glib::ustring key = entry.get_key(); if (key.substr(key.size() - 5) != "/type") return; Glib::ustring mdir = key.substr(0, key.size() - 5); store_iter pos = monitor_store->children().begin(), end = monitor_store->children().end(); while (pos != end && (*pos)[mc.dir] != mdir) ++pos; bool exists = pos != monitor_store->children().end(); // value was added if (entry.get_value().get_type() == Gnome::Conf::VALUE_STRING) { if (!exists) { // add value store_iter i = monitor_store->append(); (*i)[mc.name] = applet.look_up_monitor(mdir)->get_name(); (*i)[mc.dir] = mdir; monitor_treeview->get_selection()->select(i); } } else // value was removed if (exists) monitor_store->erase(pos); } void PreferencesWindow::line_width_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_FLOAT) return; double d = entry.get_value().get_float(); if (line_width_spinbutton->get_value() != d) line_width_spinbutton->set_value(d); } void PreferencesWindow::monitor_color_listener(unsigned int, Gnome::Conf::Entry entry) { if (entry.get_value().get_type() != Gnome::Conf::VALUE_INT) return; unsigned int i = entry.get_value().get_int(); unsigned char r = i >> 24, g = i >> 16, b = i >> 8, a = i; unsigned char pr, pg, pb, pa; line_colorpicker->get(pr, pg, pb, pa); if (pr != r || pg != g || pb != b || pa != a) line_colorpicker->set(r, g, b, a); bar_colorpicker->get(pr, pg, pb, pa); if (pr != r || pg != g || pb != b || pa != a) bar_colorpicker->set(r, g, b, a); column_colorpicker->get(pr, pg, pb, pa); if (pr != r || pg != g || pb != b || pa != a) column_colorpicker->set(r, g, b, a); flame_colorpicker->get(pr, pg, pb, pa); if (pr != r || pg != g || pb != b || pa != a) flame_colorpicker->set(r, g, b, a); } // UI callbacks void PreferencesWindow::on_update_interval_spinbutton_changed() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); double d = update_interval_spinbutton->get_value(); client->set(dir + "/update_interval", d); } unsigned int to_int(unsigned int r, unsigned int g, unsigned int b, unsigned int a) { return ((r & 255) << 24) | ((g & 255) << 16) | ((b & 255) << 8) | (a & 255); } void PreferencesWindow::on_background_colorpicker_set(unsigned int r, unsigned int g, unsigned int b, unsigned int a) { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); client->set(dir + "/background_color", int(to_int(r / 256, g / 256, b / 256, a / 256))); } void PreferencesWindow::on_background_color_radiobutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool on = background_color_radiobutton->get_active(); background_colorpicker->set_sensitive(on); client->set(dir + "/use_background_color", on); } void PreferencesWindow::on_curve_radiobutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool active = curve_radiobutton->get_active(); if (active) client->set(dir + "/viewer_type", Glib::ustring("curve")); curve_options->property_visible() = active; monitor_curve_options->property_visible() = active; } void PreferencesWindow::on_bar_radiobutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool active = bar_radiobutton->get_active(); if (active) client->set(dir + "/viewer_type", Glib::ustring("bar")); bar_options->property_visible() = active; monitor_bar_options->property_visible() = active; } void PreferencesWindow::on_column_radiobutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool active = column_radiobutton->get_active(); if (active) client->set(dir + "/viewer_type", Glib::ustring("column")); column_options->property_visible() = active; monitor_column_options->property_visible() = active; } void PreferencesWindow::on_text_radiobutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool active = text_radiobutton->get_active(); if (active) client->set(dir + "/viewer_type", Glib::ustring("text")); text_options->property_visible() = active; } void PreferencesWindow::on_flame_radiobutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool active = flame_radiobutton->get_active(); if (active) client->set(dir + "/viewer_type", Glib::ustring("flame")); flame_options->property_visible() = active; monitor_flame_options->property_visible() = active; } void PreferencesWindow::on_size_spinbutton_changed(Gtk::SpinButton *size_sb) { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); int i = int(size_sb->get_value()); client->set(dir + "/viewer/size", i); } void PreferencesWindow::on_samples_spinbutton_changed(Gtk::SpinButton *samples_sb) { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); int i = int(samples_sb->get_value()); client->set(dir + "/viewer/samples", i); } void PreferencesWindow::on_font_checkbutton_toggled() { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); bool active = font_checkbutton->get_active(); fontpicker->set_sensitive(active); if (active) client->set(dir + "/viewer/font", fontpicker->get_font_name()); else client->set(dir + "/viewer/font", Glib::ustring("")); } void PreferencesWindow::on_fontpicker_set(const Glib::ustring &font) { Glib::RefPtr &client = applet.get_gconf_client(); Glib::ustring dir = applet.get_gconf_dir(); client->set(dir + "/viewer/font", font); } void PreferencesWindow::on_add_button_clicked() { ChooseMonitorWindow window; window.set_icon(applet.get_icon()); Monitor *monitor = window.run(applet.get_gconf_client(), Glib::ustring()); if (monitor) applet.add_monitor(monitor); } void PreferencesWindow::on_remove_button_clicked() { static MonitorColumns mc; store_iter i = monitor_treeview->get_selection()->get_selected(); if (i) applet.remove_monitor((*i)[mc.dir]); } void PreferencesWindow::on_change_button_clicked() { static MonitorColumns mc; store_iter i = monitor_treeview->get_selection()->get_selected(); if (i) { Glib::ustring mon_dir = (*i)[mc.dir]; ChooseMonitorWindow window; window.set_icon(applet.get_icon()); Monitor *monitor = window.run(applet.get_gconf_client(), mon_dir); if (monitor) { applet.replace_monitor(mon_dir, monitor); (*i)[mc.name] = monitor->get_name(); } } } void PreferencesWindow::stop_monitor_listeners() { Glib::RefPtr &client = applet.get_gconf_client(); for (std::vector::iterator i = monitor_listeners.begin(), end = monitor_listeners.end(); i != end; ++i) client->notify_remove(*i); monitor_listeners.clear(); } void PreferencesWindow::on_selection_changed() { Glib::RefPtr &client = applet.get_gconf_client(); static MonitorColumns mc; store_iter i = monitor_treeview->get_selection()->get_selected(); bool sel = i; stop_monitor_listeners(); if (sel) { Glib::ustring key; unsigned int con; key = (*i)[mc.dir] + "/line_width"; con = client->notify_add(key, SigC::slot(*this, &PreferencesWindow:: line_width_listener)); line_width_listener(0, client->get_entry(key)); monitor_listeners.push_back(con); key = (*i)[mc.dir] + "/color"; con = client->notify_add(key, SigC::slot(*this, &PreferencesWindow:: monitor_color_listener)); monitor_color_listener(0, client->get_entry(key)); monitor_listeners.push_back(con); } remove_button->set_sensitive(sel); change_button->set_sensitive(sel); monitor_options->set_sensitive(sel); } void PreferencesWindow::on_line_width_spinbutton_changed() { static MonitorColumns mc; Glib::RefPtr &client = applet.get_gconf_client(); store_iter i = monitor_treeview->get_selection()->get_selected(); if (i) { Glib::ustring mon_dir = (*i)[mc.dir]; double d = line_width_spinbutton->get_value(); client->set(mon_dir + "/line_width", d); } } void PreferencesWindow::on_monitor_colorpicker_set(unsigned int r, unsigned int g, unsigned int b, unsigned int a) { static MonitorColumns mc; Glib::RefPtr &client = applet.get_gconf_client(); store_iter i = monitor_treeview->get_selection()->get_selected(); if (i) { Glib::ustring mon_dir = (*i)[mc.dir]; client->set(mon_dir + "/color", int(to_int(r / 256, g / 256, b / 256, a / 256))); } } void PreferencesWindow::on_close_button_clicked() { window->hide(); } bool PreferencesWindow::on_closed(GdkEventAny *) { window->hide(); return false; } hardware-monitor-1.0/src/preferences-window.hpp0000644000175000017500000001162407717130324016673 00000000000000/* The preferences window. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef PREFERENCES_WINDOW_HPP #define PREFERENCES_WINDOW_HPP #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class Applet; class Monitor; class PreferencesWindow: public SigC::Object { public: PreferencesWindow(Applet &applet); ~PreferencesWindow(); void show(); private: Glib::RefPtr ui; Gtk::Window *window; Gtk::SpinButton *update_interval_spinbutton; Gtk::RadioButton *panel_background_radiobutton; Gtk::RadioButton *background_color_radiobutton; Gnome::UI::ColorPicker *background_colorpicker; Gtk::RadioButton *curve_radiobutton; Gtk::RadioButton *bar_radiobutton; Gtk::RadioButton *column_radiobutton; Gtk::RadioButton *text_radiobutton; Gtk::RadioButton *flame_radiobutton; Gtk::Widget *curve_options; Gtk::SpinButton *curve_size_spinbutton; Gtk::SpinButton *curve_samples_spinbutton; Gtk::Widget *bar_options; Gtk::SpinButton *bar_size_spinbutton; Gtk::Widget *column_options; Gtk::SpinButton *column_size_spinbutton; Gtk::SpinButton *column_samples_spinbutton; Gtk::Widget *flame_options; Gtk::SpinButton *flame_size_spinbutton; Gtk::Widget *text_options; Gtk::CheckButton *font_checkbutton; Gnome::UI::FontPicker *fontpicker; Gtk::Button *remove_button; Gtk::Button *change_button; Gtk::TreeView *monitor_treeview; Gtk::Widget *monitor_options; Gtk::Widget *monitor_curve_options; Gtk::SpinButton *line_width_spinbutton; Gnome::UI::ColorPicker *line_colorpicker; Gtk::Widget *monitor_bar_options; Gnome::UI::ColorPicker *bar_colorpicker; Gtk::Widget *monitor_column_options; Gnome::UI::ColorPicker *column_colorpicker; Gtk::Widget *monitor_flame_options; Gnome::UI::ColorPicker *flame_colorpicker; class MonitorColumns: public Gtk::TreeModel::ColumnRecord { public: Gtk::TreeModelColumn name; Gtk::TreeModelColumn dir; MonitorColumns() { add(name); add(dir); } }; Glib::RefPtr monitor_store; typedef Gtk::ListStore::iterator store_iter; // GConf void viewer_type_listener(unsigned int, Gnome::Conf::Entry entry); void update_interval_listener(unsigned int, Gnome::Conf::Entry entry); void background_color_listener(unsigned int, Gnome::Conf::Entry entry); void use_background_color_listener(unsigned int, Gnome::Conf::Entry entry); void size_listener(unsigned int, Gnome::Conf::Entry entry); void samples_listener(unsigned int, Gnome::Conf::Entry entry); void font_listener(unsigned int, Gnome::Conf::Entry entry); void monitors_listener(unsigned int, Gnome::Conf::Entry entry); void line_width_listener(unsigned int, Gnome::Conf::Entry entry); void monitor_color_listener(unsigned int, Gnome::Conf::Entry entry); void stop_monitor_listeners(); std::vector monitor_listeners; // GUI void on_update_interval_spinbutton_changed(); void on_background_colorpicker_set(unsigned int r, unsigned int g, unsigned int b, unsigned int a); void on_background_color_radiobutton_toggled(); void on_curve_radiobutton_toggled(); void on_bar_radiobutton_toggled(); void on_column_radiobutton_toggled(); void on_text_radiobutton_toggled(); void on_flame_radiobutton_toggled(); void on_size_spinbutton_changed(Gtk::SpinButton *size_sb); void on_samples_spinbutton_changed(Gtk::SpinButton *samples_sb); void on_font_checkbutton_toggled(); void on_fontpicker_set(const Glib::ustring &font); void on_add_button_clicked(); void on_remove_button_clicked(); void on_change_button_clicked(); void on_selection_changed(); void on_line_width_spinbutton_changed(); void on_monitor_colorpicker_set(unsigned int r, unsigned int g, unsigned int b, unsigned int a); void on_close_button_clicked(); bool on_closed(GdkEventAny *); Applet &applet; }; #endif hardware-monitor-1.0/src/pixbuf-drawing.hpp0000644000175000017500000001106710000036053015773 00000000000000/* Pixbuf-drawing helpers. * * Copyright (c) 2002, 03, 04 Ole Laursen. * * 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. */ #ifndef PIXBUF_DRAWING_HPP #define PIXBUF_DRAWING_HPP #include #include #include // scale pixbuf alpha values by scale / 256 (where scale <= 256) void scale_alpha(const Glib::RefPtr &pixbuf, int scale); // shift hue of the pixels by the given shift amount // which is in { 0, 1, ..., 6 * 256 - 1 } void shift_hue(const Glib::RefPtr &pixbuf, int shift); class Pixel { public: Pixel() {} explicit Pixel(unsigned char *pixel) : data(pixel) {} // to facilitate -> on PixelIterators Pixel *operator->() { return this; } unsigned char &red() { return *data; } unsigned char const &red() const { return *data; } unsigned char &green() { return *(data + 1); } unsigned char const &green() const { return *(data + 1); } unsigned char &blue() { return *(data + 2); } unsigned char const &blue() const { return *(data + 2); } unsigned char &alpha() { return *(data + 3); } unsigned char const &alpha() const { return *(data + 3); } private: unsigned char * data; }; class PixelPosition { public: PixelPosition() {} PixelPosition(unsigned char *pixel, int rs, int chnls) : data(pixel), rowstride(rs), channels(chnls) {} Pixel pixel() { return Pixel(data); } PixelPosition &left(int n = 1) { data -= n * channels; return *this; } PixelPosition &right(int n = 1) { data += n * channels; return *this; } PixelPosition &up(int n = 1) { data -= n * rowstride; return *this; } PixelPosition &down(int n = 1) { data += n * rowstride; return *this; } private: unsigned char *data; int const rowstride; int const channels; }; inline PixelPosition get_position(const Glib::RefPtr &pixbuf, int x, int y) { unsigned char *data = pixbuf->get_pixels(); int rowstride = pixbuf->get_rowstride(); int channels = pixbuf->get_n_channels(); data += rowstride * y + channels * x; return PixelPosition(data, rowstride, channels); } class PixelIterator { public: typedef std::random_access_iterator_tag iterator_category; typedef Pixel value_type; typedef Pixel pointer; typedef Pixel reference; typedef std::ptrdiff_t difference_type; PixelIterator() {} PixelIterator(const Glib::RefPtr &p, unsigned int x, unsigned int y) : xpos(x), width(p->get_width()), channels(p->get_n_channels()), padding(p->get_rowstride() - width * channels) { data = p->get_pixels() + p->get_rowstride() * y + channels * x; } bool operator==(const PixelIterator& other) const { return data == other.data; } bool operator!=(const PixelIterator& other) const { return !(*this == other); } reference operator*() const { return Pixel(data); } pointer operator->() const { return operator*(); } PixelIterator &operator++() { if (xpos == width) { data += padding; xpos = 0; } data += channels; ++xpos; return *this; } PixelIterator operator++(int) { PixelIterator tmp = *this; ++*this; return tmp; } PixelIterator &operator--() { if (xpos == 0) { data -= padding; xpos = width; } data -= channels; --xpos; return *this; } PixelIterator operator--(int) { PixelIterator tmp = *this; --*this; return tmp; } private: unsigned char *data; int xpos; int const width; int const channels; int const padding; }; inline PixelIterator begin(const Glib::RefPtr &pixbuf) { return PixelIterator(pixbuf, 0, 0); } inline PixelIterator end(const Glib::RefPtr &pixbuf) { return PixelIterator(pixbuf, 0, pixbuf->get_height()); } #endif hardware-monitor-1.0/src/text-view.cpp0000644000175000017500000001032507756227554015030 00000000000000/* Implementation of textual monitoring view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include #include #include #include #include #include #include "text-view.hpp" #include "monitor.hpp" #include "applet.hpp" #include "ucompose.hpp" #include "i18n.hpp" class Text { public: Text(Monitor *monitor); void add_to_table(Gtk::Table &table, int col, int row); void update(const Glib::ustring &font); Monitor *monitor; private: std::auto_ptr label; }; Text::Text(Monitor *mon) : monitor(mon) { } void Text::add_to_table(Gtk::Table &table, int col, int row) { label.reset(new Gtk::Label); table.attach(*label, col, col + 1, row, row + 1, Gtk::EXPAND | Gtk::FILL | Gtk::SHRINK, Gtk::SHRINK); label->set_alignment(0, 0.5); } void Text::update(const Glib::ustring &font) { assert(label.get()); Pango::AttrList attrlist; if (!font.empty()) { Pango::AttrFontDesc attr = Pango::Attribute::create_attr_font_desc(Pango::FontDescription(font)); attrlist.insert(attr); } label->property_attributes() = attrlist; label->set_text(monitor->format_value(monitor->value())); label->show(); } void TextView::do_display() { background_box.add(table); applet->get_container().add(background_box); table.show(); background_box.show(); } void TextView::do_update() { // first update font Glib::RefPtr &client = applet->get_gconf_client(); Glib::ustring dir = applet->get_gconf_dir(); // FIXME: use schemas? if (client->get(dir + "/viewer/font").get_type() == Gnome::Conf::VALUE_STRING) font = client->get_string(dir + "/viewer/font"); else { font = ""; client->set(dir + "/viewer/font", font); } // then update for (text_iterator i = texts.begin(), end = texts.end(); i != end; ++i) (*i)->update(font); } void TextView::do_attach(Monitor *monitor, const Glib::ustring &) { texts.push_back(new Text(monitor)); texts.back()->add_to_table(table, 1, texts.size()); // FIXME: consider space restraints #if 0 int row = 1; for (text_iterator i = texts.begin(), end = texts.end(); i != end; ++i) { (*i)->add_to_table(table, 1, row++); } #endif } void TextView::do_detach(Monitor *monitor) { for (text_iterator i = texts.begin(), end = texts.end(); i != end; ++i) if ((*i)->monitor == monitor) { delete *i; texts.erase(i); return; } g_assert_not_reached(); } void TextView::do_set_background(unsigned int color) { Gdk::Color c; c.set_rgb(((color >> 24) & 0xff) * 256, ((color >> 16) & 0xff) * 256, ((color >> 8) & 0xff) * 256); background_box.modify_bg(Gtk::STATE_NORMAL, c); background_box.modify_bg(Gtk::STATE_ACTIVE, c); background_box.modify_bg(Gtk::STATE_PRELIGHT, c); background_box.modify_bg(Gtk::STATE_SELECTED, c); background_box.modify_bg(Gtk::STATE_INSENSITIVE, c); } void TextView::do_unset_background() { // FIXME: convert to C++ code in gtkmm 2.4 gtk_widget_modify_bg(background_box.Gtk::Widget::gobj(), GTK_STATE_NORMAL, 0); gtk_widget_modify_bg(background_box.Gtk::Widget::gobj(), GTK_STATE_ACTIVE, 0); gtk_widget_modify_bg(background_box.Gtk::Widget::gobj(), GTK_STATE_PRELIGHT, 0); gtk_widget_modify_bg(background_box.Gtk::Widget::gobj(), GTK_STATE_SELECTED, 0); gtk_widget_modify_bg(background_box.Gtk::Widget::gobj(), GTK_STATE_INSENSITIVE, 0); } int TextView::get_height() const { // FIXME: determine from panel size return 44; } hardware-monitor-1.0/src/text-view.hpp0000644000175000017500000000271407717130324015021 00000000000000/* A textual monitoring view. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef TEXT_VIEW_HPP #define TEXT_VIEW_HPP #include #include #include #include "view.hpp" class Text; class TextView: public View { private: virtual void do_display(); virtual void do_update(); virtual void do_attach(Monitor *monitor, const Glib::ustring &mon_dir); virtual void do_detach(Monitor *monitor); virtual void do_set_background(unsigned int color); virtual void do_unset_background(); int get_height() const; Gtk::EventBox background_box; Gtk::Table table; Glib::ustring font; typedef std::list text_sequence; typedef text_sequence::iterator text_iterator; text_sequence texts; }; #endif hardware-monitor-1.0/src/view.cpp0000644000175000017500000000237207717130324014032 00000000000000/* Implementation of view base class. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #include "view.hpp" View::View() { } View::View::~View() { } void View::display(Applet &a) { applet = &a; do_display(); } void View::update() { do_update(); } void View::attach(Monitor *monitor, const Glib::ustring &mon_dir) { do_attach(monitor, mon_dir); } void View::detach(Monitor *monitor) { do_detach(monitor); } void View::set_background(unsigned int color) { do_set_background(color); } void View::unset_background() { do_unset_background(); } hardware-monitor-1.0/src/view.hpp0000644000175000017500000000333307717130324014035 00000000000000/* Abstract base class for all views. Also contains some data. * * Copyright (c) 2003 Ole Laursen. * * 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. */ #ifndef VIEW_HPP #define VIEW_HPP #include #include #include #include #include "helpers.hpp" class Applet; class Monitor; // something that can show something in an applet widget class View: noncopyable { public: View(); virtual ~View(); void display(Applet &applet); void update(); void attach(Monitor *monitor, const Glib::ustring &mon_dir); void detach(Monitor *monitor); void set_background(unsigned int color); void unset_background(); protected: Applet *applet; // store pointer for reference private: // for derived classes to override virtual void do_display() = 0; virtual void do_update() = 0; virtual void do_attach(Monitor *monitor, const Glib::ustring &mon_dir) = 0; virtual void do_detach(Monitor *monitor) = 0; virtual void do_set_background(unsigned int color) = 0; virtual void do_unset_background() = 0; }; #endif hardware-monitor-1.0/src/ucompose.hpp0000644000175000017500000003102107717130324014710 00000000000000/* Defines String::ucompose(fmt, arg...) for easy, i18n-friendly * composition of strings with Gtkmm >= 1.3.* (see www.gtkmm.org). * Uses Glib::ustring instead of std::string which doesn't work with * Gtkmm due to character encoding troubles with stringstreams. * * Version 1.0.3. * * Copyright (c) 2002, 2003 Ole Laursen . * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * USA. */ // // Basic usage is like // // String::ucompose("This is a %1x%2 matrix.", rows, cols); // // See http://www.cs.auc.dk/~olau/compose/ or the included // README.compose for more details. // #ifndef STRING_UCOMPOSE_HPP #define STRING_UCOMPOSE_HPP #include #include #include #include #include #include // for multimap namespace UStringPrivate { // the actual composition class - using String::ucompose is cleaner, so we // hide it here class Composition { public: // initialize and prepare format string on the form "text %1 text %2 etc." explicit Composition(std::string fmt); // supply an replacement argument starting from %1 template Composition &arg(const T &obj); // compose and return string Glib::ustring str() const; private: std::ostringstream os; int arg_no; // we store the output as a list - when the output string is requested, the // list is concatenated to a string; this way we can keep iterators into // the list instead of into a string where they're possibly invalidated // when inserting a specification string typedef std::list output_list; output_list output; // the initial parse of the format string fills in the specification map // with positions for each of the various %?s typedef std::multimap specification_map; specification_map specs; template std::string stringify(T obj); }; // helper for converting spec string numbers inline int char_to_int(char c) { switch (c) { case '0': return 0; case '1': return 1; case '2': return 2; case '3': return 3; case '4': return 4; case '5': return 5; case '6': return 6; case '7': return 7; case '8': return 8; case '9': return 9; default: return -1000; } } inline bool is_number(int n) { switch (n) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': return true; default: return false; } } template inline std::string Composition::stringify(T obj) { os << obj; return Glib::locale_to_utf8(os.str()); } // partial specialisations for the common string types template <> inline std::string Composition::stringify(std::string obj) { return obj; } template <> inline std::string Composition::stringify(Glib::ustring obj) { return obj; } template <> inline std::string Composition::stringify(const char *obj) { return obj; } // implementation of class Composition template inline Composition &Composition::arg(const T &obj) { Glib::ustring rep = stringify(obj); if (!rep.empty()) { // manipulators don't produce output for (specification_map::const_iterator i = specs.lower_bound(arg_no), end = specs.upper_bound(arg_no); i != end; ++i) { output_list::iterator pos = i->second; ++pos; output.insert(pos, rep); } os.str(std::string()); //os.clear(); ++arg_no; } return *this; } inline Composition::Composition(std::string fmt) : arg_no(1) { #if __GNUC__ >= 3 os.imbue(std::locale("")); // use the user's locale for the stream #endif std::string::size_type b = 0, i = 0; // fill in output with the strings between the %1 %2 %3 etc. and // fill in specs with the positions while (i < fmt.length()) { if (fmt[i] == '%' && i + 1 < fmt.length()) { if (fmt[i + 1] == '%') { // catch %% fmt.replace(i, 2, "%"); ++i; } else if (is_number(fmt[i + 1])) { // aha! a spec! // save string output.push_back(fmt.substr(b, i - b)); int n = 1; // number of digits int spec_no = 0; do { spec_no += char_to_int(fmt[i + n]); spec_no *= 10; ++n; } while (i + n < fmt.length() && is_number(fmt[i + n])); spec_no /= 10; output_list::iterator pos = output.end(); --pos; // safe since we have just inserted a string specs.insert(specification_map::value_type(spec_no, pos)); // jump over spec string i += n; b = i; } else ++i; } else ++i; } if (i - b > 0) // add the rest of the string output.push_back(fmt.substr(b, i - b)); } inline Glib::ustring Composition::str() const { // assemble string std::string str; for (output_list::const_iterator i = output.begin(), end = output.end(); i != end; ++i) str += *i; return str; } } namespace String { // a series of functions which accept a format string on the form "text %1 // more %2 less %3" and a number of templated parameters and spits out the // composited string template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1) { UStringPrivate::Composition c(fmt); c.arg(o1); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9) .arg(o10); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9) .arg(o10).arg(o11); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9) .arg(o10).arg(o11).arg(o12); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12, const T13 &o13) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9) .arg(o10).arg(o11).arg(o12).arg(o13); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12, const T13 &o13, const T14 &o14) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9) .arg(o10).arg(o11).arg(o12).arg(o13).arg(o14); return c.str(); } template inline Glib::ustring ucompose(const Glib::ustring &fmt, const T1 &o1, const T2 &o2, const T3 &o3, const T4 &o4, const T5 &o5, const T6 &o6, const T7 &o7, const T8 &o8, const T9 &o9, const T10 &o10, const T11 &o11, const T12 &o12, const T13 &o13, const T14 &o14, const T15 &o15) { UStringPrivate::Composition c(fmt); c.arg(o1).arg(o2).arg(o3).arg(o4).arg(o5).arg(o6).arg(o7).arg(o8).arg(o9) .arg(o10).arg(o11).arg(o12).arg(o13).arg(o14).arg(o15); return c.str(); } } #endif // STRING_UCOMPOSE_HPP hardware-monitor-1.0/src/ui.glade0000644000175000017500000027643610020364273013776 00000000000000 12 Hardware Monitor Preferences GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE False True False True False 12 True True True True GTK_POS_TOP False False 12 True False 18 True False 12 True <b>General</b> False True GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 False False True False 0 True False 6 True False 12 True _Update interval: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 update_interval_spinbutton 0 False False True Amount of time between measurements (in seconds) True 1 1 True GTK_UPDATE_IF_VALID False False 1 0.1 100 0.1 1 10 0 False False 0 True True 12 False False 0 True True 0 False False True False 12 True <b>Background</b> False True GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 False False True False 0 True False 6 True True Use _panel background True GTK_RELIEF_NORMAL False False True 0 False False True False 6 True True Use _this color: True GTK_RELIEF_NORMAL False False True panel_background_radiobutton 0 False False True True True False Pick a Color 0 False False 0 True True 12 False False 0 True True 0 False False False True True General False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 12 True False 18 True False 12 True <b>Viewer</b> False True GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 False False True False 0 True 2 3 False 12 12 True Monitor devices using line graphs True C_urves True GTK_RELIEF_NORMAL True False True 0 1 0 1 fill True Monitor devices using horizontal bars True _Bars True GTK_RELIEF_NORMAL False False True curve_radiobutton 0 1 1 2 fill True Monitor devices using fluctuating flames True _Flames True GTK_RELIEF_NORMAL False False True curve_radiobutton 2 3 0 1 fill True Monitor devices using text descriptions True _Text True GTK_RELIEF_NORMAL False False True curve_radiobutton 1 2 1 2 fill True Monitor devices using solid columns True C_olumns True GTK_RELIEF_NORMAL False False True curve_radiobutton 1 2 0 1 fill 12 False False 0 False False 0 False False True False 12 True <b>Options</b> False True GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 False False True False 0 True False 12 False 24 True False 12 True _Size: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 curve_size_spinbutton 0 False False True Size of the applet in pixels True 1 0 True GTK_UPDATE_IF_VALID False False 60 4 1000 1 10 10 0 False False 0 False False True False 12 True S_amples: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 curve_samples_spinbutton 0 False False True Number of measured points to show simultanously True 1 0 True GTK_UPDATE_IF_VALID False False 30 3 500 1 10 10 0 False False 0 False False 0 False False False 12 True False 12 True _Size: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 bar_size_spinbutton 0 False False True Size of the applet in pixels True 1 0 True GTK_UPDATE_IF_VALID False False 60 4 1000 1 10 10 0 False False 0 False False 0 False False False 24 True False 12 True _Size: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 column_size_spinbutton 0 False False True Size of the applet in pixels True 1 0 True GTK_UPDATE_IF_VALID False False 60 4 1000 1 10 10 0 False False 0 False False True False 12 True Co_lumns: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 column_samples_spinbutton 0 False False True Number of columns to show simultanously True 1 0 True GTK_UPDATE_IF_VALID False False 30 3 500 1 10 10 0 False False 0 False False 0 False False False 0 True False 6 True False True Use this f_ont: True GTK_RELIEF_NORMAL False False True 0 False False True False True Choose a Font CPU: 15.0% GNOME_FONT_PICKER_MODE_FONT_INFO True False 10 0 False False 0 True True 0 False False False 12 True False 12 True _Size: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 flame_size_spinbutton 0 False False True Size of the applet in pixels True 1 0 True GTK_UPDATE_IF_VALID False False 60 4 1000 1 10 10 0 False False 0 False False 0 True True 12 False False 0 True True 0 False False False True True Viewer False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 12 True False 12 True <b>Devices</b> False True GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 False False True False 0 True False 6 True _Monitored devices: True False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 monitor_treeview 0 False False True 2 2 False 6 18 250 True True GTK_POLICY_AUTOMATIC GTK_POLICY_AUTOMATIC GTK_SHADOW_IN GTK_CORNER_TOP_LEFT True True False False False True 0 1 0 1 fill True GTK_BUTTONBOX_START 6 True True GTK_RELIEF_NORMAL True False 0 True _Add True False GTK_JUSTIFY_LEFT False False 0 0.5 12 0 0 False False True True GTK_RELIEF_NORMAL True False 0 True _Remove True False GTK_JUSTIFY_LEFT False False 0 0.5 12 0 0 False False True True GTK_RELIEF_NORMAL True False 0 True C_hange True False GTK_JUSTIFY_LEFT False False 0 0.5 12 0 0 False False 1 2 0 1 shrink shrink True False 12 False 12 True False 18 True False 12 True C_olor: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 line_colorpicker 0 False False True Color of the curve True True True Pick a Color 0 False False 0 True True True False 12 True _Line width: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 line_width_spinbutton 0 False False True Thickness of the curve (in pixels) True 1 1 True GTK_UPDATE_IF_VALID False False 1.5 0 5 0.1 1 10 0 False False 0 True True 0 False False 0 True True False 12 True False 12 True C_olor: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 bar_colorpicker 0 False False True Color of the bar True True True Pick a Color 0 False False 0 False False 0 True True False 12 True False 12 True C_olor: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 column_colorpicker 0 False False True Color of the bar True True True Pick a Color 0 False False 0 False False 0 True True False 12 True False 12 True C_olor: True False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 flame_colorpicker 0 False False True Color of the flame True True True Pick a Color 0 False False 0 False False 0 True True 0 1 1 2 expand|shrink|fill 0 True True 12 False False 0 False False False True True Devices False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 0 True True True GTK_BUTTONBOX_END 12 True True True gtk-close True GTK_RELIEF_NORMAL 0 False False 12 Choose a Device GTK_WINDOW_TOPLEVEL GTK_WIN_POS_NONE True True False False True False 12 True GTK_BUTTONBOX_END True False True True gtk-help True GTK_RELIEF_NORMAL -11 True True True gtk-cancel True GTK_RELIEF_NORMAL -6 True True True True gtk-ok True GTK_RELIEF_NORMAL -5 0 False True GTK_PACK_END True True True True GTK_POS_TOP False False 12 True False 12 True False 6 True The percentage of time that is spent running foreground processes True C_PU usage True GTK_RELIEF_NORMAL True False True 0 False False True False False 0 True False 6 True Monitor all CPUs True All CPUs True GTK_RELIEF_NORMAL False False True 0 False False True False 12 True Monitor only a single CPU True Only CPU: True GTK_RELIEF_NORMAL False False True all_cpus_radiobutton 0 False False True Which CPU no. to monitor True 1 0 True GTK_UPDATE_IF_VALID False False 1 1 33 1 10 10 0 False False 0 False False 18 False False 0 False False 0 False False True A running average of the number of simultanous processes True _Load average True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False False True True System False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 12 True False 12 True False 6 True The amount of disk space used True _Disk usage True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False True False False 0 True False 12 True Folder: False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 0 False False True Enter a folder residing on the disk to monitor True True True 0 / True * False 0 True True 18 True True 0 False False True False 0 True True Show _free space instead of used True GTK_RELIEF_NORMAL False False True 18 False False 0 False False 0 False False True The amount of memory used True _Memory usage True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False True The amount of disk-based memory used True _Swap usage True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False False True True Storage False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 12 True False 12 True False 6 True The amount of data sent through a network connection True _Network throughput True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False True False False 0 True 2 2 False 6 12 True Type of connection - Ethernet is the most common local area network adapter type True 0 True Ethernet (first) True True Ethernet (second) True True Ethernet (third) True True Modem True True Serial link True True Wireless True 1 2 0 1 fill True Direction: False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 0 1 1 2 fill True Select whether to monitor incoming or outgoing data or both True 0 True All data True True Incoming data True True Outgoing data True 1 2 1 2 fill True Connection: False False GTK_JUSTIFY_LEFT False False 0 0.5 0 0 network_type_optionmenu 0 1 0 1 fill 18 True True 0 False False 0 False False False True True Network False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 12 True False 12 True False False 12 True The temperature of the inside of the system True _Temperature True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False True False False 12 True Select the sensor to monitor True 0 True No sensors detected True 18 False False 0 True True 0 False False True False False 12 True The speed of the fans True _Fan speed True GTK_RELIEF_NORMAL False False True cpu_usage_radiobutton 0 False False True False False 12 True Select the sensor to monitor True 0 True No sensors detected True 18 False False 0 True True 0 False False False True True Temperature False False GTK_JUSTIFY_LEFT False False 0.5 0.5 0 0 tab 0 True True hardware-monitor-1.0/po/0000777000175000017500000000000010021711732012251 500000000000000hardware-monitor-1.0/po/ChangeLog0000644000175000017500000000675610021711640013753 000000000000002004-03-04 Vincent van Adrighem * nl.po: Translation updated by Elros Cyriatan. 2004-03-01 Miloslav Trmac * cs.po: Updated Czech translation. 2004-02-29 Christian Rose * POTFILES.skip: Removed nonexisting file. * sv.po: Updated Swedish translation. 2004-02-29 Ole Laursen * da.po: Updated Danish translation. * POTFILES.in: Updated. 2004-02-25 Jordi Mallach * ca.po: Added Catalan translation by Aleix Badia i Bosch . 2004-02-07 Robert Sedak * hr.po: Updated Croatian translation. 2004-01-28 Miloslav Trmac * cs.po: Fixed Czech translation. 2004-01-25 Christophe Merlet * fr.po: Added French translation from David Soulayrol . 2004-01-16 Kjartan Maraas * no.po: Added Norwegian translation. 2004-01-13 Vincent van Adrighem * nl.po: Translation updated by Kees van den Broek. 2003-12-29 Artur Flinta * pl.po: Updated Polish translation by GNOME PL Team. 2003-12-12 Gustavo Maciel Dias Vieira * pt_BR.po: Added Brazilian Portuguese translation done by Tiago Cardoso Menezes . 2003-11-23 Christian Neumair * POTFILES.skip: Added missing file. * de.po: Added German translation. 2003-11-11 Pablo Gonzalo del Campo * es.po: Added Spanish translation by Antonio Ognio 2003-11-03 Hasbullah Bin Pit * ms.po: Added Malay translation. 2003-10-25 Metin Amiroff * az.po: Added Azerbaijani translation. 2003-10-25 Ole Laursen * da.po: Fixed a string in Danish translation. 2003-10-14 Kostas Papadimas * el.po: Added Greek translation. 2003-09-20 Ole Laursen * ko.po: Converted to UTF-8. 2003-09-15 Miloslav Trmac * cs.po: Updated Czech translation. 2003-09-14 Duarte Loreto * pt.po: Added Portuguese translation. 2003-09-14 Danilo Šegan * sr.po, sr@Latn.po: Added Serbian translation. 2003-09-14 Vincent van Adrighem * nl.po: Dutch translation added by Elros Cyriatan. 2003-09-14 Christian Rose * POTFILES.in, POTFILES.skip: Added comment. * POTFILES.skip: Removed nonexisting file. * .cvsignore: Added more entries. * sv.po: Added Swedish translation. 2003-07-23 Ole Laursen * da.po: Updated Danish translation. 2003-07-19 Ole Laursen * da.po: Fixed a string in the Danish translation. * be.po: Added Belarusian translation from Vital Khilko . 2003-05-14 Ole Laursen * ko.po: Added Korean translation from sinsh29a@yahoo.co.kr. 2003-04-24 Ole Laursen * da.po: Updated Danish translation. 2003-04-13 Ole Laursen * da.po: Updated Danish translation. 2003-03-25 Ole Laursen * da.po: Updated Danish translation. 2003-02-03 Ole Laursen * da.po: Updated Danish translation. 2003-02-01 Ole Laursen * da.po: Updated Danish translation. 2003-01-11 Ole Laursen * da.po: Updated Danish translation. hardware-monitor-1.0/po/Makefile.in.in0000644000175000017500000001610707704726157014671 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file 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. # Please note that the actual code is *not* freely available. # # - 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 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = /bin/sh @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = .. VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ libdir = @libdir@ localedir = $(libdir)/locale gnulocaledir = $(datadir)/locale gettextsrcdir = $(datadir)/glib-2.0/gettext/po subdir = po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ MKINSTALLDIRS = $(top_srcdir)/@MKINSTALLDIRS@ CC = @CC@ GENCAT = @GENCAT@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot DEFS = @DEFS@ CFLAGS = @CFLAGS@ CPPFLAGS = @CPPFLAGS@ INCLUDES = -I.. -I$(top_srcdir)/intl COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) SOURCES = POFILES = @POFILES@ GMOFILES = @GMOFILES@ DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(GETTEXT_PACKAGE).pot \ $(POFILES) $(GMOFILES) $(SOURCES) POTFILES = \ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ INSTOBJEXT = @INSTOBJEXT@ .SUFFIXES: .SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat .c.o: $(COMPILE) $< .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(srcdir)/$(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(MSGFMT) -o $@ $< .po.gmo: file=$(srcdir)/`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: $(srcdir)/$(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(DESTDIR)$(datadir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(datadir); \ fi @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ case "$$cat" in \ *.gmo) destdir=$(gnulocaledir);; \ *) destdir=$(localedir);; \ esac; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ dir=$(DESTDIR)$$destdir/$$lang/LC_MESSAGES; \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $$dir; \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $$dir; \ fi; \ if test -r $$cat; then \ $(INSTALL_DATA) $$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ echo "installing $$cat as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ else \ $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT)"; \ fi; \ if test -r $$cat.m; then \ $(INSTALL_DATA) $$cat.m $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ echo "installing $$cat.m as $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ else \ if test -r $(srcdir)/$$cat.m ; then \ $(INSTALL_DATA) $(srcdir)/$$cat.m \ $$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ echo "installing $(srcdir)/$$cat as" \ "$$dir/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m"; \ else \ true; \ fi; \ fi; \ done if test "$(PACKAGE)" = "glib"; then \ if test -r "$(MKINSTALLDIRS)"; then \ $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \ else \ $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \ fi; \ $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \ else \ : ; \ fi # Define this as empty until I found a useful application. installcheck: uninstall: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \ done rm -f $(DESTDIR)$(gettextsrcdir)/po-Makefile.in.in check: all dvi info tags TAGS ID: mostlyclean: rm -f core core.* *.pox $(GETTEXT_PACKAGE).po *.old.po cat-id-tbl.tmp rm -fr *.o clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m 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 $(GMOFILES) distdir = ../$(GETTEXT_PACKAGE)-$(VERSION)/$(subdir) dist distdir: update-po $(DISTFILES) dists="$(DISTFILES)"; \ for file in $$dists; do \ ln $(srcdir)/$$file $(distdir) 2> /dev/null \ || cp -p $(srcdir)/$$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot cd $(srcdir); \ catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ cp $$lang.po $$lang.old.po; \ echo "$$lang:"; \ if $(MSGMERGE) $$lang; then \ rm -f $$lang.old.po; \ else \ echo "msgmerge for $$cat failed!"; \ rm -f $$lang.po; \ mv $$lang.old.po $$lang.po; \ fi; \ done .po: Makefile $(MAKE) $(PACKAGE).pot; PATH=`pwd`/../src:$$PATH; \ echo; printf "$*: "; \ if $(MSGMERGE) $*; then \ rm -f $*.old.po; \ else \ echo "msgmerge for * failed!"; \ mv $*.old.po $*.po; \ fi; \ msgfmt --statistics $*.po; echo; # POTFILES is created from POTFILES.in by stripping comments, empty lines # and Intltool tags (enclosed in square brackets), and appending a full # relative path to them POTFILES: POTFILES.in ( if test 'x$(srcdir)' != 'x.'; then \ posrcprefix='$(top_srcdir)/'; \ else \ posrcprefix="../"; \ fi; \ rm -f $@-t $@ \ && (sed -e '/^#/d' \ -e "s/^\[.*\] +//" \ -e '/^[ ]*$$/d' \ -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ | sed -e '$$s/\\$$//') > $@-t \ && chmod a-w $@-t \ && mv $@-t $@ ) Makefile: Makefile.in.in ../config.status POTFILES cd .. \ && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ $(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: hardware-monitor-1.0/po/POTFILES.in0000644000175000017500000000050210020347566013750 00000000000000# List of source files containing translatable strings. # Please keep this file sorted alphabetically. HardwareMonitor.server.in.in src/applet.cpp src/bar-view.cpp src/choose-monitor-window.cpp src/curve-view.cpp src/ui.glade src/helpers.cpp src/main.cpp src/monitor-impls.cpp src/preferences-window.cpp src/text-view.cpp hardware-monitor-1.0/po/hardware-monitor.pot0000644000175000017500000002472710021711721016205 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "" #: src/applet.cpp:106 msgid "_Help" msgstr "" #: src/applet.cpp:106 msgid "_About..." msgstr "" #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "" #: src/ui.glade.h:1 msgid "*" msgstr "" #: src/ui.glade.h:2 msgid "/" msgstr "" #: src/ui.glade.h:3 msgid "Background" msgstr "" #: src/ui.glade.h:4 msgid "Devices" msgstr "" #: src/ui.glade.h:5 msgid "General" msgstr "" #: src/ui.glade.h:6 msgid "Options" msgstr "" #: src/ui.glade.h:7 msgid "Viewer" msgstr "" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "" #: src/ui.glade.h:10 msgid "All data" msgstr "" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "" #: src/ui.glade.h:15 msgid "C_hange" msgstr "" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "" #: src/ui.glade.h:18 msgid "C_urves" msgstr "" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "" #: src/ui.glade.h:25 msgid "Connection:" msgstr "" #: src/ui.glade.h:26 msgid "Devices" msgstr "" #: src/ui.glade.h:27 msgid "Direction:" msgstr "" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "" #: src/ui.glade.h:32 msgid "Folder:" msgstr "" #: src/ui.glade.h:33 msgid "General" msgstr "" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "" #: src/ui.glade.h:44 msgid "Network" msgstr "" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "" #: src/ui.glade.h:57 msgid "Storage" msgstr "" #: src/ui.glade.h:58 msgid "System" msgstr "" #: src/ui.glade.h:59 msgid "Temperature" msgstr "" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "" #: src/ui.glade.h:72 msgid "Viewer" msgstr "" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "" #: src/ui.glade.h:76 msgid "_Bars" msgstr "" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "" #: src/ui.glade.h:79 msgid "_Flames" msgstr "" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "" #: src/ui.glade.h:81 msgid "_Load average" msgstr "" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "" #: src/ui.glade.h:85 msgid "_Remove" msgstr "" #: src/ui.glade.h:86 msgid "_Size:" msgstr "" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "" #: src/ui.glade.h:89 msgid "_Text" msgstr "" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "" #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "" #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "" #: src/preferences-window.cpp:175 msgid "Device" msgstr "" hardware-monitor-1.0/po/az.po0000644000175000017500000003265410021711721013147 00000000000000# hardware-monitor.HEAD.po faylının Azərbaycan Dilinə tərcüməsi # hardware-monitor.HEAD.po faylının Azərbaycan dilinə tərcüməsi # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Mətin Əmirov , 2003 # msgid "" msgstr "" "Project-Id-Version: hardware-monitor.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-10-23 20:13+0300\n" "Last-Translator: Mətin Əmirov \n" "Language-Team: Azərbaycan Dili \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.1\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Avadanlıq İzləyicisi" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Avadanlıqlarınızı izləyin" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Tə'minat" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Avadanlıq İzləyicisi : '%1' timsalı yüklənə bilmir.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Qurğular..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Yardım" #: src/applet.cpp:106 msgid "_About..." msgstr "_Haqqında..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Mətin Əmirov " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "CPU və yaddaş istifadəsi kimi müxtəlif avadanlıqları və onlarla əlaqəli olan " "mə'lumatları izləyin. Proqram əyri qrafikaları, üfüqi çubuqları, sütun " "diaqramlarını mətn ilə izləmə və yanan işıqlar ilə izləməyi dəstəkləyir." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Tə'lif Hüququ %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilyator %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilyator %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Arxa plan" #: src/ui.glade.h:4 msgid "Devices" msgstr "Avadanlıqlar" #: src/ui.glade.h:5 msgid "General" msgstr "Ümumi" #: src/ui.glade.h:6 msgid "Options" msgstr "Seçimlər" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Nümayişçi" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Bir neçə ardıcıl gedişatların icrada olan ortalaması" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Bütün CPU-lar" #: src/ui.glade.h:10 msgid "All data" msgstr "Bütün mə'lumat" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Ölçmələr arasındakı vaxt (saniyə olaraq)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "C_PU istifadəsi" #: src/ui.glade.h:15 msgid "C_hange" msgstr "Də_yişdir" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "Rə_ng:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "Sü_tunlar" #: src/ui.glade.h:18 msgid "C_urves" msgstr "Ə_yrilər" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Avadanlıq Seç" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Yazı Növünü Seç" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "_Sütunlar:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Çubuğun rəngi" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Əyrinin rəngi" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "İşığın rəngi" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Bağlantı:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Avadanlıqlar" #: src/ui.glade.h:27 msgid "Direction:" msgstr "İstiqamət:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Disk üstündə izlənəcək qovluğu bildirin" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Eternet (birinci)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Eternet (ikinci)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Eternet (üçüncü)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Qovluq:" #: src/ui.glade.h:33 msgid "General" msgstr "Ümumi" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Avadanlıq İzləyicisi Qurğuları" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Gələn mə'lumat" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Bütün CPU-ları izlə" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Avadanlıqları dəyişən işıqlarla izlə" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Avadanlıqları üfüqi çubuqlarla izlə" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Avadanlıqları xətdi qrafikalarla izlə" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Avadanlıqları düz sütunlarla izlə" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Avadanlıqları mətn izahatı ilə izlə" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Ancaq tək CPU-nu izlə" #: src/ui.glade.h:44 msgid "Network" msgstr "Şəbəkə" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Heç bir sensor tapılmadı" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Eyni anda göstəriləcək sütün miqdarı" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Eyni anda göstəriləcək ölçülən nöqtə" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Ancaq CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Gedən mə'lumat" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Rəng Seç" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Nümünələr:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "İzlənəcək sensoru seçin" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Ancaq gələn, gedən yoxsa hər iki mə'lumatın da izlənəcəyini bildirin" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Serial körpü" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Appletin piksel olaraq böyüklüyü" #: src/ui.glade.h:57 msgid "Storage" msgstr "Saxlama Yeri" #: src/ui.glade.h:58 msgid "System" msgstr "Sistem" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatur" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Şəbəkə üstündən göndərilən mə'lumat miqdarı" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "İşlədilən disk sahəsi" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "İşlədilən disk bazalı yaddaşın miqdarı" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "İşlədilən yaddaş miqdarı" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Ön plan gedişatları işə salmada işlədilən vaxt faizi" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Ventilyatorların sür'əti" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Sistemin daxilindəki istilik" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Əyrinin incəliyi (piksel olaraq)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "Bağlantının növü - Eternet ən ümumi LAN adapteri növüdür" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "_Panel arxa planını işlət:" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Bu _rəngi işlət:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Bu _yazı növünü işlət:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Nümayişçi" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "İzlənəcək CPU nömrəsi" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "Ə_lavə et" #: src/ui.glade.h:76 msgid "_Bars" msgstr "Ç_ubuqlar" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Disk istifadəsi" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Ventilyatorun sür'əti" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_İşıqlar" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Sətir _eni:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Ortalama yük" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Yaddaş _istifadəsi" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_İzlənən avadanlıqlar:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "Şəbəkə _fəaliyyəti" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Sil" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Böyüklük:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "_Dəyiş-toqquş sahəsi istifadəsi" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatur" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Mətn" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Yeniləmə aralığı:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Ölümcül xəta" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Bütün işlədicilər" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "İşlədici n. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Disk bazalı yaddaş" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Dəyiş-toqquş" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Ortalama yük" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Yük" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Yaddaş" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Yad." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disk (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, daxilə" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, xaricə" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Et. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatur %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatur %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Ventilyator %1 sür'ət: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Ventilyator %1 sür'ət" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Avadanlıq" hardware-monitor-1.0/po/be.po0000644000175000017500000003557210021711721013125 00000000000000# translation of be.po to Belarusian # translation of hardware-monitor.be.po to Belarusian # translation of hardware-monitor.po to Belarusian # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Vital Khilko , 2003 # msgid "" msgstr "" "Project-Id-Version: hardware-monitor.be\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-06-03 14:46+0300\n" "Last-Translator: Vital Khilko \n" "Language-Team: Belarusian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Манітор загрузкі сыстэмы" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Манітор загрузкі прыладаў" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Загрузка" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Манітор загрузкі сыстэмы: немагчыма загрузіць значку '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Перавагі..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Дапамога" #: src/applet.cpp:106 msgid "_About..." msgstr "_Пра праграму..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" "Belarusian Language Linux Team \n" "http://www.mova.linux.by\n" "mail: i18n@mova.org" #: src/applet.cpp:595 #, fuzzy msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Маніторынг рознае спэцыфічнае для прыладаў інфармацыі, як то загрузка " "працэсараў, выкарыстаньне памяці й свопу, і г.д. Падтрымлівае разнастайныя " "графікі й тэкставыя паведамленьні." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Аўтарскае права %1 2003 Оле Лаўрсэн" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 #, fuzzy msgid "Fan %1: \"%2\"" msgstr "%1: %2" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Тло" #: src/ui.glade.h:4 msgid "Devices" msgstr "Прылады" #: src/ui.glade.h:5 msgid "General" msgstr "Асноўнае" #: src/ui.glade.h:6 msgid "Options" msgstr "Парамэтры" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Праглядальнік" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Сярэдняя загрузка працэсара" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Усе працэсары" #: src/ui.glade.h:10 msgid "All data" msgstr "Усе даньні" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Час паміж атрыманьнем вымярэньняў (у сэкундах)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Працэсар: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Выкарыстаньне _працэсара" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Зьмяніць" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Колер:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "" #: src/ui.glade.h:18 msgid "C_urves" msgstr "_Графікі" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Выбярыце прыладу" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Выбярыце шрыфт" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Колер палоскі" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Колер графіка" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Колер полымя" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Далучэньне:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Прылады" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Накірунак:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Пазначце тэчку за якой будзе адбывацца сачэньне" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (першы)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (другі)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (трэцьці)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Тэчка:" #: src/ui.glade.h:33 msgid "General" msgstr "Асноўнае" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Перавагі манітора загрузкі сыстэмы" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Уваходныя даньні" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Мадэм" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Сачыць за усімі працэсарамі" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Выкарыстаньне графіка - полымя" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Выкарыстаньне графіка - гарызантальныя палоскі" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Выкарыстаньне графіка - рысы" #: src/ui.glade.h:41 #, fuzzy msgid "Monitor devices using solid columns" msgstr "Выкарыстаньне графіка - рысы" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Выкарыстаньне тэкставых паведамленьняў" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Назіраць толькі за адным працэсарам" #: src/ui.glade.h:44 msgid "Network" msgstr "" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "" #: src/ui.glade.h:46 #, fuzzy msgid "Number of columns to show simultanously" msgstr "Колькасьць пунктаў вымярэньня разрозьненьня" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Колькасьць пунктаў вымярэньня разрозьненьня" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Толькі працэсар:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Выходныя даньні" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Выбярыце колер" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Узоры:" #: src/ui.glade.h:52 #, fuzzy msgid "Select the sensor to monitor" msgstr "Нумар працэсара" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "Выбярыце сачэньне за уваходнымі ці выходнымі даньнямі, ці за усімі агулам" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Пасьлядоўнае далучэньне" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Памер аплета ў піксэлях" #: src/ui.glade.h:57 msgid "Storage" msgstr "" #: src/ui.glade.h:58 msgid "System" msgstr "" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Тэмпература" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Загрузка сеткавага далучэньня" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Выкарыстаньне дыскавае прасторы" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Выкарыстаньне памяці разьмешчанай на дыске" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Выкарыстаньне памяці" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Загрузка працэсара асноўнымі працэсамі" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Тэмпература сыстэмы" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Шырыня рысы графіка (у піксэлях)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "Тып далучэньня - Ethernet" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Выкарыстоўваць _тло панэлі" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Выкарыстоўваць _гэты колер:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Выкарыстоўваць гэты _шрыфт:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Праглядальнік" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Нумар працэсара" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Дадаць" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Палоскі" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Выкарыстаньне дыска" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Полымя" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Шырыня _рысы" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Сярэдняя загрузка" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Загрузка _памяці" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_Сачэньне за прыладамі:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "Загрузка _сеткі" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Выдаліць" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Памер:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Выкарыстаньне _свопу" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Тэмпература" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Тэкст" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Інтэрвал абнаўленьня:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Фатальная памылка" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Усе працэсары" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Працэсар нумар %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "Працэсар" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "Працэсар %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Мб" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Перанесеныя на дыск даньні з памяці" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Свап" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Сярэдняя загрузка" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Загрузка" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Памяць" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Памяць" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Гб" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 Кб" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 б" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Дыск (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Гб/с" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mб/с" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 Кб/с" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 б/с" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, у" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, з" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Ethernet %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Мадэм" #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Пас. далуч." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 #, fuzzy msgid "Temperature %1: \"%2\"" msgstr "Тэмпература" #: src/monitor-impls.cpp:775 #, fuzzy msgid "Temperature %1" msgstr "Тэмпература" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 #, fuzzy msgid "Temp. %1" msgstr "Тэмпература" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 #, fuzzy msgid "%1 rpm" msgstr "%1 б" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Прылада" #~ msgid "Choose what to monitor:" #~ msgstr "Выбярыце прыладу для сачэньня:" hardware-monitor-1.0/po/ca.po0000644000175000017500000003312410021711722013112 00000000000000# Hardware-monitor translation to Catalan. # Copyright © 2003, 2004 Free Software Foundation, Inc. # Softcatalà , 2003, 2004. # Aleix Badia i Bosch , 2003, 2004. # Raul Cambeiro , 2004. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: Aleix Badia i Bosch \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Monitor del maquinari" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Monitoritza els dispositius del maquinari" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Utilitat" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor del maquinari: no s'ha pogut carregar la icona '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Preferències..." #: src/applet.cpp:106 msgid "_Help" msgstr "A_juda" #: src/applet.cpp:106 msgid "_About..." msgstr "Qu_ant a..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" "Aleix Badia i Bosch \n" "Raul Cambeiro " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Monitoritza diferents aspectes de la informació del maquinari com la " "utilització\n" "de l'UCP, la utilització de la memòria, etc. Suporta gràfiques de corbes,\n" "barres horitzontals, diagrames de columnes,\n" "monotorització textual i flames fluctuants." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilador %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilador %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Fons" #: src/ui.glade.h:4 msgid "Devices" msgstr "Dispositius" #: src/ui.glade.h:5 msgid "General" msgstr "General" #: src/ui.glade.h:6 msgid "Options" msgstr "Opcions" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visualitzador" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Una mitjana del nombre de processos simultanis" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Totes les UCP" #: src/ui.glade.h:10 msgid "All data" msgstr "Totes les dades" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "L'interval de temps entre mesures (en segons)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "UCP: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Utilització de la UC_P" #: src/ui.glade.h:15 msgid "C_hange" msgstr "Ca_nvia" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "C_olor:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "C_olumnes" #: src/ui.glade.h:18 msgid "C_urves" msgstr "C_orbes" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Seleccioneu un dispositiu" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Seleccioneu un tipus de lletra" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Co_lumnes:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Color de la barra" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Color de la corba" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Color de la flama" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Connexió:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Dispositius" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Direcció:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Introduïu una carpeta del disc per a monitoritzar-la" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (primera)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (segona)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (tercera)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Carpeta:" #: src/ui.glade.h:33 msgid "General" msgstr "General" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Preferències del monitor del maquinari" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Dades d'entrada" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Mòdem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Monitoritza totes les UCP" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Monitoritza un dispositiu utilitzant flames fluctuants" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Monitoritza els dispositius utilitzant barres horitzontals" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Monitoritza els dispositius utilitzant gràfics de línies" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Monitoritza els dispositius utilitzant columnes" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Monitoritza els dispositius utilitzant descripcions de text" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Monitoritza una única UCP" #: src/ui.glade.h:44 msgid "Network" msgstr "Xarxa" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "No s'ha detectat cap sensor" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Nombre de columnes a mostrar simultàniament" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Nombre de punts mesurats a mostrar simultàniament" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Només l'UCP:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Dades de sortida" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Escolliu un color" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "M_ostres:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Seleccioneu el sensor a monitoritzar" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "Seleccioneu si voleu monitoritzar les dades d'entrada, de sortida o ambdues" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Enllaç sèrie" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Mida de l'aplicació en píxels" #: src/ui.glade.h:57 msgid "Storage" msgstr "Emmagatzematge" #: src/ui.glade.h:58 msgid "System" msgstr "Sistema" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatura" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "La quantitat de dades enviades a través de la connexió de xarxa" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "La quantitat d'espai de disc utilitzat" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "La quantitat de memòria de disc utilitzada" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "La quantitat de memòria utilitzada" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" "El percentatge de temps utilitzat en l'execució de processos en primer pla" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "La velocitat dels ventiladors" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "La temperatura a l'interior del sistema" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Gruix de la corba (en píxels)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Tipus de connexió - l'Ethernet és el tipus d'adaptador de xarxa local més " "comú" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Utilitza el fons del tau_ler" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Utili_tza aquest color:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Utilitza aquest tipus de _lletra:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Visualitzador" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Número de l'UCP a monitoritzar" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Afegeix" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Barres" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Utilització del _disc" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "V_elocitat del ventilador" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Flames" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Amplada de la _línia:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Cà_rrega mitjana" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Utilització de la _memòria" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Dispositius _monitoritzats:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "Velocitat de tra_nsferència de dades de la xarxa" #: src/ui.glade.h:85 msgid "_Remove" msgstr "Sup_rimeix" #: src/ui.glade.h:86 msgid "_Size:" msgstr "Mi_da:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Utilització de la memòria d'in_tercanvi" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatura" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Text" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "Interval d'act_ualització:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Error fatal" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Tots els processadors" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processador no. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "UCP" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "UCP %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 MB" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memòria de disc" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Intercanvi" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Càrrega mitjana" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Càrrega" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memòria" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 GB" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kB" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 B" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disc (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 GB/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 MB/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kB/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 B/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, entrada" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, sortida" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Sèr." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatura %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatura %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Velocitat del ventilador %1 \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Velocitat del ventilador %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Dispositiu" hardware-monitor-1.0/po/da.po0000644000175000017500000003235110021711722013114 00000000000000# Danish translation of Hardware Monitor. # Copyright (C) 2003, 04 Free Software Foundation. # This file is distributed under the same license as the hardware-monitor package. # Ole Laursen , 2003, 04. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2004-02-29 14:35+0100\n" "Last-Translator: Ole Laursen \n" "Language-Team: Danish " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Overvåg forskellige hardware-oplysninger, såsom CPU-forbrug, " "hukommelsesforbrug osv. Understøtter kurvegrafer, vandrette bjælkegrafer, " "søjlediagrammer, tekstovervågning og bølgende flammer." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Blæser %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Blæser %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Baggrund" #: src/ui.glade.h:4 msgid "Devices" msgstr "Enheder" #: src/ui.glade.h:5 msgid "General" msgstr "Generelt" #: src/ui.glade.h:6 msgid "Options" msgstr "Indstillinger" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Fremviser" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "" "Et løbende gennemsnit over antallet af processer der kører på samme tid" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Alle processorer" #: src/ui.glade.h:10 msgid "All data" msgstr "Alle data" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Tidsrum mellem målinger (i sekunder)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "_Processorforbrug" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Skift" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Farve:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "Sø_jler" #: src/ui.glade.h:18 msgid "C_urves" msgstr "_Kurver" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Vælg en enhed" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Vælg en skrifttype" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Søjle_r:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Farve for bjælken" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Farve for kurven" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Farve for flammen" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Forbindelse:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Enheder" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Retning:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "" "Indtast navnet på en mappe der er placeret på den disk som skal overvåges" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (første)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (anden)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (tredje)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Mappe:" #: src/ui.glade.h:33 msgid "General" msgstr "Generelt" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Indstillinger for hardwareovervåger" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Indgående data" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Overvåg alle processorer" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Overvåg enheder vha. bølgende flammer" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Overvåg enheder vha. vandrette bjælker" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Overvåg enheder vha. kurvegrafer" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Overvåg enheder vha. søjlediagrammer" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Overvåg enheder vha. tekstbeskrivelser" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Overvåg kun en enkelt processor" #: src/ui.glade.h:44 msgid "Network" msgstr "Netværk" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Ingen sensorer fundet" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Antal kolonner der skal vises på samme tid" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Antal målepunkter der skal vises på samme tid" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Kun CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Udgående data" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Vælg en farve" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Målinger:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Vælg hvilken sensor der skal overvåges" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Vælg om indgående eller udgående data eller begge skal overvåges" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Serielt kabel" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "Vis _ledig plads i stedet for brugt" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Størrelsen af programmet i skærmpunkter" #: src/ui.glade.h:57 msgid "Storage" msgstr "Lager" #: src/ui.glade.h:58 msgid "System" msgstr "System" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatur" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Datamængden som sendes gennem en netværksforbindelse" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Hvor meget diskplads der er optaget" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Hvor meget diskbaseret hukommelse der er optaget" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Hvor meget hukommelse der er optaget" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Den procentdel af tiden der bliver brug på kørende foregrundsprocesser" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Hastigheden af blæsere" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Temperaturen af det indvendige af systemet" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Tykkelsen af kurven (i skærmpunkter)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Forbindelsestypen - Ethernet er den almindeligste netkortstype for " "lokalnetværk" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Benyt _panelbaggrund" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Benyt _denne farve:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Benyt denne _skrifttype:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Fremviser" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Hvilken processor der skal overvåges" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "Trådløs" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Tilføj" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Bjælker" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Diskforbrug" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Blæserhastighed" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Flammer" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "L_injetykkelse:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Belastningsgennemsnit" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "_Hukommelsesforbrug" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_Overvågede enheder:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Netværksgennemstrømning" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Fjern" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Størrelse:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "_Swapforbrug" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatur" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Tekst" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Opdateringsinterval:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Fatal fejl" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Alle processorer" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processor nr. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Disk-baseret hukommelse" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Swap" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Belastningsgennemsnit" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Belast." #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Hukommelse" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Huk." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disk (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, ind" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, ud" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "T.løs." #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatur %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatur %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Hastighed for blæser %1: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Hastighed for blæser %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Enhed" hardware-monitor-1.0/po/de.po0000644000175000017500000003256710021711723013132 00000000000000# German hardware-monitor translation # Copyright (C) 2002 Free Software Foundation, Inc. # Christian Neumair , 2003. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-11-23 13:31+0100\n" "Last-Translator: Christian Neumair \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Hardware-Überwachung" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Hardware-Geräte überwachen" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Werkzeug" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Hardware Monitor: Das Icon »%1« konnte nicht geladen werden.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Einstellungen..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Hilfe" #: src/applet.cpp:106 msgid "_About..." msgstr "_Info..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Christian Neumair " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Dient zur Überwachung verschiedenster Hardware-bezogener Informationen, wie " "z.B. Prozessorlast und Hauptspeicherbelegung. Unterstützt Graphen, " "horizontale Balken, Spaltendiagramme, Textüberwachung und variable Flammen." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: »%2«" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Lüfter %1: »%2«" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Lüfter %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Hintergrund" #: src/ui.glade.h:4 msgid "Devices" msgstr "Geräte" #: src/ui.glade.h:5 msgid "General" msgstr "Allgemein" #: src/ui.glade.h:6 msgid "Options" msgstr "Einstellungen" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Ansicht" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Ein gleitender Mittelwert der Anzahl paralleler Prozesse" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Alle Prozessoren" #: src/ui.glade.h:10 msgid "All data" msgstr "Gesamte Daten" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Zeitintervall zwischen Messpunkten (in Sekunden)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Prozessor: 15%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "_Prozessorlast" #: src/ui.glade.h:15 msgid "C_hange" msgstr "Ä_ndern" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Farbe:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "_Spalten" #: src/ui.glade.h:18 msgid "C_urves" msgstr "_Graphen" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Wählen Sie ein Gerät" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Wählen Sie eine Schrift" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "S_palten:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Balkenfarbe" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Kurvenfarbe" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Flammenfarbe" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Verbindung:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Geräte" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Richtung:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Geben Sie einen auf der Platte liegenden, zu überwachenden Ordner an" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (erstes)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (zweites)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (drittes)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Ordner:" #: src/ui.glade.h:33 msgid "General" msgstr "Allgemein" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Hardware-Überwachungseinstellungen" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Eingehende Daten" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Alle Prozessoren überwachen" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Geräte mit Hilfe veränderlicher Flammen überwachen" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Geräte mit Hilfe horizontaler Balken überwachen" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Geräte mit Hilfe von Graphen überwachen" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Geräte mit Hilfe gefüllter Balken überwachen" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Geräte mit Hilfe von Textbeschreibungen überwachen" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Ausschließlich einen einzigen Prozessor überwachen" #: src/ui.glade.h:44 msgid "Network" msgstr "Network" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Keine Sensoren erkannt" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Anzahl gleichzeitig anzuzeigender Spalten" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Anzahl gleichzeitig anzuzeigender Messpunkte" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Ausschließlich Prozessor:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Ausgehende Daten" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Wählen Sie eine Farbe" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "St_ichproben:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Wählen Sie den zu überwachenden Sensor" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "Legt fest, ob eingehende, ausgehende oder die gesamten Daten überwacht " "werden sollen" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Serielle Verbindung" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Größe des Applets in Pixel" #: src/ui.glade.h:57 msgid "Storage" msgstr "Speicher" #: src/ui.glade.h:58 msgid "System" msgstr "System" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatur" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Das durch eine Netzwerkverbindung verschickte Datenvolumen" # CHECK - Menge #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Die Menge des belegten Plattenplatzes" # CHECK - Menge #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Die Menge des belegten plattenbasierten Hauptspeichers" # CHECK - Menge #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Die Menge des belegten Hauptspeichers" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" "Der Zeitanteil, der für das Ausführen von Prozessen im Vordergrund " "aufgewendet wird" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Die Lüftergeschwindigkeit" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Die Innentemperatur des Systems" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Die Dicke des Graphen (in Pixeln)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Verbindungstyp - Ethernet ist der am weitesten verbreitete LAN-Adaptertyp." #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "_Panel-Hintergrund verwenden" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "F_olgende Farbe verwenden:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "F_olgende Schrift verwenden:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Ansicht" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Zu überwachende Prozessor-Nr." #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Hinzufügen" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Balken" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Plattenbelegung" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Lüftergeschwindigkeit" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Flammen" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Linienbreite:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Lastmittel" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Belegter _Hauptspeicher" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Ü_berwachte Geräte:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Netzwerkdurchsatz" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Entfernen" #: src/ui.glade.h:86 msgid "_Size:" msgstr "G_röße:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Belegter _Auslagerungsspeicher" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatur" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Text" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Auffrischintervall:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Schwerwiegender Fehler" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Alle Prozessoren" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Prozessor Nr. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "Proz." #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "Proz. %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Plattenbasierter Hauptspeicher" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Auslag." #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Lastmittel" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Last" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Hauptspeicher" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "RAM" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Platte (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, rein" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, raus" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatur %1: »%s«" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatur %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 upm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Lüftergeschwindigkeit %1: »%s«" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Lüftergeschwindigkeit %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Gerät" hardware-monitor-1.0/po/el.po0000644000175000017500000003736610021711723013144 00000000000000# translation of el.po to Greek # This file is distributed under the same license as the PACKAGE package. # Copyright (C) Free Software Foundation, 2003 # Kostas Papadimas , 2003 # msgid "" msgstr "" "Project-Id-Version: el\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-10-14 10:47+0300\n" "Last-Translator: Kostas Papadimas \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Παρακολούθηση υλικού" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Συσκευές παρακολούθησης υλικού" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Εργαλείο" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Παρακολούθηση υλικού: Αδυναμία φόρτωσης του εικονιδίου '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Προτιμήσεις..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Βοήθεια" #: src/applet.cpp:106 msgid "_About..." msgstr "Πε_ρί..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Κώστας Παπαδήμας " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Παρακολούθηση διαφόρων πληροφοριών σχετικών με το υλικό, όπως χρήση CPU, " "χρήση μνήμης κτλ. Υποστηρίζει γραφήματα, σχεδιαγράμματα με οριζόντιες " "μπάρες, διαγράμματα με στήλες, παρακολούθηση μέσω κειμένου και φλόγες που " "ανεβοκατεβαίνουν." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Πνευματικά Δικαιώματα %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Αισθητήρας %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Αισθητήρας %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ανεμιστήρας %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ανεμιστήρας %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Παρασκήνιο" #: src/ui.glade.h:4 msgid "Devices" msgstr " Συσκευές" #: src/ui.glade.h:5 msgid "General" msgstr "Γενικά" #: src/ui.glade.h:6 msgid "Options" msgstr "Επιλογές" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Εφαρμογή προβολής" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Ένας τρέχων μέσος όρος από τον αριθμό των εκτελούμενων διεργασιών" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Όλες οι CPUs" #: src/ui.glade.h:10 msgid "All data" msgstr "Όλα τα δεδομένα" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Χρονικό διάστημα ανάμεσα στις μετρήσεις (σε δευτερόλεπτα)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Χρήση C_PU" #: src/ui.glade.h:15 msgid "C_hange" msgstr "Α_λλαγή" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "Χ_ρώμα:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "Σ_τήλες" #: src/ui.glade.h:18 msgid "C_urves" msgstr "Κα_μπύλες" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Επιλέξτε μια συσκευή" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Επιλέξτε μια γραμματοσειρά" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Στή_λες:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Χρώμα της μπάρας" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Χρώμα της καμπύλης" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Χρώμα της φλόγας" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Σύνδεση:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Συσκευές" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Κατεύθυνση:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Είσαγετε ένα φάκελο που βρίσκεται στον δίσκο για παρακολούθηση" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (πρώτο)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (δεύτερο)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (τρίτο)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Φάκελος:" #: src/ui.glade.h:33 msgid "General" msgstr "Γενικά" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Προτιμήσεις Παρακολούθησης Υλικού" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Εισερχόμενα δεδομένα" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Παρακολούθηση όλων των CPUs" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Παρακολούθηση συσκευών με την χρήση κυμαινόμενων φλογών" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Παρακολούθηση συσκευών με την χρήση οριζόντιων bars" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Παρακολούθηση συσκευών με την χρήση γραμμικών γραφημάτων" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Παρακολούθηση συσκευών με την χρήση στέρεων στηλών" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Παρακολούθηση συσκευών με την χρήση περιγραφών κειμένου" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Παρακολούθηση μόνο μιας CPU" #: src/ui.glade.h:44 msgid "Network" msgstr "Δίκτυο" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Δεν εντοπίστηκαν αισθητήρες" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Αριθμός από στήλες για ταυτόχρονη προβολή" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Αριθμός μετρήσιμων σημείων για ταυτόχρονη προβολή" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Μόνο CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Εξερχόμενα δεδομένα" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Διαλέξτε ένα χρώμα" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Δείγματα:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Επιλέξτε τον αισθητήρα για παρακολούθηση" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "Επιλέξτε αν θα παρακολουθούνται τα εξερχόμενα ή τα εισερχόμενα δεδομένα ή " "και τα δύο" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Σειριακός δεσμός" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Μέγεθος του εφαρμογιδίου σε εικονοστοιχεία" #: src/ui.glade.h:57 msgid "Storage" msgstr "Αποθηκευτικός χώρος" #: src/ui.glade.h:58 msgid "System" msgstr "Σύστημα" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Θερμοκρασία" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Το μέγεθος των δεδομένων που στέλνονται μέσω μιας σύνδεσης δικτύου" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Το μέγεθος του χώρου του δίσκου που χρησιμοποιείται" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Το μέγεθος της μνήμης του δίσκου που χρησιμοποιείται" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Το μέγεθος της μνήμης που χρησιμοποιείται" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" "Το ποσοστό του χρόνου που ξοδεύεται στην εκτέλεση διεργασιών προσκηνίου" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Η ταχύτητα των ανεμιστήρων" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Η θερμοκρασία του εσωτερικού του συστήματος" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Το πάχος των καμπυλών (σε εικονοστοιχεία)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Τύπος σύνδεσης - Το Ethernet είναι ο πιό κοινός τύπος προσαρμοστή δικτύου " "τοπικού δικτύου" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Χρήση παρασκηνίου ταμ_πλώ" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Χρή_ση αυτού του χρώματος:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Χρήση αυτής της γρα_μματοσειράς:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Εφαρμογή προβολής" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Ποιός αριθ. CPU θα παρακολουθείται" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Προσθήκη" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Μπάρες" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Χρήση _δίσκου" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Ταχύτητα α_νεμιστήρα" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Φλόγες" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Πάχος _γραμμής:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Μέσος φό_ρτος" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Χρήση _μνήμης" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Παρακολου_θούμενες συσκευές:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Network throughput" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Απομάκρυνση" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Μέγεθος" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Χρήση _Swap" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Θερμοκρασία" #: src/ui.glade.h:89 msgid "_Text" msgstr "Κεί_μενο" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Διάστημα ανανέωσης:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Μοιραίο σφάλμα" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Όλοι οι επεξεργαστές" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Επεξεργαστής αρ. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Μνήμη βασισμένη στο δίσκο" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Swap" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Μέσος Φόρτος" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Φόρτος" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Μνήμη" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Μνήμη" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Δίσκος (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, in" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, out" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Θερμοκρασία %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Θερμοκρασία %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Θερμοκ. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Ανεμιστήρας %1 ταχύτητα: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Ανεμιστήρας %1 ταχύτητα" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Συσκευή" hardware-monitor-1.0/po/es.po0000755000175000017500000003242610021711723013146 00000000000000# SPANISH L10N FOR HARDWARE MONITOR. # Copyright (C) 2003, The Free Software Foundation Inc. # This file is distributed under the same license as the HARDWARE MONITOR package. # Antonio Ognio , 2003. # msgid "" msgstr "" "Project-Id-Version: es\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-11-11 16:54-0300\n" "Last-Translator: Antonio Ognio \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.2\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Monitor de Hardware" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Monitorear dispositivos de hardware" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Utilidad" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor de Hardware: no se pudo cargar el ícono '%1'. \n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Preferencias..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Ayuda" #: src/applet.cpp:106 msgid "_About..." msgstr "_Acerca de..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Antonio Ognio " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Monitorea variada información relacionada con el hardware como el uso " "delCPU, la memoria, etc. Soporta gráficos de curvas, barras y columnas," "monitoreo textual y llamas fluctuantes" #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilador %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilador %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Segundo Plano" #: src/ui.glade.h:4 msgid "Devices" msgstr "Dispositivos" #: src/ui.glade.h:5 msgid "General" msgstr "General" #: src/ui.glade.h:6 msgid "Options" msgstr "Opciones" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visor" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Un promedio del número de procesos simultáneos" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Todos los CPUs" #: src/ui.glade.h:10 msgid "All data" msgstr "Todos los datos" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Cantidad de tiempo entre las mediciones (en segundos)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Uso del C_PU" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Cambio" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "C_olor:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "C_olumnas" #: src/ui.glade.h:18 msgid "C_urves" msgstr "C_urvas" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Escojer un Dispositivo" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Escoger una Fuente" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Co_lumnas:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Color de la barra" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Color de la curva" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Color de la llama" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Conexión:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Dispositivos" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Dirección:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Ingresa una carpeta en el disco a monitorear" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (primera)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (segunda)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (tercera)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Carpeta:" #: src/ui.glade.h:33 msgid "General" msgstr "General" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Preferencias del Monitor de Hardware" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Date entrante" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Monitorear todos los CPUs" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Monitorear dispositivos usando llamas fluctuantes" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Monitorear dispositivos usando barras horizontales" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Monitorear dispositivos usando gráficos de líneas" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Monitorear dispositivos usando columnas sólidas" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Monitorear dispositivos usandos descripciones textuales" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Monitorear un solo CPU" #: src/ui.glade.h:44 msgid "Network" msgstr "Red" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "No se detectaron sensores" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Número de columnas a mostrar simultáneamente" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Número de puntos medidos a mostrar simultáneamente" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Solo CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Datos salientes" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Escoger un Color" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Muestras:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Seleccion un sensor a monitorear" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Seleccione monitorear datos entrantes, salientes o ambos" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Enlace Serial" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Tamaño del applet en pixeles" #: src/ui.glade.h:57 msgid "Storage" msgstr "Almacenamiento" #: src/ui.glade.h:58 msgid "System" msgstr "Sistema" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatura" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "La cantidad de datos enviados a través de la conexión de red" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "La cantidad de espacio de disco usado" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "La cantidad de memoria basada en disco usada" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "La cantidad de memoria usada" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" "El porcentaje de tiempo que se gasta corriendo procesos en primer plano" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "La velocidad de los ventiladores" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "La temperatura del interior del sistema" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Grosor de la curva (en pixels)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Tipo de conexión - Ethernet es el tipo de adaptador de red de área local más " "común " #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Usar fondo del _panel" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Usar _este color:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Usuar esta f_uente:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Visor" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Que número de CPU monitorear" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Añadir" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Barras" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Uso del disco" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Velocidad _Ventilador" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Llamas" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Ancho de _Lineas" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Promedio de _Carga" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Uso de _Memoria" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Dispositivos _Monitoreados" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "A t_raves de la red" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Eliminar" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Tamaño:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "U_so de Memoria en Disco" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatura" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Texto" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Intervalo de Actualización" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Error fatal" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Todos los procesadores" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Procesador Nro. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memoria basada en disco" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Partición de Intercambio" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Promedio de Carga" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Carga" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memoria" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 Kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disco (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, entrada" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, salida" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatura %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatura %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Velocidad ventilador %1: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Velocidad ventilador %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Dispositivo" hardware-monitor-1.0/po/fr.po0000644000175000017500000003310110021711724013133 00000000000000# French translation of hardware-monitor. # Copyright (C) 2004 Free Software Foundation, Inc. # This file is distributed under the same license as the hardware-monitor package. # # David Soulayrol , 2004. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor 0.7\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2004-01-24 23:38+0100\n" "Last-Translator: David Soulayrol \n" "Language-Team: GNOME French Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Moniteur matériel" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Périphériques du moniteur matériel" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Utilitaire" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor matériel : impossible de charger l'icône « %1 ».\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Préférences..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Aide" #: src/applet.cpp:106 msgid "_About..." msgstr "À _propos..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1 : %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "David Soulayrol " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Surveille diverses données relatives au matériel telles que l'usage du " "processeur, de la mémoire, etc. Supporte les graphes sous forme de courbes " "ou de barres horizontales, les diagrammes à colonnes, l'affichage textuel et " "les flammes fluctuantes." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Capteur %1 : « %2 »" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Capteur %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilateur %1 : « %2 »" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilateur %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Arrière plan" #: src/ui.glade.h:4 msgid "Devices" msgstr "Périphériques" #: src/ui.glade.h:5 msgid "General" msgstr "Général" #: src/ui.glade.h:6 msgid "Options" msgstr "Options" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visionneur" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Une moyenne du nombre de processus s'exécutant simultanément" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Tous les processeurs" #: src/ui.glade.h:10 msgid "All data" msgstr "Toutes les données" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Durée entre les mesures (en secondes)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU : 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Utilisation du _processeur" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Modifier" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "C_ouleur :" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "C_olonnes" #: src/ui.glade.h:18 msgid "C_urves" msgstr "_Courbes" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Choisir un périphérique" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Choisir une police" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Co_lonnes :" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Couleur de la barre" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Couleur de la courbe" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Couleur de la flamme" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Connexion :" #: src/ui.glade.h:26 msgid "Devices" msgstr "Périphériques" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Direction :" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Saisir un dossier résidant sur le disque à surveiller" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (premier)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (second)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (troisième)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Répertoire :" #: src/ui.glade.h:33 msgid "General" msgstr "Général" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Préférences du moniteur matériel" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Données entrantes" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Surveiller tous les processeurs" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Utiliser des flammes" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Utiliser des barres horizontales" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Utiliser des graphes de lignes" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Utiliser des graphes en colonnes" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Utiliser des descriptions textuelles" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Surveiller" #: src/ui.glade.h:44 msgid "Network" msgstr "Réseau" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Aucun capteur détécté" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Nombre de colonnes à afficher simultanément" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Nombre de points de mesure à afficher simultanément" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Seulement le processeur :" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Données sortantes" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Choisissez une couleur" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Exemples :" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Sélectionner le capteur à surveiller" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Choisir de surveiller les données entrantes, sortantes ou les deux" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Liaison série" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Taille de l'applet en pixels" #: src/ui.glade.h:57 msgid "Storage" msgstr "Stockage" #: src/ui.glade.h:58 msgid "System" msgstr "Système" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Température" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "La quantité de données envoyée à travers une connexion réseau" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "La quantité d'espace disque utilisée" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "La quantité de mémoire sur disque utilisée" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "La quantité de mémoire utilisée" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" "Le pourcentage de durée passée à exécuter les processus de premier plan" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "La vitesse des ventilateurs" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "La température à l'intérieur du système" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Épaisseur de la courbe (en pixels)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Type de connexion - Ethernet est le type d'adaptateur de réseau local le " "plus répandu" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Utiliser l'_arrière plan du tableau de bord" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Utiliser _cette couleur :" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Utiliser cette p_olice :" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Visionneur" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Le numéro du processeur à surveiller" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Ajouter" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Barres" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Utilisation du _disque" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Vitesse du ventilateur" #: src/ui.glade.h:79 msgid "_Flames" msgstr "F_lammes" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Largeur de ligne :" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Charge moyenne" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Utilisation de la _mémoire" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_Périphériques surveillés :" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Sortie réseau" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Retirer" #: src/ui.glade.h:86 msgid "_Size:" msgstr "T_aille :" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Utilisation de la mém_oire d'échange" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Température" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Texte" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Intervalle de mise à jour :" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Erreur fatale" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Tous les processeurs" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processeur n° %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mo" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Mémoire sur disque" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Mémoire d'échange" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Charge moyenne" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Charge" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Mémoire" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mém." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Go" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 ko" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 o" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disque (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Go/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mo/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 ko/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, entrant" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, sortant" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Sér." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Température %1 : « %2 »" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Température %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Vitesse du ventilateur %1 : « %2 »" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Vitesse du ventilateur %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Périphérique" hardware-monitor-1.0/po/hr.po0000644000175000017500000003226710021711724013151 00000000000000# Translation of hardware-monitor to Croatiann # Copyright (C) Croatiann team # Translators: Automatski Prijevod <>,Denis Lackovic ,pr pr ,Robert Vuković ,Vedran Vyroubal ,Vjekoslav Matausic , msgid "" msgstr "" "Project-Id-Version: hardware-monitor 0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2004-02-05 23:50+CET\n" "Last-Translator: auto\n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: TransDict server\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Praćenje hardvera" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Pratite hardverske uređaje" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Uslužni program" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Praćenje hardvera: ne mogu učitati sličicu '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Podešenja..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Pomoć" #: src/applet.cpp:106 msgid "_About..." msgstr "_O..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2 " #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Prevedeno na lokalizacija.linux.hr." #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Praćenje raznih podataka u vezi s hardverom, kao što je iskorištenost " "procesora, memorije itd. Podržava grafove, vodoravne trake, dijagrame u " "stupacima, tekstualno praćenje i promjenjljive plamenove." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Sva prava zadržana %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Senzor %1: „%2“" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Senzor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilator %1: „%2“" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilator %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "." #: src/ui.glade.h:3 msgid "Background" msgstr "Pozadina" #: src/ui.glade.h:4 msgid "Devices" msgstr "Uređaji" #: src/ui.glade.h:5 msgid "General" msgstr "Opšte" #: src/ui.glade.h:6 msgid "Options" msgstr "Opcije" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Preglednik" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Prosek broja uporednih procesa" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Svi procesori" #: src/ui.glade.h:10 msgid "All data" msgstr "Svi podaci" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Vrijeme između dva mjerenja (u sekundama)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Procesor: 15,0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Iskorištenost _procesora" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Promijeni" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Boja:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "_Stupci" #: src/ui.glade.h:18 msgid "C_urves" msgstr "_Krivulje" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Odaberite uređaj" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Odaberite pismo" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "_Stupci:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Boja trake" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Boja krivulje" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Boja plamena" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Veza:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Uređaji" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Smjer:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Unesite mapu na disku koji želite pratiti" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (prvi)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (drugi)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (treći)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Mapa:" #: src/ui.glade.h:33 msgid "General" msgstr "Općenito" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Postavke praćenja hardvera" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Ulazni podaci" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Prati sve procesore" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Prati uređaje pomoću promjenjivih plamenova" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Prati uređaje pomoću vodoravnih traka" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Prati uređaje pomoću linijskih grafova" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Prati uređaje pomoću ispunjenih stupaca" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Prati uređaje pomoću tekstualnih opisa" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Prati samo jedan procesor" #: src/ui.glade.h:44 msgid "Network" msgstr "Mreža" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Nisu pronađeni senzoru" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Koliko stupaca istovremeno prikazati" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Koliko izmjerenih točaka treba istovremeno prikazati" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Jedino procesor:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Izlazni podaci" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Odaberi boju" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "U_zorci:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Odaberite senzor koji želite pratiti" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Odaberite treba li pratiti ulazne, izlazne podatke ili i jedne i druge" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Serijska veza" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Veličina appleta u pikselima" #: src/ui.glade.h:57 msgid "Storage" msgstr "Spremište" #: src/ui.glade.h:58 msgid "System" msgstr "Sustav" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatura" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Količina podataka poslanih kroz mrežnu vezu" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Količina iskorištenog prostora na disku" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Količina iskorištene memorije na disku" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Količina iskorištene memorije" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Postotak vremena utrošen na izvršavanje nepozadinskih procesa" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Brzina ventilatora" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Temperatura unutar sustava" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Debljina krivulje (u pikselima)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "Vrsta veze — ethernet je najčešća vrsta uređaja u lokalnim mrežama" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Koristi pozadinu _ploče" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Koristi _ovu boju:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Koristi ovo _pismo:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Preglednik" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Broj procesora koji treba pratiti" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Dodaj" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Stupci" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Iskorištenost _diska" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Brzina _ventilatora" #: src/ui.glade.h:79 msgid "_Flames" msgstr "P_lamenovi" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Širina linije:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Prosječno _opterećenje" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Iskorištenost _memorije" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Prać_eni uređaji:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Mrežni protok" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Ukloni" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Veličina:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Iskorištenost swap memorije" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatura" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Tekstualni" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Vrijeme obnavljanja:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Ozbiljna greška" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Svi procesori" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Procesor br. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "Procesor" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "Procesor %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memorija na disku" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Swap" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Prosječno opterećenje" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Učitaj" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memorija" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disk (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, ušlo" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, izašlo" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatura %1: „%2“" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatura %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Brzina ventilatora %1: „%2“" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Brzina ventilatora %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Uređaj" hardware-monitor-1.0/po/ko.po0000644000175000017500000003237310021711725013150 00000000000000# Danish translation of Hardware Monitor. # Copyright (C) 2003 Free Software Foundation. # This file is distributed under the same license as the hardware-monitor package # sinsh , 2003. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-05-13 14:01+0900\n" "Last-Translator: sinsh \n" "Language-Team: sinsh \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "하드웨어 감시" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "하드웨어 감시 장치" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "유틸리티" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "하드웨어 감시: 아이콘을 읽을 수가 없습니다. '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "기본 설정...(_P)" #: src/applet.cpp:106 msgid "_Help" msgstr "도움말(_H)" #: src/applet.cpp:106 msgid "_About..." msgstr "정보(_A)" #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "sinsh " #: src/applet.cpp:595 #, fuzzy msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "CPU사용량, memory사용량 등 다양한 하드웨어와 관련된 정보를 감시합니다. 곡선 " "그래프, 수평좌표 막대기, 텍스트 감시 그리고 화염 등의 감시체계를 지원합니다." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "저작권 %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 #, fuzzy msgid "Fan %1: \"%2\"" msgstr "%1: %2" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "배경" #: src/ui.glade.h:4 msgid "Devices" msgstr "장치" #: src/ui.glade.h:5 msgid "General" msgstr "일반" #: src/ui.glade.h:6 msgid "Options" msgstr "선택사항" #: src/ui.glade.h:7 msgid "Viewer" msgstr "감시체계" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "동시에 실행하는 프로세스들의 평균 로드 수" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "모든 CPU" #: src/ui.glade.h:10 msgid "All data" msgstr "모든 데이타" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "측정치간의 시간량(초)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "C_PU 사용량(_C)" #: src/ui.glade.h:15 msgid "C_hange" msgstr "변화(_C)" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "색깔(_C)" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "" #: src/ui.glade.h:18 msgid "C_urves" msgstr "곡선(_C)" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "장치를 선택하세요." #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "폰트를 선택하세요." #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "막대기의 색깔" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "곡선의 색깔" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "화염의 색깔" #: src/ui.glade.h:25 msgid "Connection:" msgstr "연결" #: src/ui.glade.h:26 msgid "Devices" msgstr "장치" #: src/ui.glade.h:27 msgid "Direction:" msgstr "방향" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "모니터할 디스크에 존재하는 폴더를 입력하세요." #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "이더넷 (첫번째)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "이더넷 (두번째)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "이더넷 (세번째)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "폴더" #: src/ui.glade.h:33 msgid "General" msgstr "일반" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "하드웨어 감시 설정" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "들어오는 데이타" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "모뎀" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "모든 CPU감시" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "화염 감시체계를 이용하여 장치를 감시" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "수평좌표 막대기 감시체계를 이용하여 장치를 감시" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "곡선 그래프 감시체계를 이용하여 장치를 감시" #: src/ui.glade.h:41 #, fuzzy msgid "Monitor devices using solid columns" msgstr "곡선 그래프 감시체계를 이용하여 장치를 감시" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "텍스트 형태의 감시체계를 이용하여 장치를 감시" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "단일 CPU감시" #: src/ui.glade.h:44 msgid "Network" msgstr "" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "" #: src/ui.glade.h:46 #, fuzzy msgid "Number of columns to show simultanously" msgstr "동시에 정확한 수치의 갯수를 보여주기" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "동시에 정확한 수치의 갯수를 보여주기" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "단일 CPU" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "나가는 데이타" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "색깔 선택" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "샘플" #: src/ui.glade.h:52 #, fuzzy msgid "Select the sensor to monitor" msgstr "모니터하지 않을 CPU" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "들어오는 데이타 또는 나가는 데이타 아니면 둘 모두를 모니터할 것인지 선택하세" "요 " #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "시리얼 링크" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "애플릿의 픽셀 크기" #: src/ui.glade.h:57 msgid "Storage" msgstr "" #: src/ui.glade.h:58 msgid "System" msgstr "" #: src/ui.glade.h:59 msgid "Temperature" msgstr "온도" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "네트워크를 통과하는 데이타량" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "사용한 디스크 공간량" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "사용한 스왑량" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "사용한 메모리량" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "foreground 프로세스들이 소비한 로드의 시간율" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "시스템 내부 온도" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "곡선의 두께 (픽셀)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "연결 형태 - 이더넷이 가장 일반적인 로컬 네트워크 어댑터 형태" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "해당 패널 배경사용(_P)" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "해당 색깔사용(_C)" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "해당 폰트사용(_F)" #: src/ui.glade.h:72 msgid "Viewer" msgstr "감시체계" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "모니터하지 않을 CPU" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "추가(_A)" #: src/ui.glade.h:76 msgid "_Bars" msgstr "막대기(_B)" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "디스크 사용량(_D)" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "" #: src/ui.glade.h:79 msgid "_Flames" msgstr "화염(_F)" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "선 너비(_L)" #: src/ui.glade.h:81 msgid "_Load average" msgstr "평균 로드(_L)" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "메모리 사용량(_M)" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "감시중인 장치(_M)" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "네트워크 처리량(_N)" #: src/ui.glade.h:85 msgid "_Remove" msgstr "지우기(_R)" #: src/ui.glade.h:86 msgid "_Size:" msgstr "크기(_S)" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "스왑 사용량(_S)" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "온도(_T)" #: src/ui.glade.h:89 msgid "_Text" msgstr "텍스트(_T)" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "갱신 주기(_U)" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "치명적인 오류" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "모든 프로세스" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "프로세스 no. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "스왑 메모리" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "스왑" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "평균 로드" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "로드" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "메모리" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "메모리" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "디스크 (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, in" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, out" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "이더넷 %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "모뎀" #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "시리얼" #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 #, fuzzy msgid "Temperature %1: \"%2\"" msgstr "온도" #: src/monitor-impls.cpp:775 #, fuzzy msgid "Temperature %1" msgstr "온도" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 #, fuzzy msgid "Temp. %1" msgstr "온도" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 #, fuzzy msgid "%1 rpm" msgstr "%1 b" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "" #: src/preferences-window.cpp:175 msgid "Device" msgstr "장치" #~ msgid "Choose what to monitor:" #~ msgstr "무엇을 감시할 것인지 선택하세요:" hardware-monitor-1.0/po/ms.po0000644000175000017500000003166210021711725013156 00000000000000# Malay message for hardware-monitor # Copyright (C) 2003 Free Software Foundation, Inc. # Hasbullah Bin Pit (sebol) , 2003. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2002-02-04 00:07+0800\n" "Last-Translator: Hasbullah Bin Pit \n" "Language-Team: Projek Gabai \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Monitor Perkakasan" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Peranti monitor perkakasan" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Utiliti" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor Perkakasan: tak dapat memuatkan ikon '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "Ke_utamaan..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Bantuan" #: src/applet.cpp:106 msgid "_About..." msgstr "_Perihal..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" "Hasbullah Bin Pit \n" "I Love my wife " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Monitor pelbagai maklumat kerkaitan perkakasan, seperti penggunaan CPU, " "penggunaan memori dll. Menyokong graf lekuk, plot bar mengufuk, diagram " "lajur, pengmonitoran tekstual dan api membara." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Hakcipta %l 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Penderia %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Penderia %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Kipas %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Kipas %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "LatarBelakang" #: src/ui.glade.h:4 msgid "Devices" msgstr "Peranti" #: src/ui.glade.h:5 msgid "General" msgstr "Umum" #: src/ui.glade.h:6 msgid "Options" msgstr "Opsyen" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Pelihat" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Purata bergerak bagi bilangan proses serentak" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Semua CPU" #: src/ui.glade.h:10 msgid "All data" msgstr "Semua data " #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Amaun masa diantara ukuran (dlm saat)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Penggunaan C_PU" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Tukar" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Warna:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "K_olum" #: src/ui.glade.h:18 msgid "C_urves" msgstr "Kel_uk" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Pilih satu Peranti" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Pilih satu Font" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Ko_lum:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Warna bagi bar" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Warna bagi keluk" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Warna bagi api" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Sambungan:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Peranti" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Hala:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Masukkan folrder yg bermastautin pada cakera untuk dimonitor" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (pertama)" # ui/galeon.glade.h:153 #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (kedua)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (ketiga)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Folder:" #: src/ui.glade.h:33 msgid "General" msgstr "Umum" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Keutamaan Monitor Perkakasan" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Data masukan" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Monitor semua CPU" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Monitor peranti menggunakan api membara" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Monitor peranti menggunakan bar mengufuk" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Monitor peranti menggunakan graf garisan" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Monitor peranti menggunakan kolum tegar" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Monitor peranti menggunakan keterangan teks" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Monitor hanya satu CPU tunggal" #: src/ui.glade.h:44 msgid "Network" msgstr "Rangkaian" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Tiada penderia dikesan" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Bilangan kolum untuk dipapar serentak" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Bilangan titik diukur untuk dipaparkan serentak" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Hanya CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Data keluaran" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Pilih satu Warna" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Contoh:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Pilih penderia untuk dimonitor" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Pilih samada untuk monitor data masukan atau keluaran atau kedua-dua" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Pautan bersiri" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Saiz bagi aplet dalam piksel" #: src/ui.glade.h:57 msgid "Storage" msgstr "Storan" #: src/ui.glade.h:58 msgid "System" msgstr "Sistem" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Suhu" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Jumlah data dihantar melalui sambungan rangkaian" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Jumlah bagi ruang cakera digunakan." #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Jumlah bagi memori berasaskan-cakera digunakan" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Jumlah memori digunakan" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Peratusan masa yang digunakan oleh proses latardepan yg terlaksana" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Kelajuan kipas" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Suhu bagi bahagian dalam sistem" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Tebal keluk (dalam piksel)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Jenis sambungan - Ethernet adalah jenis penyesuai rangkaian kawasan setempat " "paling biasa" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Guna Latarbelakang _panel" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Guna _warna ini:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Guna _font ini:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Pelihat" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "CPU mana untuk dimonitor" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Tambah" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Bar" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Pengunaan _cakera" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Kelajuan _kipas" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Api" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Lebar garisan:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Purata muatan" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Penggunaan _memori" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Peranti Di_monitor:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "Truput _rangkaian" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Buang" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Saiz:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Penggunaan _Swap" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Suhu" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Teks" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "Sela _kemaskini:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Ralat Fatal" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Semua Pemproses" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Pemproses no. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPUi %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memori berasaskan-cakera" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Swap" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Purata muatan" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Muatan" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memori" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Cakera (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gib/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, masuk" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, keluar" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Sir." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Suhu %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Suhu: %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Suhu. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Kielajuan kipas %1: \"%2\" " #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Kelajuan kipas %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Peranti" hardware-monitor-1.0/po/nl.po0000644000175000017500000003260210021711725013143 00000000000000# Dutch translation of hardware-monitor. # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the hardware-monitor package. # Elros Cyriatan , 2003. # # msgid "" msgstr "" "Project-Id-Version: hardware-monitor head\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2004-03-04 21:02+0100\n" "Last-Translator: Elros Cyriatan \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Hardware informatie" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Hardware apparaten bijhouden" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Programma" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Hardware informatie: kan het pictogram '%1' niet laden.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Voorkeuren..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Hulp" #: src/applet.cpp:106 msgid "_About..." msgstr "_Info..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Elros Cyriatan " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Hardware-gerelateerde informatie in de gaten houden, zoals processorgebruik," "geheugengebruik enz. Ondersteunt grafieken van krommen, horizontale balken," "kolomdiagrammen, tekstuele informatie en fluctuerende vlammen." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilator %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilator %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Achtergrond" #: src/ui.glade.h:4 msgid "Devices" msgstr "Apparaten" #: src/ui.glade.h:5 msgid "General" msgstr "Algemeen" #: src/ui.glade.h:6 msgid "Options" msgstr "Opties" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Weergave" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Een lopend gemiddelde van het aantal tegelijk lopende processen" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Alle processors" #: src/ui.glade.h:10 msgid "All data" msgstr "Alle gegevens" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Hoeveelheid tijd tussen metingen (in seconden)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Processor: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "_Processorgebruik" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Wijzigen" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Kleur:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "K_olommen" #: src/ui.glade.h:18 msgid "C_urves" msgstr "K_rommen" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Kies een apparaat" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Kies een lettertype" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "K_olommen:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Kleur van de balk" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Kleur van de kromme" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Kleur van de vlam" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Verbinding:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Apparaten" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Richting:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Geef een map op de schijf die moet worden bijgehouden" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (eerste)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (tweede)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (derde)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Map:" #: src/ui.glade.h:33 msgid "General" msgstr "Algemeen" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Hardware informatie voorkeuren" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Inkomende gegevens" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Alle processors bijhouden" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Apparaten bijhouden met fluctuerende vlammen" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Apparaten bijhouden met horizontale balken" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Apparaten bijhouden met lijngrafieken" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Apparaten bijhouden met gevulde kolommen" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Apparaten bijhouden met tekstbeschrijvingen" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Alleen een enkele processor bijhouden" #: src/ui.glade.h:44 msgid "Network" msgstr "Netwerk" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Geen sensors gevonden" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Aantal kolommen dat tegelijkertijd moet worden weergegeven" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Aantal gemeten punten om tegelijk weer te geven" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Alleen processor:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Uitgaande gegevens" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Kies een kleur" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Monsters:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Selecteer een sensor om bij te houden" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "Kies of inkomende of uitgaande gegevens of beide moeten worden bijgehouden" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Seriële verbinding" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "_Vrije ruimte weergeven in plaats van gebruikte" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Grootte van applet in beeldpunten" #: src/ui.glade.h:57 msgid "Storage" msgstr "Opslag" #: src/ui.glade.h:58 msgid "System" msgstr "Systeem" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatuur" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Hoeveelheid gegevens verzonden over een netwerkverbinding" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Hoeveelheid schijfruimte in gebruik" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Hoeveelheid schijf-gebaseerd geheugen in gebruik" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Hoeveelheid geheugen in gebruik" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" "Het percentage van de tijd dat wordt gebruikt om voorgrond-processen te " "draaien" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "De snelheid van de ventilators" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "De temperatuur in het systeem" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Dikte van de kromme (in beeldpunten)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Het soort verbinding - Ethernet is het meest gebruikte soort adapter voor " "lokale netwerken" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "_Paneel achtergrond gebruiken" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "_Deze kleur gebruiken:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Dit _lettertype gebruiken:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Weergave" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "De bij te houden processor" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "Draadloos" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Toevoegen" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Balken" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Schijfgebruik" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Ventilatorsnelheid" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Vlammen" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Lijnbreedte:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Systeembelasting" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "_Geheugengebruik" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_Bijgehouden apparaten:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Netwerk doorvoersnelheid" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Verwijderen" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Grootte:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "_Wisselgeheugen gebruik" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatuur" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Tekst" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Bijwerkingsinterval:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Fatale fout" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Alle processors" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processor no. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "Processor" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "Processor %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Schijf-gebaseerd geheugen" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Wisselgeheugen" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Systeembelasting" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Belasting" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Geheugen" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Geh." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Schijf (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, in" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, uit" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "Draadl." #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatuur %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatuur %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Ventilator %1 snelheid: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Ventilator %1 snelheid" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Apparaat" hardware-monitor-1.0/po/no.po0000644000175000017500000002640210021711726013150 00000000000000# Norwegian translations for PACKAGE package. # Copyright (C) 2004 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Kjartan Maraas , 2004. # msgid "" msgstr "" "Project-Id-Version: hardware-monitor 0.5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2004-01-16 20:57+0100\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Maskinvaremonitor" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Overvåk maskinvareenheter" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Verktøy" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Brukervalg..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Hjelp" #: src/applet.cpp:106 msgid "_About..." msgstr "_Om..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Kjartan Maraas " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Opphavsrett %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: «%2»" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Vifte %1: «%2»" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Vifte %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Bakgrunn" #: src/ui.glade.h:4 msgid "Devices" msgstr "Enheter" #: src/ui.glade.h:5 msgid "General" msgstr "Generelt" #: src/ui.glade.h:6 msgid "Options" msgstr "Alternativer" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visning" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Alle CPUer" #: src/ui.glade.h:10 msgid "All data" msgstr "Alle data" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "" #: src/ui.glade.h:15 msgid "C_hange" msgstr "" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "F_arge:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "K_olonner" #: src/ui.glade.h:18 msgid "C_urves" msgstr "K_urver" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Velg en enhtet" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Velg en skrift" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "" #: src/ui.glade.h:25 msgid "Connection:" msgstr "" #: src/ui.glade.h:26 msgid "Devices" msgstr "Enheter" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Retning:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Mappe:" #: src/ui.glade.h:33 msgid "General" msgstr "Generelt" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Innkommende data" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "" #: src/ui.glade.h:44 msgid "Network" msgstr "Nettverk" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Kun CPU" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Utgående data" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Velg en farge" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Seriell forbindelse" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "" #: src/ui.glade.h:57 msgid "Storage" msgstr "Lagring" #: src/ui.glade.h:58 msgid "System" msgstr "System" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatur" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "" #: src/ui.glade.h:72 msgid "Viewer" msgstr "" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Legg til" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Søyler" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Diskbruk" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Viftehastighet" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Flammer" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Linjebredde:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Snittbe_lastning" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "_Minnebruk" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "" #: src/ui.glade.h:85 msgid "_Remove" msgstr "Fje_rn" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Størrelse:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatur" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Tekst" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Fatal feil" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Alle prosessorer" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Snittbelastning" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Last" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Minne" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Minne" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disk (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "" #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "" #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Enhet" hardware-monitor-1.0/po/pl.po0000644000175000017500000002656110021711726013155 00000000000000# Copyright (C) 2001-2002 Free Software Foundation, Inc. # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Aktualną wersję tego pliku możesz odnaleźć w repozytorium cvs.gnome.pl # (:pserver:anonymous@cvs.gnome.pl:/home/cvs, puste hasło) # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas na adres: # translators@gnome.pl # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-12-29 15:50+0100\n" "Last-Translator: GNOME PL Team \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Monitor sprzętu" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Narzędzie" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor sprzętu: nie można wczytać ikony \"%1\".\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Preferencje..." #: src/applet.cpp:106 msgid "_Help" msgstr "P_omoc" #: src/applet.cpp:106 msgid "_About..." msgstr "_O programie..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "GNOME PL Team " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Czujnik %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Czujnik %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Wentylator %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Wentylator %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Tło" #: src/ui.glade.h:4 msgid "Devices" msgstr "Urządzenia" #: src/ui.glade.h:5 msgid "General" msgstr "Ogólne" #: src/ui.glade.h:6 msgid "Options" msgstr "Opcje" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Przeglądarka" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Średnia liczba uruchomionych równocześnie procesów" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Wszystkie procesory" #: src/ui.glade.h:10 msgid "All data" msgstr "Wszystkie dane" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Odstęp czasowy pomiędzy pomiarami (w sekundach)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Procesor: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Użycie p_rocesora" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Zmień" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "K_okor:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "Kol_umny" #: src/ui.glade.h:18 msgid "C_urves" msgstr "Krzy_we" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Wybierz urządzenie" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Wybierz czcionkę" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Ko_lumny:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Kolor paska" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Kolor krzywej" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Połączenie:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Urządzenia" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Kierunek:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "" #: src/ui.glade.h:32 msgid "Folder:" msgstr "" #: src/ui.glade.h:33 msgid "General" msgstr "" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "" #: src/ui.glade.h:44 msgid "Network" msgstr "" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "" #: src/ui.glade.h:57 msgid "Storage" msgstr "" #: src/ui.glade.h:58 msgid "System" msgstr "" #: src/ui.glade.h:59 msgid "Temperature" msgstr "" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "" #: src/ui.glade.h:72 msgid "Viewer" msgstr "" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "" #: src/ui.glade.h:76 msgid "_Bars" msgstr "" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "" #: src/ui.glade.h:79 msgid "_Flames" msgstr "" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "" #: src/ui.glade.h:81 msgid "_Load average" msgstr "" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "" #: src/ui.glade.h:85 msgid "_Remove" msgstr "" #: src/ui.glade.h:86 msgid "_Size:" msgstr "" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "" #: src/ui.glade.h:89 msgid "_Text" msgstr "" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "" #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "" #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "" #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Urządzenie" hardware-monitor-1.0/po/pt.po0000644000175000017500000003244510021711726013163 00000000000000# hardware-monitor's Portuguese translation. # Copyright (C) 2003 hardware-monitor # This file is distributed under the same license as the hardware-monitor package. # Duarte Loreto , 2003. # msgid "" msgstr "" "Project-Id-Version: 2.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-09-14 17:00+0000\n" "Last-Translator: Duarte Loreto \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Monitor de Hardware" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Monitor de dispositivos hardware" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Utilitário" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor de Hardware: incapaz de ler o ícone '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Peferências..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Ajuda" #: src/applet.cpp:106 msgid "_About..." msgstr "_Sobre..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "Duarte Loreto " #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Monitoriza vária informação relativa ao hardware, tal como utilização de " "CPU, memória, etc. Suporta gráficos de curvas, barras horizontais, diagramas " "de colunas, monitorização de texto e chamas flutuantes." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventoinha %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventoinha %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Fundo" #: src/ui.glade.h:4 msgid "Devices" msgstr "Dispositivos" #: src/ui.glade.h:5 msgid "General" msgstr "Geral" #: src/ui.glade.h:6 msgid "Options" msgstr "Opções" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visualizador" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Uma média deslizante do número simultâneo de processos" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Todos os CPUs" #: src/ui.glade.h:10 msgid "All data" msgstr "Todos os dados" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Tempo entre medidas (em segundos)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Utilização C_PU" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Alteração" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "C_or:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "C_olunas" #: src/ui.glade.h:18 msgid "C_urves" msgstr "C_urvas" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Seleccione um Dispositivo" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Seleccione uma Fonte" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Co_lunas:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Cor da barra" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Cor da curva" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Cor da chama" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Ligação:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Dispositivos" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Direcção:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Introduza uma pasta que resida no disco a monitorizar" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (primeira)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (segunda)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (terceira)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Pasta:" #: src/ui.glade.h:33 msgid "General" msgstr "Geral" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Preferências Monitor Hardware" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Dados entrados" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Monitorizar todos os CPUs" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Monitorizar dispositivos utilizando chamas flutuantes" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Monitorizar dispositivos utilizando barras horizontais" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Monitorizar dispositivos utilizando gráficos de linhas" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Monitorizar dispositivos utilizando colunas sólidas" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Monitorizar dispositivos utilizando descrições de texto" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Monitorizar apenas um CPU" #: src/ui.glade.h:44 msgid "Network" msgstr "Rede" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Nenhum sensor detectado" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Número de colunas a apresentar simultaneamente" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Número de pontos de medição a apresentar simultaneamente" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Apenas CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Dados saídos" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Seleccione uma Cor" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Amostras:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Seleccione o sensor a monitorizar" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Seleccione se monitorizar dados entrados, saídos ou ambos" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Ligação série" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Tamanho da applet em pixels" #: src/ui.glade.h:57 msgid "Storage" msgstr "Armazenamento" #: src/ui.glade.h:58 msgid "System" msgstr "Sistema" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatura" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "A quantidade de dados enviados através de uma ligação de rede" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "A quantidade de espaço em disco utilizado" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "A quantidade de memória baseada em disco (swap) utilizada" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "A quantidade de memória utilizada" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "A percentagem de tempo dispendida a executar processos visíveis" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "A velocidade das ventoinhas" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "A temperatura no interior do seu sistema" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "A espessura da curva (em pixels)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Tipo de ligação - Ethernet é o tipo de adaptador de rede para redes locais " "mais comum" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Utilizar fundo de _painel" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Utilizar es_ta cor:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Utilizar esta f_onte:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Visualizador" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Que nº de CPU monitorizar" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Adicionar" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Barras" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Utilização _disco" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Velocidade _ventoinha" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Chamas" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Espessura _linha:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Carga média" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Utilização _memória" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Dispositivos _monitorizados:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Velocidade de rede" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Remover" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Tamanho:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Utilização _swap" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatura" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Texto" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Interval actualização:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Erro fatal" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Todos os processadores" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processador nº %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memória baseada em disco" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Swap" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Carga média" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Carga" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memória" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disco (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, entr" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, saidos" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Sér." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2º" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatura %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatura %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Velocidade ventoinha %1: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Velocidade ventoinha %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Dispositivo" hardware-monitor-1.0/po/pt_BR.po0000644000175000017500000003243410021711727013545 00000000000000# Portuguese/Brazil translation of Hardware-monitor. # Copyright (C) 2003 THE Hardware-monitor'S COPYRIGHT HOLDER # This file is distributed under the same license as the Hardware-monitor package. # Tiago Cardoso Menezes , 2003. # msgid "" msgstr "" "Project-Id-Version: Hardware-monitor 0.7-5\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-12-12 11:30-0500\n" "Last-Translator: Tiago Cardoso Menezes \n" "Language-Team: Portuguese/Brazil \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Monitor do Hardware" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Monitor dos dispostivos de hardware" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Utilitário" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Monitor do Hardware: não pode carregar o ícone '%1'.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Preferências..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Ajuda" #: src/applet.cpp:106 msgid "_About..." msgstr "_Sobre..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1:·%2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "créditos-tradutores" #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Monitora diversas informações sobre hardware, com uso da CPU, uso da memória," "etc. Suporte a gráficos de curva, com barras horizontais, diagrama em " "colunas, monitoramento textual e chamas flutuantes." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Lauresen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor·%1:·\"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor·%1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilador %1:·\"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilador %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Fundo" #: src/ui.glade.h:4 msgid "Devices" msgstr "Dispositivos" #: src/ui.glade.h:5 msgid "General" msgstr "Geral" #: src/ui.glade.h:6 msgid "Options" msgstr "Opções" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visualizador" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "A média de processos rodando simultanêamente" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Todas CPUs" #: src/ui.glade.h:10 msgid "All data" msgstr "Todos os dados" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Quantidade de tempo entre as medidas (em segundos)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "CPU: 15.0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Uso C_PU " #: src/ui.glade.h:15 msgid "C_hange" msgstr "M_udar" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "C_or:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "C_olunas" #: src/ui.glade.h:18 msgid "C_urves" msgstr "C_urvas" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Escolha o Dispositivo" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Escolha a Fonte" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Co_lunas:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Cor da barra" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Cor da curva" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Cor da chama" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Conexão:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Dispositivos" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Direção:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Adicione uma pasta do disco para monitorar" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (primeira)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (segunda)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (terceira)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Pasta:" #: src/ui.glade.h:33 msgid "General" msgstr "Geral" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Preferências do Monitor Hardware" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Dados recebidos" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Monitora todas as CPUs" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Monitorando dispositivos utilizando chamas flutuantes" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Monitorando dispositivos utilizando barras horizontais" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Monitorando dispositivo utilizando gráficos em linha" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Monitorando·dispositivo·utilizando colunas sólidas" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Monitorando·dispositivo·utilizando descrição de texto" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Monitorando apenas uma CPU" #: src/ui.glade.h:44 msgid "Network" msgstr "Rede" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Nenhum sensor detectado" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Número de colunas mostradas simultâneamente" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Número de pontos de medida mostrados simultâneamente" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Somente CPU:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Dados enviados" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Escolha uma Cor" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "E_xemplos:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Selecione um sensor para monitorar" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "" "Selecione se o monitoramento vai ser de entrada ou saida de dados ou ambos" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Link serial" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Tamanho do applet em pixels" #: src/ui.glade.h:57 msgid "Storage" msgstr "Armazenamento" #: src/ui.glade.h:58 msgid "System" msgstr "Sistema" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatura" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Quantidade de dados enviados pela conexão de rede" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Quantidade de espaço usado no disco" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Quantidade de memória baseada em disco utilizada" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Quantidade de memória utilizada" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Percentual de tempo gasto rodando os processos ativos" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Velocidade dos ventiladores" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Temperatura interna do sistema" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Densidade da curva (em pixels)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Tipo de conexão - Ethernet é o tipo de adaptador de rede normalmente " "utilizado" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Usar _fundo no painel" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Usar _esta cor:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Usar esta f_onte:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Visualização" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Qual no. CPU vai para o monitor" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Adicionar" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Barras" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Uso do disco" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Velocidade do ventilador" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Fogo" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Largura da linha" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Média de carregamento" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "_Memória utilizada" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_Dispositivos monitorados" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Tráfego de Rede" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Remover" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Tamanho:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "_Swap utilizado" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatura" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Texto" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Intervalo de atualização:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Erro fatal" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Todos os processos" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processador no. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1·Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memória baseada em disco" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Swap" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Média de carregamento" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Carregar" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memória" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1·kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1·b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disco·(%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1·Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1·Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1·kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1·b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1,·dentro" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1,·saindo" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth.·%1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatura·%1:·\"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatura·%1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp.·%1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1·rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Ventilador·%1·velocidade:·\"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Ventilador·%1·velocidade" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Dispositivo" hardware-monitor-1.0/po/sr.po0000644000175000017500000003623710021711727013170 00000000000000# Serbian translation of hardware-monitor # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # # This file is distributed under the same license as the hardware-monitor package. # # Maintainer: Данило Шеган # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-09-14 15:27+0200\n" "Last-Translator: Данило Шеган \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Праћење хардвера" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Пратите хардверске уређаје" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Користан алат" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Праћење хардвера: не могу да учитам икону „%1“.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Поставке" #: src/applet.cpp:106 msgid "_Help" msgstr "_Помоћ" #: src/applet.cpp:106 msgid "_About..." msgstr "_О програму..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" "Данило Шеган \n" "\n" "Prevod.org — превод на српски језик." #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Праћење разних података у вези са хардвером, као што је искоришћеност " "процесора, меморије итд. Подржава графике, водоравне траке, дијаграме у " "колонама, текстуално праћење и променљиве пламенове." # bug: translators can insert © themselves (btw, this is different from monster-masher) #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Сва права задржана %1 2003 Оле Лаурсен" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Сензор %1: „%2“" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Сензор %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Вентилатор %1: „%2“" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Вентилатор %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Позадина" #: src/ui.glade.h:4 msgid "Devices" msgstr "Уређаји" #: src/ui.glade.h:5 msgid "General" msgstr "Опште" #: src/ui.glade.h:6 msgid "Options" msgstr "Опције" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Прегледач" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Стални просек броја упоредних процеса" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Сви процесори" #: src/ui.glade.h:10 msgid "All data" msgstr "Сви подаци" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Време између два мерења (у секундама)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Процесор: 15,0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Искоришћеност _процесора" #: src/ui.glade.h:15 msgid "C_hange" msgstr "Про_мени" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Боја:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "К_олоне" #: src/ui.glade.h:18 msgid "C_urves" msgstr "К_риве" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Изаберите уређај" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Изаберите фонт" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Ко_лоне:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Боја траке" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Боја криве линије" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Боја пламена" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Веза:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Уређаји" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Правац:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Унесите директоријум на диску који желите да пратите" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Мрежа (прва)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Мрежа (друга)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Мрежа (трећа)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Директоријум:" #: src/ui.glade.h:33 msgid "General" msgstr "Опште" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Поставке праћења хардвера" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Улазни подаци" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Модем" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Прати све процесоре" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Прати уређаје помоћу променљиве ватрице" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Прати уређаје помоћу водоравних трака" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Прати уређаје помоћу линијских графика" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Прати уређаје помоћу испуњених колона" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Прати уређаје помоћу текстуалних описа" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Прати само један процесор" #: src/ui.glade.h:44 msgid "Network" msgstr "Мрежа" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Нисам пронашао сензоре" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Колико колона да прикажем истовремено" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Колико измерених тачака да прикажем истовремено" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Једино процесор:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Излазни подаци" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Изаберите боју" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "У_зорци:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Изаберите сензор који желите да пратите" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Изаберите да ли да пратим улазне, излазне податке или и једне и друге" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Серијска веза" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Величина програмчета у тачкама" #: src/ui.glade.h:57 msgid "Storage" msgstr "Дискови" #: src/ui.glade.h:58 msgid "System" msgstr "Систем" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Температура" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Количина података послатих кроз мрежу" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Количина искоришћеног простора на диску" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Количина искоришћене меморије на диску" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Количина искоришћене меморије" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Постотак времена утрошен на извршавање главних процеса" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Брзина вентилатора" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Температура унутар система" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Дебљина криве линије (у тачкама)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "Врста везе — етернет је најчешћи врста уређаја у локалним мрежама" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Користи позадину _панела" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Користи _ову боју:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Користи овај _фонт:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Прегледач" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Процесор са којим бројем да пратим" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Додај" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Траке" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Искоришћеност _диска" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Брзина _вентилатора" #: src/ui.glade.h:79 msgid "_Flames" msgstr "В_атрице" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Дебљина _линије:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Просечно _оптерећење" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Искоришћеност _меморије" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Праћ_ени уређаји:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Мрежни проток" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Уклони" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Величина:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Искоришћеност _замене за меморију" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Температура" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Текст" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Време између два освежавања:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Кобна грешка" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Сви процесори" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Процесор бр. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "Проц." #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "Процесор %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Меморија на диску" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Зам." #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Просечно оптерећење" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Опт." #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Меморија" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Мем." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Диск (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, у" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, из" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Мрж. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Мод." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Сер." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Температура %1: „%2“" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Температура %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Темп. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 рпм" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Брзина вентилатора %1: „%2“" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Брзина вентилатора %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Уређај" hardware-monitor-1.0/po/sr@Latn.po0000644000175000017500000003240110021711727014074 00000000000000# Serbian translation of hardware-monitor # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # # This file is distributed under the same license as the hardware-monitor package. # # Maintainer: Danilo Šegan # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2003-09-14 15:27+0200\n" "Last-Translator: Danilo Šegan \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Praćenje hardvera" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Pratite hardverske uređaje" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Koristan alat" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Praćenje hardvera: ne mogu da učitam ikonu „%1“.\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Postavke" #: src/applet.cpp:106 msgid "_Help" msgstr "_Pomoć" #: src/applet.cpp:106 msgid "_About..." msgstr "_O programu..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" "Danilo Šegan \n" "\n" "Prevod.org — prevod na srpski jezik." #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Praćenje raznih podataka u vezi sa hardverom, kao što je iskorišćenost " "procesora, memorije itd. Podržava grafike, vodoravne trake, dijagrame u " "kolonama, tekstualno praćenje i promenljive plamenove." # bug: translators can insert © themselves (btw, this is different from monster-masher) #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Sva prava zadržana %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Senzor %1: „%2“" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Senzor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Ventilator %1: „%2“" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Ventilator %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Pozadina" #: src/ui.glade.h:4 msgid "Devices" msgstr "Uređaji" #: src/ui.glade.h:5 msgid "General" msgstr "Opšte" #: src/ui.glade.h:6 msgid "Options" msgstr "Opcije" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Pregledač" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Stalni prosek broja uporednih procesa" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Svi procesori" #: src/ui.glade.h:10 msgid "All data" msgstr "Svi podaci" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Vreme između dva merenja (u sekundama)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Procesor: 15,0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "Iskorišćenost _procesora" #: src/ui.glade.h:15 msgid "C_hange" msgstr "Pro_meni" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "_Boja:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "K_olone" #: src/ui.glade.h:18 msgid "C_urves" msgstr "K_rive" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Izaberite uređaj" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Izaberite font" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Ko_lone:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Boja trake" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Boja krive linije" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Boja plamena" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Veza:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Uređaji" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Pravac:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Unesite direktorijum na disku koji želite da pratite" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Mreža (prva)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Mreža (druga)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Mreža (treća)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Direktorijum:" #: src/ui.glade.h:33 msgid "General" msgstr "Opšte" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Postavke praćenja hardvera" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Ulazni podaci" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Prati sve procesore" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Prati uređaje pomoću promenljive vatrice" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Prati uređaje pomoću vodoravnih traka" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Prati uređaje pomoću linijskih grafika" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Prati uređaje pomoću ispunjenih kolona" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Prati uređaje pomoću tekstualnih opisa" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Prati samo jedan procesor" #: src/ui.glade.h:44 msgid "Network" msgstr "Mreža" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Nisam pronašao senzore" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Koliko kolona da prikažem istovremeno" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Koliko izmerenih tačaka da prikažem istovremeno" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Jedino procesor:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Izlazni podaci" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Izaberite boju" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "U_zorci:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Izaberite senzor koji želite da pratite" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Izaberite da li da pratim ulazne, izlazne podatke ili i jedne i druge" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Serijska veza" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Veličina programčeta u tačkama" #: src/ui.glade.h:57 msgid "Storage" msgstr "Diskovi" #: src/ui.glade.h:58 msgid "System" msgstr "Sistem" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatura" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Količina podataka poslatih kroz mrežu" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Količina iskorišćenog prostora na disku" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Količina iskorišćene memorije na disku" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Količina iskorišćene memorije" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Postotak vremena utrošen na izvršavanje glavnih procesa" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Brzina ventilatora" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Temperatura unutar sistema" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Debljina krive linije (u tačkama)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "Vrsta veze — eternet je najčešći vrsta uređaja u lokalnim mrežama" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Koristi pozadinu _panela" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Koristi _ovu boju:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Koristi ovaj _font:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Pregledač" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Procesor sa kojim brojem da pratim" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Dodaj" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Trake" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "Iskorišćenost _diska" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "Brzina _ventilatora" #: src/ui.glade.h:79 msgid "_Flames" msgstr "V_atrice" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "Debljina _linije:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "Prosečno _opterećenje" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "Iskorišćenost _memorije" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "Prać_eni uređaji:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Mrežni protok" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Ukloni" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Veličina:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Iskorišćenost _zamene za memoriju" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatura" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Tekst" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_Vreme između dva osvežavanja:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Kobna greška" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Svi procesori" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Procesor br. %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "Proc." #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "Procesor %1" #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 Mb" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Memorija na disku" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Zam." #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Prosečno opterećenje" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Opt." #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Memorija" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Mem." #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 Gb" #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kb" #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 b" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Disk (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, u" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, iz" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Mrž. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "" #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatura %1: „%2“" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatura %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 rpm" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Brzina ventilatora %1: „%2“" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Brzina ventilatora %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Uređaj" hardware-monitor-1.0/po/sv.po0000644000175000017500000003560510021711730013164 00000000000000# Swedish messages for hardware-monitor. # Copyright (C) 2003, 2004 Free Software Foundation, Inc. # Christian Rose , 2003, 2004. # # $Id: sv.po,v 1.3 2004/02/29 21:43:49 menthos Exp $ # msgid "" msgstr "" "Project-Id-Version: hardware-monitor\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2004-03-04 21:38+0100\n" "PO-Revision-Date: 2004-02-29 22:42+0100\n" "Last-Translator: Christian Rose \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: HardwareMonitor.server.in.in.h:1 src/applet.cpp:600 msgid "Hardware Monitor" msgstr "Hårdvaruövervakare" #: HardwareMonitor.server.in.in.h:2 msgid "Monitor hardware devices" msgstr "Övervaka hårdvaruenheter" #: HardwareMonitor.server.in.in.h:3 msgid "Utility" msgstr "Verktyg" #: src/applet.cpp:69 msgid "Hardware Monitor: cannot load the icon '%1'.\n" msgstr "Hårdvaruövervakare: kan inte läsa in ikonen \"%1\".\n" #. pop-up menu strings #: src/applet.cpp:106 msgid "_Preferences..." msgstr "_Inställningar..." #: src/applet.cpp:106 msgid "_Help" msgstr "_Hjälp" #: src/applet.cpp:106 msgid "_About..." msgstr "_Om..." #. note to translators: %1 is the name of a monitor, e.g. "CPU 1", and %2 is #. the current measurement, e.g. "78%" #: src/applet.cpp:203 msgid "%1: %2" msgstr "%1: %2" #. note to translators: this is used for composing a list of monitors; %1 #. is the previous part of the list and %2 is the part to append #: src/applet.cpp:210 msgid "" "%1\n" "%2" msgstr "" "%1\n" "%2" #. add documenters here #. note to translators: please fill in your names and email addresses #: src/applet.cpp:592 msgid "translator-credits" msgstr "" "Christian Rose\n" "Skicka synpunkter på översättningen till sv@li.org" #: src/applet.cpp:595 msgid "" "Monitor various hardware-related information, such as CPU usage, memory " "usage etc. Supports curve graphs, horizontal bar plots, column diagrams, " "textual monitoring and fluctuating flames." msgstr "" "Övervaka diverse hårdvarurelaterad information som exempelvis " "processoranvändning m.m. Stöder kurvgrafer, horisontella stapeldiagram, " "kolumndiagram, textövervakning och pulserande lågor." #. %1 is the copyright symbol #: src/applet.cpp:602 msgid "Copyright %1 2003 Ole Laursen" msgstr "Copyright %1 2003 Ole Laursen" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:114 msgid "Sensor %1: \"%2\"" msgstr "Sensor %1: \"%2\"" #: src/choose-monitor-window.cpp:116 msgid "Sensor %1" msgstr "Sensor %1" #. %2 is a descriptive string from sensors.conf #: src/choose-monitor-window.cpp:138 msgid "Fan %1: \"%2\"" msgstr "Fläkt %1: \"%2\"" #: src/choose-monitor-window.cpp:140 src/monitor-impls.cpp:844 msgid "Fan %1" msgstr "Fläkt %1" #: src/ui.glade.h:1 msgid "*" msgstr "*" #: src/ui.glade.h:2 msgid "/" msgstr "/" #: src/ui.glade.h:3 msgid "Background" msgstr "Bakgrund" #: src/ui.glade.h:4 msgid "Devices" msgstr "Enheter" #: src/ui.glade.h:5 msgid "General" msgstr "Allmänt" #: src/ui.glade.h:6 msgid "Options" msgstr "Alternativ" #: src/ui.glade.h:7 msgid "Viewer" msgstr "Visare" #: src/ui.glade.h:8 msgid "A running average of the number of simultanous processes" msgstr "Ett löpande medelvärde av antalet samtidiga processer" #: src/ui.glade.h:9 msgid "All CPUs" msgstr "Alla processorer" #: src/ui.glade.h:10 msgid "All data" msgstr "All data" #: src/ui.glade.h:11 msgid "Amount of time between measurements (in seconds)" msgstr "Tid mellan mätningar (i sekunder)" #: src/ui.glade.h:13 #, no-c-format msgid "CPU: 15.0%" msgstr "Processor: 15,0%" #: src/ui.glade.h:14 msgid "C_PU usage" msgstr "_Processoranvändning" #: src/ui.glade.h:15 msgid "C_hange" msgstr "_Ändra" #: src/ui.glade.h:16 msgid "C_olor:" msgstr "F_ärg:" #: src/ui.glade.h:17 msgid "C_olumns" msgstr "K_olumner" #: src/ui.glade.h:18 msgid "C_urves" msgstr "K_urvor" #: src/ui.glade.h:19 msgid "Choose a Device" msgstr "Välj en enhet" #: src/ui.glade.h:20 msgid "Choose a Font" msgstr "Välj ett typsnitt" #: src/ui.glade.h:21 msgid "Co_lumns:" msgstr "Ko_lumner:" #: src/ui.glade.h:22 msgid "Color of the bar" msgstr "Färg på stapeln" #: src/ui.glade.h:23 msgid "Color of the curve" msgstr "Färg på kurvan" #: src/ui.glade.h:24 msgid "Color of the flame" msgstr "Färg på lågan" #: src/ui.glade.h:25 msgid "Connection:" msgstr "Anslutning:" #: src/ui.glade.h:26 msgid "Devices" msgstr "Enheter" #: src/ui.glade.h:27 msgid "Direction:" msgstr "Riktning:" #: src/ui.glade.h:28 msgid "Enter a folder residing on the disk to monitor" msgstr "Ange en mapp som finns på hårddisken att övervaka" #: src/ui.glade.h:29 src/monitor-impls.cpp:532 msgid "Ethernet (first)" msgstr "Ethernet (första)" #: src/ui.glade.h:30 src/monitor-impls.cpp:534 msgid "Ethernet (second)" msgstr "Ethernet (andra)" #: src/ui.glade.h:31 src/monitor-impls.cpp:536 msgid "Ethernet (third)" msgstr "Ethernet (tredje)" #: src/ui.glade.h:32 msgid "Folder:" msgstr "Mapp:" #: src/ui.glade.h:33 msgid "General" msgstr "Allmänt" #: src/ui.glade.h:34 msgid "Hardware Monitor Preferences" msgstr "Inställningar för hårdvaruövervakare" #: src/ui.glade.h:35 msgid "Incoming data" msgstr "Inkommande data" #: src/ui.glade.h:36 src/monitor-impls.cpp:538 msgid "Modem" msgstr "Modem" #: src/ui.glade.h:37 msgid "Monitor all CPUs" msgstr "Övervaka alla processorer" #: src/ui.glade.h:38 msgid "Monitor devices using fluctuating flames" msgstr "Övervaka enheter genom användning av pulserande lågor" #: src/ui.glade.h:39 msgid "Monitor devices using horizontal bars" msgstr "Övervaka enheter genom användning av horisontella lågor" #: src/ui.glade.h:40 msgid "Monitor devices using line graphs" msgstr "Övervaka enheter genom användning av linjegrafer" #: src/ui.glade.h:41 msgid "Monitor devices using solid columns" msgstr "Övervaka enheter genom användning av fyllda kolumner" #: src/ui.glade.h:42 msgid "Monitor devices using text descriptions" msgstr "Övervaka enheter genom användning av textbeskrivning" #: src/ui.glade.h:43 msgid "Monitor only a single CPU" msgstr "Övervaka endast en ensam processor" #: src/ui.glade.h:44 msgid "Network" msgstr "Nätverk" #: src/ui.glade.h:45 msgid "No sensors detected" msgstr "Inga sensorer detekterade" #: src/ui.glade.h:46 msgid "Number of columns to show simultanously" msgstr "Antal kolumner att visa samtidigt" #: src/ui.glade.h:47 msgid "Number of measured points to show simultanously" msgstr "Antal mätpunkter som visas samtidigt" #: src/ui.glade.h:48 msgid "Only CPU:" msgstr "Endast processor:" #: src/ui.glade.h:49 msgid "Outgoing data" msgstr "Utgående data" #: src/ui.glade.h:50 msgid "Pick a Color" msgstr "Välj en färg" #: src/ui.glade.h:51 msgid "S_amples:" msgstr "_Prover:" #: src/ui.glade.h:52 msgid "Select the sensor to monitor" msgstr "Välj den sensor som ska övervakas" #: src/ui.glade.h:53 msgid "Select whether to monitor incoming or outgoing data or both" msgstr "Välj huruvida inkommande eller utgående data ska övervakas eller båda" #: src/ui.glade.h:54 src/monitor-impls.cpp:540 msgid "Serial link" msgstr "Serielänk" #: src/ui.glade.h:55 msgid "Show _free space instead of used" msgstr "Visa _ledigt utrymme istället för använt" #: src/ui.glade.h:56 msgid "Size of the applet in pixels" msgstr "Storlek på panelprogrammet i bildpunkter" #: src/ui.glade.h:57 msgid "Storage" msgstr "Lagring" #: src/ui.glade.h:58 msgid "System" msgstr "System" #: src/ui.glade.h:59 msgid "Temperature" msgstr "Temperatur" #: src/ui.glade.h:60 msgid "The amount of data sent through a network connection" msgstr "Mängden data som skickats genom en nätverksanslutning" #: src/ui.glade.h:61 msgid "The amount of disk space used" msgstr "Mängden hårddiskutrymme som används" #: src/ui.glade.h:62 msgid "The amount of disk-based memory used" msgstr "Mängden hårddiskbaserat minne som används" #: src/ui.glade.h:63 msgid "The amount of memory used" msgstr "Mängden minne som används" #: src/ui.glade.h:64 msgid "The percentage of time that is spent running foreground processes" msgstr "Andelen av tiden som spenderas körandes förgrundsprocesser" #: src/ui.glade.h:65 msgid "The speed of the fans" msgstr "Hastigheten på fläktarna" #: src/ui.glade.h:66 msgid "The temperature of the inside of the system" msgstr "Temperaturen hos insidan på systemet" #: src/ui.glade.h:67 msgid "Thickness of the curve (in pixels)" msgstr "Tjockleken på kurvan (i bildpunkter)" #: src/ui.glade.h:68 msgid "" "Type of connection - Ethernet is the most common local area network adapter " "type" msgstr "" "Typ av anslutning - Ethernet är den vanligaste korttypen för lokala nätverk" #: src/ui.glade.h:69 msgid "Use _panel background" msgstr "Använd _panelbakgrund" #: src/ui.glade.h:70 msgid "Use _this color:" msgstr "Använd _denna färg:" #: src/ui.glade.h:71 msgid "Use this f_ont:" msgstr "Använd detta t_ypsnitt:" #: src/ui.glade.h:72 msgid "Viewer" msgstr "Visare" #: src/ui.glade.h:73 msgid "Which CPU no. to monitor" msgstr "Vilket processornummer som ska övervakas" #: src/ui.glade.h:74 src/monitor-impls.cpp:542 msgid "Wireless" msgstr "Trådlöst" #: src/ui.glade.h:75 msgid "_Add" msgstr "_Lägg till" #: src/ui.glade.h:76 msgid "_Bars" msgstr "_Staplar" #: src/ui.glade.h:77 msgid "_Disk usage" msgstr "_Hårddiskanvändning" #: src/ui.glade.h:78 msgid "_Fan speed" msgstr "_Fläkthastighet" #: src/ui.glade.h:79 msgid "_Flames" msgstr "_Lågor" #: src/ui.glade.h:80 msgid "_Line width:" msgstr "_Linjebredd:" #: src/ui.glade.h:81 msgid "_Load average" msgstr "_Medelbelastning" #: src/ui.glade.h:82 msgid "_Memory usage" msgstr "_Minnesanvändning" #: src/ui.glade.h:83 msgid "_Monitored devices:" msgstr "_Övervakade enheter:" #: src/ui.glade.h:84 msgid "_Network throughput" msgstr "_Nätverkgenomströmning" #: src/ui.glade.h:85 msgid "_Remove" msgstr "_Ta bort" #: src/ui.glade.h:86 msgid "_Size:" msgstr "_Storlek:" #: src/ui.glade.h:87 msgid "_Swap usage" msgstr "Vä_xlingsfilsanvändning" #: src/ui.glade.h:88 msgid "_Temperature" msgstr "_Temperatur" #: src/ui.glade.h:89 msgid "_Text" msgstr "_Text" #: src/ui.glade.h:90 msgid "_Update interval:" msgstr "_uppdateringsintervall:" #: src/helpers.cpp:34 msgid "Fatal error" msgstr "Ödesdigert fel" #: src/monitor-impls.cpp:168 msgid "%1%%" msgstr "%1%%" #: src/monitor-impls.cpp:174 msgid "All processors" msgstr "Alla processorer" #: src/monitor-impls.cpp:176 msgid "Processor no. %1" msgstr "Processornummer %1" #. must be short #: src/monitor-impls.cpp:183 msgid "CPU" msgstr "CPU" #. note to translators: %1 is the cpu no, e.g. "CPU 1" #: src/monitor-impls.cpp:186 msgid "CPU %1" msgstr "CPU %1" # Jag tror detta egentligen inte är bitar utan byte #: src/monitor-impls.cpp:229 src/monitor-impls.cpp:342 #: src/monitor-impls.cpp:417 msgid "%1 Mb" msgstr "%1 MB" #: src/monitor-impls.cpp:234 msgid "Disk-based memory" msgstr "Hårddiskbaserat minne" #. must be short #: src/monitor-impls.cpp:240 msgid "Swap" msgstr "Växling" #: src/monitor-impls.cpp:293 msgid "Load average" msgstr "Medelbelastning" #. note to translators: short for "load average" - it has nothing to do with #. loading data #: src/monitor-impls.cpp:300 msgid "Load" msgstr "Beslastning" #: src/monitor-impls.cpp:347 msgid "Memory" msgstr "Minne" #. short for memory #: src/monitor-impls.cpp:353 msgid "Mem." msgstr "Minne" # Jag tror detta egentligen inte är bitar utan byte #: src/monitor-impls.cpp:413 msgid "%1 Gb" msgstr "%1 GB" # Jag tror detta egentligen inte är bitar utan byte #: src/monitor-impls.cpp:421 msgid "%1 kb" msgstr "%1 kB" # Jag tror detta egentligen inte är bitar utan byte #: src/monitor-impls.cpp:424 msgid "%1 b" msgstr "%1 B" #: src/monitor-impls.cpp:429 msgid "Disk (%1)" msgstr "Hårddisk (%1)" #: src/monitor-impls.cpp:513 msgid "%1 Gb/s" msgstr "%1 Gb/s" #: src/monitor-impls.cpp:517 msgid "%1 Mb/s" msgstr "%1 Mb/s" #: src/monitor-impls.cpp:521 msgid "%1 kb/s" msgstr "%1 kb/s" #: src/monitor-impls.cpp:524 msgid "%1 b/s" msgstr "%1 b/s" #. %1 is the network connection, e.g. "Ethernet (first)", in signifies #. that this is incoming data #: src/monitor-impls.cpp:550 src/monitor-impls.cpp:580 msgid "%1, in" msgstr "%1, in" #. %1 is the network connection, e.g. "Ethernet (first)", out signifies #. that this is outgoing data #: src/monitor-impls.cpp:554 src/monitor-impls.cpp:582 msgid "%1, out" msgstr "%1, ut" #. short for an ethernet card #: src/monitor-impls.cpp:565 msgid "Eth. %1" msgstr "Eth. %1" #. short for modem #: src/monitor-impls.cpp:568 msgid "Mod." msgstr "Mod." #. short for serial link #: src/monitor-impls.cpp:571 msgid "Ser." msgstr "Ser." #. short for wireless #: src/monitor-impls.cpp:574 msgid "W.less." msgstr "Trådl." #. %2 contains the degree sign (the following 'C' stands for Celsius) #: src/monitor-impls.cpp:765 #, c-format msgid "%1%2C" msgstr "%1%2C" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:772 msgid "Temperature %1: \"%2\"" msgstr "Temperatur %1: \"%2\"" #: src/monitor-impls.cpp:775 msgid "Temperature %1" msgstr "Temperatur %1" #. short for "temperature", %1 is sensor no. #: src/monitor-impls.cpp:781 msgid "Temp. %1" msgstr "Temp. %1" #. rpm is rotations per minute #: src/monitor-impls.cpp:829 msgid "%1 rpm" msgstr "%1 varv/minut" #. %2 is a descriptive string from sensors.conf #: src/monitor-impls.cpp:836 msgid "Fan %1 speed: \"%2\"" msgstr "Hastighet för fläkt %1: \"%2\"" #: src/monitor-impls.cpp:839 msgid "Fan %1 speed" msgstr "Hastighet för fläkt %1" #: src/preferences-window.cpp:175 msgid "Device" msgstr "Enhet" #~ msgid "Monitor Hardware Devices" #~ msgstr "Övervaka hårdvaruenheter" #~ msgid "Hardware Monitor: cannot load the icon '%s'.\n" #~ msgstr "Hårdvaruövervakare: kan inte läsa in ikonen \"%s\".\n" #~ msgid "_Preferences" #~ msgstr "_Inställningar" #~ msgid "Preferences" #~ msgstr "Inställningar" #~ msgid "_About" #~ msgstr "_Om" #~ msgid "About" #~ msgstr "Om" #~ msgid "Copyright %1 2004 Ole Laursen" #~ msgstr "Copyright %1 2004 Ole Laursen" #~ msgid "Copyright %1 2005 Ole Laursen" #~ msgstr "Copyright %1 2005 Ole Laursen" #~ msgid "Fan" #~ msgstr "Fläkt" #~ msgid "Background" #~ msgstr "Bakgrund" #~ msgid "Options" #~ msgstr "Alternativ" #~ msgid "CPU usage" #~ msgstr "Processoranvändning" #~ msgid "Change" #~ msgstr "Ändra" #~ msgid "Color:" #~ msgstr "Färg:" #~ msgid "Color" #~ msgstr "Färg" #~ msgid "Columns" #~ msgstr "Kolumner" #~ msgid "Curves" #~ msgstr "Kurvor" #~ msgid "Connection" #~ msgstr "Anslutning" #~ msgid "Ethernet" #~ msgstr "Ethernet" #~ msgid "Samples:" #~ msgstr "Prover:" #~ msgid "Use panel background" #~ msgstr "Använd panelbakgrund" #~ msgid "Use this color:" #~ msgstr "Använd denna färg:" #~ msgid "Use this font:" #~ msgstr "Använd detta typsnitt:" #~ msgid "Size:" #~ msgstr "Storlek:" #~ msgid "Swap usage" #~ msgstr "Växlingsfilsanvändning" #~ msgid "Text" #~ msgstr "Text" hardware-monitor-1.0/po/az.gmo0000644000175000017500000002120710021711730013303 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkm~ (/4 : FRY[]n ;/,\` gr     # B M [ hr.:O`ho#;  $,<)i)&)-E EP+l.  M- {$   7(`.{< " "@ Bc    ! ! )! 7! C!N!`! y!! !!!!! !" "$" 9"E"L""d"?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor.HEAD Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-10-23 20:13+0300 Last-Translator: Mətin Əmirov Language-Team: Azərbaycan Dili MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: KBabel 1.0.1 %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, daxilə%1, xaricə%1: %2*/Arxa planAvadanlıqlarÜmumiSeçimlərNümayişçiBir neçə ardıcıl gedişatların icrada olan ortalamasıBütün CPU-larBütün mə'lumatBütün işlədicilərÖlçmələr arasındakı vaxt (saniyə olaraq)CPUCPU %1CPU: 15.0%C_PU istifadəsiDə_yişdirRə_ng:Sü_tunlarƏ_yrilərAvadanlıq SeçYazı Növünü Seç_Sütunlar:Çubuğun rəngiƏyrinin rəngiİşığın rəngiBağlantı:Tə'lif Hüququ %1 2003 Ole LaursenAvadanlıqAvadanlıqlarİstiqamət:Disk (%1)Disk bazalı yaddaşDisk üstündə izlənəcək qovluğu bildirinEt. %1Eternet (birinci)Eternet (ikinci)Eternet (üçüncü)Ventilyator %1Ventilyator %1 sür'ətVentilyator %1 sür'ət: "%2"Ventilyator %1: "%2"Ölümcül xətaQovluq:ÜmumiAvadanlıq İzləyicisiAvadanlıq İzləyicisi QurğularıAvadanlıq İzləyicisi : '%1' timsalı yüklənə bilmir. Gələn mə'lumatYükOrtalama yükYad.YaddaşMod.ModemBütün CPU-ları izləAvadanlıqları dəyişən işıqlarla izləAvadanlıqları üfüqi çubuqlarla izləAvadanlıqları xətdi qrafikalarla izləAvadanlıqları düz sütunlarla izləAvadanlıqları mətn izahatı ilə izləAvadanlıqlarınızı izləyinAncaq tək CPU-nu izləCPU və yaddaş istifadəsi kimi müxtəlif avadanlıqları və onlarla əlaqəli olan mə'lumatları izləyin. Proqram əyri qrafikaları, üfüqi çubuqları, sütun diaqramlarını mətn ilə izləmə və yanan işıqlar ilə izləməyi dəstəkləyir.ŞəbəkəHeç bir sensor tapılmadıEyni anda göstəriləcək sütün miqdarıEyni anda göstəriləcək ölçülən nöqtəAncaq CPU:Gedən mə'lumatRəng Seçİşlədici n. %1_Nümünələr:İzlənəcək sensoru seçinAncaq gələn, gedən yoxsa hər iki mə'lumatın da izlənəcəyini bildirinSensor %1Sensor %1: "%2"Ser.Serial körpüAppletin piksel olaraq böyüklüyüSaxlama YeriDəyiş-toqquşSistemTemp. %1TemperaturTemperatur %1Temperatur %1: "%2"Şəbəkə üstündən göndərilən mə'lumat miqdarıİşlədilən disk sahəsiİşlədilən disk bazalı yaddaşın miqdarıİşlədilən yaddaş miqdarıÖn plan gedişatları işə salmada işlədilən vaxt faiziVentilyatorların sür'ətiSistemin daxilindəki istilikƏyrinin incəliyi (piksel olaraq)Bağlantının növü - Eternet ən ümumi LAN adapteri növüdür_Panel arxa planını işlət:Bu _rəngi işlət:Bu _yazı növünü işlət:Tə'minatNümayişçiİzlənəcək CPU nömrəsi_Haqqında...Ə_lavə etÇ_ubuqlar_Disk istifadəsi_Ventilyatorun sür'əti_İşıqlar_YardımSətir _eni:_Ortalama yükYaddaş _istifadəsi_İzlənən avadanlıqlar:Şəbəkə _fəaliyyəti_Qurğular..._Sil_Böyüklük:_Dəyiş-toqquş sahəsi istifadəsi_Temperatur_Mətn_Yeniləmə aralığı:Mətin Əmirov hardware-monitor-1.0/po/be.gmo0000644000175000017500000002051310021711730013256 00000000000000t\              ' . 0 2 D S b q 8    0    + 3 ; C S a r      . ' / @ R c o w   -       (# %L !r '   /  ) 7D U;_  4$-RAl+"PNdu     -=E L Xek}\  ' /:?ELSZ\ ^l!4 %9US. '4Dd;-< PA^X 1!K my.Aie!    38WU4J0-B^S2N mz-+Dpy8<P'WI%:&*1Q223 O]&m "* 8 U j | &  ) L H L,Ad INGWjs (^CXP4! 1EO30Y=lc;Vo$?-U62[+Kq.Mfegt" raBmZ<QR&5kJ8S#bD9/')%@]F_ip 7Tn`h*>\:%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_urvesChoose a DeviceChoose a FontColor of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select whether to monitor incoming or outgoing data or bothSer.Serial linkSize of the applet in pixelsSwapTemperatureThe amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor.be Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-06-03 14:46+0300 Last-Translator: Vital Khilko Language-Team: Belarusian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: KBabel 1.0 %1 %2%1 Гб%1 Гб/с%1 Мб%1 Mб/с%1 б%1 б/с%1 Кб%1 Кб/с%1%%%1%2C%1, у%1, з%1: %2*/ТлоПрыладыАсноўнаеПарамэтрыПраглядальнікСярэдняя загрузка працэсараУсе працэсарыУсе даньніУсе працэсарыЧас паміж атрыманьнем вымярэньняў (у сэкундах)ПрацэсарПрацэсар %1Працэсар: 15.0%Выкарыстаньне _працэсара_Зьмяніць_Колер:_ГрафікіВыбярыце прыладуВыбярыце шрыфтКолер палоскіКолер графікаКолер полымяДалучэньне:Аўтарскае права %1 2003 Оле ЛаўрсэнПрыладаПрыладыНакірунак:Дыск (%1)Перанесеныя на дыск даньні з памяціПазначце тэчку за якой будзе адбывацца сачэньнеEthernet %1Ethernet (першы)Ethernet (другі)Ethernet (трэцьці)Фатальная памылкаТэчка:АсноўнаеМанітор загрузкі сыстэмыПеравагі манітора загрузкі сыстэмыМанітор загрузкі сыстэмы: немагчыма загрузіць значку '%1'. Уваходныя даньніЗагрузкаСярэдняя загрузкаПамяцьПамяцьМадэмМадэмСачыць за усімі працэсараміВыкарыстаньне графіка - полымяВыкарыстаньне графіка - гарызантальныя палоскіВыкарыстаньне графіка - рысыВыкарыстаньне тэкставых паведамленьняўМанітор загрузкі прыладаўНазіраць толькі за адным працэсарамКолькасьць пунктаў вымярэньня разрозьненьняТолькі працэсар:Выходныя даньніВыбярыце колерПрацэсар нумар %1_Узоры:Выбярыце сачэньне за уваходнымі ці выходнымі даньнямі, ці за усімі агуламПас. далуч.Пасьлядоўнае далучэньнеПамер аплета ў піксэляхСвапТэмператураЗагрузка сеткавага далучэньняВыкарыстаньне дыскавае прасторыВыкарыстаньне памяці разьмешчанай на дыскеВыкарыстаньне памяціЗагрузка працэсара асноўнымі працэсаміТэмпература сыстэмыШырыня рысы графіка (у піксэлях)Тып далучэньня - EthernetВыкарыстоўваць _тло панэліВыкарыстоўваць _гэты колер:Выкарыстоўваць гэты _шрыфт:ЗагрузкаПраглядальнікНумар працэсара_Пра праграму..._Дадаць_Палоскі_Выкарыстаньне дыска_Полымя_ДапамогаШырыня _рысы_Сярэдняя загрузкаЗагрузка _памяці_Сачэньне за прыладамі:Загрузка _сеткі_Перавагі..._Выдаліць_Памер:Выкарыстаньне _свопу_Тэмпература_Тэкст_Інтэрвал абнаўленьня:Belarusian Language Linux Team http://www.mova.linux.by mail: i18n@mova.orghardware-monitor-1.0/po/ca.gmo0000644000175000017500000002153410021711730013257 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkN~   '3:< >J]l{. -!% ,7OW _iq     + 6@5Q   &2;C'Y=6:T:/;)6`{tz,2 ' :$DKi  & /;JA_&+#K d '  R !9!!Q!s! |!! !!!!!!"""0"M"1i"" "")" """C#?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE Last-Translator: Aleix Badia i Bosch Language-Team: Catalan MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 GB%1 GB/s%1 MB%1 MB/s%1 B%1 B/s%1 kB%1 kB/s%1 rpm%1%%%1%2C%1, entrada%1, sortida%1: %2*/FonsDispositiusGeneralOpcionsVisualitzadorUna mitjana del nombre de processos simultanisTotes les UCPTotes les dadesTots els processadorsL'interval de temps entre mesures (en segons)UCPUCP %1UCP: 15.0%Utilització de la UC_PCa_nviaC_olor:C_olumnesC_orbesSeleccioneu un dispositiuSeleccioneu un tipus de lletraCo_lumnes:Color de la barraColor de la corbaColor de la flamaConnexió:Copyright %1 2003 Ole LaursenDispositiuDispositiusDirecció:Disc (%1)Memòria de discIntroduïu una carpeta del disc per a monitoritzar-laEth. %1Ethernet (primera)Ethernet (segona)Ethernet (tercera)Ventilador %1Velocitat del ventilador %1Velocitat del ventilador %1 "%2"Ventilador %1: "%2"Error fatalCarpeta:GeneralMonitor del maquinariPreferències del monitor del maquinariMonitor del maquinari: no s'ha pogut carregar la icona '%1'. Dades d'entradaCàrregaCàrrega mitjanaMem.MemòriaMod.MòdemMonitoritza totes les UCPMonitoritza un dispositiu utilitzant flames fluctuantsMonitoritza els dispositius utilitzant barres horitzontalsMonitoritza els dispositius utilitzant gràfics de líniesMonitoritza els dispositius utilitzant columnesMonitoritza els dispositius utilitzant descripcions de textMonitoritza els dispositius del maquinariMonitoritza una única UCPMonitoritza diferents aspectes de la informació del maquinari com la utilització de l'UCP, la utilització de la memòria, etc. Suporta gràfiques de corbes, barres horitzontals, diagrames de columnes, monotorització textual i flames fluctuants.XarxaNo s'ha detectat cap sensorNombre de columnes a mostrar simultàniamentNombre de punts mesurats a mostrar simultàniamentNomés l'UCP:Dades de sortidaEscolliu un colorProcessador no. %1M_ostres:Seleccioneu el sensor a monitoritzarSeleccioneu si voleu monitoritzar les dades d'entrada, de sortida o ambduesSensor %1Sensor %1: "%2"Sèr.Enllaç sèrieMida de l'aplicació en píxelsEmmagatzematgeIntercanviSistemaTemp. %1TemperaturaTemperatura %1Temperatura %1: "%2"La quantitat de dades enviades a través de la connexió de xarxaLa quantitat d'espai de disc utilitzatLa quantitat de memòria de disc utilitzadaLa quantitat de memòria utilitzadaEl percentatge de temps utilitzat en l'execució de processos en primer plaLa velocitat dels ventiladorsLa temperatura a l'interior del sistemaGruix de la corba (en píxels)Tipus de connexió - l'Ethernet és el tipus d'adaptador de xarxa local més comúUtilitza el fons del tau_lerUtili_tza aquest color:Utilitza aquest tipus de _lletra:UtilitatVisualitzadorNúmero de l'UCP a monitoritzarQu_ant a..._Afegeix_BarresUtilització del _discV_elocitat del ventilador_FlamesA_judaAmplada de la _línia:Cà_rrega mitjanaUtilització de la _memòriaDispositius _monitoritzats:Velocitat de tra_nsferència de dades de la xarxa_Preferències...Sup_rimeixMi_da:Utilització de la memòria d'in_tercanvi_Temperatura_TextInterval d'act_ualització:Aleix Badia i Bosch Raul Cambeiro hardware-monitor-1.0/po/da.gmo0000644000175000017500000002117110021711730013255 00000000000000          % , 1 7 > F M O Q c r  8    0 ) - 4 ? J R Z c k {        .*Yar   - AO Tafmrx(%!#'F_y5='Q/y    ; BL\ a m 4-$KpA+"P1   & , 9 GUi}  ? &,4:BGNT\chnv}J( 9C%Tz~   %2PV^ gqL 8W hsz$3 "-28'R(z!&' -N+2/^ (D @JZ _#m)  6#:0^$H* %@ Pf    ! !%! ;!E!L! U! _!l!~!!!!!!!! " " !" .":"A"!W"?D5j[Xk^UY/x4'y{Q Tg39$8"O.0J6|ad<l :,c C1!2%>p*eKBvVsr;f \FHZuI_(q= S7GR`nmPtbo@h}NLW+iz)]M~ w#A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkShow _free space instead of usedSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerW.less.Which CPU no. to monitorWireless_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2004-02-29 14:35+0100 Last-Translator: Ole Laursen Language-Team: Danish BaggrundEnhederGenereltIndstillingerFremviserEt løbende gennemsnit over antallet af processer der kører på samme tidAlle processorerAlle dataAlle processorerTidsrum mellem målinger (i sekunder)CPUCPU %1CPU: 15.0%_Processorforbrug_Skift_Farve:Sø_jler_KurverVælg en enhedVælg en skrifttypeSøjle_r:Farve for bjælkenFarve for kurvenFarve for flammenForbindelse:Copyright %1 2003 Ole LaursenEnhedEnhederRetning:Disk (%1)Disk-baseret hukommelseIndtast navnet på en mappe der er placeret på den disk som skal overvågesEth. %1Ethernet (første)Ethernet (anden)Ethernet (tredje)Blæser %1Hastighed for blæser %1Hastighed for blæser %1: "%2"Blæser %1: "%2"Fatal fejlMappe:GenereltHardwareovervågerIndstillinger for hardwareovervågerHardwareovervåger: kan ikke indlæse ikonet '%1'. Indgående dataBelast.BelastningsgennemsnitHuk.HukommelseMod.ModemOvervåg alle processorerOvervåg enheder vha. bølgende flammerOvervåg enheder vha. vandrette bjælkerOvervåg enheder vha. kurvegraferOvervåg enheder vha. søjlediagrammerOvervåg enheder vha. tekstbeskrivelserOvervåg hardwareenhederOvervåg kun en enkelt processorOvervåg forskellige hardware-oplysninger, såsom CPU-forbrug, hukommelsesforbrug osv. Understøtter kurvegrafer, vandrette bjælkegrafer, søjlediagrammer, tekstovervågning og bølgende flammer.NetværkIngen sensorer fundetAntal kolonner der skal vises på samme tidAntal målepunkter der skal vises på samme tidKun CPU:Udgående dataVælg en farveProcessor nr. %1_Målinger:Vælg hvilken sensor der skal overvågesVælg om indgående eller udgående data eller begge skal overvågesSensor %1Sensor %1: "%2"Ser.Serielt kabelVis _ledig plads i stedet for brugtStørrelsen af programmet i skærmpunkterLagerSwapSystemTemp. %1TemperaturTemperatur %1Temperatur %1: "%2"Datamængden som sendes gennem en netværksforbindelseHvor meget diskplads der er optagetHvor meget diskbaseret hukommelse der er optagetHvor meget hukommelse der er optagetDen procentdel af tiden der bliver brug på kørende foregrundsprocesserHastigheden af blæsereTemperaturen af det indvendige af systemetTykkelsen af kurven (i skærmpunkter)Forbindelsestypen - Ethernet er den almindeligste netkortstype for lokalnetværkBenyt _panelbaggrundBenyt _denne farve:Benyt denne _skrifttype:VærktøjFremviserT.løs.Hvilken processor der skal overvågesTrådløs_Om..._Tilføj_Bjælker_Diskforbrug_Blæserhastighed_Flammer_HjælpL_injetykkelse:_Belastningsgennemsnit_Hukommelsesforbrug_Overvågede enheder:_Netværksgennemstrømning_Indstillinger..._Fjern_Størrelse:_Swapforbrug_Temperatur_Tekst_Opdateringsinterval:Ole Laursen hardware-monitor-1.0/po/de.gmo0000644000175000017500000002131410021711730013260 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkN~ $-468KZk8 0)/8GV_gpy        'EF !&= EO#e?  5$1Z)/448mKS)j, (#UL    .:D%6%U X s ! J !!8!U!^!f!! !!!!!!! !!"%"8" J" U"_" ~"""&"?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor 0.7 Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-11-23 13:31+0100 Last-Translator: Christian Neumair Language-Team: German MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 upm%1%%%1%2C%1, rein%1, raus%1: %2*/HintergrundGeräteAllgemeinEinstellungenAnsichtEin gleitender Mittelwert der Anzahl paralleler ProzesseAlle ProzessorenGesamte DatenAlle ProzessorenZeitintervall zwischen Messpunkten (in Sekunden)Proz.Proz. %1Prozessor: 15%_ProzessorlastÄ_ndern_Farbe:_Spalten_GraphenWählen Sie ein GerätWählen Sie eine SchriftS_palten:BalkenfarbeKurvenfarbeFlammenfarbeVerbindung:Copyright %1 2003 Ole LaursenGerätGeräteRichtung:Platte (%1)Plattenbasierter HauptspeicherGeben Sie einen auf der Platte liegenden, zu überwachenden Ordner anEth. %1Ethernet (erstes)Ethernet (zweites)Ethernet (drittes)Lüfter %1Lüftergeschwindigkeit %1Lüftergeschwindigkeit %1: »%s«Lüfter %1: »%2«Schwerwiegender FehlerOrdner:AllgemeinHardware-ÜberwachungHardware-ÜberwachungseinstellungenHardware Monitor: Das Icon »%1« konnte nicht geladen werden. Eingehende DatenLastLastmittelRAMHauptspeicherMod.ModemAlle Prozessoren überwachenGeräte mit Hilfe veränderlicher Flammen überwachenGeräte mit Hilfe horizontaler Balken überwachenGeräte mit Hilfe von Graphen überwachenGeräte mit Hilfe gefüllter Balken überwachenGeräte mit Hilfe von Textbeschreibungen überwachenHardware-Geräte überwachenAusschließlich einen einzigen Prozessor überwachenDient zur Überwachung verschiedenster Hardware-bezogener Informationen, wie z.B. Prozessorlast und Hauptspeicherbelegung. Unterstützt Graphen, horizontale Balken, Spaltendiagramme, Textüberwachung und variable Flammen.NetworkKeine Sensoren erkanntAnzahl gleichzeitig anzuzeigender SpaltenAnzahl gleichzeitig anzuzeigender MesspunkteAusschließlich Prozessor:Ausgehende DatenWählen Sie eine FarbeProzessor Nr. %1St_ichproben:Wählen Sie den zu überwachenden SensorLegt fest, ob eingehende, ausgehende oder die gesamten Daten überwacht werden sollenSensor %1Sensor %1: »%2«Ser.Serielle VerbindungGröße des Applets in PixelSpeicherAuslag.SystemTemp. %1TemperaturTemperatur %1Temperatur %1: »%s«Das durch eine Netzwerkverbindung verschickte DatenvolumenDie Menge des belegten PlattenplatzesDie Menge des belegten plattenbasierten HauptspeichersDie Menge des belegten HauptspeichersDer Zeitanteil, der für das Ausführen von Prozessen im Vordergrund aufgewendet wirdDie LüftergeschwindigkeitDie Innentemperatur des SystemsDie Dicke des Graphen (in Pixeln)Verbindungstyp - Ethernet ist der am weitesten verbreitete LAN-Adaptertyp._Panel-Hintergrund verwendenF_olgende Farbe verwenden:F_olgende Schrift verwenden:WerkzeugAnsichtZu überwachende Prozessor-Nr._Info..._Hinzufügen_Balken_Plattenbelegung_Lüftergeschwindigkeit_Flammen_Hilfe_Linienbreite:_LastmittelBelegter _HauptspeicherÜ_berwachte Geräte:_Netzwerkdurchsatz_Einstellungen..._EntfernenG_röße:Belegter _Auslagerungsspeicher_Temperatur_Text_Auffrischintervall:Christian Neumair hardware-monitor-1.0/po/el.gmo0000644000175000017500000002606310021711730013276 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkM~!)024Pi}(y8K&hj   . ;I&[2"%=5s/t`h~*0$D` p'}@m'T |  /h\[j^#h:0& W "4"MH"]" "%#"(#!K#m#L##i$$$$P$%%;%@%O%`%w%%{%_.&a&M&>'1'Q'KH((/1)/a);))!)<* =*J* \*j*&* *****5+L+`+{+++++%+0,?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: el Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-10-14 10:47+0300 Last-Translator: Kostas Papadimas Language-Team: Greek MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: KBabel 1.0 %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/Παρασκήνιο ΣυσκευέςΓενικάΕπιλογέςΕφαρμογή προβολήςΈνας τρέχων μέσος όρος από τον αριθμό των εκτελούμενων διεργασιώνΌλες οι CPUsΌλα τα δεδομέναΌλοι οι επεξεργαστέςΧρονικό διάστημα ανάμεσα στις μετρήσεις (σε δευτερόλεπτα)CPUCPU %1CPU: 15.0%Χρήση C_PUΑ_λλαγήΧ_ρώμα:Σ_τήλεςΚα_μπύλεςΕπιλέξτε μια συσκευήΕπιλέξτε μια γραμματοσειράΣτή_λες:Χρώμα της μπάραςΧρώμα της καμπύληςΧρώμα της φλόγαςΣύνδεση:Πνευματικά Δικαιώματα %1 2003 Ole LaursenΣυσκευήΣυσκευέςΚατεύθυνση:Δίσκος (%1)Μνήμη βασισμένη στο δίσκοΕίσαγετε ένα φάκελο που βρίσκεται στον δίσκο για παρακολούθησηEth. %1Ethernet (πρώτο)Ethernet (δεύτερο)Ethernet (τρίτο)Ανεμιστήρας %1Ανεμιστήρας %1 ταχύτηταΑνεμιστήρας %1 ταχύτητα: "%2"Ανεμιστήρας %1: "%2"Μοιραίο σφάλμαΦάκελος:ΓενικάΠαρακολούθηση υλικούΠροτιμήσεις Παρακολούθησης ΥλικούΠαρακολούθηση υλικού: Αδυναμία φόρτωσης του εικονιδίου '%1'. Εισερχόμενα δεδομέναΦόρτοςΜέσος ΦόρτοςΜνήμηΜνήμηMod.ModemΠαρακολούθηση όλων των CPUsΠαρακολούθηση συσκευών με την χρήση κυμαινόμενων φλογώνΠαρακολούθηση συσκευών με την χρήση οριζόντιων barsΠαρακολούθηση συσκευών με την χρήση γραμμικών γραφημάτωνΠαρακολούθηση συσκευών με την χρήση στέρεων στηλώνΠαρακολούθηση συσκευών με την χρήση περιγραφών κειμένουΣυσκευές παρακολούθησης υλικούΠαρακολούθηση μόνο μιας CPUΠαρακολούθηση διαφόρων πληροφοριών σχετικών με το υλικό, όπως χρήση CPU, χρήση μνήμης κτλ. Υποστηρίζει γραφήματα, σχεδιαγράμματα με οριζόντιες μπάρες, διαγράμματα με στήλες, παρακολούθηση μέσω κειμένου και φλόγες που ανεβοκατεβαίνουν.ΔίκτυοΔεν εντοπίστηκαν αισθητήρεςΑριθμός από στήλες για ταυτόχρονη προβολήΑριθμός μετρήσιμων σημείων για ταυτόχρονη προβολήΜόνο CPU:Εξερχόμενα δεδομέναΔιαλέξτε ένα χρώμαΕπεξεργαστής αρ. %1_Δείγματα:Επιλέξτε τον αισθητήρα για παρακολούθησηΕπιλέξτε αν θα παρακολουθούνται τα εξερχόμενα ή τα εισερχόμενα δεδομένα ή και τα δύοΑισθητήρας %1Αισθητήρας %1: "%2"Ser.Σειριακός δεσμόςΜέγεθος του εφαρμογιδίου σε εικονοστοιχείαΑποθηκευτικός χώροςSwapΣύστημαΘερμοκ. %1ΘερμοκρασίαΘερμοκρασία %1Θερμοκρασία %1: "%2"Το μέγεθος των δεδομένων που στέλνονται μέσω μιας σύνδεσης δικτύουΤο μέγεθος του χώρου του δίσκου που χρησιμοποιείταιΤο μέγεθος της μνήμης του δίσκου που χρησιμοποιείταιΤο μέγεθος της μνήμης που χρησιμοποιείταιΤο ποσοστό του χρόνου που ξοδεύεται στην εκτέλεση διεργασιών προσκηνίουΗ ταχύτητα των ανεμιστήρωνΗ θερμοκρασία του εσωτερικού του συστήματοςΤο πάχος των καμπυλών (σε εικονοστοιχεία)Τύπος σύνδεσης - Το Ethernet είναι ο πιό κοινός τύπος προσαρμοστή δικτύου τοπικού δικτύουΧρήση παρασκηνίου ταμ_πλώΧρή_ση αυτού του χρώματος:Χρήση αυτής της γρα_μματοσειράς:ΕργαλείοΕφαρμογή προβολήςΠοιός αριθ. CPU θα παρακολουθείταιΠε_ρί..._Προσθήκη_ΜπάρεςΧρήση _δίσκουΤαχύτητα α_νεμιστήρα_Φλόγες_ΒοήθειαΠάχος _γραμμής:Μέσος φό_ρτοςΧρήση _μνήμηςΠαρακολου_θούμενες συσκευές:_Network throughput_Προτιμήσεις..._Απομάκρυνση_ΜέγεθοςΧρήση _Swap_ΘερμοκρασίαΚεί_μενο_Διάστημα ανανέωσης:Κώστας Παπαδήμας hardware-monitor-1.0/po/es.gmo0000644000175000017500000002110110021711730013271 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYk[~" ( 4?FHJ_s 05<@ G R_g oy    ! . :E,]  #/8@$T8y 1 2<3o07# 0G.4J   8 ",< AOm| >%,<iG ' W6       !!!%!;!C!J![!n!~!!! ! !! !!!$"?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: es Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-11-11 16:54-0300 Last-Translator: Antonio Ognio Language-Team: Spanish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: KBabel 1.0.2 %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 Kb%1 kb/s%1 rpm%1%%%1%2C%1, entrada%1, salida%1: %2*/Segundo PlanoDispositivosGeneralOpcionesVisorUn promedio del número de procesos simultáneosTodos los CPUsTodos los datosTodos los procesadoresCantidad de tiempo entre las mediciones (en segundos)CPUCPU %1CPU: 15.0%Uso del C_PU_CambioC_olor:C_olumnasC_urvasEscojer un DispositivoEscoger una FuenteCo_lumnas:Color de la barraColor de la curvaColor de la llamaConexión:Copyright %1 2003 Ole LaursenDispositivoDispositivosDirección:Disco (%1)Memoria basada en discoIngresa una carpeta en el disco a monitorearEth. %1Ethernet (primera)Ethernet (segunda)Ethernet (tercera)Ventilador %1Velocidad ventilador %1Velocidad ventilador %1: "%2"Ventilador %1: "%2"Error fatalCarpeta:GeneralMonitor de HardwarePreferencias del Monitor de HardwareMonitor de Hardware: no se pudo cargar el ícono '%1'. Date entranteCargaPromedio de CargaMem.MemoriaMod.ModemMonitorear todos los CPUsMonitorear dispositivos usando llamas fluctuantesMonitorear dispositivos usando barras horizontalesMonitorear dispositivos usando gráficos de líneasMonitorear dispositivos usando columnas sólidasMonitorear dispositivos usandos descripciones textualesMonitorear dispositivos de hardwareMonitorear un solo CPUMonitorea variada información relacionada con el hardware como el uso delCPU, la memoria, etc. Soporta gráficos de curvas, barras y columnas,monitoreo textual y llamas fluctuantesRedNo se detectaron sensoresNúmero de columnas a mostrar simultáneamenteNúmero de puntos medidos a mostrar simultáneamenteSolo CPU:Datos salientesEscoger un ColorProcesador Nro. %1_Muestras:Seleccion un sensor a monitorearSeleccione monitorear datos entrantes, salientes o ambosSensor %1Sensor %1: "%2"Ser.Enlace SerialTamaño del applet en pixelesAlmacenamientoPartición de IntercambioSistemaTemp. %1TemperaturaTemperatura %1Temperatura %1: "%2"La cantidad de datos enviados a través de la conexión de redLa cantidad de espacio de disco usadoLa cantidad de memoria basada en disco usadaLa cantidad de memoria usadaEl porcentaje de tiempo que se gasta corriendo procesos en primer planoLa velocidad de los ventiladoresLa temperatura del interior del sistemaGrosor de la curva (en pixels)Tipo de conexión - Ethernet es el tipo de adaptador de red de área local más común Usar fondo del _panelUsar _este color:Usuar esta f_uente:UtilidadVisorQue número de CPU monitorear_Acerca de..._Añadir_Barras_Uso del discoVelocidad _Ventilador_Llamas_AyudaAncho de _LineasPromedio de _CargaUso de _MemoriaDispositivos _MonitoreadosA t_raves de la red_Preferencias..._Eliminar_Tamaño:U_so de Memoria en Disco_Temperatura_Texto_Intervalo de ActualizaciónAntonio Ognio hardware-monitor-1.0/po/fr.gmo0000644000175000017500000002153710021711730013306 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYki~ $+0 6 BNWY[p> !&6]a hu     1>\k { 7 #2'Lt  #@0CJY_hms  $ %. T_[c-|5% 7&DCk "+ 4AQBo&-" K* v + # W ,:!g!! ! !&! !!!!"'"0"6"K"["w"""" "&" "# #6(#?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor 0.7 Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2004-01-24 23:38+0100 Last-Translator: David Soulayrol Language-Team: GNOME French Team MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Go%1 Go/s%1 Mo%1 Mo/s%1 o%1 b/s%1 ko%1 ko/s%1 rpm%1%%%1%2C%1, entrant%1, sortant%1 : %2*/Arrière planPériphériquesGénéralOptionsVisionneurUne moyenne du nombre de processus s'exécutant simultanémentTous les processeursToutes les donnéesTous les processeursDurée entre les mesures (en secondes)CPUCPU %1CPU : 15.0%Utilisation du _processeur_ModifierC_ouleur :C_olonnes_CourbesChoisir un périphériqueChoisir une policeCo_lonnes :Couleur de la barreCouleur de la courbeCouleur de la flammeConnexion :Copyright %1 2003 Ole LaursenPériphériquePériphériquesDirection :Disque (%1)Mémoire sur disqueSaisir un dossier résidant sur le disque à surveillerEth. %1Ethernet (premier)Ethernet (second)Ethernet (troisième)Ventilateur %1Vitesse du ventilateur %1Vitesse du ventilateur %1 : « %2 »Ventilateur %1 : « %2 »Erreur fataleRépertoire :GénéralMoniteur matérielPréférences du moniteur matérielMonitor matériel : impossible de charger l'icône « %1 ». Données entrantesChargeCharge moyenneMém.MémoireMod.ModemSurveiller tous les processeursUtiliser des flammesUtiliser des barres horizontalesUtiliser des graphes de lignesUtiliser des graphes en colonnesUtiliser des descriptions textuellesPériphériques du moniteur matérielSurveillerSurveille diverses données relatives au matériel telles que l'usage du processeur, de la mémoire, etc. Supporte les graphes sous forme de courbes ou de barres horizontales, les diagrammes à colonnes, l'affichage textuel et les flammes fluctuantes.RéseauAucun capteur détéctéNombre de colonnes à afficher simultanémentNombre de points de mesure à afficher simultanémentSeulement le processeur :Données sortantesChoisissez une couleurProcesseur n° %1_Exemples :Sélectionner le capteur à surveillerChoisir de surveiller les données entrantes, sortantes ou les deuxCapteur %1Capteur %1 : « %2 »Sér.Liaison sérieTaille de l'applet en pixelsStockageMémoire d'échangeSystèmeTemp. %1TempératureTempérature %1Température %1 : « %2 »La quantité de données envoyée à travers une connexion réseauLa quantité d'espace disque utiliséeLa quantité de mémoire sur disque utiliséeLa quantité de mémoire utiliséeLe pourcentage de durée passée à exécuter les processus de premier planLa vitesse des ventilateursLa température à l'intérieur du systèmeÉpaisseur de la courbe (en pixels)Type de connexion - Ethernet est le type d'adaptateur de réseau local le plus répanduUtiliser l'_arrière plan du tableau de bordUtiliser _cette couleur :Utiliser cette p_olice :UtilitaireVisionneurLe numéro du processeur à surveillerÀ _propos..._Ajouter_BarresUtilisation du _disque_Vitesse du ventilateurF_lammes_Aide_Largeur de ligne :_Charge moyenneUtilisation de la _mémoire_Périphériques surveillés :_Sortie réseau_Préférences..._RetirerT_aille :Utilisation de la mém_oire d'échange_Température_Texte_Intervalle de mise à jour :David Soulayrol hardware-monitor-1.0/po/hr.gmo0000644000175000017500000002063310021711731013305 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkL~  $08:<L \ jx   *   :EL T^p   ' *<DTe w 4# Xfn-'( )2(\$5 "/?%HFn    $0?-X)(?9LgI " !- O U \ d z       !! !+! H! U!a!#w!?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor 0 Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2004-02-05 23:50+CET Last-Translator: auto Language-Team: Croatian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Generator: TransDict server %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, ušlo%1, izašlo%1: %2 *.PozadinaUređajiOpšteOpcijePreglednikProsek broja uporednih procesaSvi procesoriSvi podaciSvi procesoriVrijeme između dva mjerenja (u sekundama)ProcesorProcesor %1Procesor: 15,0%Iskorištenost _procesora_Promijeni_Boja:_Stupci_KrivuljeOdaberite uređajOdaberite pismo_Stupci:Boja trakeBoja krivuljeBoja plamenaVeza:Sva prava zadržana %1 2003 Ole LaursenUređajUređajiSmjer:Disk (%1)Memorija na diskuUnesite mapu na disku koji želite pratitiEth. %1Ethernet (prvi)Ethernet (drugi)Ethernet (treći)Ventilator %1Brzina ventilatora %1Brzina ventilatora %1: „%2“Ventilator %1: „%2“Ozbiljna greškaMapa:OpćenitoPraćenje hardveraPostavke praćenja hardveraPraćenje hardvera: ne mogu učitati sličicu '%1'. Ulazni podaciUčitajProsječno opterećenjeMem.MemorijaMod.ModemPrati sve procesorePrati uređaje pomoću promjenjivih plamenovaPrati uređaje pomoću vodoravnih trakaPrati uređaje pomoću linijskih grafovaPrati uređaje pomoću ispunjenih stupacaPrati uređaje pomoću tekstualnih opisaPratite hardverske uređajePrati samo jedan procesorPraćenje raznih podataka u vezi s hardverom, kao što je iskorištenost procesora, memorije itd. Podržava grafove, vodoravne trake, dijagrame u stupacima, tekstualno praćenje i promjenjljive plamenove.MrežaNisu pronađeni senzoruKoliko stupaca istovremeno prikazatiKoliko izmjerenih točaka treba istovremeno prikazatiJedino procesor:Izlazni podaciOdaberi bojuProcesor br. %1U_zorci:Odaberite senzor koji želite pratitiOdaberite treba li pratiti ulazne, izlazne podatke ili i jedne i drugeSenzor %1Senzor %1: „%2“Ser.Serijska vezaVeličina appleta u pikselimaSpremišteSwapSustavTemp. %1TemperaturaTemperatura %1Temperatura %1: „%2“Količina podataka poslanih kroz mrežnu vezuKoličina iskorištenog prostora na diskuKoličina iskorištene memorije na diskuKoličina iskorištene memorijePostotak vremena utrošen na izvršavanje nepozadinskih procesaBrzina ventilatoraTemperatura unutar sustavaDebljina krivulje (u pikselima)Vrsta veze — ethernet je najčešća vrsta uređaja u lokalnim mrežamaKoristi pozadinu _pločeKoristi _ovu boju:Koristi ovo _pismo:Uslužni programPreglednikBroj procesora koji treba pratiti_O..._Dodaj_StupciIskorištenost _diskaBrzina _ventilatoraP_lamenovi_Pomoć_Širina linije:Prosječno _opterećenjeIskorištenost _memorijePrać_eni uređaji:_Mrežni protok_Podešenja..._Ukloni_Veličina:Iskorištenost swap memorije_Temperatura_Tekstualni_Vrijeme obnavljanja:Prevedeno na lokalizacija.linux.hr.hardware-monitor-1.0/po/ko.gmo0000644000175000017500000001600710021711731013305 00000000000000t\              ' . 0 2 D S b q 8    0    + 3 ; C S a r      . ' / @ R c o w   -       (# %L !r '   /  ) 7D U;_  4$-RAl+"PNdu     -=E L Xek}A (/1 3 A O]q;  & 9 D OZuA  boDG^ e s }4D> A_4   !/CqJ )*H\;sU7Vn       1Ia|    H L,Ad INGWjs (^CXP4! 1EO30Y=lc;Vo$?-U62[+Kq.Mfegt" raBmZ<QR&5kJ8S#bD9/')%@]F_ip 7Tn`h*>\:%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_urvesChoose a DeviceChoose a FontColor of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select whether to monitor incoming or outgoing data or bothSer.Serial linkSize of the applet in pixelsSwapTemperatureThe amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-05-13 14:01+0900 Last-Translator: sinsh Language-Team: sinsh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1%%%1%2C%1, in%1, out%1: %2*/배경장치일반선택사항감시체계동시에 실행하는 프로세스들의 평균 로드 수모든 CPU모든 데이타모든 프로세스측정치간의 시간량(초)CPUCPU %1CPU: 15.0%C_PU 사용량(_C)변화(_C)색깔(_C)곡선(_C)장치를 선택하세요.폰트를 선택하세요.막대기의 색깔곡선의 색깔화염의 색깔연결저작권 %1 2003 Ole Laursen장치장치방향디스크 (%1)스왑 메모리모니터할 디스크에 존재하는 폴더를 입력하세요.이더넷 %1이더넷 (첫번째)이더넷 (두번째)이더넷 (세번째)치명적인 오류폴더일반하드웨어 감시하드웨어 감시 설정하드웨어 감시: 아이콘을 읽을 수가 없습니다. '%1'. 들어오는 데이타로드평균 로드메모리메모리모뎀모뎀모든 CPU감시화염 감시체계를 이용하여 장치를 감시수평좌표 막대기 감시체계를 이용하여 장치를 감시곡선 그래프 감시체계를 이용하여 장치를 감시텍스트 형태의 감시체계를 이용하여 장치를 감시하드웨어 감시 장치단일 CPU감시동시에 정확한 수치의 갯수를 보여주기단일 CPU나가는 데이타색깔 선택프로세스 no. %1샘플들어오는 데이타 또는 나가는 데이타 아니면 둘 모두를 모니터할 것인지 선택하세요 시리얼시리얼 링크애플릿의 픽셀 크기스왑온도네트워크를 통과하는 데이타량사용한 디스크 공간량사용한 스왑량사용한 메모리량foreground 프로세스들이 소비한 로드의 시간율시스템 내부 온도곡선의 두께 (픽셀)연결 형태 - 이더넷이 가장 일반적인 로컬 네트워크 어댑터 형태해당 패널 배경사용(_P)해당 색깔사용(_C)해당 폰트사용(_F)유틸리티감시체계모니터하지 않을 CPU정보(_A)추가(_A)막대기(_B)디스크 사용량(_D)화염(_F)도움말(_H)선 너비(_L)평균 로드(_L)메모리 사용량(_M)감시중인 장치(_M)네트워크 처리량(_N)기본 설정...(_P)지우기(_R)크기(_S)스왑 사용량(_S)온도(_T)텍스트(_T)갱신 주기(_U)sinsh hardware-monitor-1.0/po/ms.gmo0000644000175000017500000002042410021711731013311 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkb~ %* 0 :ELNPe t -  % #.>EMT[n~  <U]p 3  Ta hv{'(('+Am fp%/  !D@  0 #=.aB Y6     / 4 = M \ o        4 ?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2002-02-04 00:07+0800 Last-Translator: Hasbullah Bin Pit Language-Team: Projek Gabai MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gib/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, masuk%1, keluar%1: %2*/LatarBelakangPerantiUmumOpsyenPelihatPurata bergerak bagi bilangan proses serentakSemua CPUSemua data Semua PemprosesAmaun masa diantara ukuran (dlm saat)CPUCPUi %1CPU: 15.0%Penggunaan C_PU_Tukar_Warna:K_olumKel_ukPilih satu PerantiPilih satu FontKo_lum:Warna bagi barWarna bagi kelukWarna bagi apiSambungan:Hakcipta %l 2003 Ole LaursenPerantiPerantiHala:Cakera (%1)Memori berasaskan-cakeraMasukkan folrder yg bermastautin pada cakera untuk dimonitorEth. %1Ethernet (pertama)Ethernet (kedua)Ethernet (ketiga)Kipas %1Kelajuan kipas %1Kielajuan kipas %1: "%2" Kipas %1: "%2"Ralat FatalFolder:UmumMonitor PerkakasanKeutamaan Monitor PerkakasanMonitor Perkakasan: tak dapat memuatkan ikon '%1'. Data masukanMuatanPurata muatanMem.MemoriMod.ModemMonitor semua CPUMonitor peranti menggunakan api membaraMonitor peranti menggunakan bar mengufukMonitor peranti menggunakan graf garisanMonitor peranti menggunakan kolum tegarMonitor peranti menggunakan keterangan teksPeranti monitor perkakasanMonitor hanya satu CPU tunggalMonitor pelbagai maklumat kerkaitan perkakasan, seperti penggunaan CPU, penggunaan memori dll. Menyokong graf lekuk, plot bar mengufuk, diagram lajur, pengmonitoran tekstual dan api membara.RangkaianTiada penderia dikesanBilangan kolum untuk dipapar serentakBilangan titik diukur untuk dipaparkan serentakHanya CPU:Data keluaranPilih satu WarnaPemproses no. %1_Contoh:Pilih penderia untuk dimonitorPilih samada untuk monitor data masukan atau keluaran atau kedua-duaPenderia %1Penderia %1: "%2"Sir.Pautan bersiriSaiz bagi aplet dalam pikselStoranSwapSistemSuhu. %1SuhuSuhu: %1Suhu %1: "%2"Jumlah data dihantar melalui sambungan rangkaianJumlah bagi ruang cakera digunakan.Jumlah bagi memori berasaskan-cakera digunakanJumlah memori digunakanPeratusan masa yang digunakan oleh proses latardepan yg terlaksanaKelajuan kipasSuhu bagi bahagian dalam sistemTebal keluk (dalam piksel)Jenis sambungan - Ethernet adalah jenis penyesuai rangkaian kawasan setempat paling biasaGuna Latarbelakang _panelGuna _warna ini:Guna _font ini:UtilitiPelihatCPU mana untuk dimonitor_Perihal..._Tambah_BarPengunaan _cakeraKelajuan _kipas_Api_Bantuan_Lebar garisan:_Purata muatanPenggunaan _memoriPeranti Di_monitor:Truput _rangkaianKe_utamaan..._Buang_Saiz:Penggunaan _Swap_Suhu_TeksSela _kemaskini:Hasbullah Bin Pit I Love my wife hardware-monitor-1.0/po/nl.gmo0000644000175000017500000002141310021711731013302 00000000000000          % , 1 7 > F M O Q c r  8    0 ) - 4 ? J R Z c k {        .*Yar   - AO Tafmrx(%!#'F_y5='Q/y    ; BL\ a m 4-$KpA+"P1   & , 9 GUi}  Q28>FLTY`fnuz ?, <J.Z     +? Q]{   5  1?Vs 8  *;@INT,n*%(+A%^Zb:x/ (%3JY /!)0?G P\k9#0 O/   $ Z p*eKBvVsr;f \FHZuI_(q= S7GR`nmPtbo@h}NLW+iz)]M~ w#A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkShow _free space instead of usedSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerW.less.Which CPU no. to monitorWireless_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor head Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2004-03-04 21:02+0100 Last-Translator: Elros Cyriatan Language-Team: Dutch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, uit%1: %2*/AchtergrondApparatenAlgemeenOptiesWeergaveEen lopend gemiddelde van het aantal tegelijk lopende processenAlle processorsAlle gegevensAlle processorsHoeveelheid tijd tussen metingen (in seconden)ProcessorProcessor %1Processor: 15.0%_Processorgebruik_Wijzigen_Kleur:K_olommenK_rommenKies een apparaatKies een lettertypeK_olommen:Kleur van de balkKleur van de krommeKleur van de vlamVerbinding:Copyright %1 2003 Ole LaursenApparaatApparatenRichting:Schijf (%1)Schijf-gebaseerd geheugenGeef een map op de schijf die moet worden bijgehoudenEth. %1Ethernet (eerste)Ethernet (tweede)Ethernet (derde)Ventilator %1Ventilator %1 snelheidVentilator %1 snelheid: "%2"Ventilator %1: "%2"Fatale foutMap:AlgemeenHardware informatieHardware informatie voorkeurenHardware informatie: kan het pictogram '%1' niet laden. Inkomende gegevensBelastingSysteembelastingGeh.GeheugenMod.ModemAlle processors bijhoudenApparaten bijhouden met fluctuerende vlammenApparaten bijhouden met horizontale balkenApparaten bijhouden met lijngrafiekenApparaten bijhouden met gevulde kolommenApparaten bijhouden met tekstbeschrijvingenHardware apparaten bijhoudenAlleen een enkele processor bijhoudenHardware-gerelateerde informatie in de gaten houden, zoals processorgebruik,geheugengebruik enz. Ondersteunt grafieken van krommen, horizontale balken,kolomdiagrammen, tekstuele informatie en fluctuerende vlammen.NetwerkGeen sensors gevondenAantal kolommen dat tegelijkertijd moet worden weergegevenAantal gemeten punten om tegelijk weer te gevenAlleen processor:Uitgaande gegevensKies een kleurProcessor no. %1_Monsters:Selecteer een sensor om bij te houdenKies of inkomende of uitgaande gegevens of beide moeten worden bijgehoudenSensor %1Sensor %1: "%2"Ser.Seriële verbinding_Vrije ruimte weergeven in plaats van gebruikteGrootte van applet in beeldpuntenOpslagWisselgeheugenSysteemTemp. %1TemperatuurTemperatuur %1Temperatuur %1: "%2"Hoeveelheid gegevens verzonden over een netwerkverbindingHoeveelheid schijfruimte in gebruikHoeveelheid schijf-gebaseerd geheugen in gebruikHoeveelheid geheugen in gebruikHet percentage van de tijd dat wordt gebruikt om voorgrond-processen te draaienDe snelheid van de ventilatorsDe temperatuur in het systeemDikte van de kromme (in beeldpunten)Het soort verbinding - Ethernet is het meest gebruikte soort adapter voor lokale netwerken_Paneel achtergrond gebruiken_Deze kleur gebruiken:Dit _lettertype gebruiken:ProgrammaWeergaveDraadl.De bij te houden processorDraadloos_Info..._Toevoegen_Balken_Schijfgebruik_Ventilatorsnelheid_Vlammen_Hulp_Lijnbreedte:_Systeembelasting_Geheugengebruik_Bijgehouden apparaten:_Netwerk doorvoersnelheid_Voorkeuren..._Verwijderen_Grootte:_Wisselgeheugen gebruik_Temperatuur_Tekst_Bijwerkingsinterval:Elros Cyriatan hardware-monitor-1.0/po/no.gmo0000644000175000017500000000652610021711731013315 00000000000000FLa| #*,.@O^ m{     ' 4@HP ao t       ",1 7 CNV \ i w K Q W ] b h m t v x            $ 3 S Y a j t }              . < F X l t {           , "3 39C@B;5$,2&.% 0-4*' <=(  #:8+6/E" )?!>7A1DF%1 %2%1 Gb%1 Mb%1 b%1 kb%1%%%1: %2*/BackgroundDevicesGeneralOptionsViewerAll CPUsAll dataAll processorsCPUCPU %1C_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCopyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Fan %1Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorIncoming dataLoadLoad averageMem.MemoryModemMonitor hardware devicesNetworkOnly CPU:Outgoing dataPick a ColorSensor %1Sensor %1: "%2"Serial linkStorageSystemTemperatureUtility_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Preferences..._Remove_Size:_Temperature_Texttranslator-creditsProject-Id-Version: hardware-monitor 0.5 Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2004-01-16 20:57+0100 Last-Translator: Kjartan Maraas Language-Team: Norwegian MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); %1 %2%1 Gb%1 Mb%1 b%1 kb%1%%%1: %2*/BakgrunnEnheterGenereltAlternativerVisningAlle CPUerAlle dataAlle prosessorerCPUCPU %1F_arge:K_olonnerK_urverVelg en enhtetVelg en skriftOpphavsrett %1 2003 Ole LaursenEnhetEnheterRetning:Disk (%1)Vifte %1Vifte %1: «%2»Fatal feilMappe:GenereltMaskinvaremonitorInnkommende dataLastSnittbelastningMinneMinneModemOvervåk maskinvareenheterNettverkKun CPUUtgående dataVelg en fargeSensor %1Sensor %1: «%2»Seriell forbindelseLagringSystemTemperaturVerktøy_Om..._Legg til_Søyler_Diskbruk_Viftehastighet_Flammer_Hjelp_Linjebredde:Snittbe_lastning_Minnebruk_Brukervalg...Fje_rn_Størrelse:_Temperatur_TekstKjartan Maraas hardware-monitor-1.0/po/pl.gmo0000644000175000017500000000470410021711731013310 00000000000000)d; 8090B s ~    ' /: AN-_  ?"(/1 3?R an612:BKSg y        2 Q \ m x   $ ( #  %")&$  '!%1 %2%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAmount of time between measurements (in seconds)CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Fan %1Fan %1: "%2"Hardware MonitorHardware Monitor: cannot load the icon '%1'. Sensor %1Sensor %1: "%2"Utility_About..._Help_Preferences...translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-12-29 15:50+0100 Last-Translator: GNOME PL Team Language-Team: Polish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1: %2*/TłoUrządzeniaOgólneOpcjePrzeglądarkaŚrednia liczba uruchomionych równocześnie procesówWszystkie procesoryWszystkie daneOdstęp czasowy pomiędzy pomiarami (w sekundach)Procesor: 15.0%Użycie p_rocesora_ZmieńK_okor:Kol_umnyKrzy_weWybierz urządzenieWybierz czcionkęKo_lumny:Kolor paskaKolor krzywejPołączenie:Copyright %1 2003 Ole LaursenUrządzenieUrządzeniaKierunek:Wentylator %1Wentylator %1: "%2"Monitor sprzętuMonitor sprzętu: nie można wczytać ikony "%1". Czujnik %1Czujnik %1: "%2"Narzędzie_O programie...P_omoc_Preferencje...GNOME PL Team hardware-monitor-1.0/po/pt.gmo0000644000175000017500000002113610021711731013316 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkH~  *13 5B Vcs9 ! "- ?LR[c}         56lt  13P 567F4~9 (/;L   !: 0:JPa } @*:="x@( ! XB     ! !(!0!D!Z!b!i! {!!!!!! !! """'6"?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: 2.4 Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-09-14 17:00+0000 Last-Translator: Duarte Loreto Language-Team: Portuguese MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2º%1, entr%1, saidos%1: %2*/FundoDispositivosGeralOpçõesVisualizadorUma média deslizante do número simultâneo de processosTodos os CPUsTodos os dadosTodos os processadoresTempo entre medidas (em segundos)CPUCPU %1CPU: 15.0%Utilização C_PU_AlteraçãoC_or:C_olunasC_urvasSeleccione um DispositivoSeleccione uma FonteCo_lunas:Cor da barraCor da curvaCor da chamaLigação:Copyright %1 2003 Ole LaursenDispositivoDispositivosDirecção:Disco (%1)Memória baseada em discoIntroduza uma pasta que resida no disco a monitorizarEth. %1Ethernet (primeira)Ethernet (segunda)Ethernet (terceira)Ventoinha %1Velocidade ventoinha %1Velocidade ventoinha %1: "%2"Ventoinha %1: "%2"Erro fatalPasta:GeralMonitor de HardwarePreferências Monitor HardwareMonitor de Hardware: incapaz de ler o ícone '%1'. Dados entradosCargaCarga médiaMem.MemóriaMod.ModemMonitorizar todos os CPUsMonitorizar dispositivos utilizando chamas flutuantesMonitorizar dispositivos utilizando barras horizontaisMonitorizar dispositivos utilizando gráficos de linhasMonitorizar dispositivos utilizando colunas sólidasMonitorizar dispositivos utilizando descrições de textoMonitor de dispositivos hardwareMonitorizar apenas um CPUMonitoriza vária informação relativa ao hardware, tal como utilização de CPU, memória, etc. Suporta gráficos de curvas, barras horizontais, diagramas de colunas, monitorização de texto e chamas flutuantes.RedeNenhum sensor detectadoNúmero de colunas a apresentar simultaneamenteNúmero de pontos de medição a apresentar simultaneamenteApenas CPU:Dados saídosSeleccione uma CorProcessador nº %1_Amostras:Seleccione o sensor a monitorizarSeleccione se monitorizar dados entrados, saídos ou ambosSensor %1Sensor %1: "%2"Sér.Ligação sérieTamanho da applet em pixelsArmazenamentoSwapSistemaTemp. %1TemperaturaTemperatura %1Temperatura %1: "%2"A quantidade de dados enviados através de uma ligação de redeA quantidade de espaço em disco utilizadoA quantidade de memória baseada em disco (swap) utilizadaA quantidade de memória utilizadaA percentagem de tempo dispendida a executar processos visíveisA velocidade das ventoinhasA temperatura no interior do seu sistemaA espessura da curva (em pixels)Tipo de ligação - Ethernet é o tipo de adaptador de rede para redes locais mais comumUtilizar fundo de _painelUtilizar es_ta cor:Utilizar esta f_onte:UtilitárioVisualizadorQue nº de CPU monitorizar_Sobre..._Adicionar_BarrasUtilização _discoVelocidade _ventoinha_Chamas_AjudaEspessura _linha:_Carga médiaUtilização _memóriaDispositivos _monitorizados:_Velocidade de rede_Peferências..._Remover_Tamanho:Utilização _swap_Temperatura_Texto_Interval actualização:Duarte Loreto hardware-monitor-1.0/po/pt_BR.gmo0000644000175000017500000002106310021711731013700 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkl~%.6; A MYac er . 2FJ Q \fms|         (4*Ny ! (/5!I7k56:5q59#;V!&->6l  "J [fx }   2$01U 5 P8      !! !'!A!G!N!`!x!!!!! !! !!""?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: Hardware-monitor 0.7-5 Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-12-12 11:30-0500 Last-Translator: Tiago Cardoso Menezes Language-Team: Portuguese/Brazil MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1·Gb/s%1·Mb%1·Mb/s%1·b%1·b/s%1·kb%1·kb/s%1·rpm%1%%%1%2C%1,·dentro%1,·saindo%1:·%2*/FundoDispositivosGeralOpçõesVisualizadorA média de processos rodando simultanêamenteTodas CPUsTodos os dadosTodos os processosQuantidade de tempo entre as medidas (em segundos)CPUCPU %1CPU: 15.0%Uso C_PU M_udarC_or:C_olunasC_urvasEscolha o DispositivoEscolha a FonteCo_lunas:Cor da barraCor da curvaCor da chamaConexão:Copyright %1 2003 Ole LauresenDispositivoDispositivosDireção:Disco·(%1)Memória baseada em discoAdicione uma pasta do disco para monitorarEth.·%1Ethernet (primeira)Ethernet (segunda)Ethernet (terceira)Ventilador %1Ventilador·%1·velocidadeVentilador·%1·velocidade:·"%2"Ventilador %1:·"%2"Erro fatalPasta:GeralMonitor do HardwarePreferências do Monitor HardwareMonitor do Hardware: não pode carregar o ícone '%1'. Dados recebidosCarregarMédia de carregamentoMem.MemóriaMod.ModemMonitora todas as CPUsMonitorando dispositivos utilizando chamas flutuantesMonitorando dispositivos utilizando barras horizontaisMonitorando dispositivo utilizando gráficos em linhaMonitorando·dispositivo·utilizando colunas sólidasMonitorando·dispositivo·utilizando descrição de textoMonitor dos dispostivos de hardwareMonitorando apenas uma CPUMonitora diversas informações sobre hardware, com uso da CPU, uso da memória,etc. Suporte a gráficos de curva, com barras horizontais, diagrama em colunas, monitoramento textual e chamas flutuantes.RedeNenhum sensor detectadoNúmero de colunas mostradas simultâneamenteNúmero de pontos de medida mostrados simultâneamenteSomente CPU:Dados enviadosEscolha uma CorProcessador no. %1E_xemplos:Selecione um sensor para monitorarSelecione se o monitoramento vai ser de entrada ou saida de dados ou ambosSensor·%1Sensor·%1:·"%2"Ser.Link serialTamanho do applet em pixelsArmazenamentoSwapSistemaTemp.·%1TemperaturaTemperatura·%1Temperatura·%1:·"%2"Quantidade de dados enviados pela conexão de redeQuantidade de espaço usado no discoQuantidade de memória baseada em disco utilizadaQuantidade de memória utilizadaPercentual de tempo gasto rodando os processos ativosVelocidade dos ventiladoresTemperatura interna do sistemaDensidade da curva (em pixels)Tipo de conexão - Ethernet é o tipo de adaptador de rede normalmente utilizadoUsar _fundo no painelUsar _esta cor:Usar esta f_onte:UtilitárioVisualizaçãoQual no. CPU vai para o monitor_Sobre..._Adicionar_Barras_Uso do disco_Velocidade do ventilador_Fogo_Ajuda_Largura da linha_Média de carregamento_Memória utilizada_Dispositivos monitorados_Tráfego de Rede_Preferências..._Remover_Tamanho:_Swap utilizado_Temperatura_Texto_Intervalo de atualização:créditos-tradutoreshardware-monitor-1.0/po/sr.gmo0000644000175000017500000002454110021711731013322 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYk`~  %*07@GIKcyF.CH .   &Fbq  @  % 3 Aab &-0T! 0V5% $J%FpHFHG2/d X *c F Y /!N!j!!!I!}!w""""9"" # # !#.#E##_#F#J#H$8^$f$#$2"%:U%y%- & 8&"Y&|&&?&& ' '&'$@'e' u''&',''(.( @(N(>a(( (5(f(?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-09-14 15:27+0200 Last-Translator: Данило Шеган Language-Team: Serbian (sr) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 рпм%1%%%1%2C%1, у%1, из%1: %2*/ПозадинаУређајиОпштеОпцијеПрегледачСтални просек броја упоредних процесаСви процесориСви подациСви процесориВреме између два мерења (у секундама)Проц.Процесор %1Процесор: 15,0%Искоришћеност _процесораПро_мени_Боја:К_олонеК_ривеИзаберите уређајИзаберите фонтКо_лоне:Боја тракеБоја криве линијеБоја пламенаВеза:Сва права задржана %1 2003 Оле ЛаурсенУређајУређајиПравац:Диск (%1)Меморија на дискуУнесите директоријум на диску који желите да пратитеМрж. %1Мрежа (прва)Мрежа (друга)Мрежа (трећа)Вентилатор %1Брзина вентилатора %1Брзина вентилатора %1: „%2“Вентилатор %1: „%2“Кобна грешкаДиректоријум:ОпштеПраћење хардвераПоставке праћења хардвераПраћење хардвера: не могу да учитам икону „%1“. Улазни подациОпт.Просечно оптерећењеМем.МеморијаМод.МодемПрати све процесореПрати уређаје помоћу променљиве ватрицеПрати уређаје помоћу водоравних тракаПрати уређаје помоћу линијских графикаПрати уређаје помоћу испуњених колонаПрати уређаје помоћу текстуалних описаПратите хардверске уређајеПрати само један процесорПраћење разних података у вези са хардвером, као што је искоришћеност процесора, меморије итд. Подржава графике, водоравне траке, дијаграме у колонама, текстуално праћење и променљиве пламенове.МрежаНисам пронашао сензореКолико колона да прикажем истовременоКолико измерених тачака да прикажем истовременоЈедино процесор:Излазни подациИзаберите бојуПроцесор бр. %1У_зорци:Изаберите сензор који желите да пратитеИзаберите да ли да пратим улазне, излазне податке или и једне и другеСензор %1Сензор %1: „%2“Сер.Серијска везаВеличина програмчета у тачкамаДисковиЗам.СистемТемп. %1ТемператураТемпература %1Температура %1: „%2“Количина података послатих кроз мрежуКоличина искоришћеног простора на дискуКоличина искоришћене меморије на дискуКоличина искоришћене меморијеПостотак времена утрошен на извршавање главних процесаБрзина вентилатораТемпература унутар системаДебљина криве линије (у тачкама)Врста везе — етернет је најчешћи врста уређаја у локалним мрежамаКористи позадину _панелаКористи _ову боју:Користи овај _фонт:Користан алатПрегледачПроцесор са којим бројем да пратим_О програму..._Додај_ТракеИскоришћеност _дискаБрзина _вентилатораВ_атрице_ПомоћДебљина _линије:Просечно _оптерећењеИскоришћеност _меморијеПраћ_ени уређаји:_Мрежни проток_Поставке_Уклони_Величина:Искоришћеност _замене за меморију_Температура_Текст_Време између два освежавања:Данило Шеган Prevod.org — превод на српски језик.hardware-monitor-1.0/po/sr@Latn.gmo0000644000175000017500000002071510021711731014240 00000000000000l                  ! 3 B Q ` 8n    0      " * 3 ; K Y c t      . )1BTe ly  -  $16=BH(Y%!#'/I '!/I y   ; , 1=Zbgn w4$A9{+"P1GXhpw      +3 : FSYkV~ #)079;K [ iw%   '  ;DKSZl{  ' 5G P^m }  7+ cqv*'( (6(_&1"1A(JEs  !   )5D']*) 95H"cH   "( K Z a h         !! !#*! N![! b!I!?D5i[}Xj^UY/v4'xQ Tf39$8"O.0~|J6y`c<k :,b C1!2%>o*dKBuVrq;e \FHZtI_(p= S7GRmlPsan@gzNLW+hw)]M{ #A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerWhich CPU no. to monitor_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2003-09-14 15:27+0200 Last-Translator: Danilo Šegan Language-Team: Serbian (sr) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit %1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, u%1, iz%1: %2*/PozadinaUređajiOpšteOpcijePregledačStalni prosek broja uporednih procesaSvi procesoriSvi podaciSvi procesoriVreme između dva merenja (u sekundama)Proc.Procesor %1Procesor: 15,0%Iskorišćenost _procesoraPro_meni_Boja:K_oloneK_riveIzaberite uređajIzaberite fontKo_lone:Boja trakeBoja krive linijeBoja plamenaVeza:Sva prava zadržana %1 2003 Ole LaursenUređajUređajiPravac:Disk (%1)Memorija na diskuUnesite direktorijum na disku koji želite da pratiteMrž. %1Mreža (prva)Mreža (druga)Mreža (treća)Ventilator %1Brzina ventilatora %1Brzina ventilatora %1: „%2“Ventilator %1: „%2“Kobna greškaDirektorijum:OpštePraćenje hardveraPostavke praćenja hardveraPraćenje hardvera: ne mogu da učitam ikonu „%1“. Ulazni podaciOpt.Prosečno opterećenjeMem.MemorijaMod.ModemPrati sve procesorePrati uređaje pomoću promenljive vatricePrati uređaje pomoću vodoravnih trakaPrati uređaje pomoću linijskih grafikaPrati uređaje pomoću ispunjenih kolonaPrati uređaje pomoću tekstualnih opisaPratite hardverske uređajePrati samo jedan procesorPraćenje raznih podataka u vezi sa hardverom, kao što je iskorišćenost procesora, memorije itd. Podržava grafike, vodoravne trake, dijagrame u kolonama, tekstualno praćenje i promenljive plamenove.MrežaNisam pronašao senzoreKoliko kolona da prikažem istovremenoKoliko izmerenih tačaka da prikažem istovremenoJedino procesor:Izlazni podaciIzaberite bojuProcesor br. %1U_zorci:Izaberite senzor koji želite da pratiteIzaberite da li da pratim ulazne, izlazne podatke ili i jedne i drugeSenzor %1Senzor %1: „%2“Ser.Serijska vezaVeličina programčeta u tačkamaDiskoviZam.SistemTemp. %1TemperaturaTemperatura %1Temperatura %1: „%2“Količina podataka poslatih kroz mrežuKoličina iskorišćenog prostora na diskuKoličina iskorišćene memorije na diskuKoličina iskorišćene memorijePostotak vremena utrošen na izvršavanje glavnih procesaBrzina ventilatoraTemperatura unutar sistemaDebljina krive linije (u tačkama)Vrsta veze — eternet je najčešći vrsta uređaja u lokalnim mrežamaKoristi pozadinu _panelaKoristi _ovu boju:Koristi ovaj _font:Koristan alatPregledačProcesor sa kojim brojem da pratim_O programu..._Dodaj_TrakeIskorišćenost _diskaBrzina _ventilatoraV_atrice_PomoćDebljina _linije:Prosečno _opterećenjeIskorišćenost _memorijePrać_eni uređaji:_Mrežni protok_Postavke_Ukloni_Veličina:Iskorišćenost _zamene za memoriju_Temperatura_Tekst_Vreme između dva osvežavanja:Danilo Šegan Prevod.org — prevod na srpski jezik.hardware-monitor-1.0/po/sv.gmo0000644000175000017500000002137110021711732013325 00000000000000          % , 1 7 > F M O Q c r  8    0 ) - 4 ? J R Z c k {        .*Yar   - AO Tafmrx(%!#'F_y5='Q/y    ; BL\ a m 4-$KpA+"P1   & , 9 GUi}  kLRX`fnsz  7 AR["l  "3 DPnt |4  )Baq(5  06<AG8b:26 6@w#w!%%#.IR  +)$-4 = HV7j&,< O %j % N !!2!K!S!Z!)b! !! !!!!!! !!""1"J"]" f"p" """D"?D5j[Xk^UY/x4'y{Q Tg39$8"O.0J6|ad<l :,c C1!2%>p*eKBvVsr;f \FHZuI_(q= S7GR`nmPtbo@h}NLW+iz)]M~ w#A&E-%1 %2%1 Gb%1 Gb/s%1 Mb%1 Mb/s%1 b%1 b/s%1 kb%1 kb/s%1 rpm%1%%%1%2C%1, in%1, out%1: %2*/BackgroundDevicesGeneralOptionsViewerA running average of the number of simultanous processesAll CPUsAll dataAll processorsAmount of time between measurements (in seconds)CPUCPU %1CPU: 15.0%C_PU usageC_hangeC_olor:C_olumnsC_urvesChoose a DeviceChoose a FontCo_lumns:Color of the barColor of the curveColor of the flameConnection:Copyright %1 2003 Ole LaursenDeviceDevicesDirection:Disk (%1)Disk-based memoryEnter a folder residing on the disk to monitorEth. %1Ethernet (first)Ethernet (second)Ethernet (third)Fan %1Fan %1 speedFan %1 speed: "%2"Fan %1: "%2"Fatal errorFolder:GeneralHardware MonitorHardware Monitor PreferencesHardware Monitor: cannot load the icon '%1'. Incoming dataLoadLoad averageMem.MemoryMod.ModemMonitor all CPUsMonitor devices using fluctuating flamesMonitor devices using horizontal barsMonitor devices using line graphsMonitor devices using solid columnsMonitor devices using text descriptionsMonitor hardware devicesMonitor only a single CPUMonitor various hardware-related information, such as CPU usage, memory usage etc. Supports curve graphs, horizontal bar plots, column diagrams, textual monitoring and fluctuating flames.NetworkNo sensors detectedNumber of columns to show simultanouslyNumber of measured points to show simultanouslyOnly CPU:Outgoing dataPick a ColorProcessor no. %1S_amples:Select the sensor to monitorSelect whether to monitor incoming or outgoing data or bothSensor %1Sensor %1: "%2"Ser.Serial linkShow _free space instead of usedSize of the applet in pixelsStorageSwapSystemTemp. %1TemperatureTemperature %1Temperature %1: "%2"The amount of data sent through a network connectionThe amount of disk space usedThe amount of disk-based memory usedThe amount of memory usedThe percentage of time that is spent running foreground processesThe speed of the fansThe temperature of the inside of the systemThickness of the curve (in pixels)Type of connection - Ethernet is the most common local area network adapter typeUse _panel backgroundUse _this color:Use this f_ont:UtilityViewerW.less.Which CPU no. to monitorWireless_About..._Add_Bars_Disk usage_Fan speed_Flames_Help_Line width:_Load average_Memory usage_Monitored devices:_Network throughput_Preferences..._Remove_Size:_Swap usage_Temperature_Text_Update interval:translator-creditsProject-Id-Version: hardware-monitor Report-Msgid-Bugs-To: POT-Creation-Date: 2004-03-04 21:38+0100 PO-Revision-Date: 2004-02-29 22:42+0100 Last-Translator: Christian Rose Language-Team: Swedish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plural-Forms: nplurals=2; plural=(n != 1); %1 %2%1 GB%1 Gb/s%1 MB%1 Mb/s%1 B%1 b/s%1 kB%1 kb/s%1 varv/minut%1%%%1%2C%1, in%1, ut%1: %2*/BakgrundEnheterAllmäntAlternativVisareEtt löpande medelvärde av antalet samtidiga processerAlla processorerAll dataAlla processorerTid mellan mätningar (i sekunder)CPUCPU %1Processor: 15,0%_Processoranvändning_ÄndraF_ärg:K_olumnerK_urvorVälj en enhetVälj ett typsnittKo_lumner:Färg på stapelnFärg på kurvanFärg på låganAnslutning:Copyright %1 2003 Ole LaursenEnhetEnheterRiktning:Hårddisk (%1)Hårddiskbaserat minneAnge en mapp som finns på hårddisken att övervakaEth. %1Ethernet (första)Ethernet (andra)Ethernet (tredje)Fläkt %1Hastighet för fläkt %1Hastighet för fläkt %1: "%2"Fläkt %1: "%2"Ödesdigert felMapp:AllmäntHårdvaruövervakareInställningar för hårdvaruövervakareHårdvaruövervakare: kan inte läsa in ikonen "%1". Inkommande dataBeslastningMedelbelastningMinneMinneMod.ModemÖvervaka alla processorerÖvervaka enheter genom användning av pulserande lågorÖvervaka enheter genom användning av horisontella lågorÖvervaka enheter genom användning av linjegraferÖvervaka enheter genom användning av fyllda kolumnerÖvervaka enheter genom användning av textbeskrivningÖvervaka hårdvaruenheterÖvervaka endast en ensam processorÖvervaka diverse hårdvarurelaterad information som exempelvis processoranvändning m.m. Stöder kurvgrafer, horisontella stapeldiagram, kolumndiagram, textövervakning och pulserande lågor.NätverkInga sensorer detekteradeAntal kolumner att visa samtidigtAntal mätpunkter som visas samtidigtEndast processor:Utgående dataVälj en färgProcessornummer %1_Prover:Välj den sensor som ska övervakasVälj huruvida inkommande eller utgående data ska övervakas eller bådaSensor %1Sensor %1: "%2"Ser.SerielänkVisa _ledigt utrymme istället för använtStorlek på panelprogrammet i bildpunkterLagringVäxlingSystemTemp. %1TemperaturTemperatur %1Temperatur %1: "%2"Mängden data som skickats genom en nätverksanslutningMängden hårddiskutrymme som användsMängden hårddiskbaserat minne som användsMängden minne som användsAndelen av tiden som spenderas körandes förgrundsprocesserHastigheten på fläktarnaTemperaturen hos insidan på systemetTjockleken på kurvan (i bildpunkter)Typ av anslutning - Ethernet är den vanligaste korttypen för lokala nätverkAnvänd _panelbakgrundAnvänd _denna färg:Använd detta t_ypsnitt:VerktygVisareTrådl.Vilket processornummer som ska övervakasTrådlöst_Om..._Lägg till_Staplar_Hårddiskanvändning_Fläkthastighet_Lågor_Hjälp_Linjebredd:_Medelbelastning_Minnesanvändning_Övervakade enheter:_Nätverkgenomströmning_Inställningar..._Ta bort_Storlek:Vä_xlingsfilsanvändning_Temperatur_Text_uppdateringsintervall:Christian Rose Skicka synpunkter på översättningen till sv@li.org