moserial-3.0.8/0000775000213200021320000000000012064144713010330 500000000000000moserial-3.0.8/po/0000775000213200021320000000000012064144714010747 500000000000000moserial-3.0.8/po/Makefile.in.in0000674000213200021320000001604612064144714013351 00000000000000# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # Copyright (C) 2004-2008 Rodney Dawes # # This file may be copied and used freely without restrictions. It may # be used in projects which are not available under a GNU Public License, # but which still want to provide support for the GNU gettext functionality. # # - Modified by Owen Taylor to use GETTEXT_PACKAGE # instead of PACKAGE and to look for po2tbl in ./ not in intl/ # # - Modified by jacob berkman to install # Makefile.in.in and po2tbl.sed.in for use with glib-gettextize # # - Modified by Rodney Dawes for use with intltool # # We have the following line for use by intltoolize: # INTLTOOL_MAKEFILE GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ PACKAGE = @PACKAGE@ VERSION = @VERSION@ SHELL = @SHELL@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ VPATH = @srcdir@ prefix = @prefix@ exec_prefix = @exec_prefix@ datadir = @datadir@ datarootdir = @datarootdir@ libdir = @libdir@ DATADIRNAME = @DATADIRNAME@ itlocaledir = $(prefix)/$(DATADIRNAME)/locale subdir = po install_sh = @install_sh@ # Automake >= 1.8 provides @mkdir_p@. # Until it can be supposed, use the safe fallback: mkdir_p = $(install_sh) -d INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ GMSGFMT = @GMSGFMT@ MSGFMT = @MSGFMT@ XGETTEXT = @XGETTEXT@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ MSGMERGE = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist GENPOT = INTLTOOL_EXTRACT="$(INTLTOOL_EXTRACT)" XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot ALL_LINGUAS = @ALL_LINGUAS@ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi) USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep \^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep \^$$lang$$`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done) POFILES=$(shell LINGUAS="$(PO_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = ChangeLog POTFILES.skip Makevars LINGUAS POTFILES = \ # This comment gets stripped out CATALOGS=$(shell LINGUAS="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.gmo "; done) .SUFFIXES: .SUFFIXES: .po .pox .gmo .mo .msg .cat AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ INTLTOOL_V_MSGFMT = $(INTLTOOL__v_MSGFMT_$(V)) INTLTOOL__v_MSGFMT_= $(INTLTOOL__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@; .po.pox: $(MAKE) $(GETTEXT_PACKAGE).pot $(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox .po.mo: $(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $< .po.gmo: $(INTLTOOL_V_MSGFMT)file=`echo $* | sed 's,.*/,,'`.gmo \ && rm -f $$file && $(GMSGFMT) -o $$file $< .po.cat: sed -f ../intl/po2msg.sed < $< > $*.msg \ && rm -f $@ && gencat $@ $*.msg all: all-@USE_NLS@ all-yes: $(CATALOGS) all-no: $(GETTEXT_PACKAGE).pot: $(POTFILES) $(GENPOT) install: install-data install-data: install-data-@USE_NLS@ install-data-no: all install-data-yes: all linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \ $(mkdir_p) $$dir; \ if test -r $$lang.gmo; then \ $(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $$lang.gmo as $$dir/$(GETTEXT_PACKAGE).mo"; \ else \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \ echo "installing $(srcdir)/$$lang.gmo as" \ "$$dir/$(GETTEXT_PACKAGE).mo"; \ fi; \ if test -r $$lang.gmo.m; then \ $(INSTALL_DATA) $$lang.gmo.m $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $$lang.gmo.m as $$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ if test -r $(srcdir)/$$lang.gmo.m ; then \ $(INSTALL_DATA) $(srcdir)/$$lang.gmo.m \ $$dir/$(GETTEXT_PACKAGE).mo.m; \ echo "installing $(srcdir)/$$lang.gmo.m as" \ "$$dir/$(GETTEXT_PACKAGE).mo.m"; \ else \ true; \ fi; \ fi; \ done # Empty stubs to satisfy archaic automake needs dvi info ctags tags CTAGS TAGS ID: # Define this as empty until I found a useful application. install-exec installcheck: uninstall: linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \ rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \ done check: all $(GETTEXT_PACKAGE).pot rm -f missing notexist srcdir=$(srcdir) $(INTLTOOL_UPDATE) -m if [ -r missing -o -r notexist ]; then \ exit 1; \ fi mostlyclean: rm -f *.pox $(GETTEXT_PACKAGE).pot *.old.po cat-id-tbl.tmp rm -f .intltool-merge-cache clean: mostlyclean distclean: clean rm -f Makefile Makefile.in POTFILES stamp-it rm -f *.mo *.msg *.cat *.cat.m *.gmo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." rm -f Makefile.in.in distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) dist distdir: $(DISTFILES) dists="$(DISTFILES)"; \ extra_dists="$(EXTRA_DISTFILES)"; \ for file in $$extra_dists; do \ test -f $(srcdir)/$$file && dists="$$dists $(srcdir)/$$file"; \ done; \ for file in $$dists; do \ test -f $$file || file="$(srcdir)/$$file"; \ ln $$file $(distdir) 2> /dev/null \ || cp -p $$file $(distdir); \ done update-po: Makefile $(MAKE) $(GETTEXT_PACKAGE).pot tmpdir=`pwd`; \ linguas="$(USE_LINGUAS)"; \ for lang in $$linguas; do \ echo "$$lang:"; \ result="`$(MSGMERGE) -o $$tmpdir/$$lang.new.po $$lang`"; \ if $$result; then \ if cmp $(srcdir)/$$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ rm -f $$tmpdir/$$lang.new.po; \ else \ if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ :; \ else \ echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ rm -f $$tmpdir/$$lang.new.po; \ exit 1; \ fi; \ fi; \ else \ echo "msgmerge for $$lang.gmo failed!"; \ rm -f $$tmpdir/$$lang.new.po; \ fi; \ done Makefile POTFILES: stamp-it @if test ! -f $@; then \ rm -f stamp-it; \ $(MAKE) stamp-it; \ fi stamp-it: Makefile.in.in $(top_builddir)/config.status POTFILES.in cd $(top_builddir) \ && CONFIG_FILES=$(subdir)/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \ $(SHELL) ./config.status # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: moserial-3.0.8/po/POTFILES.in0000674000213200021320000000065612064144714012454 00000000000000[encoding: UTF-8] # List of source files which contain translatable strings. [type: gettext/glade]data/glade/moserial.ui data/moserial.desktop.in src/InputParser.vala src/Main.vala src/MainWindow.vala src/PreferencesDialog.vala src/Preferences.vala src/Profile.vala src/Rzwrapper.vala src/SendProgressDialog.vala src/SerialConnection.vala src/SerialStreamRecorder.vala src/SettingsDialog.vala src/Settings.vala src/Szwrapper.vala moserial-3.0.8/po/ca.po0000674000213200021320000004467612064144714011634 00000000000000# Catalan translations for moserial package # Traduccions al català del paquet «moserial». # Copyright (C) 2009 THE moserial'S COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # David Planella , 2009. # msgid "" msgstr "" "Project-Id-Version: moserial\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-06-26 21:40+0200\n" "PO-Revision-Date: 2009-05-24 15:22+0200\n" "Last-Translator: David Planella \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/glade/moserial.glade.h:1 msgid "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" msgstr "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" #: ../data/glade/moserial.glade.h:9 msgid "" "1\n" "2" msgstr "" "1\n" "2" #: ../data/glade/moserial.glade.h:11 msgid "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" msgstr "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" #: ../data/glade/moserial.glade.h:25 msgid "" "5\n" "6\n" "7\n" "8" msgstr "" "5\n" "6\n" "7\n" "8" #: ../data/glade/moserial.glade.h:29 msgid "Font" msgstr "Tipus de lletra" #: ../data/glade/moserial.glade.h:30 msgid "Port Settings" msgstr "Paràmetres del port" #: ../data/glade/moserial.glade.h:31 msgid "Recording" msgstr "Enregistrament" #: ../data/glade/moserial.glade.h:32 msgid "Outgoing" msgstr "De sortida" #: ../data/glade/moserial.glade.h:33 msgid "" "ASCII\n" "HEX" msgstr "" "ASCII\n" "HEX" #: ../data/glade/moserial.glade.h:35 msgid "Access Mode" msgstr "Mode d'accés" #: ../data/glade/moserial.glade.h:36 msgid "Also known as RTS/CTS handshaking" msgstr "També coneguda com a negociació RTS/CTS" #: ../data/glade/moserial.glade.h:37 msgid "Also known as XON/XOFF handshaking" msgstr "També coneguda com a negociació XON/XOFF" #: ../data/glade/moserial.glade.h:38 msgid "Background Color" msgstr "Color de fons" #: ../data/glade/moserial.glade.h:39 msgid "Baud Rate" msgstr "Taxa de baud" #: ../data/glade/moserial.glade.h:40 msgid "" "CR+LF end\n" "CR end\n" "LF end\n" "TAB end\n" "ESC end\n" "No end" msgstr "" "CR+LF al final\n" "CR al final\n" "LF al final\n" "TAB al fina\n" "ESC al final\n" "Sense final" #: ../data/glade/moserial.glade.h:46 msgid "" "Click this to transmit the data entered in the Outgoing text box. Clicking " "\"enter\" in that box will do the same thing." msgstr "" "Feu clic aquí per a transmetre les dades introduïdes al quadre de text «De " "sortida». Si premeu la tecla de «Retorn» en aquest quadre obtindreu el mateix " "efecte." #: ../data/glade/moserial.glade.h:47 msgid "Connect" msgstr "Connecta" #: ../data/glade/moserial.glade.h:48 msgid "Data Bits" msgstr "Bits de dades" #: ../data/glade/moserial.glade.h:49 msgid "Device" msgstr "Dispositiu" #: ../data/glade/moserial.glade.h:50 msgid "Disconnect" msgstr "Desconnecta" #: ../data/glade/moserial.glade.h:51 msgid "Display Font" msgstr "Tipus de lletra de la pantalla" #: ../data/glade/moserial.glade.h:52 msgid "Echo received data" msgstr "Fes eco de les dades rebudes" #: ../data/glade/moserial.glade.h:53 msgid "Enable timeout after" msgstr "Habilita el temps d'espera després de l'enviament" #: ../data/glade/moserial.glade.h:54 msgid "" "Enter the data that you wish to transmit here. Press Enter or Send when you " "are ready to send it." msgstr "" "Introduïu les dades que voleu transmetre aquí. Premeu la tecla de Retorn o " "Envia quan estigueu a punt per a enviar-les." #: ../data/glade/moserial.glade.h:55 msgid "Error Correction Protocol" msgstr "Protocol de correcció d'errors" #: ../data/glade/moserial.glade.h:56 msgid "Filename required for XMODEM" msgstr "Cal un nom de fitxer per l'XMODEM" #: ../data/glade/moserial.glade.h:57 msgid "Font Colour" msgstr "Color del tipus de lletra" #: ../data/glade/moserial.glade.h:58 msgid "Handshake" msgstr "Negociació" #: ../data/glade/moserial.glade.h:59 msgid "Hardware" msgstr "Maquinari" #: ../data/glade/moserial.glade.h:60 msgid "Help" msgstr "Ajuda" #: ../data/glade/moserial.glade.h:61 msgid "Highlight Color" msgstr "Color de realçament" #: ../data/glade/moserial.glade.h:62 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Si aquesta opció està habilitada, els fitxers enregistrats s'obriran " "immediatament amb l'aplicació predeterminada tan bon punt es desin. Aquesta " "aplicació predeterminada la defineix l'entorn d'escriptori." #: ../data/glade/moserial.glade.h:63 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. That is, moserial " "will wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Si aquesta opció està habilitada, després d'haver rebut algunes dades " "s'aturarà l'enregistrament de manera automàtica quan hagi passat un temps " "d'inactivitat ajustable. És a dir, el moserial esperarà de manera indefinida " "a enregistrar el primer byte de dades abans d'activar el temporitzador " "d'inactivitat." #: ../data/glade/moserial.glade.h:64 msgid "" "Incoming\n" "Outgoing\n" "Incoming and Outgoing" msgstr "" "D'entrada\n" "De sortida\n" "D'entrada i de sortida" #: ../data/glade/moserial.glade.h:67 msgid "Local Echo" msgstr "Eco local" #: ../data/glade/moserial.glade.h:68 msgid "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" msgstr "" "Cap\n" "Senar\n" "Parell\n" "Marca\n" "Espai" #: ../data/glade/moserial.glade.h:73 msgid "Normally disabled" msgstr "Habitualment inhabilitat" #: ../data/glade/moserial.glade.h:74 msgid "Open _Recent" msgstr "Obre un fitxer _recent" #: ../data/glade/moserial.glade.h:75 msgid "Parity" msgstr "Paritat" #: ../data/glade/moserial.glade.h:76 msgid "Port Setup" msgstr "Configuració del port" #: ../data/glade/moserial.glade.h:77 msgid "Preferences" msgstr "Preferències" #: ../data/glade/moserial.glade.h:78 msgid "" "Read and Write\n" "Read Only\n" "Write Only" msgstr "" "Lectura i escriptura\n" "Només lectura\n" "Només escriptura" #: ../data/glade/moserial.glade.h:81 msgid "Receive File" msgstr "Recepció d'un fitxer" #: ../data/glade/moserial.glade.h:82 msgid "Receive File Progress" msgstr "Progrés de la recepció del fitxer" #: ../data/glade/moserial.glade.h:83 msgid "Received ASCII" msgstr "S'ha rebut en ASCII" #: ../data/glade/moserial.glade.h:84 msgid "Received HEX" msgstr "S'ha rebut en HEX" #: ../data/glade/moserial.glade.h:85 msgid "Record" msgstr "Enregistra" #: ../data/glade/moserial.glade.h:86 msgid "Record Incoming and/or Outgoing Data" msgstr "Enregistreu dades d'entrada i/o de sortida" #: ../data/glade/moserial.glade.h:87 msgid "Save Settings _As" msgstr "_Anomena i desa els paràmetres" #: ../data/glade/moserial.glade.h:88 msgid "Select File to Send" msgstr "Seleccioneu el fitxer a enviar" #: ../data/glade/moserial.glade.h:89 msgid "Select Folder for Received Files" msgstr "Seleccioneu la carpeta on emmagatzemar els fitxers rebuts" #: ../data/glade/moserial.glade.h:90 msgid "Select the error correction protocol to use." msgstr "Seleccioneu el protocol de correcció d'errors a utilitzar." #: ../data/glade/moserial.glade.h:91 msgid "" "Select the error correction protocol to use. If you wish to receive a " "straight binary file without using error correction protocols, use the " "Record button instead." msgstr "" "Seleccioneu el protocol de correcció d'errors a utilitzar. Si voleu rebre un " "fitxer binari que no n'utilitzi cap, utilitzeu el botó Enregistra." #: ../data/glade/moserial.glade.h:92 msgid "Send" msgstr "Envia" #: ../data/glade/moserial.glade.h:93 msgid "Send File" msgstr "Enviament d'un fitxer" #: ../data/glade/moserial.glade.h:94 msgid "Send File Progress" msgstr "Progrés de l'enviament del fitxer" #: ../data/glade/moserial.glade.h:95 msgid "Sent ASCII" msgstr "Enviat en ASCII" #: ../data/glade/moserial.glade.h:96 msgid "Sent HEX" msgstr "Enviat en HEX" #: ../data/glade/moserial.glade.h:97 msgid "Software" msgstr "Programari" #: ../data/glade/moserial.glade.h:98 msgid "Stop Bits" msgstr "Bits d'aturada" #: ../data/glade/moserial.glade.h:99 msgid "Stop Recording" msgstr "Atura l'enregistrament" #: ../data/glade/moserial.glade.h:100 msgid "Stream to record" msgstr "Flux a enregistrar" #: ../data/glade/moserial.glade.h:101 msgid "" "This determines whether the data entered in the Outgoing text box should be " "interpreted as normal ASCII text, or as hexadecimal codes. If this is set to " "HEX, the entered data should consist of only 0-9 and A-F characters." msgstr "" "Això determina si les dades introduïdes al quadre de text De sortida " "s'haurien d'interpretar com a text en ASCII o bé com a codis HEX " "(hexadecimals). Si ho establiu a HEX, les dades introduïdes haurien de " "consistir només en caràcters 0-9 i A-F." #: ../data/glade/moserial.glade.h:102 msgid "" "This selects the termination sequence that is appended to the Outgoing data " "in the ASCII mode when you click Send." msgstr "" "Això selecciona la seqüència de terminació que s'afegeix a les dades De " "sortida en mode ASCII quan feu clic a Envia." #: ../data/glade/moserial.glade.h:103 msgid "Use this to configure your serial port parameters." msgstr "Utilitzeu-ho per a configurar els paràmetres del vostre port sèrie." #: ../data/glade/moserial.glade.h:104 msgid "" "Use this to receive a file from a remote computer, using an error correction " "protocol. For straight binary dumps without error correction, use Record " "instead." msgstr "" "Utilitzeu-ho per a rebre un fitxer d'un ordinador remot utilitzant un " "protocol de correcció d'errors. Si voleu rebre bolcats binaris sense " "correcció d'errors, utilitzeu Enregistra." #: ../data/glade/moserial.glade.h:105 msgid "" "Use this to record (or \"log\") your communications to a file. You can log " "the received data, the sent data, or both. This can also be used to receive " "files sent by a remote device without the use of error correction protocols " "(a straight binary dump)." msgstr "" "Utilitzeu-ho per a enregistrar les vostres comunicacions a un fitxer. Podreu " "enregistrar les dades rebudes, les enviades, o ambdues. També podeu " "utilitzar-ho per a rebre fitxers enviats per un dispositiu remot que no " "utilitzi cap protocol de correcció d'errors (un bolcat binari)." #: ../data/glade/moserial.glade.h:106 msgid "" "Use this to send a file to a remote computer, with or without error " "correction protocols." msgstr "" "Utilitzeu-ho per a enviar un fitxer a un ordinador remot, amb o sense " "protocols de correcció d'errors." #: ../data/glade/moserial.glade.h:107 msgid "Use this to set font sizes and other related settings." msgstr "" "Utilitzeu-ho per a definir les mides dels tipus de lletra i altres " "paràmetres relacionats." #: ../data/glade/moserial.glade.h:108 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem" #: ../data/glade/moserial.glade.h:111 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "Cap (directament en binari)" #: ../data/glade/moserial.glade.h:115 msgid "" "You must connect to your port before you can send or receive data. " "Disconnecting and reconnecting will clear the textboxes and reset the TX / " "RX counters." msgstr "" "Us heu de connectar al port abans de poder enviar o rebre dades. Si us " "desconnecteu i us torneu a connectar es netejaran els quadres de text i es " "reinicialitzaran els comptadors TX / RX (dades enviades i rebudes)." #: ../data/glade/moserial.glade.h:116 msgid "_Contents" msgstr "_Contingut" #: ../data/glade/moserial.glade.h:117 msgid "_Edit" msgstr "_Edita" #: ../data/glade/moserial.glade.h:118 msgid "_File" msgstr "_Fitxer" #: ../data/glade/moserial.glade.h:119 msgid "_Help" msgstr "A_juda" #: ../data/glade/moserial.glade.h:120 msgid "_Launch recorded files" msgstr "_Carrega els fitxers enregistrats" #: ../data/glade/moserial.glade.h:121 msgid "_Open Settings" msgstr "_Obre els paràmetres" #: ../data/glade/moserial.glade.h:122 msgid "_Save Settings" msgstr "_Desa els paràmetres" #: ../data/glade/moserial.glade.h:123 msgid "_Use the system fixed width font" msgstr "_Utilitza el tipus de lletra d'amplada fixa del sistema" #: ../data/glade/moserial.glade.h:124 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.glade.h:125 msgid "seconds" msgstr "segons" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "" "Un terminal sèrie optimitzat per a l'enregistrament i la captura de fitxers" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal sèrie" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../src/MainWindow.vala:11 msgid "translator-credits" msgstr "David Planella " #: ../src/MainWindow.vala:13 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "El moserial és programari lliure; podeu redistribuir-lo i/o modificar-lo " "sota els termes de la Llicència Pública General GNU tal com ha estat " "publicada per la Free Software Foundation; ja sigui la versió 3 de la " "Llicència o bé (si ho preferiu) qualsevol altra versió posterior.\n" #: ../src/MainWindow.vala:14 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "El moserial es distribueix amb l'expectativa que serà útil, però SENSE CAP " "GARANTIA; ni tan sols la garantia implícita de COMERCIABILITAT o ADEQUACIÓ " "PER UN PROPÒSIT PARTICULAR. Vegeu la Llicència Pública General GNU per " "obtenir-ne més detalls.\n" #: ../src/MainWindow.vala:15 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Hauríeu d'haver rebut una còpia de la Llicència Pública General GNU " "juntament amb aquest programa; en cas contrari, consulteu ." #: ../src/MainWindow.vala:147 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:513 ../src/Profile.vala:57 ../src/Profile.vala:88 #, c-format msgid "Error: Could not open file" msgstr "Error: no s'ha pogut obrir el fitxer" #: ../src/MainWindow.vala:586 #, c-format msgid "Error: Could not open device" msgstr "Error: no s'ha pogut obrir el dispositiu" #: ../src/MainWindow.vala:708 #, c-format msgid "Unable to display help file: %s" msgstr "No s'ha pogut mostrar al fitxer d'ajuda: %s" #: ../src/MainWindow.vala:720 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Un terminal sèrie per a l'escriptori GNOME, optimitzat per a " "l'enregistrament i la captura de fitxers." #: ../src/MainWindow.vala:734 #, c-format msgid "Can't display a clickable URL: %s" msgstr "No es pot mostrar un URL on fer-hi clic: %s" #: ../src/MainWindow.vala:781 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Heu canviat els paràmetres o preferències. Voleu desar aquests canvis al " "perfil carregat?" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:49 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:53 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:57 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:61 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:65 msgid "S" msgstr "S" #: ../src/Settings.vala:75 msgid "OPEN" msgstr "OBERT" #: ../src/Settings.vala:76 msgid "CLOSED" msgstr "TANCAT" #: ../src/Main.vala:7 msgid "Profile file to load" msgstr "Fitxer de perfil a carregar" #: ../src/Main.vala:17 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "No s'ha pogut carregar la interfície gràfica\n" "%s" #: ../src/Main.vala:33 msgid "- moserial serial terminal" msgstr "- terminal sèrie moserial" #: ../src/Main.vala:38 ../src/Main.vala:46 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Executeu l'ordre «%s --help» per a veure la llista de les opcions de la línia " "d'ordres disponibles.\n" #: ../src/Preferences.vala:47 #, c-format msgid "Unable to retrieve gconf key: %s" msgstr "No s'ha pogut recuperar la clau del gconf: %s" #: ../src/SendProgressDialog.vala:24 msgid "Waiting for remote host" msgstr "S'està esperant el servidor remot" #: ../src/SerialConnection.vala:282 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu no imprimible)" #: ../src/SerialConnection.vala:284 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:33 ../src/SerialStreamRecorder.vala:54 #, c-format msgid "error: %s\n" msgstr "error: %s\n" #: ../src/SerialStreamRecorder.vala:63 #, c-format msgid "Unable to launch %s: %s" msgstr "No s'ha pogut carregar %s: %s" #: ../src/Szwrapper.vala:154 msgid "canceled" msgstr "cancel·lat" #: ../src/InputParser.vala:26 ../src/InputParser.vala:33 #: ../src/InputParser.vala:39 msgid "Invalid Input" msgstr "Entrada no vàlida" #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-clear" #~ msgstr "gtk-clear" #~ msgid "gtk-copy" #~ msgstr "gtk-copy" #~ msgid "gtk-cut" #~ msgstr "gtk-cut" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-paste" #~ msgstr "gtk-paste" #~ msgid "gtk-quit" #~ msgstr "gtk-quit" #~ msgid "menuitem3" #~ msgstr "menuitem3" #~ msgid "menuitem5" #~ msgstr "menuitem5" moserial-3.0.8/po/cs.po0000674000213200021320000003350512064144714011643 00000000000000# Czech translation for moserial. # Copyright (C) 2009 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # # Marek Černocký , 2009, 2010, 2011. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-08-19 19:02+0000\n" "PO-Revision-Date: 2011-08-25 07:42+0200\n" "Last-Translator: Marek Černocký \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Language: cs\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: ../data/glade/moserial.ui.h:1 msgid "Access Mode" msgstr "Režim přístupu" #: ../data/glade/moserial.ui.h:2 msgid "Background Color" msgstr "Barva pozadí" #: ../data/glade/moserial.ui.h:3 msgid "Baud Rate" msgstr "Rychlost v baudech" #: ../data/glade/moserial.ui.h:4 msgid "Connect" msgstr "Připojit" #: ../data/glade/moserial.ui.h:5 msgid "Data Bits" msgstr "Datové bity" #: ../data/glade/moserial.ui.h:6 msgid "Device" msgstr "Zařízení" #: ../data/glade/moserial.ui.h:7 msgid "Disconnect" msgstr "Odpojit" #: ../data/glade/moserial.ui.h:8 msgid "Display Font" msgstr "Písmo zobrazení" #: ../data/glade/moserial.ui.h:9 msgid "Echo received data" msgstr "Opakovat přijatá data" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Povolit vypršení času po" #: ../data/glade/moserial.ui.h:11 msgid "Error Correction Protocol" msgstr "Protokol na opravu chyb" #: ../data/glade/moserial.ui.h:12 msgid "Filename required for XMODEM" msgstr "Název souboru vyžadovaný pro XMODEM" #: ../data/glade/moserial.ui.h:13 msgid "Font" msgstr "Písmo" #: ../data/glade/moserial.ui.h:14 msgid "Font Colour" msgstr "Barva písma" #: ../data/glade/moserial.ui.h:15 msgid "Handshake" msgstr "Úvodní dohoda" #: ../data/glade/moserial.ui.h:16 msgid "Hardware" msgstr "Hardwarová" #: ../data/glade/moserial.ui.h:17 msgid "Help" msgstr "Nápověda" #: ../data/glade/moserial.ui.h:18 msgid "Highlight Color" msgstr "Barva zvýraznění" #: ../data/glade/moserial.ui.h:19 msgid "Local Echo" msgstr "Místní odezva" #: ../data/glade/moserial.ui.h:20 msgid "Open _Recent" msgstr "Otevřít _nedávné" #: ../data/glade/moserial.ui.h:21 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Odchozí" #: ../data/glade/moserial.ui.h:22 msgid "Parity" msgstr "Parita" #: ../data/glade/moserial.ui.h:23 msgid "Port Settings" msgstr "Nastavení portu" #: ../data/glade/moserial.ui.h:24 msgid "Port Setup" msgstr "Nastavení portu" #: ../data/glade/moserial.ui.h:25 msgid "Preferences" msgstr "Předvolby" #: ../data/glade/moserial.ui.h:26 msgid "Receive File" msgstr "Přijmout soubor" #: ../data/glade/moserial.ui.h:27 msgid "Receive File Progress" msgstr "Průběh příjmu souboru" #: ../data/glade/moserial.ui.h:28 msgid "Received ASCII" msgstr "Přijaté ASCII" #: ../data/glade/moserial.ui.h:29 msgid "Received HEX" msgstr "Přijaté HEX" #: ../data/glade/moserial.ui.h:30 msgid "Record" msgstr "Zaznamenat" #: ../data/glade/moserial.ui.h:31 msgid "Record Incoming and/or Outgoing Data" msgstr "Záznam příchozích a/nebo odchozích dat" #: ../data/glade/moserial.ui.h:32 msgid "Recording" msgstr "Zaznamenávání" #: ../data/glade/moserial.ui.h:33 msgid "Select File to Send" msgstr "Výběr souboru k odeslání" #: ../data/glade/moserial.ui.h:34 msgid "Select Folder for Received Files" msgstr "Výběr složky pro přijaté soubory" #: ../data/glade/moserial.ui.h:35 msgid "Send" msgstr "Odeslat" #: ../data/glade/moserial.ui.h:36 msgid "Send File" msgstr "Odeslat soubor" #: ../data/glade/moserial.ui.h:37 msgid "Send File Progress" msgstr "Průběh odesílání souboru" #: ../data/glade/moserial.ui.h:38 msgid "Sent ASCII" msgstr "Odeslané ASCII" #: ../data/glade/moserial.ui.h:39 msgid "Sent HEX" msgstr "Odeslané HEX" #: ../data/glade/moserial.ui.h:40 msgid "Software" msgstr "Softwarová" #: ../data/glade/moserial.ui.h:41 msgid "Stop Bits" msgstr "Stop bity" #: ../data/glade/moserial.ui.h:42 msgid "Stop Recording" msgstr "Zastavit záznam" #: ../data/glade/moserial.ui.h:43 msgid "Stream to record" msgstr "Co zaznamenávat" #: ../data/glade/moserial.ui.h:44 msgid "_Edit" msgstr "_Upravit" #: ../data/glade/moserial.ui.h:45 msgid "_File" msgstr "_Soubor" #: ../data/glade/moserial.ui.h:46 msgid "_Help" msgstr "_Nápověda" #: ../data/glade/moserial.ui.h:47 msgid "_Launch recorded files" msgstr "_Spustit zaznamenané soubory" #: ../data/glade/moserial.ui.h:48 msgid "_Use the system fixed width font" msgstr "Po_užít systémové písmo s pevnou šířkou" #: ../data/glade/moserial.ui.h:49 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:50 msgid "seconds" msgstr "sekund" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "" "Sériový terminál optimalizovaný pro ukládání záznamu a zachytávání souborů" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Sériový terminál" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Terminál moserial" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Neplatný vstup" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Profil, který se má načíst" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Nepodařilo se načíst uživatelské rozhraní\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "– sériový terminál moserial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Spuštěním „%s --help“ se zobrazí úplný seznam dostupných přepínačů " "příkazového řádku.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "Marek Černocký " #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial je svobodný software: Můžete jej dále šířit a/nebo upravovat za " "podmínek licence GNU General Public License v podobě, v jaké ji vydala Free " "Software Foundation, a to buď ve verzi 3 této licence nebo (dle vaší volby) " "v libovolné novější verzi.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial je šířen ve víře, že bude užitečný, ale BEZ JAKÝCHKOLIV ZÁRUK, a to " "i bez předpokládané záruky na PRODEJNOST nebo VHODNOST PRO KONKRÉTNÍ ÚČEL. " "Více podrobností najdete přímo v licenci GNU General Public License.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Spolu s tímto programem byste měli obdržet kopii licence GNU General Public " "License. Pokud se tak nestalo, podívejte se na ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:157 msgid "Port configuration" msgstr "Nastavení portu" #: ../src/MainWindow.vala:162 msgid "Read the manual" msgstr "Přečíst si příručku" #: ../src/MainWindow.vala:172 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:183 msgid "Send a file" msgstr "Odeslat soubor" #: ../src/MainWindow.vala:192 msgid "Receive a file" msgstr "Přijmout soubor" #: ../src/MainWindow.vala:202 msgid "Record sent and/or received data" msgstr "Zaznamenat odchozí a/nebo příchozí data." #: ../src/MainWindow.vala:213 msgid "Other preferences" msgstr "Ostatní předvolby" #: ../src/MainWindow.vala:218 msgid "Open/close port" msgstr "Otevřít/zavřít port" #: ../src/MainWindow.vala:266 msgid "Send the outgoing data now." msgstr "Nyní odeslat odchozí data." #: ../src/MainWindow.vala:269 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Zde zadejte odchozí data. Odešlete je zmáčknutím klávesy Enter nebo tlačítka " "Odeslat." #: ../src/MainWindow.vala:546 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Chyba: Nelze otevřít soubor" #: ../src/MainWindow.vala:624 #, c-format msgid "Error: Could not open device" msgstr "Chyba: Nelze otevřít zařízení" #: ../src/MainWindow.vala:746 #, c-format msgid "Unable to display help file: %s" msgstr "Nelze zobrazit soubor s nápovědou: %s" #: ../src/MainWindow.vala:757 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Sériový terminál pro pracovní prostředí GNOME, optimalizovaný pro ukládání " "záznamu a zachytávání soborů" #: ../src/MainWindow.vala:809 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Změnili jste své nastavení a předvolby. Chcete tyto změny uložit do " "načteného profilu?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Pokud je tato volba zapnutá, zaznamenaný soubor bud po uložení ihned otevřen " "pomocí výchozí aplikace pro daný typ souboru. Výchozí aplikace se určuje v " "nastavení pracovního prostředí." #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Pokud je tato volba zapnutá, zaznamenávání bude automaticky zastaveno po " "uplynutí zvoleného času bez aktivity po přijetí nějakých dat. Tzn., že " "moserial bude nejdříve bez omezení čekat na přijetí prvních dat a teprve " "potom aktivuje časovač." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Nelze získat nastavení systémového písma" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Čeká se na vzdáleného hostitele" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "Zakončit CR+LF" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "Zakončit CR" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "Zakončit LF" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "Zakončit TAB" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "Zakončit ESC" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Nezakončovat" #: ../src/SerialConnection.vala:281 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu netisknutelných)" #: ../src/SerialConnection.vala:283 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Příchozí" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Příchozí a odchozí" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:78 #, c-format msgid "error: %s\n" msgstr "chyba: %s\n" #: ../src/SerialStreamRecorder.vala:87 #, c-format msgid "Unable to launch %s: %s" msgstr "Nelze spustit %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Známé také jako úvodní dohoda RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Známé také jako úvodní dohoda XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Normálně vypnuto" #: ../src/Settings.vala:25 msgid "None" msgstr "N (žádná)" #: ../src/Settings.vala:26 msgid "Odd" msgstr "O (lichá)" #: ../src/Settings.vala:27 msgid "Even" msgstr "E (sudá)" #: ../src/Settings.vala:28 msgid "Mark" msgstr "M (vždy 1)" #: ../src/Settings.vala:29 msgid "Space" msgstr "S (vždy 0)" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Čtení a zápis" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Pouze čtení" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Pouze zápis" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "OTEVŘENO" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "ZAVŘENO" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "Žádný (přímo binární data)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "zrušeno" moserial-3.0.8/po/da.po0000674000213200021320000003425212064144714011622 00000000000000# Danish translation for moserial. # Copyright (C) 2012 moserial & Joe Hansen. # This file is distributed under the same license as the moserial package. # Joe Hansen , 2009, 2010, 2012. # Korrekturlæsning Kenneth Nielsen, 2010. # Korrekturlæsning Nicky Thomassen, 2010. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-04-25 09:54+0200\n" "PO-Revision-Date: 2012-04-22 21:38+0000\n" "Last-Translator: Joe Hansen \n" "Language-Team: Dansk-gruppen \n" "Language: \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" #: ../data/glade/moserial.ui.h:1 msgid "Preferences" msgstr "Indstillinger" #: ../data/glade/moserial.ui.h:2 msgid "Font" msgstr "Skrifttype" #: ../data/glade/moserial.ui.h:3 msgid "_Use the system fixed width font" msgstr "_Brug systemskriftypen der har fast bredde" #: ../data/glade/moserial.ui.h:4 msgid "Display Font" msgstr "Tekstskrifttype" #: ../data/glade/moserial.ui.h:5 msgid "Font Colour" msgstr "Skrifttypefarve" #: ../data/glade/moserial.ui.h:6 msgid "Background Color" msgstr "Baggrundsfarve" # måske fremhæv farve #: ../data/glade/moserial.ui.h:7 msgid "Highlight Color" msgstr "Fremhævningsfarve" #: ../data/glade/moserial.ui.h:8 msgid "Recording" msgstr "Optagelse" #: ../data/glade/moserial.ui.h:9 msgid "_Launch recorded files" msgstr "_Start optagede filer" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Slå tidsudløb til efter" #: ../data/glade/moserial.ui.h:11 msgid "seconds" msgstr "sekunder" #: ../data/glade/moserial.ui.h:12 msgid "Select Folder for Received Files" msgstr "Vælg mappe for modtagne filer" #: ../data/glade/moserial.ui.h:13 msgid "Error Correction Protocol" msgstr "Protokol for fejlkorrektion" # Status for filmodtagelse #: ../data/glade/moserial.ui.h:14 msgid "Receive File Progress" msgstr "Status på modtagelsesfil" #: ../data/glade/moserial.ui.h:15 msgid "Record Incoming and/or Outgoing Data" msgstr "Optag indgående og/eller udgående data" #: ../data/glade/moserial.ui.h:16 msgid "Stream to record" msgstr "Strøm der skal optages" #: ../data/glade/moserial.ui.h:17 msgid "Select File to Send" msgstr "Vælg fil der skal sendes" #: ../data/glade/moserial.ui.h:18 msgid "Send File Progress" msgstr "Status for send fil" #: ../data/glade/moserial.ui.h:19 msgid "Port Setup" msgstr "Portopsætning" #: ../data/glade/moserial.ui.h:20 msgid "Port Settings" msgstr "Portopsætning" #: ../data/glade/moserial.ui.h:21 msgid "Hardware" msgstr "Hardware" #: ../data/glade/moserial.ui.h:22 msgid "Software" msgstr "Software" #: ../data/glade/moserial.ui.h:23 msgid "Access Mode" msgstr "Adgangstilstand" #: ../data/glade/moserial.ui.h:24 msgid "Handshake" msgstr "Håndtryk" #: ../data/glade/moserial.ui.h:25 msgid "Parity" msgstr "Paritet" # Stop bits er så vidt jeg ved noget der indikerer at en transmission er # overstået, jeg vil derfor mene at der er tale om "Stopbit" #: ../data/glade/moserial.ui.h:26 msgid "Stop Bits" msgstr "Stopbit" #: ../data/glade/moserial.ui.h:27 msgid "Data Bits" msgstr "Databit" #: ../data/glade/moserial.ui.h:28 msgid "Baud Rate" msgstr "Baudrate" #: ../data/glade/moserial.ui.h:29 msgid "Device" msgstr "Enhed" #: ../data/glade/moserial.ui.h:30 msgid "Local Echo" msgstr "Lokalt ekko" # Måske Ekko-modtaget data #: ../data/glade/moserial.ui.h:31 msgid "Echo received data" msgstr "Data modtaget med ekko" #: ../data/glade/moserial.ui.h:32 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:33 msgid "_File" msgstr "_Fil" #: ../data/glade/moserial.ui.h:34 msgid "Open _Recent" msgstr "Åbn _seneste" #: ../data/glade/moserial.ui.h:35 msgid "_Edit" msgstr "_Rediger" #: ../data/glade/moserial.ui.h:36 msgid "_Help" msgstr "_Hjælp" #: ../data/glade/moserial.ui.h:37 msgid "Connect" msgstr "Forbind" #: ../data/glade/moserial.ui.h:38 msgid "Record" msgstr "Optag" #: ../data/glade/moserial.ui.h:39 msgid "Send File" msgstr "Send fil" # Modtagelsesfil eller Modtag fil. # fejlrapport. #: ../data/glade/moserial.ui.h:40 msgid "Receive File" msgstr "Modtagelsesfil" #: ../data/glade/moserial.ui.h:41 msgid "Help" msgstr "Hjælp" #: ../data/glade/moserial.ui.h:42 msgid "Received ASCII" msgstr "Modtaget ASCII" #: ../data/glade/moserial.ui.h:43 msgid "Received HEX" msgstr "Modtaget HEX" #: ../data/glade/moserial.ui.h:44 msgid "Sent ASCII" msgstr "Sendt ASCII" #: ../data/glade/moserial.ui.h:45 msgid "Sent HEX" msgstr "Sendt HEX" #: ../data/glade/moserial.ui.h:46 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Udgående" #: ../data/glade/moserial.ui.h:47 msgid "Send" msgstr "Send" #: ../data/glade/moserial.ui.h:48 msgid "Disconnect" msgstr "Afbryd" #: ../data/glade/moserial.ui.h:49 msgid "Stop Recording" msgstr "Stop optagelse" #: ../data/glade/moserial.ui.h:50 msgid "Filename required for XMODEM" msgstr "Filnavn krævet for XMODEM" #: ../data/moserial.desktop.in.h:1 msgid "moserial Terminal" msgstr "moserial terminal" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Seriel terminal" #: ../data/moserial.desktop.in.h:3 msgid "A serial terminal optimized for logging and file capture" msgstr "En seriel terminal optimeret til logning og filoptagelse" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Ugyldige inddata" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Profilfil der skal indlæses" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Kunne ikke indlæse UI\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserials serielle terminal" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Kør '%s --help' for at se en fuldstændig liste over tilgængelige tilvalg for " "kommandolinjen.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "Joe Hansen, 2009, 2010, 2012.\n" "\n" "Dansk-gruppen \n" "Mere info: http://www.dansk-gruppen.dk" #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial er fri software: Du kan redistribuere og/eller modificere det under " "de betingelser som er angivet i GNU General Public License, som udgivet af " "Free Software Foundation. Enten version 3 af licensen eller (efter eget " "valg) enhver senere version.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial distribueres i håb om, at det vil vise sig nyttigt, men UDEN NOGEN " "FORM FOR GARANTI, uden selv de underforståede garantier omkring SALGBARHED " "eller EGNETHED TIL ET BESTEMT FORMÅL. Yderligere detaljer kan læses i GNU " "General Public License.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Du bør have modtaget en kopi af GNU General Public License sammen med dette " "program. Hvis ikke, så se ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:163 msgid "Port configuration" msgstr "Portkonfiguration" #: ../src/MainWindow.vala:168 msgid "Read the manual" msgstr "Læs manualen" #: ../src/MainWindow.vala:178 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:189 msgid "Send a file" msgstr "Send en fil" # Gætter på imperativ, 'Modtag en..' jf. senere 'Send en fil' #: ../src/MainWindow.vala:198 msgid "Receive a file" msgstr "Modtag en fil" #: ../src/MainWindow.vala:208 msgid "Record sent and/or received data" msgstr "Optag sendt og/eller modtagne data" #: ../src/MainWindow.vala:219 msgid "Other preferences" msgstr "Andre indstillinger" #: ../src/MainWindow.vala:224 msgid "Open/close port" msgstr "Åbn/luk port" #: ../src/MainWindow.vala:272 msgid "Send the outgoing data now." msgstr "Send de udgående data nu." #: ../src/MainWindow.vala:275 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "Indtast udgående data her. Tryk retur eller send for at sende dem." #: ../src/MainWindow.vala:558 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Fejl: Kunne ikke åbne fil" #: ../src/MainWindow.vala:636 #, c-format msgid "Error: Could not open device" msgstr "Fejl: Kunne ikke åbne enhed" #: ../src/MainWindow.vala:758 #, c-format msgid "Unable to display help file: %s" msgstr "Kunne ikke vise hjælpfil: %s" #: ../src/MainWindow.vala:769 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "En seriel terminal til skrivebordsmiljøet GNOME, optimeret til logning og " "filoptagelse." #: ../src/MainWindow.vala:822 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Du har ændret din opsætning eller indstillinger. Ønsker du at ændre disse " "ændringer i den indlæste profil?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Hvis dette tilvalg er slået til, vil en optaget fil blive åbnet umiddelbart " "efter at den er gemt, med brug af standardprogrammet for den filtype. " "Standardprogrammet er defineret af skrivebordsmiljøet." # inaktivitetsfunktionen, inaktivitetstimeren, tidstagning af inaktivitet #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Hvis dette tilvalg er slået til, vil optagelse automatisk blive stoppet " "efter en periode, der kan justeres, uden aktivitet når der er modtaget nogle " "data. Det vil sige, at moserial vil vente uendeligt på de første databit før " "programmet aktiverer inaktivitetsfunktionen." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Kunne ikke indhente systemets skriftindstilling" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Venter på ekstern vært" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "CR+LF end" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "CR end" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "LF end" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "TAB end" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "ESC end" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Ingen end" #: ../src/SerialConnection.vala:302 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu kan ikke udskrives)" #: ../src/SerialConnection.vala:304 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Indgående" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Indgående og udgående" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:68 #: ../src/SerialStreamRecorder.vala:89 #, c-format msgid "error: %s\n" msgstr "fejl: %s\n" #: ../src/SerialStreamRecorder.vala:98 #, c-format msgid "Unable to launch %s: %s" msgstr "Kan ikke starte %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Også kendt som RTS/CTS-håndtryk" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Også kendt som XON/XOFF-håndtryk" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Normalt deaktiveret" # Er det bedre at lade dem her være uoversatte? # Det er i en glade-fil, som burges af gconf, så ja, jeg ville lade dem # være uoversat #: ../src/Settings.vala:25 msgid "None" msgstr "None" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Odd" #: ../src/Settings.vala:27 msgid "Even" msgstr "Even" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Mark" #: ../src/Settings.vala:29 msgid "Space" msgstr "Space" # kan ikke rigtig få Skrivebeskyttet til at passe ind her. #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Læs og skriv" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Kun læs" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Kun skriv" # msgstr "I" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "N" # msgstr "B" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "O" # msgstr "L" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "E" # mark oversat som mærke (derfor Mæ) # msgstr "Mæ" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" # msgstr "Me" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "ÅBEN" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "LUKKET" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "None (straight binary)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "afbrudt" moserial-3.0.8/po/de.po0000674000213200021320000004740712064144714011634 00000000000000# German translation for moserial. # Copyright (C) 2009 Free Software Foundation, Inc. # This file is distributed under the same license as the moserial package. # Hendrik Brandt , 2009. # Mario Blättermann , 2009-2011. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-08-20 09:30+0000\n" "PO-Revision-Date: 2011-08-21 17:29+0100\n" "Last-Translator: Mario Blättermann \n" "Language-Team: Deutsch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/glade/moserial.ui.h:1 msgid "Access Mode" msgstr "Zugriffsmodus" #: ../data/glade/moserial.ui.h:2 msgid "Background Color" msgstr "Hintergrundfarbe" #: ../data/glade/moserial.ui.h:3 msgid "Baud Rate" msgstr "Baudrate" #: ../data/glade/moserial.ui.h:4 msgid "Connect" msgstr "Verbinden" #: ../data/glade/moserial.ui.h:5 msgid "Data Bits" msgstr "Daten-Bits" #: ../data/glade/moserial.ui.h:6 msgid "Device" msgstr "Gerät" #: ../data/glade/moserial.ui.h:7 msgid "Disconnect" msgstr "Trennen" #: ../data/glade/moserial.ui.h:8 msgid "Display Font" msgstr "Anzeigeschrift" #: ../data/glade/moserial.ui.h:9 msgid "Echo received data" msgstr "Empfangene Daten zurückgeben" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Abbrechen nach" #: ../data/glade/moserial.ui.h:11 msgid "Error Correction Protocol" msgstr "Fehlerkorrekturprotokoll" #: ../data/glade/moserial.ui.h:12 msgid "Filename required for XMODEM" msgstr "Der von XMODEM benötigte Dateiname" #: ../data/glade/moserial.ui.h:13 msgid "Font" msgstr "Schrift" #: ../data/glade/moserial.ui.h:14 msgid "Font Colour" msgstr "Schriftfarbe" #: ../data/glade/moserial.ui.h:15 msgid "Handshake" msgstr "Handshake" #: ../data/glade/moserial.ui.h:16 msgid "Hardware" msgstr "Hardware" #: ../data/glade/moserial.ui.h:17 msgid "Help" msgstr "Hilfe" #: ../data/glade/moserial.ui.h:18 msgid "Highlight Color" msgstr "Hervorhebungsfarbe" #: ../data/glade/moserial.ui.h:19 msgid "Local Echo" msgstr "Lokales Echo" #: ../data/glade/moserial.ui.h:20 msgid "Open _Recent" msgstr "_Zuletzt geöffnet" #: ../data/glade/moserial.ui.h:21 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Ausgehend" #: ../data/glade/moserial.ui.h:22 msgid "Parity" msgstr "Parität" #: ../data/glade/moserial.ui.h:23 msgid "Port Settings" msgstr "Port-Einstellungen" #: ../data/glade/moserial.ui.h:24 msgid "Port Setup" msgstr "Port-Einstellungen" #: ../data/glade/moserial.ui.h:25 msgid "Preferences" msgstr "Einstellungen" #: ../data/glade/moserial.ui.h:26 msgid "Receive File" msgstr "Datei empfangen" #: ../data/glade/moserial.ui.h:27 msgid "Receive File Progress" msgstr "Fortschritt der empfangenen Datei" #: ../data/glade/moserial.ui.h:28 msgid "Received ASCII" msgstr "Empfangenes ASCII" #: ../data/glade/moserial.ui.h:29 msgid "Received HEX" msgstr "Empfangenes HEX" #: ../data/glade/moserial.ui.h:30 msgid "Record" msgstr "Aufzeichnen" #: ../data/glade/moserial.ui.h:31 msgid "Record Incoming and/or Outgoing Data" msgstr "Eingehende und/oder ausgehende Daten aufzeichnen" #: ../data/glade/moserial.ui.h:32 msgid "Recording" msgstr "Aufzeichnen" #: ../data/glade/moserial.ui.h:33 msgid "Select File to Send" msgstr "Zu sendende Datei auswählen" #: ../data/glade/moserial.ui.h:34 msgid "Select Folder for Received Files" msgstr "Ordner für empfangene Dateien auswählen" #: ../data/glade/moserial.ui.h:35 msgid "Send" msgstr "Absenden" #: ../data/glade/moserial.ui.h:36 msgid "Send File" msgstr "Datei senden" #: ../data/glade/moserial.ui.h:37 msgid "Send File Progress" msgstr "Fortschritt der Dateiübermittlung" #: ../data/glade/moserial.ui.h:38 msgid "Sent ASCII" msgstr "Gesendetes ASCII" #: ../data/glade/moserial.ui.h:39 msgid "Sent HEX" msgstr "Gesendetes HEX" #: ../data/glade/moserial.ui.h:40 msgid "Software" msgstr "Software" #: ../data/glade/moserial.ui.h:41 msgid "Stop Bits" msgstr "Stopp-Bits" #: ../data/glade/moserial.ui.h:42 msgid "Stop Recording" msgstr "Aufzeichnung anhalten" #: ../data/glade/moserial.ui.h:43 msgid "Stream to record" msgstr "Aufzuzeichnender Datenstrom" #: ../data/glade/moserial.ui.h:44 msgid "_Edit" msgstr "_Bearbeiten" #: ../data/glade/moserial.ui.h:45 msgid "_File" msgstr "_Datei" #: ../data/glade/moserial.ui.h:46 msgid "_Help" msgstr "_Hilfe" #: ../data/glade/moserial.ui.h:47 msgid "_Launch recorded files" msgstr "_Aufgezeichnete Dateien starten" #: ../data/glade/moserial.ui.h:48 msgid "_Use the system fixed width font" msgstr "_Vom Systems vorgegebene dicktengleiche Schrift verwenden" #: ../data/glade/moserial.ui.h:49 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:50 msgid "seconds" msgstr "Sekunden" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "Ein serielles Terminal für das Mitschneiden und Aufzeichnen" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Serielles Terminal" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Serielles Terminal" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Ungültige Eingabe" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Zu ladende Profildatei" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Benutzeroberfläche konnte nicht geladen werden\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- serielles Terminal moserial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Führen Sie »%s --help« um eine Liste aller Kommandozeilenoptionen zu " "erhalten.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "Hendrik Brandt " #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial ist freie Software, Sie können sie weitergeben und/oder\\n " "verändern solange Sie sich an die Regeln der GNU General Public License\\n " "halten, so wie sie von der Free Software Foundation festgelegt wurden, " "entweder in Version 3 der Lizenz oder (nach Ihrem Ermessen) in jeder " "folgenden Version.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial wurde mit dem Ziel veröffentlicht, dass Sie es nützlich finden,\\n " "jedoch OHNE JEDWEDE GARANTIE, sogar ohne eine implizite Garantie der " "VERKAUFBARKEIT oder der NUTZBARKEIT FÜR EINEN SPEZIELLEN ZWECK. Schauen Sie " "für weitere Informationen bitte in der GNU General Public License (GNU GPL) " "nach.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Mit diesem Programm sollten Sie außerdem eine Kopie der GNU General Public " "License erhalten haben. Wenn dem nicht so ist, so schreiben Sie bitte an die " "Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA " "02110-1301, USA und schauen Sie unter ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:157 msgid "Port configuration" msgstr "Port-Konfiguration" #: ../src/MainWindow.vala:162 msgid "Read the manual" msgstr "Das Handbuch lesen" #: ../src/MainWindow.vala:172 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:183 msgid "Send a file" msgstr "Eine Datei senden" #: ../src/MainWindow.vala:192 msgid "Receive a file" msgstr "Eine Datei empfangen" #: ../src/MainWindow.vala:202 msgid "Record sent and/or received data" msgstr "Gesendete und/oder empfangene Daten aufzeichnen" #: ../src/MainWindow.vala:213 msgid "Other preferences" msgstr "Weitere Einstellungen" #: ../src/MainWindow.vala:218 msgid "Open/close port" msgstr "Port öffnen/schließen" #: ../src/MainWindow.vala:266 msgid "Send the outgoing data now." msgstr "Die zu übermittelnden Daten jetzt senden." #: ../src/MainWindow.vala:269 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Geben Sie die zu übermittelnden Daten hier ein und drücken Sie anschließend " "die Eingabetaste oder klicken Sie auf »Absenden«." #: ../src/MainWindow.vala:546 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Fehler: Datei konnte nicht geöffnet werden" #: ../src/MainWindow.vala:624 #, c-format msgid "Error: Could not open device" msgstr "Fehler: Gerät konnte nicht geöffnet werden" #: ../src/MainWindow.vala:746 #, c-format msgid "Unable to display help file: %s" msgstr "Hilfedatei kann nicht angezeigt werden: %s" #: ../src/MainWindow.vala:757 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Ein serielles Terminal für die GNOME-Arbeitsumgebung mit dem Schwerpunkt auf " "Mitschnitt und Dateierzeugung." #: ../src/MainWindow.vala:809 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Sie haben die Einstellungen geändert. Möchten Sie diese im aktuellen Profil " "speichern?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Wenn diese Option ausgewählt ist, wird die aufgezeichnete Datei direkt " "nachdem sie gespeichert wurde mit der Standardanwendung für diesen Dateityp " "geöffnet. Die Standardanwendung wird von der Arbeitsumgebung vorgegeben." #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Wenn diese Option ausgewählt ist, wird die Aufzeichnung nach einer " "bestimmten Zeit der Inaktivität, nach dem erstmaligen Empfang von Daten, " "beendet. Dadurch wartet die Anwendung eine unbegrenzte Zeit auf dem Empfang " "der ersten Daten, ehe die Inaktivitätszeit gezählt wird." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Schrifteinstellungen des Systems konnten nicht ermittelt werden" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Auf Gegenstelle wird gewartet" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "CR/LF-Zeilenende" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "CR-Zeilenende" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "LF-Zeilenende" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "TAB-Zeilenende" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "ESC-Zeilenende" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Kein Ende" #: ../src/SerialConnection.vala:281 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu nicht anzeigbar)" #: ../src/SerialConnection.vala:283 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Eingehend" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Eingehend und ausgehend" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:78 #, c-format msgid "error: %s\n" msgstr "Fehler: %s\n" #: ../src/SerialStreamRecorder.vala:87 #, c-format msgid "Unable to launch %s: %s" msgstr "%s konnte nicht gestartet werden: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Auch bekannt als RTS/CTS-Handshaking" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Auch bekannt als XON/XOFF-Handshaking" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Standardmäßig deaktiviert" #: ../src/Settings.vala:25 msgid "None" msgstr "Nichts" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Ungerade" #: ../src/Settings.vala:27 msgid "Even" msgstr "Gerade" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Markieren" #: ../src/Settings.vala:29 msgid "Space" msgstr "Leerzeichen" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Lesen und Schreiben" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Nur Lesen" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Nur Schreiben" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "K" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "U" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "G" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "L" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "VERBUNDEN" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "GETRENNT" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "Keines (reines Binär)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "Abgebrochen" #~ msgid "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgstr "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgid "" #~ "1\n" #~ "2" #~ msgstr "" #~ "1\n" #~ "2" #~ msgid "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600\n" #~ "1000000\n" #~ "2000000" #~ msgstr "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600\n" #~ "1000000\n" #~ "2000000" #~ msgid "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgstr "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgid "Font" #~ msgstr "Schrift" #~ msgid "Recording" #~ msgstr "Aufzeichnung" #~ msgid "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgstr "" #~ "CR+LF\n" #~ "CR\n" #~ "LF\n" #~ "TAB\n" #~ "ESC\n" #~ "Kein Ende" #~ msgid "" #~ "Incoming\n" #~ "Outgoing\n" #~ "Incoming and Outgoing" #~ msgstr "" #~ "Eingehend\n" #~ "Ausgehend\n" #~ "Ein- und Ausgehend" #~ msgid "" #~ "None\n" #~ "Odd\n" #~ "Even\n" #~ "Mark\n" #~ "Space" #~ msgstr "" #~ "Keine\n" #~ "Gerade\n" #~ "Ungerade\n" #~ "Markierung\n" #~ "Leerzeichen" #~ msgid "" #~ "Read and Write\n" #~ "Read Only\n" #~ "Write Only" #~ msgstr "" #~ "Lesen und Schreiben\n" #~ "Nur Lesen\n" #~ "Nur Schreiben" #~ msgid "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgstr "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgid "Can't display a clickable URL: %s" #~ msgstr "Es konnte keine anklickbare Adresse angezeigt werden: %s" #~ msgid "Save Settings _As" #~ msgstr "Einstellungen speichern _unter …" #~ msgid "_Contents" #~ msgstr "I_nhalt" #~ msgid "_Open Settings" #~ msgstr "Einstellungen ö_ffnen" #~ msgid "_Save Settings" #~ msgstr "Einstellungen _speichern" #~ msgid "" #~ "Click this to transmit the data entered in the Outgoing text box. " #~ "Clicking \"enter\" in that box will do the same thing." #~ msgstr "" #~ "Klicken Sie hier, um die Daten im Sendeneingabefeld zu übermitteln. Das " #~ "Drücken der Eingabetaste im Eingabefeld hat den gleichen Effekt." #~ msgid "Select the error correction protocol to use." #~ msgstr "Das Fehlerkorrekturprotokoll auswählen." #~ msgid "" #~ "Select the error correction protocol to use. If you wish to receive a " #~ "straight binary file without using error correction protocols, use the " #~ "Record button instead." #~ msgstr "" #~ "Wählen Sie das anzuwendende Fehlerkorrekturprotokoll aus. Wenn Sie " #~ "einereine Binärdatei ohne angewendete Fehlerkorrektur wünschen, dann " #~ "verwenden Sie stattdessen die Aufzeichnungsfunktion." #~ msgid "" #~ "This determines whether the data entered in the Outgoing text box should " #~ "be interpreted as normal ASCII text, or as hexadecimal codes. If this is " #~ "set to HEX, the entered data should consist of only 0-9 and A-F " #~ "characters." #~ msgstr "" #~ "Hier legen Sie fest, ob der in der Eingabezeile für ausgehende Daten " #~ "eingegebene Text als normaler ASCII-Text oder als Hexadezimal-Code " #~ "interpretiert wird. Wählen Sie HEX, dann stellen Sie sicher, dass die " #~ "eingegebenen Daten nur aus den Zeichen 0‥9 und A‥F bestehen." #~ msgid "" #~ "This selects the termination sequence that is appended to the Outgoing " #~ "data in the ASCII mode when you click Send." #~ msgstr "" #~ "Legen Sie hier die Endsequenz fest, die an die zu sendenden Daten im " #~ "ASCII-Modus beim Absenden angehängt wird." #~ msgid "Use this to configure your serial port parameters." #~ msgstr "Stellen Sie hier die Parameter der seriellen Schnittstelle ein." #~ msgid "" #~ "Use this to receive a file from a remote computer, using an error " #~ "correction protocol. For straight binary dumps without error correction, " #~ "use Record instead." #~ msgstr "" #~ "Mit dieser Funktion können Sie Daten von einem entfernten Rechner über " #~ "ein Fehlerkorrekturprotokoll empfangen. Für reine Binärdaten ohne " #~ "Fehlerkorrektur sollten Sie die Aufzeichnungsfunktion verwenden." #~ msgid "" #~ "Use this to record (or \"log\") your communications to a file. You can " #~ "log the received data, the sent data, or both. This can also be used to " #~ "receive files sent by a remote device without the use of error correction " #~ "protocols (a straight binary dump)." #~ msgstr "" #~ "Hiermit können Sie die gesamte Kommunikation in eine Datei aufzeichnen. " #~ "Sie können die empfangenen, die gesendeten oder beiderlei Daten " #~ "aufzeichnen. Außerdem können Sie hiermit die reinen Binärdaten eines " #~ "angeschlossenen Gerätes ohne Fehlerkorrektur empfangen." #~ msgid "" #~ "Use this to send a file to a remote computer, with or without error " #~ "correction protocols." #~ msgstr "" #~ "Hiermit können Sie eine Datei an einen entfernten Rechner mit oder ohne " #~ "Fehlerkorrektur senden." #~ msgid "Use this to set font sizes and other related settings." #~ msgstr "Hiermit stellen Sie die Schriftgröße und weitere Optionen ein." #~ msgid "" #~ "You must connect to your port before you can send or receive data. " #~ "Disconnecting and reconnecting will clear the textboxes and reset the " #~ "TX / RX counters." #~ msgstr "" #~ "Sie müssen sich mit dem Port verbinden ehe Sie Daten sende und empfangen " #~ "können. Trennen und erneutes Verbinden leert die Textfelder und setzt die " #~ "TX/RX-Zähler zurück." #~ msgid "Error: Could not open %s\n" #~ msgstr "Fehler: %s konnte nicht geöffnet werden\n" moserial-3.0.8/po/el.po0000674000213200021320000004114612064144714011636 00000000000000# Greek translation for moserial. # Copyright (C) 2012 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # Κωσνταντίνος Χόρτης , 2012. msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2012-06-13 17:19+0000\n" "PO-Revision-Date: 2012-06-14 01:29+0200\n" "Last-Translator: Tom Tryfonidis \n" "Language-Team: Greek Translation Team\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: el\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.0\n" "X-Project-Style: gnome\n" #: ../data/glade/moserial.ui.h:1 msgid "Preferences" msgstr "Προτιμήσεις" #: ../data/glade/moserial.ui.h:2 msgid "Font" msgstr "Γραμματοσειρά" #: ../data/glade/moserial.ui.h:3 msgid "_Use the system fixed width font" msgstr "Χ_ρήση της γραμματοσειράς σταθερού πλάτους του συστήματος" #: ../data/glade/moserial.ui.h:4 msgid "Display Font" msgstr "Γραμματοσειρά οθόνης" #: ../data/glade/moserial.ui.h:5 msgid "Font Colour" msgstr "Χρώμα γραμματοσειράς" #: ../data/glade/moserial.ui.h:6 msgid "Background Color" msgstr "Χρώμα φόντου" #: ../data/glade/moserial.ui.h:7 msgid "Highlight Color" msgstr "Χρώμα τονισμού" #: ../data/glade/moserial.ui.h:8 msgid "Recording" msgstr "Εγγραφή" #: ../data/glade/moserial.ui.h:9 msgid "_Launch recorded files" msgstr "Ε_κκίνηση αρχείων εγγραφής" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Ενεργοποίηση χρονικού ορίου μετά" #: ../data/glade/moserial.ui.h:11 msgid "seconds" msgstr "δευτερόλεπτα" #: ../data/glade/moserial.ui.h:12 msgid "Select Folder for Received Files" msgstr "Επιλογή φακέλου για τα ληφθέντα αρχεία" #: ../data/glade/moserial.ui.h:13 msgid "Error Correction Protocol" msgstr "Πρωτόκολλο διόρθωσης λαθών" #: ../data/glade/moserial.ui.h:14 msgid "Receive File Progress" msgstr "Πρόοδος λήψης αρχείου" #: ../data/glade/moserial.ui.h:15 msgid "Record Incoming and/or Outgoing Data" msgstr "Εγγραφή εισερχομένων και/ή εξερχομένων δεδομένων" #: ../data/glade/moserial.ui.h:16 msgid "Stream to record" msgstr "Ροή προς εγγραφή" #: ../data/glade/moserial.ui.h:17 msgid "Select File to Send" msgstr "Επιλογή αρχείου για αποστολή" #: ../data/glade/moserial.ui.h:18 msgid "Send File Progress" msgstr "Πρόοδος αποστολής αρχείου" #: ../data/glade/moserial.ui.h:19 msgid "Port Setup" msgstr "Ρύθμιση θύρας" #: ../data/glade/moserial.ui.h:20 msgid "Port Settings" msgstr "Επιλογές θύρας" #: ../data/glade/moserial.ui.h:21 msgid "Hardware" msgstr "Υλικό" #: ../data/glade/moserial.ui.h:22 msgid "Software" msgstr "Λογισμικό" #: ../data/glade/moserial.ui.h:23 msgid "Access Mode" msgstr "Λειτουργία πρόσβασης" #: ../data/glade/moserial.ui.h:24 msgid "Handshake" msgstr "Χαιρετισμός" #: ../data/glade/moserial.ui.h:25 msgid "Parity" msgstr "Ισοτιμία" #: ../data/glade/moserial.ui.h:26 msgid "Stop Bits" msgstr "Stop Bits" #: ../data/glade/moserial.ui.h:27 msgid "Data Bits" msgstr "Data Bits" #: ../data/glade/moserial.ui.h:28 msgid "Baud Rate" msgstr "Baud Rate" #: ../data/glade/moserial.ui.h:29 msgid "Device" msgstr "Συσκευή" #: ../data/glade/moserial.ui.h:30 msgid "Local Echo" msgstr "Local Echo" #: ../data/glade/moserial.ui.h:31 msgid "Echo received data" msgstr "Echo ληφθέντα δεδομένα" #: ../data/glade/moserial.ui.h:32 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:33 msgid "_File" msgstr "Α_ρχείο" #: ../data/glade/moserial.ui.h:34 msgid "Open _Recent" msgstr "Άνοιγμα π_ρόσφατου" #: ../data/glade/moserial.ui.h:35 msgid "_Edit" msgstr "Ε_πεξεργασία" #: ../data/glade/moserial.ui.h:36 msgid "_Help" msgstr "Βοή_θεια" #: ../data/glade/moserial.ui.h:37 msgid "Connect" msgstr "Σύνδεση" #: ../data/glade/moserial.ui.h:38 msgid "Record" msgstr "Εγγραφή" #: ../data/glade/moserial.ui.h:39 msgid "Send File" msgstr "Αποστολή αρχείου" #: ../data/glade/moserial.ui.h:40 msgid "Receive File" msgstr "Λήψη αρχείου" #: ../data/glade/moserial.ui.h:41 msgid "Help" msgstr "Βοήθεια" #: ../data/glade/moserial.ui.h:42 msgid "Received ASCII" msgstr "Ελήφθη ASCII" #: ../data/glade/moserial.ui.h:43 msgid "Received HEX" msgstr "Ελήφθη HEX" #: ../data/glade/moserial.ui.h:44 msgid "Sent ASCII" msgstr "Απεστάλη ASCII" #: ../data/glade/moserial.ui.h:45 msgid "Sent HEX" msgstr "Απεστάλη HEX" #: ../data/glade/moserial.ui.h:46 #: ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Εξερχόμενα" #: ../data/glade/moserial.ui.h:47 msgid "Send" msgstr "Αποστολή" #: ../data/glade/moserial.ui.h:48 msgid "Disconnect" msgstr "Αποσύνδεση" #: ../data/glade/moserial.ui.h:49 msgid "Stop Recording" msgstr "Διακοπή εγγραφής" #: ../data/glade/moserial.ui.h:50 msgid "Filename required for XMODEM" msgstr "Απαιτείται όνομα αρχείου για το XMODEM" #: ../data/moserial.desktop.in.h:1 msgid "moserial Terminal" msgstr "Τερματικό moserial" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Σειριακό Τερματικό" #: ../data/moserial.desktop.in.h:3 msgid "A serial terminal optimized for logging and file capture" msgstr "Ένα σειριακό τερματικό βελτιστοποιημένο για τη σύλληψη και καταγραφή αρχείων" #: ../src/InputParser.vala:45 #: ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Εισαγόμενα δεδομένα μη έγκυρα" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Αρχείο προφίλ προς φόρτωση" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Αποτυχία φόρτωσης του UI\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial σειριακό τερματικό" #: ../src/Main.vala:57 #: ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "Εκτελέστε '%s --help' για να δείτε την πλήρη λίστα των διαθέσιμων επιλογών γραμμής εντολών.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "Konstantinos Chortis (Κωνσταντίνος Χόρτης) , 2012" #: ../src/MainWindow.vala:32 msgid "moserial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n" msgstr "Το moserial είναι ελεύθερο λογισμικό: μπορείτε να το αναδιανείμετε ή/και να το τροποποιήσετε υπό τους όρους της Γενικής Δημόσιας Άδειας GNU όπως εκδόθηκε από το Ίδρυμα Ελεύθερου Λογισμικού, είτε στην έκδοση 3 της Άδειας, είτε (κατ' επιλογήν σας) σε άλλη νεότερη έκδοση.\n" #: ../src/MainWindow.vala:33 msgid "moserial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n" msgstr "Το moserial διανέμεται με την ελπίδα ότι θα αποδειχθεί χρήσιμο, παρόλα αυτά ΧΩΡΙΣ ΚΑΜΙΑ ΕΓΓΥΗΣΗ – χωρίς ούτε και την σιωπηρή εγγύηση ΕΜΠΟΡΕΥΣΙΜΟΤΗΤΑΣ ή ΚΑΤΑΛΛΗΛΟΤΗΤΑΣ ΓΙΑ ΣΥΓΚΕΚΡΙΜΕΝΗ ΧΡΗΣΗ. Για περισσότερες λεπτομέρειες ανατρέξτε στη Γενική Άδεια Δημόσιας Χρήσης GNU (GNU General Public License).\n" #: ../src/MainWindow.vala:34 msgid "You should have received a copy of the GNU General Public License along with this program. If not, see ." msgstr "Θα πρέπει να έχετε λάβει ένα αντίγραφο της Γενικής Άδειας Δημόσιας Χρήσης GNU (GPL) μαζί με το πρόγραμμα· Εάν όχι, επισκεφθείτε το ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:163 msgid "Port configuration" msgstr "Διαμόρφωση θύρας" #: ../src/MainWindow.vala:168 msgid "Read the manual" msgstr "Διάβασμα του εγχειριδίου" #: ../src/MainWindow.vala:178 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:189 msgid "Send a file" msgstr "Αποστολή ενός αρχείου" #: ../src/MainWindow.vala:198 msgid "Receive a file" msgstr "Λήψη ενός αρχείου" #: ../src/MainWindow.vala:208 msgid "Record sent and/or received data" msgstr "Καταγραφή απεσταλμένων και/ή ληφθέντων δεδομένων" #: ../src/MainWindow.vala:219 msgid "Other preferences" msgstr "Λοιπές προτιμήσεις" #: ../src/MainWindow.vala:224 msgid "Open/close port" msgstr "Άνοιγμα/κλείσιμο θύρας" #: ../src/MainWindow.vala:272 msgid "Send the outgoing data now." msgstr "Αποστολή των εξερχόμενων δεδομένων τώρα." #: ../src/MainWindow.vala:275 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "Πληκτρολογήστε εδώ τα εξερχόμενα δεδομένα. Πατήστε το πλήκτρο Enter ή Αποστολή για να τα στείλετε." #: ../src/MainWindow.vala:562 #: ../src/Profile.vala:76 #: ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Σφάλμα: Δεν ήταν δυνατό το άνοιγμα αρχείου" #: ../src/MainWindow.vala:640 #, c-format msgid "Error: Could not open device" msgstr "Σφάλμα: Δεν ήταν δυνατή η αρχικοποίηση συσκευής" #: ../src/MainWindow.vala:762 #, c-format msgid "Unable to display help file: %s" msgstr "Αδυναμία προβολής αρχείου βοήθειας: %s" #: ../src/MainWindow.vala:773 msgid "A serial terminal for the GNOME desktop, optimized for logging and file capture." msgstr "Ένα σειριακό τερματικό του GNOME βελτιστοποιημένο για τη σύλληψη και καταγραφή αρχείων." #: ../src/MainWindow.vala:826 msgid "You have changed your setting or preferences. Do you want to save these changes to the loaded profile?" msgstr "Έχετε αλλάξει τη ρύθμιση ή τις προτιμήσεις σας. Θέλετε να αποθηκεύσετε αυτές τις αλλαγές στο φορτωμένο προφίλ;" #: ../src/PreferencesDialog.vala:50 msgid "If this option is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment." msgstr "Εάν αυτή η επιλογή είναι ενεργοποιημένη, ένα αρχείο καταγραφής θα ανοίξει αμέσως μετά την αποθήκευση του, χρησιμοποιώντας την προεπιλεγμένη εφαρμογή για τον τύπο αρχείου. Η προεπιλεγμένη εφαρμογή ορίζεται από το περιβάλλον επιφάνειας εργασίας." #: ../src/PreferencesDialog.vala:53 msgid "If this option is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. Moserial will wait indefinitely to record the first data byte before activating the inactivity timer." msgstr "Εάν αυτή η επιλογή ενεργοποιηθεί, η εγγραφή θα σταματήσει αυτόματα μετά από ένα ρυθμιζόμενο χρονικό διάστημα αδράνειας μετά την παραλαβή ορισμένων δεδομένων. Το Moserial θα περιμένει επ' αόριστον για να καταγράψει το πρώτο byte των δεδομένων πριν από την ενεργοποίηση του χρονοδιακόπτη αδράνειας." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Αδυναμία ανάκτησης ρύθμισης γραμματοσειράς του συστήματος" #: ../src/Rzwrapper.vala:24 #: ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 #: ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 #: ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Αναμονή του απομακρυσμένου διακομιστή" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "CR+LF end" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "CR end" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "LF end" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "TAB end" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "ESC end" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Χωρίς τέλος" #: ../src/SerialConnection.vala:302 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu μη εκτυπώσιμο)" #: ../src/SerialConnection.vala:304 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Εισερχόμενα" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Εισερχόμενα και εξερχόμενα" #: ../src/SerialStreamRecorder.vala:57 #: ../src/SerialStreamRecorder.vala:68 #: ../src/SerialStreamRecorder.vala:89 #, c-format msgid "error: %s\n" msgstr "σφάλμα: %s\n" #: ../src/SerialStreamRecorder.vala:98 #, c-format msgid "Unable to launch %s: %s" msgstr "Αδυναμία εκκίνησης %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Επίσης γνωστό ως χειραψία RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Επίσης γνωστό ως χειραψία XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Συνήθως απενεργοποιημένο" #: ../src/Settings.vala:25 msgid "None" msgstr "Κανένα" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Περιττός" #: ../src/Settings.vala:27 msgid "Even" msgstr "Ζυγός" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Επισήμανση" #: ../src/Settings.vala:29 msgid "Space" msgstr "Διάστημα" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Ανάγνωση και εγγραφή" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Μόνο για ανάγνωση" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Μόνο εγγραφή" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "Ν" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "Ο" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "Ε" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "Μ" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "ΑΝΟΙΧΤΌ" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "ΚΛΕΙΣΤΌ" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "None (απευθείας δυαδικό)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "ακυρώθηκε" moserial-3.0.8/po/es.po0000674000213200021320000005112012064144714011636 00000000000000# translation of moserial.HEAD.po to Español # Copyright (C) 2009 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Jorge González , 2009, 2010. # Daniel Mustieles , 2011. # msgid "" msgstr "" "Project-Id-Version: moserial.HEAD\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-08-19 19:02+0000\n" "PO-Revision-Date: 2011-08-20 11:23+0200\n" "Last-Translator: Daniel Mustieles \n" "Language-Team: Español \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" #: ../data/glade/moserial.ui.h:1 msgid "Access Mode" msgstr "Modo de acceso" #: ../data/glade/moserial.ui.h:2 msgid "Background Color" msgstr "Color de fondo" #: ../data/glade/moserial.ui.h:3 msgid "Baud Rate" msgstr "Tasa de baudios" #: ../data/glade/moserial.ui.h:4 msgid "Connect" msgstr "Conectar" #: ../data/glade/moserial.ui.h:5 msgid "Data Bits" msgstr "Bits de datos" #: ../data/glade/moserial.ui.h:6 msgid "Device" msgstr "Dispositivo" #: ../data/glade/moserial.ui.h:7 msgid "Disconnect" msgstr "Desconectar" #: ../data/glade/moserial.ui.h:8 msgid "Display Font" msgstr "Mostrar tipografía" #: ../data/glade/moserial.ui.h:9 msgid "Echo received data" msgstr "Imprimir datos recibidos" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Activar el tiempo de expiración después de" #: ../data/glade/moserial.ui.h:11 msgid "Error Correction Protocol" msgstr "Protocolo de corrección de errores" #: ../data/glade/moserial.ui.h:12 msgid "Filename required for XMODEM" msgstr "Se necesita un nombre de archivo para XMODEM" #: ../data/glade/moserial.ui.h:13 msgid "Font" msgstr "Tipografía" #: ../data/glade/moserial.ui.h:14 msgid "Font Colour" msgstr "Color de la tipografía" #: ../data/glade/moserial.ui.h:15 msgid "Handshake" msgstr "Negociación" #: ../data/glade/moserial.ui.h:16 msgid "Hardware" msgstr "Hardware" #: ../data/glade/moserial.ui.h:17 msgid "Help" msgstr "Ayuda" #: ../data/glade/moserial.ui.h:18 msgid "Highlight Color" msgstr "Color de resalte" #: ../data/glade/moserial.ui.h:19 msgid "Local Echo" msgstr "Eco local" #: ../data/glade/moserial.ui.h:20 msgid "Open _Recent" msgstr "Abrir _recientes" #: ../data/glade/moserial.ui.h:21 ../src/SerialStreamRecorder.vala:30 #| msgid "Outgoing" msgid "Outgoing" msgstr "Saliente" #: ../data/glade/moserial.ui.h:22 msgid "Parity" msgstr "Paridad" #: ../data/glade/moserial.ui.h:23 #| msgid "Port Settings" msgid "Port Settings" msgstr "Ajustes del puerto" #: ../data/glade/moserial.ui.h:24 msgid "Port Setup" msgstr "Configuración del puerto" #: ../data/glade/moserial.ui.h:25 msgid "Preferences" msgstr "Preferencias" #: ../data/glade/moserial.ui.h:26 msgid "Receive File" msgstr "Recibir archivo" #: ../data/glade/moserial.ui.h:27 msgid "Receive File Progress" msgstr "Recibir progreso de archivo" #: ../data/glade/moserial.ui.h:28 msgid "Received ASCII" msgstr "ASCII recibido" #: ../data/glade/moserial.ui.h:29 msgid "Received HEX" msgstr "HEX recibido" #: ../data/glade/moserial.ui.h:30 msgid "Record" msgstr "Grabar" #: ../data/glade/moserial.ui.h:31 msgid "Record Incoming and/or Outgoing Data" msgstr "Grabar datos de entrada y/o salida" #: ../data/glade/moserial.ui.h:32 #| msgid "Record" msgid "Recording" msgstr "Grabación" #: ../data/glade/moserial.ui.h:33 msgid "Select File to Send" msgstr "Seleccionar archivo para enviar" #: ../data/glade/moserial.ui.h:34 msgid "Select Folder for Received Files" msgstr "Seleccionar carpeta para archivos recibidos" #: ../data/glade/moserial.ui.h:35 msgid "Send" msgstr "Enviar" #: ../data/glade/moserial.ui.h:36 msgid "Send File" msgstr "Enviar archivo" #: ../data/glade/moserial.ui.h:37 msgid "Send File Progress" msgstr "Enviar progreso de archivo" #: ../data/glade/moserial.ui.h:38 msgid "Sent ASCII" msgstr "ASCII enviado" #: ../data/glade/moserial.ui.h:39 msgid "Sent HEX" msgstr "HEX enviado" #: ../data/glade/moserial.ui.h:40 msgid "Software" msgstr "Software" #: ../data/glade/moserial.ui.h:41 msgid "Stop Bits" msgstr "Detener bits" #: ../data/glade/moserial.ui.h:42 msgid "Stop Recording" msgstr "Detener grabación" #: ../data/glade/moserial.ui.h:43 msgid "Stream to record" msgstr "Flujo que grabar" #: ../data/glade/moserial.ui.h:44 msgid "_Edit" msgstr "_Editar" #: ../data/glade/moserial.ui.h:45 msgid "_File" msgstr "_Archivo" #: ../data/glade/moserial.ui.h:46 msgid "_Help" msgstr "Ay_uda" #: ../data/glade/moserial.ui.h:47 msgid "_Launch recorded files" msgstr "_Lanzar los archivos guardados" #: ../data/glade/moserial.ui.h:48 msgid "_Use the system fixed width font" msgstr "_Usar la tipografía de ancho fijo del sistema" #: ../data/glade/moserial.ui.h:49 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:50 msgid "seconds" msgstr "segundos" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "" "Un terminal serie optimizado para registro del sistema y captura de archivos" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal serial" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Entrada no válida" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Archivo de perfil para cargar" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Fallo al cargar la IU\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- terminal serie moserial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Ejecutar «%s --help» para ver una lista completa de opciones de línea de " "comandos disponibles.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "Jorge González , 2007-2010\n" "Roby Sottini., 2009" #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial es software libre; puede redistribuirlos y/o modificarlos bajo los " "términos de la Licencia Pública General GNU como se publicó por la Free " "Software Foundation, en la versión 3 de la licencia, o (a su elección) " "cualquier versión posterior.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial se distribuye con la esperanza de que sea útil, pero SIN NINGUNA " "GARANTÍA; sin ninguna implicación de garantía de COMERCIABILIDAD o CALIDAD " "PARA NINGÚN PROPÓSITO PARTICULAR. Consulte la Licencia Pública GNU para más " "detalles.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Debería haber recibido una copia de la Licencia Pública General GNU junto " "con este programa. De lo contrario, visite ." #: ../src/MainWindow.vala:65 #| msgid "" #| "ASCII\n" #| "HEX" msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:157 msgid "Port configuration" msgstr "Configuración de puertos" #: ../src/MainWindow.vala:162 msgid "Read the manual" msgstr "Consulte el manual" #: ../src/MainWindow.vala:172 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:183 msgid "Send a file" msgstr "Enviar un archivo" #: ../src/MainWindow.vala:192 msgid "Receive a file" msgstr "Recibir un archivo" #: ../src/MainWindow.vala:202 msgid "Record sent and/or received data" msgstr "Grabar datos enviados y/o receibidos" #: ../src/MainWindow.vala:213 msgid "Other preferences" msgstr "Otras preferencias" #: ../src/MainWindow.vala:218 msgid "Open/close port" msgstr "Abrir/cerrar puerto" #: ../src/MainWindow.vala:266 msgid "Send the outgoing data now." msgstr "Enviar los datos salientes ahora." #: ../src/MainWindow.vala:269 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Introducir aquí los datos que quiere transmitir. Pulse Intro o Enviar cuando " "esté listo para enviarlos." #: ../src/MainWindow.vala:546 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Error: No se pudo abrir el archivo" #: ../src/MainWindow.vala:624 #, c-format msgid "Error: Could not open device" msgstr "Error: No se pudo abrir el dispositivo" #: ../src/MainWindow.vala:746 #, c-format msgid "Unable to display help file: %s" msgstr "No se pudo mostrar el archivo de ayuda: %s" #: ../src/MainWindow.vala:757 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Un terminal serie para el escritorio GNOME, optimizado para registros del " "sistema y captura de archivos." #: ../src/MainWindow.vala:809 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Ha cambiado sus ajustes o preferencias. ¿Quiere guardar los cambios en el " "perfil cargado?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Si esta opción está activada, un archivo grabado se abrirá inmediatamente " "después de guardarlo, usando la aplicación predeterminada para el tipo de " "archivo. La aplicación predeterminada está definida por el entorno de " "escritorio." #: ../src/PreferencesDialog.vala:53 #| msgid "" #| "If this option is enabled, recording will be automatically stopped after " #| "an adjustable period of inactivity after receiving some data. That is, " #| "moserial will wait indefinitely to record the first data byte before " #| "activating the inactivity timer." msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Si esta opción está activada, la grabación se detendrá automáticamente " "después de un tiempo de inactividad ajustable, después de recibir algunos " "datos. Moserial esperará de forma indefinida hasta grabar el primer byte de " "datos antes de activar el temporizador de inactividad." #: ../src/Preferences.vala:65 #| msgid "Unable to retrieve gconf key: %s" msgid "Unable to retrieve system font setting" msgstr "No se pudo obtener la configuración de la tipografía del sistema" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Esperando al anfitrión remoto" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "CR+LF fin" #: ../src/SerialConnection.vala:44 #| msgid "Send" msgid "CR end" msgstr "CR fin" #: ../src/SerialConnection.vala:45 #| msgid "Send" msgid "LF end" msgstr "LF fin" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "TAB fin" #: ../src/SerialConnection.vala:47 #| msgid "Send" msgid "ESC end" msgstr "ESC fin" #: ../src/SerialConnection.vala:48 #| msgid "Send" msgid "No end" msgstr "Sin final" #: ../src/SerialConnection.vala:281 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu no imprimible)" #: ../src/SerialConnection.vala:283 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Entrante" #: ../src/SerialStreamRecorder.vala:31 #| msgid "Record Incoming and/or Outgoing Data" msgid "Incoming and Outgoing" msgstr "Entrante y saliente" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:78 #, c-format msgid "error: %s\n" msgstr "error: %s\n" #: ../src/SerialStreamRecorder.vala:87 #, c-format msgid "Unable to launch %s: %s" msgstr "No se puede lanzar %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "También conocido como un negociación RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "También conocido como negociación XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Generalmente desactivado" #: ../src/Settings.vala:25 msgid "None" msgstr "Niguno" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Impares" #: ../src/Settings.vala:27 msgid "Even" msgstr "Pares" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Marcar" #: ../src/Settings.vala:29 msgid "Space" msgstr "Espacio" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Lectura y escritura" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Sólo lectura" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Sólo escritura" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "ABRIR" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "CERRADO" #: ../src/Szwrapper.vala:27 #| msgid "" #| "Xmodem\n" #| "Ymodem\n" #| "Zmodem\n" #| "None (straight binary)" msgid "None (straight binary)" msgstr "Ninguno (binario directo)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "cancelado" #~ msgid "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgstr "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgid "" #~ "1\n" #~ "2" #~ msgstr "" #~ "1\n" #~ "2" #~| msgid "" #~| "300\n" #~| "600\n" #~| "1200\n" #~| "2400\n" #~| "4800\n" #~| "9600\n" #~| "19200\n" #~| "38400\n" #~| "57600\n" #~| "115200\n" #~| "230400\n" #~| "460800\n" #~| "576000\n" #~| "927600" #~ msgid "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600\n" #~ "1000000\n" #~ "2000000" #~ msgstr "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600\n" #~ "1000000\n" #~ "2000000" #~ msgid "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgstr "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgid "Font" #~ msgstr "Tipografía" #~ msgid "Recording" #~ msgstr "Grabación" #~ msgid "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgstr "" #~ "CR+LF fin\n" #~ "CR fin\n" #~ "LF fin\n" #~ "TAB fin\n" #~ "ESC fin\n" #~ "Sin fin" #~ msgid "" #~ "Incoming\n" #~ "Outgoing\n" #~ "Incoming and Outgoing" #~ msgstr "" #~ "Entrada\n" #~ "Salida\n" #~ "Entrada y salida" #~ msgid "" #~ "None\n" #~ "Odd\n" #~ "Even\n" #~ "Mark\n" #~ "Space" #~ msgstr "" #~ "Ninguno\n" #~ "Impar\n" #~ "Par\n" #~ "Marca\n" #~ "Espacio" #~ msgid "" #~ "Read and Write\n" #~ "Read Only\n" #~ "Write Only" #~ msgstr "" #~ "Leer y escribir\n" #~ "Solo lectura\n" #~ "Solo escritura" #~ msgid "Save Settings _As" #~ msgstr "Guardar ajustes _como" #~ msgid "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgstr "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgid "_Contents" #~ msgstr "Índ_ice" #~ msgid "_Open Settings" #~ msgstr "Ajustes de _apertura" #~ msgid "_Save Settings" #~ msgstr "Ajustes de g_uardado" #~ msgid "Can't display a clickable URL: %s" #~ msgstr "No se puede mostrar un URL accesible: %s" #~ msgid "" #~ "Click this to transmit the data entered in the Outgoing text box. " #~ "Clicking \"enter\" in that box will do the same thing." #~ msgstr "" #~ "Pulse esto para transmitir los datos introducidos en el cuadro de texto " #~ "de salida. Pulsando «Intro» en ese cuadro hará lo mismo." #~ msgid "Select the error correction protocol to use." #~ msgstr "Seleccionar el protocolo de corrección de errores para usar." #~ msgid "" #~ "Select the error correction protocol to use. If you wish to receive a " #~ "straight binary file without using error correction protocols, use the " #~ "Record button instead." #~ msgstr "" #~ "Seleccionar el protocolo de corrección de errores para usar. Si quiere " #~ "recibir un archivo binario directamente sin usar protocolos de corrección " #~ "de errores, use el botón Grabar en su lugar." #~ msgid "" #~ "This determines whether the data entered in the Outgoing text box should " #~ "be interpreted as normal ASCII text, or as hexadecimal codes. If this is " #~ "set to HEX, the entered data should consist of only 0-9 and A-F " #~ "characters." #~ msgstr "" #~ "Determina si los datos introducidos en el campo Salida se deben " #~ "interpretar como texto normal ASCII o como código hexadecimal. Si está " #~ "establecido a HEX, los datos introducidos sólo deben ser caracteres 0-9 y " #~ "A-F." #~ msgid "" #~ "This selects the termination sequence that is appended to the Outgoing " #~ "data in the ASCII mode when you click Send." #~ msgstr "" #~ "Selecciona la secuencia de terminación que se añadirá a los datos " #~ "salientes en modo ASCII al pulsar Enviar." #~ msgid "Use this to configure your serial port parameters." #~ msgstr "Use esto para configurar los parámetros del puerto serie." #~ msgid "" #~ "Use this to receive a file from a remote computer, using an error " #~ "correction protocol. For straight binary dumps without error correction, " #~ "use Record instead." #~ msgstr "" #~ "Use esto para recibir un archivo de un equipo remoto, usando un protocolo " #~ "de corrección de errores. Para volcados de binario directos sin " #~ "corrección de errores, use Grabar." #~ msgid "" #~ "Use this to record (or \"log\") your communications to a file. You can " #~ "log the received data, the sent data, or both. This can also be used to " #~ "receive files sent by a remote device without the use of error correction " #~ "protocols (a straight binary dump)." #~ msgstr "" #~ "Use esto para grabar (o «registrar») sus comunicaciones en un archivo. " #~ "Puede registrar los datos recibidos, los datos enviado o ambos. También " #~ "puede usarlo para recibir archivos enviados por un dispositivo remoto sin " #~ "el uso de protocolos de corrección de errores (un volcado binario " #~ "directo)." #~ msgid "" #~ "Use this to send a file to a remote computer, with or without error " #~ "correction protocols." #~ msgstr "" #~ "Use esto para enviar un archivo a un equipo remoto, con o sin protocolos " #~ "de corrección de errores." #~ msgid "Use this to set font sizes and other related settings." #~ msgstr "" #~ "Use esto para guardar tamaños de tipografías y otras configuraciones " #~ "relacionadas." #~ msgid "" #~ "You must connect to your port before you can send or receive data. " #~ "Disconnecting and reconnecting will clear the textboxes and reset the " #~ "TX / RX counters." #~ msgstr "" #~ "Debe conectarse al puerto antes de poder enviar o recibir datos. " #~ "Desconectar y reconectar limpiará los campos de texto y reiniciará los " #~ "contadores TX / RX." #~ msgid "gtk-about" #~ msgstr "gtk-about" #~ msgid "gtk-cancel" #~ msgstr "gtk-cancel" #~ msgid "gtk-clear" #~ msgstr "gtk-clear" #~ msgid "gtk-copy" #~ msgstr "gtk-copy" #~ msgid "gtk-cut" #~ msgstr "gtk-cut" #~ msgid "gtk-ok" #~ msgstr "gtk-ok" #~ msgid "gtk-paste" #~ msgstr "gtk-paste" #~ msgid "gtk-quit" #~ msgstr "gtk-quit" moserial-3.0.8/po/fr.po0000674000213200021320000003374412064144714011652 00000000000000# French translation of moserial # Copyright (C) 2009-2011 Free Software Foundation, Inc # This file is distributed under the same license as the moserial package. # # laurent coudeur , 2009 # Claude Paroz , 2009-2011 # msgid "" msgstr "" "Project-Id-Version: moserial.HEAD\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-08-19 19:02+0000\n" "PO-Revision-Date: 2011-08-19 21:34+0200\n" "Last-Translator: Claude Paroz \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" #: ../data/glade/moserial.ui.h:1 msgid "Access Mode" msgstr "Mode d'accès" #: ../data/glade/moserial.ui.h:2 msgid "Background Color" msgstr "Couleur d'arrière-plan" #: ../data/glade/moserial.ui.h:3 msgid "Baud Rate" msgstr "Vitesse de transmission en bauds" #: ../data/glade/moserial.ui.h:4 msgid "Connect" msgstr "Connecter" #: ../data/glade/moserial.ui.h:5 msgid "Data Bits" msgstr "Bits de données" #: ../data/glade/moserial.ui.h:6 msgid "Device" msgstr "Périphérique" #: ../data/glade/moserial.ui.h:7 msgid "Disconnect" msgstr "Déconnecter" #: ../data/glade/moserial.ui.h:8 msgid "Display Font" msgstr "Police d'affichage" #: ../data/glade/moserial.ui.h:9 msgid "Echo received data" msgstr "Écho des données reçues" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Activer le délai de connexion après" #: ../data/glade/moserial.ui.h:11 msgid "Error Correction Protocol" msgstr "Protocole de correction d'erreur" #: ../data/glade/moserial.ui.h:12 msgid "Filename required for XMODEM" msgstr "Nom de fichier nécessaire pour XMODEM" #: ../data/glade/moserial.ui.h:13 msgid "Font" msgstr "Police" #: ../data/glade/moserial.ui.h:14 msgid "Font Colour" msgstr "Couleur de police" #: ../data/glade/moserial.ui.h:15 msgid "Handshake" msgstr "Contrôle de flux" #: ../data/glade/moserial.ui.h:16 msgid "Hardware" msgstr "Matériel" #: ../data/glade/moserial.ui.h:17 msgid "Help" msgstr "Aide" #: ../data/glade/moserial.ui.h:18 msgid "Highlight Color" msgstr "Couleur de surbrillance" #: ../data/glade/moserial.ui.h:19 msgid "Local Echo" msgstr "Écho local" #: ../data/glade/moserial.ui.h:20 msgid "Open _Recent" msgstr "Ouvrir _récents" #: ../data/glade/moserial.ui.h:21 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Sortant" #: ../data/glade/moserial.ui.h:22 msgid "Parity" msgstr "Parité" #: ../data/glade/moserial.ui.h:23 msgid "Port Settings" msgstr "Configuration du port" #: ../data/glade/moserial.ui.h:24 msgid "Port Setup" msgstr "Paramétrage de port" #: ../data/glade/moserial.ui.h:25 msgid "Preferences" msgstr "Préférences" #: ../data/glade/moserial.ui.h:26 msgid "Receive File" msgstr "Recevoir un fichier" #: ../data/glade/moserial.ui.h:27 msgid "Receive File Progress" msgstr "Progression de réception de fichier" #: ../data/glade/moserial.ui.h:28 msgid "Received ASCII" msgstr "ASCII reçu" #: ../data/glade/moserial.ui.h:29 msgid "Received HEX" msgstr "HEX reçu" #: ../data/glade/moserial.ui.h:30 msgid "Record" msgstr "Enregistrer" #: ../data/glade/moserial.ui.h:31 msgid "Record Incoming and/or Outgoing Data" msgstr "Enregistrement de données entrantes ou sortantes" #: ../data/glade/moserial.ui.h:32 msgid "Recording" msgstr "Enregistrement" #: ../data/glade/moserial.ui.h:33 msgid "Select File to Send" msgstr "Sélectionner le fichier à envoyer" #: ../data/glade/moserial.ui.h:34 msgid "Select Folder for Received Files" msgstr "Sélectionner le dossier pour les fichiers reçus" #: ../data/glade/moserial.ui.h:35 msgid "Send" msgstr "Envoyer" #: ../data/glade/moserial.ui.h:36 msgid "Send File" msgstr "Envoyer un fichier" #: ../data/glade/moserial.ui.h:37 msgid "Send File Progress" msgstr "Progression de l'envoi du fichier" #: ../data/glade/moserial.ui.h:38 msgid "Sent ASCII" msgstr "ASCII envoyé" #: ../data/glade/moserial.ui.h:39 msgid "Sent HEX" msgstr "HEX envoyé" #: ../data/glade/moserial.ui.h:40 msgid "Software" msgstr "Logiciel" #: ../data/glade/moserial.ui.h:41 msgid "Stop Bits" msgstr "Bits d'arrêt" #: ../data/glade/moserial.ui.h:42 msgid "Stop Recording" msgstr "Arrêter l'enregistrement" #: ../data/glade/moserial.ui.h:43 msgid "Stream to record" msgstr "Flux à enregistrer" #: ../data/glade/moserial.ui.h:44 msgid "_Edit" msgstr "É_dition" #: ../data/glade/moserial.ui.h:45 msgid "_File" msgstr "_Fichier" #: ../data/glade/moserial.ui.h:46 msgid "_Help" msgstr "Aid_e" #: ../data/glade/moserial.ui.h:47 msgid "_Launch recorded files" msgstr "_Lancer les fichiers enregistrés" #: ../data/glade/moserial.ui.h:48 msgid "_Use the system fixed width font" msgstr "_Utiliser la police à chasse fixe du système" #: ../data/glade/moserial.ui.h:49 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:50 msgid "seconds" msgstr "secondes" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "" "Un terminal série optimisé pour la journalisation et la capture de fichiers" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal de port série" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Entrée non valide" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Fichier profil à charger" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Le chargement de l'interface utilisateur a échoué\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- Terminal de port série moserial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Exécutez « %s --help » pour voir la liste complète des options en ligne de " "commande.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "Laurent Coudeur \n" "Claude Paroz " #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial est un logiciel libre ; vous pouvez le redistribuer et/ou le " "modifier selon les termes de la Licence Publique Générale GNU, telle que " "publiée par la Free Software Foundation ; version 3 de la licence, ou (à " "votre discrétion) toute version ultérieure.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial est distribué dans l'espoir qu'il vous sera utile, mais SANS AUCUNE " "GARANTIE ; sans même la garantie implicite de VALEUR MARCHANDE ou " "D'ADÉQUATION À UN BESOIN PARTICULIER. Consultez la Licence Publique Générale " "GNU pour plus de détails.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Vous devez avoir reçu une copie de la Licence Publique Générale GNU en même " "temps que ce logiciel. Sinon, consultez ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:157 msgid "Port configuration" msgstr "Configuration du port" #: ../src/MainWindow.vala:162 msgid "Read the manual" msgstr "Affiche le manuel" #: ../src/MainWindow.vala:172 msgid "TX: 0, RX: 0" msgstr "TX : 0, RX : 0" #: ../src/MainWindow.vala:183 msgid "Send a file" msgstr "Envoyer un fichier" #: ../src/MainWindow.vala:192 msgid "Receive a file" msgstr "Recevoir un fichier" #: ../src/MainWindow.vala:202 msgid "Record sent and/or received data" msgstr "Enregistrer les données envoyées et/ou reçues" #: ../src/MainWindow.vala:213 msgid "Other preferences" msgstr "Autres préférences" #: ../src/MainWindow.vala:218 msgid "Open/close port" msgstr "Ouvrir/fermer le port" #: ../src/MainWindow.vala:266 msgid "Send the outgoing data now." msgstr "Envoyer les données sortantes maintenant." #: ../src/MainWindow.vala:269 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Saisissez ici les données sortantes. Appuyez sur Entrée ou cliquez sur " "Envoyer pour les envoyer." #: ../src/MainWindow.vala:546 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Erreur : impossible d'ouvrir le fichier" #: ../src/MainWindow.vala:624 #, c-format msgid "Error: Could not open device" msgstr "Erreur : impossible d'ouvrir le périphérique" #: ../src/MainWindow.vala:746 #, c-format msgid "Unable to display help file: %s" msgstr "Impossible d'afficher le fichier d'aide : %s" #: ../src/MainWindow.vala:757 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Un terminal série pour le bureau GNOME, optimisé pour la journalisation et " "la capture de fichiers." #: ../src/MainWindow.vala:809 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Vous avez modifié vos paramètres ou préférences. Souhaitez-vous enregistrer " "ces changements dans le profil actuellement chargé ?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Si cette option est active, un fichier enregistré sera ouvert immédiatement " "après sa sauvegarde par l'application par défaut pour le type de fichier. " "L'application par défaut est définie par l'environnement de bureau." #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Si cette option est active, l'enregistrement sera automatiquement stoppé " "après une période d'inactivité réglable, après avoir reçu des données. " "Moserial attendra indéfiniment d'enregistrer les premières données avant " "d'activer le compteur d'inactivité." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Impossible de récupérer le paramètre de la police système" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "En attente de l'hôte distant" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "fin CR+LF" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "fin CR" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "fin LF" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "fin TAB" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "fin ESC" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "pas de fin" #: ../src/SerialConnection.vala:281 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX : %lu, RX : %lu (%lu non imprimable)" #: ../src/SerialConnection.vala:283 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX : %lu, RX : %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Entrant" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Entrant et sortant" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:78 #, c-format msgid "error: %s\n" msgstr "erreur : %s\n" #: ../src/SerialStreamRecorder.vala:87 #, c-format msgid "Unable to launch %s: %s" msgstr "Impossible de lancer %s : %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Aussi connu comme contrôle de flux RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Aussi connu comme contrôle de flux XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Désactivé normalement" #: ../src/Settings.vala:25 msgid "None" msgstr "Aucune" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Impaire" #: ../src/Settings.vala:27 msgid "Even" msgstr "Paire" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Marque" #: ../src/Settings.vala:29 msgid "Space" msgstr "Espace" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Lecture et écriture" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Lecture seule" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Écriture seule" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "A" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "I" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "P" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "E" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "OUVRIR" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "FERMÉ" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "Aucun (binaire direct)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "annulé" moserial-3.0.8/po/gl.po0000674000213200021320000003741612064144714011645 00000000000000# Translation of Moserial to Galician # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Fran Diéguez , 2010. # Fran Dieguez , 2012. # msgid "" msgstr "" "Project-Id-Version: moserial\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-03-24 22:25+0100\n" "PO-Revision-Date: 2012-03-24 22:29+0100\n" "Last-Translator: Fran Dieguez \n" "Language-Team: Galician \n" "Language: gl\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" "X-Poedit-Language: Galician\n" #: ../data/glade/moserial.ui.h:1 msgid "Preferences" msgstr "Preferencias" #: ../data/glade/moserial.ui.h:2 msgid "Font" msgstr "Tipo de letra" #: ../data/glade/moserial.ui.h:3 msgid "_Use the system fixed width font" msgstr "_Usar o tipo de letra de largura fixa do sistema" #: ../data/glade/moserial.ui.h:4 msgid "Display Font" msgstr "Mostrar o tipo de letra" #: ../data/glade/moserial.ui.h:5 msgid "Font Colour" msgstr "Cor da letra" #: ../data/glade/moserial.ui.h:6 msgid "Background Color" msgstr "Cor do fondo" #: ../data/glade/moserial.ui.h:7 msgid "Highlight Color" msgstr "Cor do realce" #: ../data/glade/moserial.ui.h:8 msgid "Recording" msgstr "Gravación" #: ../data/glade/moserial.ui.h:9 msgid "_Launch recorded files" msgstr "_Abrir os ficheiros gravados" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Activar o tempo de espera expirado despois de" #: ../data/glade/moserial.ui.h:11 msgid "seconds" msgstr "segundos" #: ../data/glade/moserial.ui.h:12 msgid "Select Folder for Received Files" msgstr "Seleccionar o cartafol para os ficheiros recibidos" #: ../data/glade/moserial.ui.h:13 msgid "Error Correction Protocol" msgstr "Protocolo de corrección de erros" #: ../data/glade/moserial.ui.h:14 msgid "Receive File Progress" msgstr "Progresión da recepción do ficheiro" #: ../data/glade/moserial.ui.h:15 msgid "Record Incoming and/or Outgoing Data" msgstr "Gravar os datos de entrantes e/ou saíntes" #: ../data/glade/moserial.ui.h:16 msgid "Stream to record" msgstr "Fluxo a gravar" #: ../data/glade/moserial.ui.h:17 msgid "Select File to Send" msgstr "Seleccionar o ficheiro para enviar" #: ../data/glade/moserial.ui.h:18 msgid "Send File Progress" msgstr "Progresión no envío do ficheiro" #: ../data/glade/moserial.ui.h:19 msgid "Port Setup" msgstr "Axustes do porto" #: ../data/glade/moserial.ui.h:20 msgid "Port Settings" msgstr "Preferencias do porto" #: ../data/glade/moserial.ui.h:21 msgid "Hardware" msgstr "Hardware" #: ../data/glade/moserial.ui.h:22 msgid "Software" msgstr "Software" #: ../data/glade/moserial.ui.h:23 msgid "Access Mode" msgstr "Modo de acceso" #: ../data/glade/moserial.ui.h:24 msgid "Handshake" msgstr "Negociación" #: ../data/glade/moserial.ui.h:25 msgid "Parity" msgstr "Paridade" #: ../data/glade/moserial.ui.h:26 msgid "Stop Bits" msgstr "Deter bits" #: ../data/glade/moserial.ui.h:27 msgid "Data Bits" msgstr "Bits de datos" #: ../data/glade/moserial.ui.h:28 msgid "Baud Rate" msgstr "Taxa de baudios" #: ../data/glade/moserial.ui.h:29 msgid "Device" msgstr "Dispositivo" #: ../data/glade/moserial.ui.h:30 msgid "Local Echo" msgstr "Eco local" #: ../data/glade/moserial.ui.h:31 msgid "Echo received data" msgstr "Datos do eco recibidos" #: ../data/glade/moserial.ui.h:32 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:33 msgid "_File" msgstr "_Ficheiro" #: ../data/glade/moserial.ui.h:34 msgid "Open _Recent" msgstr "Abrir os _recentes" #: ../data/glade/moserial.ui.h:35 msgid "_Edit" msgstr "_Editar" #: ../data/glade/moserial.ui.h:36 msgid "_Help" msgstr "A_xuda" #: ../data/glade/moserial.ui.h:37 msgid "Connect" msgstr "Conectar" #: ../data/glade/moserial.ui.h:38 msgid "Record" msgstr "Gravar" #: ../data/glade/moserial.ui.h:39 msgid "Send File" msgstr "Enviar o ficheiro" #: ../data/glade/moserial.ui.h:40 msgid "Receive File" msgstr "Recibir un ficheiro" #: ../data/glade/moserial.ui.h:41 msgid "Help" msgstr "Axuda" #: ../data/glade/moserial.ui.h:42 msgid "Received ASCII" msgstr "Recibido en ASCII" #: ../data/glade/moserial.ui.h:43 msgid "Received HEX" msgstr "Recibido en HEX" #: ../data/glade/moserial.ui.h:44 msgid "Sent ASCII" msgstr "Enviar en ASCII" #: ../data/glade/moserial.ui.h:45 msgid "Sent HEX" msgstr "Enviar en HEX" #: ../data/glade/moserial.ui.h:46 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Saíntes" #: ../data/glade/moserial.ui.h:47 msgid "Send" msgstr "Enviar" #: ../data/glade/moserial.ui.h:48 msgid "Disconnect" msgstr "Desconectar" #: ../data/glade/moserial.ui.h:49 msgid "Stop Recording" msgstr "Deter a gravación" #: ../data/glade/moserial.ui.h:50 msgid "Filename required for XMODEM" msgstr "Nome de ficheiro necesario para XMODEM" #: ../data/moserial.desktop.in.h:1 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal serie" #: ../data/moserial.desktop.in.h:3 msgid "A serial terminal optimized for logging and file capture" msgstr "Un terminal serie optimizado para o rexistro e captura de ficheiros" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Entrada incorrecta" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Ficheiro do perfil a cargar" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Produciuse un fallo ao cargar a interface gráfica\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- terminal serie moserial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Execute '%s --help' para ver unha lista completa das opcións dispoñíbeis " "para a liña de ordes.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "Marcos Lans , 2010;\n" "Fran Diéguez , 2010;" #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial é software libre: vostede pode redistribuílo e/ou modificalo baixo " "os termos da GNU General Public License publicada pola Free Software " "Foundation, ben sexa a versión 3 da licenza ou calquera outra posterior que " "vostede elixa.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial distribúese coa intención de ser útil, pero SEN GARANTÍA DE NINGÚN " "TIPO; nin ADECUACIÓN PARA NINGÚN PROPÓSITO PARTICULAR. Vexa a GNU General " "Public License para ampliar a información.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Vostede debeu recibir unha copia da GNU General Public License xunto con " "este programa. Se non é así, visite ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:163 msgid "Port configuration" msgstr "Configuración do porto" #: ../src/MainWindow.vala:168 msgid "Read the manual" msgstr "Ler o manual" #: ../src/MainWindow.vala:178 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:189 msgid "Send a file" msgstr "Enviar un ficheiro" #: ../src/MainWindow.vala:198 msgid "Receive a file" msgstr "Recibir un ficheiro" #: ../src/MainWindow.vala:208 msgid "Record sent and/or received data" msgstr "Gravar os datos enviados e/ou recibidos" #: ../src/MainWindow.vala:219 msgid "Other preferences" msgstr "Outras preferencias" #: ../src/MainWindow.vala:224 msgid "Open/close port" msgstr "Abrir/Pechar o porto" #: ../src/MainWindow.vala:272 msgid "Send the outgoing data now." msgstr "Enviar os datos de saída agora." #: ../src/MainWindow.vala:275 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "Escriba aquí os datos de saída. Despois prema 'Intro' ou 'Enviar'." #: ../src/MainWindow.vala:558 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Erro: non foi posíbel abrir o ficheiro" #: ../src/MainWindow.vala:636 #, c-format msgid "Error: Could not open device" msgstr "Erro: non foi posíbel abrir o dispositivo" #: ../src/MainWindow.vala:758 #, c-format msgid "Unable to display help file: %s" msgstr "Non foi posíbel mostrar o ficheiro de axuda: %s" #: ../src/MainWindow.vala:769 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Un terminal serie para o escritorio GNOME, optimizado para o rexistro e " "captura de ficheiros." #: ../src/MainWindow.vala:822 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Vostede cambiou os axustes ou as preferencias. Desexa gardar os cambios no " "perfil que está cargado actualmente?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Se esta opción está activada, os ficheiros gravados abriranse inmediatamente " "despois de gardarse. Para iso usarase o aplicativo predefinido para ese tipo " "de ficheiro. O aplicativo predefinido é definido polo contorno de escritorio." #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Se esta opción está activada, a gravación deterase automaticamente despois " "dun periodo regulábel de inactividade tras recibir algúns datos. Moserial " "agardará indefinidamente até rexistrar o primeiro byte de datos antes de " "activar o temporizador de inactividade." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Non foi posíbel obter a preferencia do tipo de letra do sistema" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Esperando o host remoto" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "Fin CR+LF" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "Fin CR" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "Fi LF" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "Fin TAB" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "Fin ESC" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Sen fin" #: ../src/SerialConnection.vala:302 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu non imprimíbel)" #: ../src/SerialConnection.vala:304 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Entrante" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Entrante e saínte" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:68 #: ../src/SerialStreamRecorder.vala:89 #, c-format msgid "error: %s\n" msgstr "erro: %s\n" #: ../src/SerialStreamRecorder.vala:98 #, c-format msgid "Unable to launch %s: %s" msgstr "Non foi posíbel abrir %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Tamén coñecida como negociación RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Tamén coñecida como negociación XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Desactivado normalmente" #: ../src/Settings.vala:25 msgid "None" msgstr "Ningún" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Impar" #: ../src/Settings.vala:27 msgid "Even" msgstr "Par" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Marca" #: ../src/Settings.vala:29 msgid "Space" msgstr "Espazo" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Lectura e escritura" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Só lectura" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Só escritura" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "I" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "P" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "ABRIR" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "PECHADO" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "Ningún (binary puro)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "cancelado" #~ msgid "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgstr "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgid "" #~ "1\n" #~ "2" #~ msgstr "" #~ "1\n" #~ "2" #~ msgid "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgstr "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgid "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgstr "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgid "Font" #~ msgstr "Tipo de letra" #~ msgid "Recording" #~ msgstr "Gravación" #~ msgid "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgstr "" #~ "Final CR+LF\n" #~ "Final CR\n" #~ "Final LF\n" #~ "Final TAB\n" #~ "Final ESC\n" #~ "Sen final" #~ msgid "" #~ "Incoming\n" #~ "Outgoing\n" #~ "Incoming and Outgoing" #~ msgstr "" #~ "Entrantes\n" #~ "Saíntes\n" #~ "Entrantes e saíntes" #~ msgid "" #~ "None\n" #~ "Odd\n" #~ "Even\n" #~ "Mark\n" #~ "Space" #~ msgstr "" #~ "Ningún\n" #~ "Impar\n" #~ "Par\n" #~ "Marca\n" #~ "Espazo" #~ msgid "" #~ "Read and Write\n" #~ "Read Only\n" #~ "Write Only" #~ msgstr "" #~ "Lectura e escritura\n" #~ "Só lectura\n" #~ "Só escritura" #~ msgid "Save Settings _As" #~ msgstr "Gardar os _axustes como" #~ msgid "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgstr "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgid "_Contents" #~ msgstr "_Contidos" #~ msgid "_Open Settings" #~ msgstr "Abrir _os axustes" #~ msgid "_Save Settings" #~ msgstr "Gardar o_s axustes" #~ msgid "Can't display a clickable URL: %s" #~ msgstr "Non é posíbel mostrar un URL premíbel: %s" moserial-3.0.8/po/ja.po0000674000213200021320000004075212064144714011632 00000000000000# moserial ja.po. # Copyright (C) 2009-2011 Free Software Foundation, Inc. # This file is distributed under the same license as the moserial package. # Takeshi AIHANA , 2009-2011. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-10-09 10:10+0000\n" "PO-Revision-Date: 2012-01-01 19:55+0900\n" "Last-Translator: Jiro Matsuzawa \n" "Language-Team: Japanese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ja\n" #: ../data/glade/moserial.ui.h:1 msgid "Access Mode" msgstr "アクセス・モード" #: ../data/glade/moserial.ui.h:2 msgid "Background Color" msgstr "背景の色" #: ../data/glade/moserial.ui.h:3 msgid "Baud Rate" msgstr "ボーレート" #: ../data/glade/moserial.ui.h:4 msgid "Connect" msgstr "接続" #: ../data/glade/moserial.ui.h:5 msgid "Data Bits" msgstr "データのビット" #: ../data/glade/moserial.ui.h:6 msgid "Device" msgstr "デバイス" #: ../data/glade/moserial.ui.h:7 msgid "Disconnect" msgstr "接続断" #: ../data/glade/moserial.ui.h:8 msgid "Display Font" msgstr "フォント" #: ../data/glade/moserial.ui.h:9 msgid "Echo received data" msgstr "受信したデータをエコーする" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "次の時間を経過したら記録を停止する: " #: ../data/glade/moserial.ui.h:11 msgid "Error Correction Protocol" msgstr "エラー時の接続プロトコル:" #: ../data/glade/moserial.ui.h:12 msgid "Filename required for XMODEM" msgstr "XMODEM 用のファイル名が必要です" #: ../data/glade/moserial.ui.h:13 msgid "Font" msgstr "フォント" #: ../data/glade/moserial.ui.h:14 msgid "Font Colour" msgstr "文字の色" #: ../data/glade/moserial.ui.h:15 msgid "Handshake" msgstr "ハンドシェイク" #: ../data/glade/moserial.ui.h:16 msgid "Hardware" msgstr "ハードウェア" #: ../data/glade/moserial.ui.h:17 msgid "Help" msgstr "ヘルプ" #: ../data/glade/moserial.ui.h:18 msgid "Highlight Color" msgstr "強調表示の色" #: ../data/glade/moserial.ui.h:19 msgid "Local Echo" msgstr "ローカルのエコー" #: ../data/glade/moserial.ui.h:20 msgid "Open _Recent" msgstr "最近の接続(_R)" #: ../data/glade/moserial.ui.h:21 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "送信データ" #: ../data/glade/moserial.ui.h:22 msgid "Parity" msgstr "パリティ" #: ../data/glade/moserial.ui.h:23 msgid "Port Settings" msgstr "シリアル・ポートの設定" #: ../data/glade/moserial.ui.h:24 msgid "Port Setup" msgstr "ポートの設定" #: ../data/glade/moserial.ui.h:25 msgid "Preferences" msgstr "設定" #: ../data/glade/moserial.ui.h:26 msgid "Receive File" msgstr "ファイルの受信" #: ../data/glade/moserial.ui.h:27 msgid "Receive File Progress" msgstr "ファイル受信の経過" #: ../data/glade/moserial.ui.h:28 msgid "Received ASCII" msgstr "受信 (ASCII)" #: ../data/glade/moserial.ui.h:29 msgid "Received HEX" msgstr "受信 (16進)" #: ../data/glade/moserial.ui.h:30 msgid "Record" msgstr "記録" #: ../data/glade/moserial.ui.h:31 msgid "Record Incoming and/or Outgoing Data" msgstr "ファイルの選択" #: ../data/glade/moserial.ui.h:32 msgid "Recording" msgstr "記録" #: ../data/glade/moserial.ui.h:33 msgid "Select File to Send" msgstr "送信するファイルの選択" #: ../data/glade/moserial.ui.h:34 msgid "Select Folder for Received Files" msgstr "フォルダーの選択" #: ../data/glade/moserial.ui.h:35 msgid "Send" msgstr "送信する" #: ../data/glade/moserial.ui.h:36 msgid "Send File" msgstr "ファイルの送信" #: ../data/glade/moserial.ui.h:37 msgid "Send File Progress" msgstr "ファイル送信の経過" #: ../data/glade/moserial.ui.h:38 msgid "Sent ASCII" msgstr "送信 (ASCII)" #: ../data/glade/moserial.ui.h:39 msgid "Sent HEX" msgstr "送信 (16進)" #: ../data/glade/moserial.ui.h:40 msgid "Software" msgstr "ソフトウェア" #: ../data/glade/moserial.ui.h:41 msgid "Stop Bits" msgstr "ストップ・ビット" #: ../data/glade/moserial.ui.h:42 msgid "Stop Recording" msgstr "停止" #: ../data/glade/moserial.ui.h:43 msgid "Stream to record" msgstr "記録するストリーム" #: ../data/glade/moserial.ui.h:44 msgid "_Edit" msgstr "編集(_E)" #: ../data/glade/moserial.ui.h:45 msgid "_File" msgstr "ファイル(_F)" #: ../data/glade/moserial.ui.h:46 msgid "_Help" msgstr "ヘルプ(_H)" #: ../data/glade/moserial.ui.h:47 msgid "_Launch recorded files" msgstr "ログ・ファイルを開く(_L)" #: ../data/glade/moserial.ui.h:48 msgid "_Use the system fixed width font" msgstr "システムの固定幅フォントを使う(_U)" #: ../data/glade/moserial.ui.h:49 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:50 msgid "seconds" msgstr "秒後" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "ログの記録やファイルのキャプチャが可能なシリアル端末です" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "シリアル端末" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Moserial 端末" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "入力したデータが間違っています" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "読み込むプロファイルを指定する" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "UI の読み込みに失敗しました\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial シリアル端末" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "'%s --help' で利用可能なコマンドラインのオプションを表示します\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "相花 毅 " #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial はフリーソフトウェアです。フリーソフトウェア財団が提供する GNU 一般" "公衆利用許諾契約書の第三版、あるいはそれ以降の版が定める条項の下で本プログラ" "ムを再頒布または変更することができます。\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "本プログラムは有用とは思いますが、その頒布にあたり商用での利用や特定の目的に" "対する適用については暗黙の保証を含めて、いかなる保証も行ないません。詳細には " "GNU 一般公衆利用許諾契約書をご覧下さい。\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "あなたは本プログラムと一緒に GNU 一般公衆利用許諾契約書の写しを受け取っている" "はずです。そうでない場合は をご覧下さい。" #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "16進" #: ../src/MainWindow.vala:163 msgid "Port configuration" msgstr "ポートの設定です" #: ../src/MainWindow.vala:168 msgid "Read the manual" msgstr "ユーザー・マニュアルを表示します" #: ../src/MainWindow.vala:178 msgid "TX: 0, RX: 0" msgstr "送信: 0 受信: 0" #: ../src/MainWindow.vala:189 msgid "Send a file" msgstr "ファイルを送信します" #: ../src/MainWindow.vala:198 msgid "Receive a file" msgstr "ファイルを受信します" #: ../src/MainWindow.vala:208 msgid "Record sent and/or received data" msgstr "送受信データを記録します" #: ../src/MainWindow.vala:219 msgid "Other preferences" msgstr "その他の設定です" #: ../src/MainWindow.vala:224 msgid "Open/close port" msgstr "ポートをオープン/クローズします" #: ../src/MainWindow.vala:272 msgid "Send the outgoing data now." msgstr "このデータを今すぐ送信します" #: ../src/MainWindow.vala:275 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "送信するデータを入力し、送信の準備が整ったら [Enter] キーまたは右側の [送信] " "ボタンを押下して下さい" #: ../src/MainWindow.vala:557 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "エラー: ファイルを開けませんでした" #: ../src/MainWindow.vala:635 #, c-format msgid "Error: Could not open device" msgstr "エラー: デバイスをオープンできませんでした" #: ../src/MainWindow.vala:757 #, c-format msgid "Unable to display help file: %s" msgstr "ヘルプを表示できません: %s" #: ../src/MainWindow.vala:768 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "GNOME デスクトップ向けのシリアル端末で、ログの記録やファイルのキャプチャ機能" "を搭載しています。" #: ../src/MainWindow.vala:820 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "設定を変更しています。それらの変更をプロファイルに保存しますか?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "このオプションを有効にすると、ログ・ファイルを保存した直後にそのファイルをデ" "フォルトのアプリケーションで開きます (デフォルトのアプリケーションはデスク" "トップ環境で定義されています)" #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "このオプションを有効にすると、データを受信した後に、ここで指定した時間 (秒) " "何も受信しない状態が続いたらログの記録を自動的に停止します (このオプションは" "一番最初のデータのログを記録するまで無限に待機します)" #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "システムのフォント設定を取得できませんでした" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "リモート・ホストが準備できるまで待機中です" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "終端は CR+LF" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "終端は CR" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "終端は LF" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "終端は TAB" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "終端は ESC" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "終端なし" #: ../src/SerialConnection.vala:285 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "送信: %lu 受信: %lu (%lu 個表示不可)" #: ../src/SerialConnection.vala:287 #, c-format msgid "TX: %lu, RX: %lu" msgstr "送信: %lu 受信: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "受信" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "送信と受信" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:78 #, c-format msgid "error: %s\n" msgstr "エラー: %s\n" #: ../src/SerialStreamRecorder.vala:87 #, c-format msgid "Unable to launch %s: %s" msgstr "%s を起動できません: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "RTS/CTS のハンドシェイクを有効にします" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "XON/XOFF のハンドシェイクを有効にします" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "通常は無効にして下さい" #: ../src/Settings.vala:25 msgid "None" msgstr "なし" #: ../src/Settings.vala:26 msgid "Odd" msgstr "基数" #: ../src/Settings.vala:27 msgid "Even" msgstr "偶数" #: ../src/Settings.vala:28 msgid "Mark" msgstr "マーク" #: ../src/Settings.vala:29 msgid "Space" msgstr "スペース" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "読み書き" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "読み込みだけ" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "書き込みだけ" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "(オープン)" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "(クローズ)" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "なし (バイナリ)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "キャンセルしました" #~ msgid "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgstr "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgid "" #~ "1\n" #~ "2" #~ msgstr "" #~ "1\n" #~ "2" #~ msgid "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgstr "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgid "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgstr "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgid "Font" #~ msgstr "フォント" #~ msgid "Recording" #~ msgstr "ログの記録" #~ msgid "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgstr "" #~ "終端は CR+LF\n" #~ "終端は CR\n" #~ "終端は LF\n" #~ "終端は TAB\n" #~ "終端は ESC\n" #~ "終端なし" #~ msgid "" #~ "Incoming\n" #~ "Outgoing\n" #~ "Incoming and Outgoing" #~ msgstr "" #~ "受信\n" #~ "送信\n" #~ "受信と送信" #~ msgid "" #~ "None\n" #~ "Odd\n" #~ "Even\n" #~ "Mark\n" #~ "Space" #~ msgstr "" #~ "なし\n" #~ "奇数\n" #~ "偶数\n" #~ "マーク\n" #~ "スペース" #~ msgid "" #~ "Read and Write\n" #~ "Read Only\n" #~ "Write Only" #~ msgstr "" #~ "読み書き\n" #~ "読み込みだけ\n" #~ "書き込みだけ" #~ msgid "Save Settings _As" #~ msgstr "設定を別名で保存(_A)" #~ msgid "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgstr "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgid "_Contents" #~ msgstr "目次(_C)" #~ msgid "_Open Settings" #~ msgstr "設定を開く(_O)" #~ msgid "_Save Settings" #~ msgstr "設定の保存(_S)" #~ msgid "Can't display a clickable URL: %s" #~ msgstr "クリック可能な URL を表示できませんでした: %s" moserial-3.0.8/po/ko.po0000674000213200021320000004235412064144714011651 00000000000000# Korean translation for moserial. # Copyright (C) 2009 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # Homin Lee (Suapapa) , 2009. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=moserial&component=general\n" "POT-Creation-Date: 2009-10-29 20:18+0900\n" "PO-Revision-Date: 2009-11-02 19:31+0900\n" "Last-Translator: Homin Lee \n" "Language-Team: Korean \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/glade/moserial.glade.h:1 msgid "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" msgstr "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" #: ../data/glade/moserial.glade.h:9 msgid "" "1\n" "2" msgstr "" "1\n" "2" #: ../data/glade/moserial.glade.h:11 msgid "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" msgstr "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" #: ../data/glade/moserial.glade.h:25 msgid "" "5\n" "6\n" "7\n" "8" msgstr "" "5\n" "6\n" "7\n" "8" #: ../data/glade/moserial.glade.h:29 msgid "Font" msgstr "Font" #: ../data/glade/moserial.glade.h:30 msgid "Port Settings" msgstr "포트 설정" #: ../data/glade/moserial.glade.h:31 msgid "Recording" msgstr "갈무리 중" #: ../data/glade/moserial.glade.h:32 msgid "Outgoing" msgstr "발신" #: ../data/glade/moserial.glade.h:33 msgid "" "ASCII\n" "HEX" msgstr "" "ASCII\n" "HEX" #: ../data/glade/moserial.glade.h:35 msgid "Access Mode" msgstr "엑세스 모드" #: ../data/glade/moserial.glade.h:36 msgid "Also known as RTS/CTS handshaking" msgstr "RTS/CTS 흐름제어" #: ../data/glade/moserial.glade.h:37 msgid "Also known as XON/XOFF handshaking" msgstr "XON/XOFF 흐름제어" #: ../data/glade/moserial.glade.h:38 msgid "Background Color" msgstr "배경색" #: ../data/glade/moserial.glade.h:39 msgid "Baud Rate" msgstr "보레이트" #: ../data/glade/moserial.glade.h:40 msgid "" "CR+LF end\n" "CR end\n" "LF end\n" "TAB end\n" "ESC end\n" "No end" msgstr "" "CR+LF 붙임\n" "CR 붙임\n" "LF 붙임\n" "TAB 붙임\n" "ESC 붙임\n" "붙임 없음" #: ../data/glade/moserial.glade.h:46 msgid "Click this to transmit the data entered in the Outgoing text box. Clicking \"enter\" in that box will do the same thing." msgstr "이 버튼을 클릭하여 발신 텍스트박스안의 내용을 전송합니다. 텍스트박스에서 \"엔터\"키를 입력하는 것도 같은 동작을 수행 합니다." #: ../data/glade/moserial.glade.h:47 msgid "Connect" msgstr "접속" #: ../data/glade/moserial.glade.h:48 msgid "Data Bits" msgstr "데이터 비트" #: ../data/glade/moserial.glade.h:49 msgid "Device" msgstr "장치" #: ../data/glade/moserial.glade.h:50 msgid "Disconnect" msgstr "접속 해제" #: ../data/glade/moserial.glade.h:51 msgid "Display Font" msgstr "표시 글꼴" #: ../data/glade/moserial.glade.h:52 msgid "Echo received data" msgstr "받은 데이터 에코" #: ../data/glade/moserial.glade.h:53 msgid "Enable timeout after" msgstr "다음 시간이 지난 후에 자동 멈춤" #: ../data/glade/moserial.glade.h:54 msgid "Enter the data that you wish to transmit here. Press Enter or Send when you are ready to send it." msgstr "전송하고자 하는 데이터를 이곳에 입력하세요. 엔터키를 누르거나 보내기 버튼을 누르면 전송합니다." #: ../data/glade/moserial.glade.h:55 msgid "Error Correction Protocol" msgstr "오류 수정 프로토콜" #: ../data/glade/moserial.glade.h:56 msgid "Filename required for XMODEM" msgstr "XMODEM을 위한 파일 이름이 필요" #: ../data/glade/moserial.glade.h:57 msgid "Font Colour" msgstr "글꼴색" #: ../data/glade/moserial.glade.h:58 msgid "Handshake" msgstr "흐름제어" #: ../data/glade/moserial.glade.h:59 msgid "Hardware" msgstr "하드웨어" #: ../data/glade/moserial.glade.h:60 msgid "Help" msgstr "도움말" #: ../data/glade/moserial.glade.h:61 msgid "Highlight Color" msgstr "강조색" #: ../data/glade/moserial.glade.h:62 msgid "If this option is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment." msgstr "이 옵션을 사용하면, 갈무리된 직후에 파일 종류에 따른 기본 프로그램으로 갈무리 파일이 열립니다. 기본 어플리케이션은 데스크탑 환경에서 지정합니다." #: ../data/glade/moserial.glade.h:63 msgid "If this option is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer." msgstr "이 옵션을 사용하면, 데이타를 받기 시작 후로 지정한 시간이 지난 뒤 갈무리가 자동으로 정지됩니다. 다시말해 첫번째 데이터를 받기 전까지 moserial은 계속 기다리게 됩니다." #: ../data/glade/moserial.glade.h:64 msgid "" "Incoming\n" "Outgoing\n" "Incoming and Outgoing" msgstr "" "수신\n" "발신\n" "수/발신" #: ../data/glade/moserial.glade.h:67 msgid "Local Echo" msgstr "로컬 에코" #: ../data/glade/moserial.glade.h:68 msgid "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" msgstr "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" #: ../data/glade/moserial.glade.h:73 msgid "Normally disabled" msgstr "보통 비활성화" #: ../data/glade/moserial.glade.h:74 msgid "Open _Recent" msgstr "최근 설정 열기(_R)" #: ../data/glade/moserial.glade.h:75 msgid "Parity" msgstr "패리티" #: ../data/glade/moserial.glade.h:76 msgid "Port Setup" msgstr "포트 설정" #: ../data/glade/moserial.glade.h:77 msgid "Preferences" msgstr "기본 설정" #: ../data/glade/moserial.glade.h:78 msgid "" "Read and Write\n" "Read Only\n" "Write Only" msgstr "" "읽고 쓰기\n" "읽기만\n" "쓰기만" #: ../data/glade/moserial.glade.h:81 msgid "Receive File" msgstr "파일 수신" #: ../data/glade/moserial.glade.h:82 msgid "Receive File Progress" msgstr "파일 수신중 입니다." #: ../data/glade/moserial.glade.h:83 msgid "Received ASCII" msgstr "받은 ASCII" #: ../data/glade/moserial.glade.h:84 msgid "Received HEX" msgstr "받은 HEX" #: ../data/glade/moserial.glade.h:85 msgid "Record" msgstr "갈무리" #: ../data/glade/moserial.glade.h:86 msgid "Record Incoming and/or Outgoing Data" msgstr "수/발신 데이터 갈무리" #: ../data/glade/moserial.glade.h:87 msgid "Save Settings _As" msgstr "설정을 다른 이름으로 저장(_A)" #: ../data/glade/moserial.glade.h:88 msgid "Select File to Send" msgstr "전송할 파일 선택" #: ../data/glade/moserial.glade.h:89 msgid "Select Folder for Received Files" msgstr "수신한 파일을 위한 폴더 선택" #: ../data/glade/moserial.glade.h:90 msgid "Select the error correction protocol to use." msgstr "오류 수정용 프로토콜 선택하세요." #: ../data/glade/moserial.glade.h:91 msgid "Select the error correction protocol to use. If you wish to receive a straight binary file without using error correction protocols, use the Record button instead." msgstr "오류 수정 프로토콜을 선택하세요. 에러 수정 프로토콜 없이 바이너리를 받고 싶으면 이 기능 대신 갈무리 기능을 사용하세요." #: ../data/glade/moserial.glade.h:92 msgid "Send" msgstr "보내기" #: ../data/glade/moserial.glade.h:93 msgid "Send File" msgstr "파일 전송" #: ../data/glade/moserial.glade.h:94 msgid "Send File Progress" msgstr "파일 전송중 입니다" #: ../data/glade/moserial.glade.h:95 msgid "Sent ASCII" msgstr "보낸 ASCII" #: ../data/glade/moserial.glade.h:96 msgid "Sent HEX" msgstr "보낸 HEX" #: ../data/glade/moserial.glade.h:97 msgid "Software" msgstr "소프트웨어" #: ../data/glade/moserial.glade.h:98 msgid "Stop Bits" msgstr "스톱비트" #: ../data/glade/moserial.glade.h:99 msgid "Stop Recording" msgstr "갈무리 중지" #: ../data/glade/moserial.glade.h:100 msgid "Stream to record" msgstr "갈무리 할 스트림" #: ../data/glade/moserial.glade.h:101 msgid "This determines whether the data entered in the Outgoing text box should be interpreted as normal ASCII text, or as hexadecimal codes. If this is set to HEX, the entered data should consist of only 0-9 and A-F characters." msgstr "전송 텍스트박스안에 입력되는 데이터가 보통의 ASCII 텍스트인지 HEX 코드인지를 선택합니다. HEX로 설정된경우 0-9, A-F 범위의 글자들만 사용할 수 있습니다." #: ../data/glade/moserial.glade.h:102 msgid "This selects the termination sequence that is appended to the Outgoing data in the ASCII mode when you click Send." msgstr "데이터를 ASCII 모드로 전송할 때 뒤에 붙일 터미네이션 시퀀스를 선택하세요." #: ../data/glade/moserial.glade.h:103 msgid "Use this to configure your serial port parameters." msgstr "시리얼 포트 파라미터들을 설정합니다." #: ../data/glade/moserial.glade.h:104 msgid "Use this to receive a file from a remote computer, using an error correction protocol. For straight binary dumps without error correction, use Record instead." msgstr "리모트 컴퓨터로부터 파일을 수신하며, 오류 수정 프로토콜을 사용합니다. 오류 수정 없이 덤프하려면 이 기능 대신 갈무리를 사용하세요." #: ../data/glade/moserial.glade.h:105 msgid "Use this to record (or \"log\") your communications to a file. You can log the received data, the sent data, or both. This can also be used to receive files sent by a remote device without the use of error correction protocols (a straight binary dump)." msgstr "갈무리(또는 로깅)로 주고 받은 내용을 파일에 담습니다. 받은 데이터나 보낸 데이터, 혹은 양쪽 모두를 저장할 수 있습니다. 또한, 원격장치가 보낸 파일을 받을때 오류 수정 프로토콜을 거치치 않은 내용을 저장(a straight binary dump)하는 데도 쓰입니다." #: ../data/glade/moserial.glade.h:106 msgid "Use this to send a file to a remote computer, with or without error correction protocols." msgstr "파일을 리모트 컴퓨터로 발신 합니다. 오류 수정 프로토콜을 선택할 수 있습니다." #: ../data/glade/moserial.glade.h:107 msgid "Use this to set font sizes and other related settings." msgstr "글꼴 크기 등의 설정을 합니다." #: ../data/glade/moserial.glade.h:108 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem" #: ../data/glade/moserial.glade.h:111 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" #: ../data/glade/moserial.glade.h:115 msgid "You must connect to your port before you can send or receive data. Disconnecting and reconnecting will clear the textboxes and reset the TX / RX counters." msgstr "데이터를 수/발신 하려면, 먼저, 포트에 접속해야 합니다. 접속해제 후 재 접속시 텍스트박스의 내용과 TX / RX 카운터가 초기화 됩니다." #: ../data/glade/moserial.glade.h:116 msgid "_Contents" msgstr "차례(_C)" #: ../data/glade/moserial.glade.h:117 msgid "_Edit" msgstr "편집(_E)" #: ../data/glade/moserial.glade.h:118 msgid "_File" msgstr "파일(_F)" #: ../data/glade/moserial.glade.h:119 msgid "_Help" msgstr "도움말(_H)" #: ../data/glade/moserial.glade.h:120 msgid "_Launch recorded files" msgstr "갈무리 파일을 실행(_L)" #: ../data/glade/moserial.glade.h:121 msgid "_Open Settings" msgstr "설정 불러오기(_O)" #: ../data/glade/moserial.glade.h:122 msgid "_Save Settings" msgstr "설정 저장(_S)" #: ../data/glade/moserial.glade.h:123 msgid "_Use the system fixed width font" msgstr "시스템 고정폭글꼴 사용(_U)" #: ../data/glade/moserial.glade.h:124 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.glade.h:125 msgid "seconds" msgstr "초" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "데이터로깅와 파일캡쳐에 특화된 시리얼 터미널" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "시리얼 터미널" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "moserial Terminal" #: ../src/MainWindow.vala:11 msgid "translator-credits" msgstr "HominLee (Suapapa) , 2009." #: ../src/MainWindow.vala:13 msgid "moserial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n" msgstr "moserial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n" #: ../src/MainWindow.vala:14 msgid "moserial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n" msgstr "moserial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n" #: ../src/MainWindow.vala:15 msgid "You should have received a copy of the GNU General Public License along with this program. If not, see ." msgstr "You should have received a copy of the GNU General Public License along with this program. If not, see ." #: ../src/MainWindow.vala:147 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:513 #: ../src/Profile.vala:57 #: ../src/Profile.vala:88 #, c-format msgid "Error: Could not open file" msgstr "오류: 파일을 열 수 없습니다" #: ../src/MainWindow.vala:586 #, c-format msgid "Error: Could not open device" msgstr "오류: 장치를 열 수 없습니다" #: ../src/MainWindow.vala:708 #, c-format msgid "Unable to display help file: %s" msgstr "도움말 표시 불가: %s" #: ../src/MainWindow.vala:720 msgid "A serial terminal for the GNOME desktop, optimized for logging and file capture." msgstr "그놈 데스크탑을 위한, 로깅과 파일 캡쳐에 최적화된, 시리얼 터미널." #: ../src/MainWindow.vala:734 #, c-format msgid "Can't display a clickable URL: %s" msgstr "클릭할 수 있는 URL은 표시할 수 없습니다: %s" #: ../src/MainWindow.vala:781 msgid "You have changed your setting or preferences. Do you want to save these changes to the loaded profile?" msgstr "설정들이 변경되었습니다. 불러들였던 프로파일에 변경 내용을 저장할까요?" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:49 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:53 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:57 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:61 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:65 msgid "S" msgstr "S" #: ../src/Settings.vala:75 msgid "OPEN" msgstr "열림" #: ../src/Settings.vala:76 msgid "CLOSED" msgstr "끊김" #: ../src/Main.vala:7 msgid "Profile file to load" msgstr "불러올 프로파일 파일" #: ../src/Main.vala:17 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "UI 불러오기 실패\n" "%s" #: ../src/Main.vala:33 msgid "- moserial serial terminal" msgstr "- moserial 시리얼 터미널" #: ../src/Main.vala:38 #: ../src/Main.vala:46 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "명령행 옵션의 전체 목록을 보려면 '%s --help'를 실행하십시오.\n" #: ../src/Preferences.vala:47 #, c-format msgid "Unable to retrieve gconf key: %s" msgstr "gconf 키를 가져올 수 없습니다: %s" #: ../src/SendProgressDialog.vala:24 msgid "Waiting for remote host" msgstr "원격 호스트를 기다리는 중" #: ../src/SerialConnection.vala:282 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu 출력불가)" #: ../src/SerialConnection.vala:284 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:33 #: ../src/SerialStreamRecorder.vala:54 #, c-format msgid "error: %s\n" msgstr "오류: %s\n" #: ../src/SerialStreamRecorder.vala:63 #, c-format msgid "Unable to launch %s: %s" msgstr "%s을(를) 실행할 수 없음: %s" #: ../src/Szwrapper.vala:154 msgid "canceled" msgstr "취소하였습니다" #: ../src/InputParser.vala:26 #: ../src/InputParser.vala:33 #: ../src/InputParser.vala:39 msgid "Invalid Input" msgstr "잘못된 입력" moserial-3.0.8/po/nb.po0000674000213200021320000003110612064144714011630 00000000000000# Norwegian translation of moserial (bokmål dialect). # Copyright (C) 1998-2004, 2005 Free Software Foundation, Inc. # Kjartan Maraas , 1998-2011. # Terance Edward Sola , 2005. # msgid "" msgstr "" "Project-Id-Version: moserial\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-02-24 11:41+0100\n" "PO-Revision-Date: 2011-02-24 11:45+0100\n" "Last-Translator: Kjartan Maraas \n" "Language-Team: Norwegian Bokmal \n" "Language: nb\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" #: ../data/glade/moserial.glade.h:1 msgid "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" msgstr "" #: ../data/glade/moserial.glade.h:9 msgid "" "1\n" "2" msgstr "" #: ../data/glade/moserial.glade.h:11 msgid "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" msgstr "" #: ../data/glade/moserial.glade.h:25 msgid "" "5\n" "6\n" "7\n" "8" msgstr "" #: ../data/glade/moserial.glade.h:29 msgid "Font" msgstr "Skrift" #: ../data/glade/moserial.glade.h:30 msgid "Port Settings" msgstr "Portinnstillinger" #: ../data/glade/moserial.glade.h:31 msgid "Recording" msgstr "Tar opp" #: ../data/glade/moserial.glade.h:32 msgid "Outgoing" msgstr "Utgående" #: ../data/glade/moserial.glade.h:33 msgid "" "ASCII\n" "HEX" msgstr "" "ASCII\n" "HEX" #: ../data/glade/moserial.glade.h:35 msgid "Access Mode" msgstr "Aksessmodus" #: ../data/glade/moserial.glade.h:36 msgid "Also known as RTS/CTS handshaking" msgstr "Også kjent som RTS/CTS-håndhilsing" #: ../data/glade/moserial.glade.h:37 msgid "Also known as XON/XOFF handshaking" msgstr "" #: ../data/glade/moserial.glade.h:38 msgid "Background Color" msgstr "Bakgrunnsfarge" #: ../data/glade/moserial.glade.h:39 msgid "Baud Rate" msgstr "Baudrate" #: ../data/glade/moserial.glade.h:40 msgid "" "CR+LF end\n" "CR end\n" "LF end\n" "TAB end\n" "ESC end\n" "No end" msgstr "" "CR+LF slutt\n" "CR slutt\n" "LF slutt\n" "TAB slutt\n" "ESC slutt\n" "Ingen slutt" #: ../data/glade/moserial.glade.h:46 msgid "Connect" msgstr "Koble til" #: ../data/glade/moserial.glade.h:47 msgid "Data Bits" msgstr "Databiter" #: ../data/glade/moserial.glade.h:48 msgid "Device" msgstr "Enhet" #: ../data/glade/moserial.glade.h:49 msgid "Disconnect" msgstr "Koble fra" #: ../data/glade/moserial.glade.h:50 msgid "Display Font" msgstr "Skrift" #: ../data/glade/moserial.glade.h:51 msgid "Echo received data" msgstr "Vis mottatte data" #: ../data/glade/moserial.glade.h:52 msgid "Enable timeout after" msgstr "Aktiver tidsavbrudd etter" #: ../data/glade/moserial.glade.h:53 msgid "Error Correction Protocol" msgstr "" #: ../data/glade/moserial.glade.h:54 msgid "Filename required for XMODEM" msgstr "Filnavn kreves for XMODEM" #: ../data/glade/moserial.glade.h:55 msgid "Font Colour" msgstr "Skriftfarge" #: ../data/glade/moserial.glade.h:56 msgid "Handshake" msgstr "Håndtrykk" #: ../data/glade/moserial.glade.h:57 msgid "Hardware" msgstr "Maskinvare" #: ../data/glade/moserial.glade.h:58 msgid "Help" msgstr "Hjelp" #: ../data/glade/moserial.glade.h:59 msgid "Highlight Color" msgstr "" #: ../data/glade/moserial.glade.h:60 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" #: ../data/glade/moserial.glade.h:61 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. That is, moserial " "will wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" #: ../data/glade/moserial.glade.h:62 msgid "" "Incoming\n" "Outgoing\n" "Incoming and Outgoing" msgstr "" "Innkommende\n" "Utgående\n" "Innkommende og utgående" #: ../data/glade/moserial.glade.h:65 msgid "Local Echo" msgstr "Lokalt ekko" #: ../data/glade/moserial.glade.h:66 msgid "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" msgstr "" "Ingen\n" "Ulike\n" "Like\n" "Merke\n" "Mellomrom" #: ../data/glade/moserial.glade.h:71 msgid "Normally disabled" msgstr "Normalt slått av" #: ../data/glade/moserial.glade.h:72 msgid "Open _Recent" msgstr "Åpne _nylig" #: ../data/glade/moserial.glade.h:73 msgid "Open/close port" msgstr "Åpne/lukk port" #: ../data/glade/moserial.glade.h:74 msgid "Other preferences" msgstr "Andre brukervalg" #: ../data/glade/moserial.glade.h:75 msgid "Parity" msgstr "Paritet" #: ../data/glade/moserial.glade.h:76 msgid "Port Setup" msgstr "Oppsett av port" #: ../data/glade/moserial.glade.h:77 msgid "Port configuration" msgstr "Portkonfigurasjon" #: ../data/glade/moserial.glade.h:78 msgid "Preferences" msgstr "Brukervalg" #: ../data/glade/moserial.glade.h:79 msgid "" "Read and Write\n" "Read Only\n" "Write Only" msgstr "" "Les og skriv\n" "Kun les\n" "Kun skriv" #: ../data/glade/moserial.glade.h:82 msgid "Receive File" msgstr "Motta fil" #: ../data/glade/moserial.glade.h:83 msgid "Receive File Progress" msgstr "Fremgang for mottak av fil" #: ../data/glade/moserial.glade.h:84 msgid "Receive a file" msgstr "Motta en fil" #: ../data/glade/moserial.glade.h:85 msgid "Received ASCII" msgstr "Mottatt ASCII" #: ../data/glade/moserial.glade.h:86 msgid "Received HEX" msgstr "Mottatt HEX" #: ../data/glade/moserial.glade.h:87 msgid "Record" msgstr "Ta opp" #: ../data/glade/moserial.glade.h:88 msgid "Record Incoming and/or Outgoing Data" msgstr "Ta opp innkommende og/eller utgående data" #: ../data/glade/moserial.glade.h:89 msgid "Record sent and/or received data" msgstr "Ta opp sendte og/eller mottatte data" #: ../data/glade/moserial.glade.h:90 msgid "Save Settings _As" msgstr "Lagre innstillinger _som" #: ../data/glade/moserial.glade.h:91 msgid "Select File to Send" msgstr "Velg fil som skal sendes" #: ../data/glade/moserial.glade.h:92 msgid "Select Folder for Received Files" msgstr "Velg mappe for mottatte filer" #: ../data/glade/moserial.glade.h:93 msgid "Send" msgstr "Send" #: ../data/glade/moserial.glade.h:94 msgid "Send File" msgstr "Send fil" #: ../data/glade/moserial.glade.h:95 msgid "Send File Progress" msgstr "Fremgang for sending av fil" #: ../data/glade/moserial.glade.h:96 msgid "Send a file" msgstr "Send en fil" #: ../data/glade/moserial.glade.h:97 msgid "Send the outgoing data now." msgstr "Send utgående data nå." #: ../data/glade/moserial.glade.h:98 msgid "Sent ASCII" msgstr "Sendt ASCII" #: ../data/glade/moserial.glade.h:99 msgid "Sent HEX" msgstr "Sendt HEX" #: ../data/glade/moserial.glade.h:100 msgid "Software" msgstr "Programvare" #: ../data/glade/moserial.glade.h:101 msgid "Stop Bits" msgstr "Stoppbiter" #: ../data/glade/moserial.glade.h:102 msgid "Stop Recording" msgstr "Stopp opptak" #: ../data/glade/moserial.glade.h:103 msgid "Stream to record" msgstr "" #: ../data/glade/moserial.glade.h:104 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" #: ../data/glade/moserial.glade.h:105 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem" #: ../data/glade/moserial.glade.h:108 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "Ingen (vanlig binær)" #: ../data/glade/moserial.glade.h:112 msgid "_Contents" msgstr "_Innhold" #: ../data/glade/moserial.glade.h:113 msgid "_Edit" msgstr "R_ediger" #: ../data/glade/moserial.glade.h:114 msgid "_File" msgstr "_Fil" #: ../data/glade/moserial.glade.h:115 msgid "_Help" msgstr "_Hjelp" #: ../data/glade/moserial.glade.h:116 msgid "_Launch recorded files" msgstr "" #: ../data/glade/moserial.glade.h:117 msgid "_Open Settings" msgstr "_Åpne innstillinger" #: ../data/glade/moserial.glade.h:118 msgid "_Save Settings" msgstr "_Lagre innstillinger" #: ../data/glade/moserial.glade.h:119 msgid "_Use the system fixed width font" msgstr "Br_uk systemets skrift med fast bredde" #: ../data/glade/moserial.glade.h:120 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.glade.h:121 msgid "seconds" msgstr "sekunder" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Seriell terminal" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "moserial terminal" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "Kjartan Maraas " #: ../src/MainWindow.vala:32 #, fuzzy msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "GNOME Terminal er fri programvare. Du kan redistribuere og/eller endre " "programmet under betingelsene gitt i GNU General Public License som utgitt " "av Free Software Foundation; enten versjon 2 av lisensen, eller (hvis du " "ønsker det) enhver senere versjon." #: ../src/MainWindow.vala:33 #, fuzzy msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "GNOME Terminal distribueres i håp om at programmet er nyttig, men UTEN NOEN " "GARANTI, ikke engang implisitt garanti om at det er SALGBART eller PASSER ET " "BESTEMT FORMÅL. Se GNU General Public License for detaljer." #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" #: ../src/MainWindow.vala:165 msgid "TX: 0, RX: 0" msgstr "" #: ../src/MainWindow.vala:541 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Feil: Kunne ikke åpne fil" #: ../src/MainWindow.vala:614 #, c-format msgid "Error: Could not open device" msgstr "Feil: :Kunne ikke åpne enhet" #: ../src/MainWindow.vala:736 #, c-format msgid "Unable to display help file: %s" msgstr "Kan ikke vise hjelpfil: %s" #: ../src/MainWindow.vala:748 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" #: ../src/MainWindow.vala:762 #, c-format msgid "Can't display a clickable URL: %s" msgstr "" #: ../src/MainWindow.vala:809 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:69 msgid "N" msgstr "" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:73 msgid "O" msgstr "" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:77 msgid "E" msgstr "" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:81 msgid "M" msgstr "" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:85 msgid "S" msgstr "" #: ../src/Settings.vala:95 msgid "OPEN" msgstr "ÅPEN" #: ../src/Settings.vala:96 msgid "CLOSED" msgstr "LUKKET" #: ../src/Main.vala:26 #, fuzzy msgid "Profile file to load" msgstr "Profilredigering" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial seriell terminal" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" #: ../src/Preferences.vala:66 #, c-format msgid "Unable to retrieve gconf key: %s" msgstr "" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Venter på ekstern vert" #: ../src/SerialConnection.vala:301 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "" #: ../src/SerialConnection.vala:303 #, c-format msgid "TX: %lu, RX: %lu" msgstr "" #: ../src/SerialStreamRecorder.vala:52 ../src/SerialStreamRecorder.vala:73 #, c-format msgid "error: %s\n" msgstr "feil: %s\n" #: ../src/SerialStreamRecorder.vala:82 #, c-format msgid "Unable to launch %s: %s" msgstr "Kan ikke starte %s: %s" #: ../src/Szwrapper.vala:180 msgid "canceled" msgstr "avbrutt" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Ugyldige inndata" moserial-3.0.8/po/pl.po0000674000213200021320000003420612064144714011650 00000000000000# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Aviary.pl # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas: # gnomepl@aviary.pl # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Piotr Drąg , 2012. # Aviary.pl , 2012. msgid "" msgstr "" "Project-Id-Version: moserial\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2012-09-04 19:23+0200\n" "PO-Revision-Date: 2012-09-04 19:25+0200\n" "Last-Translator: Piotr Drąg \n" "Language-Team: Polish \n" "Language: pl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" "X-Poedit-Language: Polish\n" "X-Poedit-Country: Poland\n" #: ../data/glade/moserial.ui.h:1 msgid "Preferences" msgstr "Preferencje" #: ../data/glade/moserial.ui.h:2 msgid "Font" msgstr "Czcionka" #: ../data/glade/moserial.ui.h:3 msgid "_Use the system fixed width font" msgstr "Czci_onka systemowa o stałej szerokości" #: ../data/glade/moserial.ui.h:4 msgid "Display Font" msgstr "Wyświetlana czcionka" #: ../data/glade/moserial.ui.h:5 msgid "Font Colour" msgstr "Kolor czcionki" #: ../data/glade/moserial.ui.h:6 msgid "Background Color" msgstr "Kolor tła" #: ../data/glade/moserial.ui.h:7 msgid "Highlight Color" msgstr "Kolor wyróżnienia" #: ../data/glade/moserial.ui.h:8 msgid "Recording" msgstr "Nagrywanie" #: ../data/glade/moserial.ui.h:9 msgid "_Launch recorded files" msgstr "_Uruchamianie nagranych plików" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Włączenie czasu oczekiwania po" #: ../data/glade/moserial.ui.h:11 msgid "seconds" msgstr "sekundach" #: ../data/glade/moserial.ui.h:12 msgid "Select Folder for Received Files" msgstr "Wybór katalogu dla odebranych plików" #: ../data/glade/moserial.ui.h:13 msgid "Error Correction Protocol" msgstr "Protokół korekcji błędów" #: ../data/glade/moserial.ui.h:14 msgid "Receive File Progress" msgstr "Postęp odebierania plików" #: ../data/glade/moserial.ui.h:15 msgid "Record Incoming and/or Outgoing Data" msgstr "Nagrywanie przychodzących i/lub wychodzących danych" #: ../data/glade/moserial.ui.h:16 msgid "Stream to record" msgstr "Potok do nagrania" #: ../data/glade/moserial.ui.h:17 msgid "Select File to Send" msgstr "Wybór pliku do wysłania" #: ../data/glade/moserial.ui.h:18 msgid "Send File Progress" msgstr "Postęp wysyłania pliku" #: ../data/glade/moserial.ui.h:19 msgid "Port Setup" msgstr "Ustawienia portu" #: ../data/glade/moserial.ui.h:20 msgid "Port Settings" msgstr "Ustawienia portu" #: ../data/glade/moserial.ui.h:21 msgid "Hardware" msgstr "Sprzęt" #: ../data/glade/moserial.ui.h:22 msgid "Software" msgstr "Oprogramowanie" #: ../data/glade/moserial.ui.h:23 msgid "Access Mode" msgstr "Tryb dostępu" #: ../data/glade/moserial.ui.h:24 msgid "Handshake" msgstr "Powitanie" #: ../data/glade/moserial.ui.h:25 msgid "Parity" msgstr "Parzystość" #: ../data/glade/moserial.ui.h:26 msgid "Stop Bits" msgstr "Bity zatrzymania" #: ../data/glade/moserial.ui.h:27 msgid "Data Bits" msgstr "Bity danych" #: ../data/glade/moserial.ui.h:28 msgid "Baud Rate" msgstr "Prędkość w baudach" #: ../data/glade/moserial.ui.h:29 msgid "Device" msgstr "Urządzenie" #: ../data/glade/moserial.ui.h:30 msgid "Local Echo" msgstr "Lokalne powtarzanie" #: ../data/glade/moserial.ui.h:31 msgid "Echo received data" msgstr "Powtarzanie odebranych danych" #: ../data/glade/moserial.ui.h:32 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:33 msgid "_File" msgstr "_Plik" #: ../data/glade/moserial.ui.h:34 msgid "Open _Recent" msgstr "_Otwórz ostatnie" #: ../data/glade/moserial.ui.h:35 msgid "_Edit" msgstr "_Edycja" #: ../data/glade/moserial.ui.h:36 msgid "_Help" msgstr "Pomo_c" #: ../data/glade/moserial.ui.h:37 msgid "Connect" msgstr "Połącz" #: ../data/glade/moserial.ui.h:38 msgid "Record" msgstr "Nagraj" #: ../data/glade/moserial.ui.h:39 msgid "Send File" msgstr "Wyślij plik" #: ../data/glade/moserial.ui.h:40 msgid "Receive File" msgstr "Odbierz plik" #: ../data/glade/moserial.ui.h:41 msgid "Help" msgstr "Pomoc" #: ../data/glade/moserial.ui.h:42 msgid "Received ASCII" msgstr "Odebrane ASCII" #: ../data/glade/moserial.ui.h:43 msgid "Received HEX" msgstr "Odebrane HEX" #: ../data/glade/moserial.ui.h:44 msgid "Sent ASCII" msgstr "Wysłane ASCII" #: ../data/glade/moserial.ui.h:45 msgid "Sent HEX" msgstr "Wysłane HEX" #: ../data/glade/moserial.ui.h:46 ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Wychodzące" #: ../data/glade/moserial.ui.h:47 msgid "Send" msgstr "Wyślij" #: ../data/glade/moserial.ui.h:48 msgid "Disconnect" msgstr "Rozłącz" #: ../data/glade/moserial.ui.h:49 msgid "Stop Recording" msgstr "Zatrzymaj nagrywanie" #: ../data/glade/moserial.ui.h:50 msgid "Filename required for XMODEM" msgstr "Wymagana jest nazwa pliku dla XMODEM" #: ../data/moserial.desktop.in.h:1 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal szeregowy" #: ../data/moserial.desktop.in.h:3 msgid "A serial terminal optimized for logging and file capture" msgstr "" "Terminal szeregowy zoptymalizowany do nagrywania i przechwytywania plików" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Nieprawidłowe wejście" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Plik profilu do wczytania" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Wczytanie interfejsu użytkownika się nie powiodło\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- terminal szeregowy moserial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Polecenie \"%s --help\" wyświetli pełną listę dostępnych opcji wiersza " "poleceń.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "Piotr Drąg , 2012\n" "Aviary.pl , 2012" #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "Program moserial jest wolnym oprogramowaniem; można go rozprowadzać dalej i/" "lub modyfikować na warunkach Powszechnej Licencji Publicznej GNU, wydanej " "przez Fundację Wolnego Oprogramowania - według wersji trzeciej tej Licencji " "lub którejś z późniejszych wersji.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "Program moserial rozpowszechniany jest z nadzieją, iż będzie on użyteczny - " "jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domyślnej gwarancji PRZYDATNOŚCI " "HANDLOWEJ albo PRZYDATNOŚCI DO OKREŚLONYCH ZASTOSOWAŃ. W celu uzyskania " "bliższych informacji należy zapoznać się z Powszechną Licencją Publiczną " "GNU.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Z pewnością wraz z niniejszym programem dostarczono także egzemplarz " "Powszechnej Licencji Publicznej GNU (GNU General Public License); jeśli nie " "- proszę odwiedzić stronę internetową ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "HEX" #: ../src/MainWindow.vala:163 msgid "Port configuration" msgstr "Konfiguracja portu" #: ../src/MainWindow.vala:168 msgid "Read the manual" msgstr "Przeczytaj podręcznik" #: ../src/MainWindow.vala:178 msgid "TX: 0, RX: 0" msgstr "Wysyłanie: 0, odbieranie: 0" #: ../src/MainWindow.vala:189 msgid "Send a file" msgstr "Wyślij plik" #: ../src/MainWindow.vala:198 msgid "Receive a file" msgstr "Odbierz plik" #: ../src/MainWindow.vala:208 msgid "Record sent and/or received data" msgstr "Nagraj wysłane i/lub odebrane dane" #: ../src/MainWindow.vala:219 msgid "Other preferences" msgstr "Inne preferencje" #: ../src/MainWindow.vala:224 msgid "Open/close port" msgstr "Otwórz/zamknij port" #: ../src/MainWindow.vala:272 msgid "Send the outgoing data now." msgstr "Wyślij wychodzące dane teraz." #: ../src/MainWindow.vala:275 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Tutaj można wpisać dane wychodzące. Naciśnięcie klawisza Enter lub przycisku " "Wyślij spowoduje ich wysłanie." #: ../src/MainWindow.vala:562 ../src/Profile.vala:76 ../src/Profile.vala:107 msgid "Error: Could not open file" msgstr "Błąd: nie można otworzyć pliku" #: ../src/MainWindow.vala:640 msgid "Error: Could not open device" msgstr "Błąd: nie można otworzyć urządzenia" #: ../src/MainWindow.vala:762 #, c-format msgid "Unable to display help file: %s" msgstr "Nie można wyświetlić pliku pomocy: %s" #: ../src/MainWindow.vala:773 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Terminal szeregowy dla środowiska GNOME, zoptymalizowane do nagrywania i " "przechwytywania plików." #: ../src/MainWindow.vala:826 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Zmieniono ustawienia lu preferencje. Zapisać te zmiany we wczytanym profilu?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Jeśli ta opcja jest włączona, nagrany plik zostanie otwarty natychmiast po " "jego zapisaniu, używając domyślnego programu dla danego typu pliku. Domyślny " "program jest konfigurowany w środowisku graficznym." #: ../src/PreferencesDialog.vala:53 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Jeśli ta opcja jest włączona, nagranie zostanie automatycznie zatrzymane po " "określonym okresie nieaktywności po odebraniu części danych. Program " "moserial będzie czekał w nieskończoność na nagranie pierwszego bajtu danych " "przed aktywowaniem zegara nieaktywności." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Nie można odebrać systemowego ustawienia czcionki" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Oczekiwanie na zdalny komputer" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "CR+LF kończy" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "CR kończy" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "LF kończy" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "Tab kończy" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "Esc kończy" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Bez kończenia" #: ../src/SerialConnection.vala:302 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "Wysyłanie: %lu, odbieranie: %lu (%lu nie można wyświetlić)" #: ../src/SerialConnection.vala:304 #, c-format msgid "TX: %lu, RX: %lu" msgstr "Wysyłanie: %lu, odbieranie: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Przychodzące" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Przychodzące i wychodzące" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:68 #: ../src/SerialStreamRecorder.vala:89 #, c-format msgid "error: %s\n" msgstr "błąd: %s\n" #: ../src/SerialStreamRecorder.vala:98 #, c-format msgid "Unable to launch %s: %s" msgstr "Nie można uruchomić %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Znane także jako powitanie RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Znane także jako powitanie XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Zwykle wyłączone" #: ../src/Settings.vala:25 msgid "None" msgstr "Brak" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Nieparzyste" #: ../src/Settings.vala:27 msgid "Even" msgstr "Parzyste" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Znak" #: ../src/Settings.vala:29 msgid "Space" msgstr "Spacja" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Odczyt i zapis" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Tylko odczyt" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Tylko zapis" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "B" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "N" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "P" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "Z" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "OTWARTE" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "ZAMKNIĘTE" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "Brak (po prostu binarne)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "anulowane" moserial-3.0.8/po/pt_BR.po0000674000213200021320000004415512064144714012247 00000000000000# Portuguese/Brazil translation of moserial. # Copyright (C) 2009 THE moserial'S COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # Flamarion , 2009. # Jonh Wendell , 2009. # Flamarion Jorge , 2010. # msgid "" msgstr "" "Project-Id-Version: moserial\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&component=general\n" "POT-Creation-Date: 2010-10-22 17:28+0000\n" "PO-Revision-Date: 2010-11-08 19:17-0200\n" "Last-Translator: Flamarion Jorge \n" "Language-Team: Brazilian Portuguese \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" #: ../data/glade/moserial.glade.h:1 msgid "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" msgstr "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" #: ../data/glade/moserial.glade.h:9 msgid "" "1\n" "2" msgstr "" "1\n" "2" #: ../data/glade/moserial.glade.h:11 msgid "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" msgstr "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" #: ../data/glade/moserial.glade.h:25 msgid "" "5\n" "6\n" "7\n" "8" msgstr "" "5\n" "6\n" "7\n" "8" #: ../data/glade/moserial.glade.h:29 msgid "Font" msgstr "Fonte" #: ../data/glade/moserial.glade.h:30 msgid "Port Settings" msgstr "Configuração de porta" #: ../data/glade/moserial.glade.h:31 msgid "Recording" msgstr "Gravação" #: ../data/glade/moserial.glade.h:32 msgid "Outgoing" msgstr "Saída" #: ../data/glade/moserial.glade.h:33 msgid "" "ASCII\n" "HEX" msgstr "" "ASCII\n" "HEX" #: ../data/glade/moserial.glade.h:35 msgid "Access Mode" msgstr "Modo de acesso" #: ../data/glade/moserial.glade.h:36 msgid "Also known as RTS/CTS handshaking" msgstr "Também conhecido como negociação RTS/CTS " #: ../data/glade/moserial.glade.h:37 msgid "Also known as XON/XOFF handshaking" msgstr "Também conhecido como negociação XON/XOFF" #: ../data/glade/moserial.glade.h:38 msgid "Background Color" msgstr "Cor do plano de fundo" #: ../data/glade/moserial.glade.h:39 msgid "Baud Rate" msgstr "Taxa de transmissão" #: ../data/glade/moserial.glade.h:40 msgid "" "CR+LF end\n" "CR end\n" "LF end\n" "TAB end\n" "ESC end\n" "No end" msgstr "" "CR+LF fim\n" "CR fim\n" "LF fim\n" "TAB fim\n" "ESC fim\n" "Sem fim" #: ../data/glade/moserial.glade.h:46 msgid "Connect" msgstr "Conectar" #: ../data/glade/moserial.glade.h:47 msgid "Data Bits" msgstr "Bits de dados" #: ../data/glade/moserial.glade.h:48 msgid "Device" msgstr "Dispositivo" #: ../data/glade/moserial.glade.h:49 msgid "Disconnect" msgstr "Desconectar" #: ../data/glade/moserial.glade.h:50 msgid "Display Font" msgstr "Mostrar fonte" #: ../data/glade/moserial.glade.h:51 msgid "Echo received data" msgstr "Ecoar dados recebidos" #: ../data/glade/moserial.glade.h:52 msgid "Enable timeout after" msgstr "Habilitar tempo limite depois" #: ../data/glade/moserial.glade.h:53 msgid "Error Correction Protocol" msgstr "Protocolo de correção de erro" #: ../data/glade/moserial.glade.h:54 msgid "Filename required for XMODEM" msgstr "Nome de arquivo necessário para XMODEM" #: ../data/glade/moserial.glade.h:55 msgid "Font Colour" msgstr "Cor da fonte" #: ../data/glade/moserial.glade.h:56 msgid "Handshake" msgstr "Negociação" #: ../data/glade/moserial.glade.h:57 msgid "Hardware" msgstr "Hardware" #: ../data/glade/moserial.glade.h:58 msgid "Help" msgstr "Ajuda" #: ../data/glade/moserial.glade.h:59 msgid "Highlight Color" msgstr "Destacar cor" #: ../data/glade/moserial.glade.h:60 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Se esta opção estiver habilitada, um arquivo gravado será aberto " "imediatamente após estar salvo, usando a aplicação padrão para o tipo de " "arquivo. A aplicação padrão é definida pelo ambiente desktop." #: ../data/glade/moserial.glade.h:61 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. That is, moserial " "will wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Se esta opção estiver habilitada, a gravação será interrompida " "automaticamente depois de um período ajustável de inatividade depois de " "receber alguns dados.Isto é, o moserial vai aguardar indefinidamente o " "primeiro byte de dados antes de ativar o temporizador de inatividade." #: ../data/glade/moserial.glade.h:62 msgid "" "Incoming\n" "Outgoing\n" "Incoming and Outgoing" msgstr "" "Entrada\n" "Saída\n" "Entrada e saída" #: ../data/glade/moserial.glade.h:65 msgid "Local Echo" msgstr "Eco local" #: ../data/glade/moserial.glade.h:66 msgid "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" msgstr "" "Nenhum\n" "Ímpar\n" "Par\n" "Marca\n" "Espaço" #: ../data/glade/moserial.glade.h:71 msgid "Normally disabled" msgstr "Desabilitado normalmente" #: ../data/glade/moserial.glade.h:72 msgid "Open _Recent" msgstr "Abrir _recente" #: ../data/glade/moserial.glade.h:73 msgid "Open/close port" msgstr "Abrir/fechar porta" #: ../data/glade/moserial.glade.h:74 msgid "Other preferences" msgstr "Outras preferências" #: ../data/glade/moserial.glade.h:75 msgid "Parity" msgstr "Paridade" #: ../data/glade/moserial.glade.h:76 msgid "Port Setup" msgstr "Configurar porta" #: ../data/glade/moserial.glade.h:77 msgid "Port configuration" msgstr "Configuração de porta" #: ../data/glade/moserial.glade.h:78 msgid "Preferences" msgstr "Preferências" #: ../data/glade/moserial.glade.h:79 msgid "" "Read and Write\n" "Read Only\n" "Write Only" msgstr "" "Leitura e escrita\n" "Somente leitura\n" "Somente escrita" #: ../data/glade/moserial.glade.h:82 msgid "Receive File" msgstr "Receber arquivo" #: ../data/glade/moserial.glade.h:83 msgid "Receive File Progress" msgstr "Receber arquivo de progresso" #: ../data/glade/moserial.glade.h:84 msgid "Receive a file" msgstr "Receber um arquivo" #: ../data/glade/moserial.glade.h:85 msgid "Received ASCII" msgstr "Receber ASCII" #: ../data/glade/moserial.glade.h:86 msgid "Received HEX" msgstr "Receber HEX" #: ../data/glade/moserial.glade.h:87 msgid "Record" msgstr "Gravar" #: ../data/glade/moserial.glade.h:88 msgid "Record Incoming and/or Outgoing Data" msgstr "Gravar dados de entrada e/ou saída" #: ../data/glade/moserial.glade.h:89 msgid "Record sent and/or received data" msgstr "Gravar dado enviado e/ou recebido" #: ../data/glade/moserial.glade.h:90 msgid "Save Settings _As" msgstr "Salvar configurações _como" #: ../data/glade/moserial.glade.h:91 msgid "Select File to Send" msgstr "Selecione o arquivo para enviar" #: ../data/glade/moserial.glade.h:92 msgid "Select Folder for Received Files" msgstr "Selecione o diretório para arquivos recebidos" #: ../data/glade/moserial.glade.h:93 msgid "Send" msgstr "Enviar" #: ../data/glade/moserial.glade.h:94 msgid "Send File" msgstr "Enviar arquivo" #: ../data/glade/moserial.glade.h:95 msgid "Send File Progress" msgstr "Enviar arquivo de progresso" #: ../data/glade/moserial.glade.h:96 msgid "Send a file" msgstr "Enviar um arquivo" #: ../data/glade/moserial.glade.h:97 msgid "Send the outgoing data now." msgstr "Enviar a saída de dados agora." #: ../data/glade/moserial.glade.h:98 msgid "Sent ASCII" msgstr "ASCII enviado" #: ../data/glade/moserial.glade.h:99 msgid "Sent HEX" msgstr "HEX enviado" #: ../data/glade/moserial.glade.h:100 msgid "Software" msgstr "Software" #: ../data/glade/moserial.glade.h:101 msgid "Stop Bits" msgstr "Parar bits" #: ../data/glade/moserial.glade.h:102 msgid "Stop Recording" msgstr "Parar gravação" #: ../data/glade/moserial.glade.h:103 msgid "Stream to record" msgstr "Fluxo para gravar" #: ../data/glade/moserial.glade.h:104 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Digite os dados de saída aqui. Pressione Enter ou Enviar para envia-lo." #: ../data/glade/moserial.glade.h:105 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem" #: ../data/glade/moserial.glade.h:108 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "Nenhum (lógico binário)" #: ../data/glade/moserial.glade.h:112 msgid "_Contents" msgstr "_Conteúdo" #: ../data/glade/moserial.glade.h:113 msgid "_Edit" msgstr "_Editar" #: ../data/glade/moserial.glade.h:114 msgid "_File" msgstr "_Arquivo" #: ../data/glade/moserial.glade.h:115 msgid "_Help" msgstr "Aj_uda" #: ../data/glade/moserial.glade.h:116 msgid "_Launch recorded files" msgstr "_Lançar arquivos gravados" #: ../data/glade/moserial.glade.h:117 msgid "_Open Settings" msgstr "_Abrir configurações" #: ../data/glade/moserial.glade.h:118 msgid "_Save Settings" msgstr "_Salvar configurações" #: ../data/glade/moserial.glade.h:119 msgid "_Use the system fixed width font" msgstr "_Usar a fonte de largura fixa do sistema" #: ../data/glade/moserial.glade.h:120 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.glade.h:121 msgid "seconds" msgstr "segundos" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "Um terminal serial otimizado para gravação e captura de arquivo" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal serial" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "Flamarion Jorge Jonh Wendell " #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial é software livre: você pode redistribui-lo e/ou modifica-lo sob os " "termos da Licença Pública Geral GNU como publicada pela Free Software " "Foundation, tanto a versão 3 da Licença ou (por sua opção) qualquer outra " "versão posterior.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial é distribuído na esperança de que seja útil, mas SEM GARANTIA " "ALGUMA;sem mesmo a garantia implícita de COMERCIABILIDADE ou ADEQUAÇÃO PARA " "UM PROPÓSITO PARTICULAR. Veja a Licença Pública Geral GNU para maiores " "detalhes.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Você deve ter recebido uma copia da Licença Pública Geral GNU junto com este " "programa, se não, veja ." #: ../src/MainWindow.vala:166 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:532 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Erro: Impossível abrir arquivo" #: ../src/MainWindow.vala:605 #, c-format msgid "Error: Could not open device" msgstr "Erro: Impossível abrir dispositivo" #: ../src/MainWindow.vala:727 #, c-format msgid "Unable to display help file: %s" msgstr "Impossível mostrar o arquivo de ajuda: %s" #: ../src/MainWindow.vala:739 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Um terminal serial para o GNOME desktop, otimizado para gravação e captura " "de arquivos." #: ../src/MainWindow.vala:753 #, c-format msgid "Can't display a clickable URL: %s" msgstr "Não pode ser exibida uma URL clicável : %s" #: ../src/MainWindow.vala:800 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Você mudou suas configurações ou preferências. Você quer salvar estas " "mudanças no perfil carregado?" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:68 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:72 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:76 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:80 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:84 msgid "S" msgstr "S" #: ../src/Settings.vala:94 msgid "OPEN" msgstr "ABERTO" #: ../src/Settings.vala:95 msgid "CLOSED" msgstr "FECHADO" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Arquivo de perfil para carregar" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Falha ao carregar UI\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial terminal serial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Execute '%s - help' para ver a lista completa de opções disponíveis em linha " "de comando.\n" #: ../src/Preferences.vala:66 #, c-format msgid "Unable to retrieve gconf key: %s" msgstr "Impossível recuperar a chave do gconf: %s" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Esperando pelo host remoto" #: ../src/SerialConnection.vala:301 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu não imprimivel)" #: ../src/SerialConnection.vala:303 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:52 ../src/SerialStreamRecorder.vala:73 #, c-format msgid "error: %s\n" msgstr "erro: %s\n" #: ../src/SerialStreamRecorder.vala:82 #, c-format msgid "Unable to launch %s: %s" msgstr "Impossível lançar %s: %s" #: ../src/Szwrapper.vala:173 msgid "canceled" msgstr "cancelado" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Entrada inválida" #~ msgid "" #~ "Click this to transmit the data entered in the Outgoing text box. " #~ "Clicking \"enter\" in that box will do the same thing." #~ msgstr "" #~ "Clique neste para transmitir os dados informados na caixa de texto de " #~ "saída.Clicando \"enter\" fará a mesma coisa." #~ msgid "Select the error correction protocol to use." #~ msgstr "Escolha o protocolo de correção de erros a ser usado" #~ msgid "" #~ "Select the error correction protocol to use. If you wish to receive a " #~ "straight binary file without using error correction protocols, use the " #~ "Record button instead." #~ msgstr "" #~ "Selecionar o protocolo de correão de erros para usar. Se você quer " #~ "receber um arquivo binário direto sem usar o protocolo de correção de " #~ "erros, use o botão Gravar." #~ msgid "" #~ "This determines whether the data entered in the Outgoing text box should " #~ "be interpreted as normal ASCII text, or as hexadecimal codes. If this is " #~ "set to HEX, the entered data should consist of only 0-9 and A-F " #~ "characters." #~ msgstr "" #~ "Isso determina se os dados inseridos na caixa de texto de saída deve ser " #~ "interpretado como texto ASCII normal, ou no formato de códigos " #~ "hexadecimais.Se isso está definido para HEX, os dados inseridos devem " #~ "consistir apenas caracteres de 0-9 e AF." #~ msgid "" #~ "This selects the termination sequence that is appended to the Outgoing " #~ "data in the ASCII mode when you click Send." #~ msgstr "" #~ "Isso seleciona a rescisão da sequência que é anexada ao envio de dadosno " #~ "modo ASCII quando você clica em enviar." #~ msgid "Use this to configure your serial port parameters." #~ msgstr "Use esta opção para configurar os parâmetros da sua porta serial." #~ msgid "" #~ "Use this to receive a file from a remote computer, using an error " #~ "correction protocol. For straight binary dumps without error correction, " #~ "use Record instead." #~ msgstr "" #~ "Use isto para receber um arquivo de um computador remoto, usando um " #~ "protocolo de correção. Para descarga binária direta sem correção de " #~ "erros, use a opção Gravar." #~ msgid "" #~ "Use this to record (or \"log\") your communications to a file. You can " #~ "log the received data, the sent data, or both. This can also be used to " #~ "receive files sent by a remote device without the use of error correction " #~ "protocols (a straight binary dump)." #~ msgstr "" #~ "Use isto para gravar (ou \"logar\") suas comunicações em um arquivo. Você " #~ "pode gravar os dados recebidos, os dados enviados, ou ambos. Isto também " #~ "pode ser usado para receber arquivos enviados por um dispositivo remoto " #~ "sem o uso de um protocolo de correção de erros (um despejo binário direto)" #~ msgid "" #~ "Use this to send a file to a remote computer, with or without error " #~ "correction protocols." #~ msgstr "" #~ "Use isto para enviar um arquivo para um computador remoto, com ou sem " #~ "correção de erros." #~ msgid "Use this to set font sizes and other related settings." #~ msgstr "Use isto para definir tamanhos de fonte e outras configurações." #~ msgid "" #~ "You must connect to your port before you can send or receive data. " #~ "Disconnecting and reconnecting will clear the textboxes and reset the " #~ "TX / RX counters." #~ msgstr "" #~ "Você deve se conectar na porta antes de enviar ou receber dados. " #~ "Desconectar e reconectar limpará as caixas de textos e reiniciará os " #~ "contadores TX / RX." moserial-3.0.8/po/ro.po0000674000213200021320000004115212064144714011653 00000000000000# Romanian translation for moserial. # Copyright (C) 2010 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # tudordude , 2010. # Tudor Vio , 2010. msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2012-03-02 19:15+0000\n" "PO-Revision-Date: 2010-12-22 20:09+0200\n" "Last-Translator: Tudor Vio \n" "Language-Team: Romanian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: ro\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " "20)) ? 1 : 2);;\n" "X-Generator: Virtaal 0.6.1\n" #: ../data/glade/moserial.ui.h:1 msgid "Preferences" msgstr "Preferințe" #: ../data/glade/moserial.ui.h:2 msgid "Font" msgstr "" #: ../data/glade/moserial.ui.h:3 msgid "_Use the system fixed width font" msgstr "_Utilizaţi fontul sistemului de lăţime fixă" #: ../data/glade/moserial.ui.h:4 msgid "Display Font" msgstr "Font de afișare" #: ../data/glade/moserial.ui.h:5 msgid "Font Colour" msgstr "Culoarea fontului" #: ../data/glade/moserial.ui.h:6 msgid "Background Color" msgstr "Culoare de fundal" #: ../data/glade/moserial.ui.h:7 msgid "Highlight Color" msgstr "Culoare de evidențiere" #: ../data/glade/moserial.ui.h:8 #, fuzzy #| msgid "Record" msgid "Recording" msgstr "Înregistrează" #: ../data/glade/moserial.ui.h:9 msgid "_Launch recorded files" msgstr "_Lansează fișiere înregistrate" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Permite pauză în conectare după" #: ../data/glade/moserial.ui.h:11 msgid "seconds" msgstr "secunde" #: ../data/glade/moserial.ui.h:12 msgid "Select Folder for Received Files" msgstr "Selectează directorul pentru fișiere primite" #: ../data/glade/moserial.ui.h:13 msgid "Error Correction Protocol" msgstr "Protocol de corecție a erorilor" #: ../data/glade/moserial.ui.h:14 msgid "Receive File Progress" msgstr "Progresul primirii fișierului" #: ../data/glade/moserial.ui.h:15 msgid "Record Incoming and/or Outgoing Data" msgstr "Înregistrează date de intrare și/sau de ieșire" #: ../data/glade/moserial.ui.h:16 msgid "Stream to record" msgstr "Flux de înregistrat" #: ../data/glade/moserial.ui.h:17 msgid "Select File to Send" msgstr "Selectează fișierul de trimis" #: ../data/glade/moserial.ui.h:18 msgid "Send File Progress" msgstr "Progresul trimiterii fișierului" #: ../data/glade/moserial.ui.h:19 msgid "Port Setup" msgstr "Setare port" #: ../data/glade/moserial.ui.h:20 #, fuzzy #| msgid "Port Settings" msgid "Port Settings" msgstr "Configurări port" #: ../data/glade/moserial.ui.h:21 msgid "Hardware" msgstr "Hardware" #: ../data/glade/moserial.ui.h:22 msgid "Software" msgstr "Software" #: ../data/glade/moserial.ui.h:23 msgid "Access Mode" msgstr "Mod de accesare" #: ../data/glade/moserial.ui.h:24 msgid "Handshake" msgstr "Stabilirea conexiunii" #: ../data/glade/moserial.ui.h:25 msgid "Parity" msgstr "Paritate" #: ../data/glade/moserial.ui.h:26 msgid "Stop Bits" msgstr "Biți de stop" #: ../data/glade/moserial.ui.h:27 msgid "Data Bits" msgstr "Biți de date" #: ../data/glade/moserial.ui.h:28 msgid "Baud Rate" msgstr "Rata baud" #: ../data/glade/moserial.ui.h:29 msgid "Device" msgstr "Dispozitiv" #: ../data/glade/moserial.ui.h:30 msgid "Local Echo" msgstr "Ecou local" #: ../data/glade/moserial.ui.h:31 msgid "Echo received data" msgstr "Anunță primirea datelor" #: ../data/glade/moserial.ui.h:32 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:33 msgid "_File" msgstr "_Fișier" #: ../data/glade/moserial.ui.h:34 msgid "Open _Recent" msgstr "Deschide document _recent" #: ../data/glade/moserial.ui.h:35 msgid "_Edit" msgstr "_Editare" #: ../data/glade/moserial.ui.h:36 msgid "_Help" msgstr "_Ajutor" #: ../data/glade/moserial.ui.h:37 msgid "Connect" msgstr "Conectare" #: ../data/glade/moserial.ui.h:38 msgid "Record" msgstr "Înregistrează" #: ../data/glade/moserial.ui.h:39 msgid "Send File" msgstr "Trimite fișier" #: ../data/glade/moserial.ui.h:40 msgid "Receive File" msgstr "Primește fișier" #: ../data/glade/moserial.ui.h:41 msgid "Help" msgstr "Ajutor" #: ../data/glade/moserial.ui.h:42 msgid "Received ASCII" msgstr "S-a primit ASCII" #: ../data/glade/moserial.ui.h:43 msgid "Received HEX" msgstr "S-a primit HEX" #: ../data/glade/moserial.ui.h:44 msgid "Sent ASCII" msgstr "S-a trimis ASCII" #: ../data/glade/moserial.ui.h:45 msgid "Sent HEX" msgstr "S-a trimis HEX" #: ../data/glade/moserial.ui.h:46 ../src/SerialStreamRecorder.vala:30 #, fuzzy #| msgid "Outgoing" msgid "Outgoing" msgstr "De ieșire" #: ../data/glade/moserial.ui.h:47 msgid "Send" msgstr "Trimite" #: ../data/glade/moserial.ui.h:48 msgid "Disconnect" msgstr "Deconectare" #: ../data/glade/moserial.ui.h:49 msgid "Stop Recording" msgstr "Oprește înregistrarea" #: ../data/glade/moserial.ui.h:50 msgid "Filename required for XMODEM" msgstr "Numele fișierului necesar pentru XMODEM" #: ../data/moserial.desktop.in.h:1 msgid "moserial Terminal" msgstr "Terminal moserial" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal serial" #: ../data/moserial.desktop.in.h:3 msgid "A serial terminal optimized for logging and file capture" msgstr "" "Un terminal serial optimizat pentru înregistrarea și captarea fișierelor" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Input nevalid" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Fișierul profilului de încărcat" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Încărcarea interfeței a eșuat\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial terminal serial" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "" "Rulează '%s --ajutor' pentru a vedea o întreagă listă de comenzi " "disponibile.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "Tudor Vioreanu " #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial este un soft gratuit: îl puteți redistribui și/sau modifica sub " "acordul GNU General Public License în forma publicată de Free Software " "Foundation, fie versiunea 3 a Licenței, sau (la opțiunea dumneavoastră) " "orice versiune ulterioară.\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial este distribuit în speranța că va fi folostior, dar FĂRĂ VREO " "GARANȚIE; chiar fără garanția implicită de VÂNDABILITATE sau POTRIVIRE " "PENTRU UN SCOP ANUME. Vedeții GNU General Public License pentru mai multe " "detalii.\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "Ar fi trebuit să primiți o copie a GNU General Public License împreună cu " "acest program. Dacă nu, vedeți ." #: ../src/MainWindow.vala:65 #, fuzzy #| msgid "" #| "ASCII\n" #| "HEX" msgid "ASCII" msgstr "" "ASCII\n" "HEX" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "" #: ../src/MainWindow.vala:163 msgid "Port configuration" msgstr "Configurare port" #: ../src/MainWindow.vala:168 msgid "Read the manual" msgstr "" #: ../src/MainWindow.vala:178 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:189 msgid "Send a file" msgstr "Trimite un fișier" #: ../src/MainWindow.vala:198 msgid "Receive a file" msgstr "Primește un fișier" #: ../src/MainWindow.vala:208 msgid "Record sent and/or received data" msgstr "Înregistrează date trimise și/sau primite" #: ../src/MainWindow.vala:219 msgid "Other preferences" msgstr "Alte preferințe" #: ../src/MainWindow.vala:224 msgid "Open/close port" msgstr "Deschide/închide port" #: ../src/MainWindow.vala:272 msgid "Send the outgoing data now." msgstr "Trimite datele de ieșire acum." #: ../src/MainWindow.vala:275 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "" "Scrieți datele de ieșire aici. Apasați Enter sau Trimite pentru a le trimite." #: ../src/MainWindow.vala:558 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Eroare: Nu s-a putut deschide fișierul" #: ../src/MainWindow.vala:636 #, c-format msgid "Error: Could not open device" msgstr "Eroare: Nu s-a putut deschide dispozitivul" #: ../src/MainWindow.vala:758 #, c-format msgid "Unable to display help file: %s" msgstr "Nu s-a putut afișa fișierul de ajutor: %s" #: ../src/MainWindow.vala:769 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "" "Un terminal serial pentru desktopul GNOME, optimizat pentru înregistrarea și " "captarea fișierelor." #: ../src/MainWindow.vala:822 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "" "Ați schimbat configurările sau preferințele. Doriți să salvați aceste " "schimbări pentru profilul încărcat?" #: ../src/PreferencesDialog.vala:50 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "Dacă această opțiune este activată, un fișier înregistrat va fi deschis " "imediat după ce este salvat, folosind aplicația implicită pentru acel tip de " "fișier. Aplicația implicită este definită de mediul desktop." #: ../src/PreferencesDialog.vala:53 #, fuzzy #| msgid "" #| "If this option is enabled, recording will be automatically stopped after " #| "an adjustable period of inactivity after receiving some data. That is, " #| "moserial will wait indefinitely to record the first data byte before " #| "activating the inactivity timer." msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. Moserial will " "wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "Dacă această opțiune este activată, înregistrarea se va opri automat după o " "perioadă ajustabilă de inactivitate după primirea unor date. Moserial va " "aştepta la nesfârşit să înregistreze primul octet de date înainte de a " "activa cronometrul de inactivitate." #: ../src/Preferences.vala:65 #, fuzzy #| msgid "Unable to retrieve gconf key: %s" msgid "Unable to retrieve system font setting" msgstr "Obținerea cheii gconf a eșuat: %s" #: ../src/Rzwrapper.vala:24 ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "" #: ../src/Rzwrapper.vala:25 ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "" #: ../src/Rzwrapper.vala:26 ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Se așteaptă gazdă la distanță" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "" #: ../src/SerialConnection.vala:44 #, fuzzy #| msgid "Send" msgid "CR end" msgstr "Trimite" #: ../src/SerialConnection.vala:45 #, fuzzy #| msgid "Send" msgid "LF end" msgstr "Trimite" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "" #: ../src/SerialConnection.vala:47 #, fuzzy #| msgid "Send" msgid "ESC end" msgstr "Trimite" #: ../src/SerialConnection.vala:48 #, fuzzy #| msgid "Send" msgid "No end" msgstr "Trimite" #: ../src/SerialConnection.vala:302 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu neprintabil)" #: ../src/SerialConnection.vala:304 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "" #: ../src/SerialStreamRecorder.vala:31 #, fuzzy #| msgid "Record Incoming and/or Outgoing Data" msgid "Incoming and Outgoing" msgstr "Înregistrează date de intrare și/sau de ieșire" #: ../src/SerialStreamRecorder.vala:57 ../src/SerialStreamRecorder.vala:68 #: ../src/SerialStreamRecorder.vala:89 #, c-format msgid "error: %s\n" msgstr "eroare: %s\n" #: ../src/SerialStreamRecorder.vala:98 #, c-format msgid "Unable to launch %s: %s" msgstr "Nu s-a putut lansa %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Cunoscut și ca stabilirea conexiunii RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Cunoscut și ca stabilirea conexiunii XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Dezactivat în mod normal" #: ../src/Settings.vala:25 msgid "None" msgstr "" #: ../src/Settings.vala:26 msgid "Odd" msgstr "" #: ../src/Settings.vala:27 msgid "Even" msgstr "" #: ../src/Settings.vala:28 msgid "Mark" msgstr "" #: ../src/Settings.vala:29 msgid "Space" msgstr "" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "S" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "DESCHIS" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "ÎNCHIS" #: ../src/Szwrapper.vala:27 #, fuzzy #| msgid "" #| "Xmodem\n" #| "Ymodem\n" #| "Zmodem\n" #| "None (straight binary)" msgid "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "Nespecificat (direct binar)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "anulat" #~ msgid "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgstr "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgid "" #~ "1\n" #~ "2" #~ msgstr "" #~ "1\n" #~ "2" #~ msgid "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgstr "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgid "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgstr "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgid "Font" #~ msgstr "Font" #~ msgid "Recording" #~ msgstr "Se înregistrează" #~ msgid "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgstr "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgid "" #~ "Incoming\n" #~ "Outgoing\n" #~ "Incoming and Outgoing" #~ msgstr "" #~ "De intrare\n" #~ "De ieșire\n" #~ "De intrare și ieșire" #~ msgid "" #~ "None\n" #~ "Odd\n" #~ "Even\n" #~ "Mark\n" #~ "Space" #~ msgstr "" #~ "Nespecificat\n" #~ "Ciudat\n" #~ "Egal\n" #~ "Semn\n" #~ "Spațiu" #~ msgid "" #~ "Read and Write\n" #~ "Read Only\n" #~ "Write Only" #~ msgstr "" #~ "Citește și scrie\n" #~ "Citește doar\n" #~ "Scrie doar" #~ msgid "Save Settings _As" #~ msgstr "Salvează configurările c_a" #~ msgid "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgstr "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgid "_Contents" #~ msgstr "_Conținut" #~ msgid "_Open Settings" #~ msgstr "_Deschide configurări" #~ msgid "_Save Settings" #~ msgstr "_Salvează configurări" #~ msgid "Can't display a clickable URL: %s" #~ msgstr "Nu s-a putut afișa un URL utilizabill: %s" moserial-3.0.8/po/sl.po0000674000213200021320000003715512064144714011661 00000000000000# Slovenian translations for moserial. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # # Andrej Žnidaršič , 2010. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=moserial&keywords=I18N+L10N&component=general\n" "POT-Creation-Date: 2011-08-26 18:31+0000\n" "PO-Revision-Date: 2011-08-27 09:21+0100\n" "Last-Translator: Andrej Žnidaršič \n" "Language-Team: Slovenian GNOME Translation Team \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0);\n" "X-Poedit-Country: SLOVENIA\n" "X-Poedit-Language: Slovenian\n" "X-Poedit-SourceCharset: utf-8\n" #: ../data/glade/moserial.ui.h:1 msgid "Access Mode" msgstr "Način dostopa" #: ../data/glade/moserial.ui.h:2 msgid "Background Color" msgstr "Barva ozadja" #: ../data/glade/moserial.ui.h:3 msgid "Baud Rate" msgstr "Baudna hitrost" #: ../data/glade/moserial.ui.h:4 msgid "Connect" msgstr "Poveži" #: ../data/glade/moserial.ui.h:5 msgid "Data Bits" msgstr "Podatkovni biti" #: ../data/glade/moserial.ui.h:6 msgid "Device" msgstr "Naprava" #: ../data/glade/moserial.ui.h:7 msgid "Disconnect" msgstr "Prekini povezavo" #: ../data/glade/moserial.ui.h:8 msgid "Display Font" msgstr "Pisava prikaza" #: ../data/glade/moserial.ui.h:9 msgid "Echo received data" msgstr "Odmev prejetih podatkov" #: ../data/glade/moserial.ui.h:10 msgid "Enable timeout after" msgstr "Omogoči zakasnitev za" #: ../data/glade/moserial.ui.h:11 msgid "Error Correction Protocol" msgstr "Protokol popravljana napak" #: ../data/glade/moserial.ui.h:12 msgid "Filename required for XMODEM" msgstr "Ime datoteke zahtevane za XMODEM" #: ../data/glade/moserial.ui.h:13 msgid "Font" msgstr "Pisava" #: ../data/glade/moserial.ui.h:14 msgid "Font Colour" msgstr "Barva pisave" #: ../data/glade/moserial.ui.h:15 msgid "Handshake" msgstr "Izmenjava signalov" #: ../data/glade/moserial.ui.h:16 msgid "Hardware" msgstr "Strojna oprema" #: ../data/glade/moserial.ui.h:17 msgid "Help" msgstr "Pomoč" #: ../data/glade/moserial.ui.h:18 msgid "Highlight Color" msgstr "Barva poudarjanja" #: ../data/glade/moserial.ui.h:19 msgid "Local Echo" msgstr "Krajevni odmev" #: ../data/glade/moserial.ui.h:20 msgid "Open _Recent" msgstr "Odpri _nedavno" #: ../data/glade/moserial.ui.h:21 #: ../src/SerialStreamRecorder.vala:30 msgid "Outgoing" msgstr "Odhodna" #: ../data/glade/moserial.ui.h:22 msgid "Parity" msgstr "Parnost" #: ../data/glade/moserial.ui.h:23 msgid "Port Settings" msgstr "Nastavitve vrat" #: ../data/glade/moserial.ui.h:24 msgid "Port Setup" msgstr "Namestitev vrat" #: ../data/glade/moserial.ui.h:25 msgid "Preferences" msgstr "Možnosti" #: ../data/glade/moserial.ui.h:26 msgid "Receive File" msgstr "Prejmi datoteko" #: ../data/glade/moserial.ui.h:27 msgid "Receive File Progress" msgstr "Napredek prejemanja datoteke" #: ../data/glade/moserial.ui.h:28 msgid "Received ASCII" msgstr "Prejet ASCII" #: ../data/glade/moserial.ui.h:29 msgid "Received HEX" msgstr "Prejet HEX" #: ../data/glade/moserial.ui.h:30 msgid "Record" msgstr "Snemanje" #: ../data/glade/moserial.ui.h:31 msgid "Record Incoming and/or Outgoing Data" msgstr "Posnemi prihajajoče in/ali odhajajoče podatke" #: ../data/glade/moserial.ui.h:32 msgid "Recording" msgstr "Snemanje" #: ../data/glade/moserial.ui.h:33 msgid "Select File to Send" msgstr "Izbor datoteke za pošiljanje" #: ../data/glade/moserial.ui.h:34 msgid "Select Folder for Received Files" msgstr "Izbor mape za prejete datoteke" #: ../data/glade/moserial.ui.h:35 msgid "Send" msgstr "Pošlji" #: ../data/glade/moserial.ui.h:36 msgid "Send File" msgstr "Pošlji datoteko" #: ../data/glade/moserial.ui.h:37 msgid "Send File Progress" msgstr "Pošlji napredek datoteke" #: ../data/glade/moserial.ui.h:38 msgid "Sent ASCII" msgstr "Poslan ASCII" #: ../data/glade/moserial.ui.h:39 msgid "Sent HEX" msgstr "Poslan HEX" #: ../data/glade/moserial.ui.h:40 msgid "Software" msgstr "Programska oprema" #: ../data/glade/moserial.ui.h:41 msgid "Stop Bits" msgstr "Zaustavitveni biti" #: ../data/glade/moserial.ui.h:42 msgid "Stop Recording" msgstr "Zaustavitev snemanja" #: ../data/glade/moserial.ui.h:43 msgid "Stream to record" msgstr "Pretok za snemanje" #: ../data/glade/moserial.ui.h:44 msgid "_Edit" msgstr "_Uredi" #: ../data/glade/moserial.ui.h:45 msgid "_File" msgstr "_Datoteka" #: ../data/glade/moserial.ui.h:46 msgid "_Help" msgstr "Pomo_č" #: ../data/glade/moserial.ui.h:47 msgid "_Launch recorded files" msgstr "_Zaženi zapisane datoteke" #: ../data/glade/moserial.ui.h:48 msgid "_Use the system fixed width font" msgstr "_Uporaba sistemske pisave določene širine" #: ../data/glade/moserial.ui.h:49 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.ui.h:50 msgid "seconds" msgstr "sekund" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "Terminal prilagojen za beleženje in zajemanje datotek" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Terminal" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "moserial terminal" #: ../src/InputParser.vala:45 #: ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "Neveljaven vnos" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "Datoteka profila za nalaganje" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Nalaganje uporabniškega vmesnika je spodletelo\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial terminal" #: ../src/Main.vala:57 #: ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "Zagon ukaza '%s --help' izpiše popoln seznam dostopnih možnosti ukazne vrstice.\n" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "Andrej Žnidaršič " #: ../src/MainWindow.vala:32 msgid "moserial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n" msgstr "moserial je prosta programska oprema; program lahko razširjate in/ali spreminjate pod pogoji Splošnega dovoljenja GNU (GNU General PublicLicense), kot ga je objavila ustanova Free Software Foundation; bodisi različice 2 ali (po vaši izbiri) katerekoli poznejše različice.\n" #: ../src/MainWindow.vala:33 msgid "moserial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n" msgstr "moserial se razširja v upanju, da bo uporaben, vendar BREZ VSAKRŠNEGA JAMSTVA; tudi brez posredne zagotovitve CENOVNE VREDNOSTI ali PRIMERNOSTI ZA DOLOČEN NAMEN. Za podrobnosti glejte besedilo GNU General Public License.\n" #: ../src/MainWindow.vala:34 msgid "You should have received a copy of the GNU General Public License along with this program. If not, see ." msgstr "Skupaj s programom bi morali dobiti tudi kopijo GNU splošne javne licence. V primeru, da je niste, si oglejte ." #: ../src/MainWindow.vala:65 msgid "ASCII" msgstr "ASCII" #: ../src/MainWindow.vala:65 msgid "HEX" msgstr "Šestnajstiško" #: ../src/MainWindow.vala:161 msgid "Port configuration" msgstr "Nastavitev vrat" #: ../src/MainWindow.vala:166 msgid "Read the manual" msgstr "Preberite priročnik" #: ../src/MainWindow.vala:176 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:187 msgid "Send a file" msgstr "Pošlji datoteko" #: ../src/MainWindow.vala:196 msgid "Receive a file" msgstr "Prejemanje datoteke" #: ../src/MainWindow.vala:206 msgid "Record sent and/or received data" msgstr "Posnemi poslane in/ali prejete podatke" #: ../src/MainWindow.vala:217 msgid "Other preferences" msgstr "Druge možnosti" #: ../src/MainWindow.vala:222 msgid "Open/close port" msgstr "Odpri/zapri vrata" #: ../src/MainWindow.vala:270 msgid "Send the outgoing data now." msgstr "Pošlji podatke za pošiljanje sedaj." #: ../src/MainWindow.vala:273 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "Vnesite podatke, ki jih želite poslati. Pritisnite vnosno tipko ali tipko za pošiljanje, ko ste pripravljeni." #: ../src/MainWindow.vala:550 #: ../src/Profile.vala:76 #: ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "Napaka: ni mogoče odpreti datoteke" #: ../src/MainWindow.vala:628 #, c-format msgid "Error: Could not open device" msgstr "Napaka: ni mogoče odpreti naprave" #: ../src/MainWindow.vala:750 #, c-format msgid "Unable to display help file: %s" msgstr "Ni mogoče prikazati datoteke pomoči: %s" #: ../src/MainWindow.vala:761 msgid "A serial terminal for the GNOME desktop, optimized for logging and file capture." msgstr "Terminal za namizje GNOME, prilagojen za beleženje in zajemanje datotek." #: ../src/MainWindow.vala:813 msgid "You have changed your setting or preferences. Do you want to save these changes to the loaded profile?" msgstr "Spremenili ste vaše nastavitve ali možnosti. Ali želite shraniti spremembe naloženega profila?" #: ../src/PreferencesDialog.vala:50 msgid "If this option is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment." msgstr "Izbrana možnost določi odpiranje posnete datoteke s privzetim programom za vrsto datoteke neposredno po shranjevanju. Privzet program določi namizno okolje. " #: ../src/PreferencesDialog.vala:53 msgid "If this option is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. Moserial will wait indefinitely to record the first data byte before activating the inactivity timer." msgstr "Izbrana možnost samodejno zaustavi snemanje po prilagodljivem obdobju nedejavnosti po prejemu nekaj podatkov. To pomeni, da bo program neskončno dolgo čakal na prejem prvega bajta podatkov pred zagonom časovnika nedejavnosti." #: ../src/Preferences.vala:65 msgid "Unable to retrieve system font setting" msgstr "Ni mogoče pridobiti nastavitve sistemske pisave" #: ../src/Rzwrapper.vala:24 #: ../src/Szwrapper.vala:24 msgid "Xmodem" msgstr "Xmodem" #: ../src/Rzwrapper.vala:25 #: ../src/Szwrapper.vala:25 msgid "Ymodem" msgstr "Ymodem" #: ../src/Rzwrapper.vala:26 #: ../src/Szwrapper.vala:26 msgid "Zmodem" msgstr "Zmodem" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "Čakanje na oddaljenega gostitelja" #: ../src/SerialConnection.vala:43 msgid "CR+LF end" msgstr "Konec CR+LF" #: ../src/SerialConnection.vala:44 msgid "CR end" msgstr "Konec CR" #: ../src/SerialConnection.vala:45 msgid "LF end" msgstr "Konec LF" #: ../src/SerialConnection.vala:46 msgid "TAB end" msgstr "Konec TAB" #: ../src/SerialConnection.vala:47 msgid "ESC end" msgstr "Konec ESC" #: ../src/SerialConnection.vala:48 msgid "No end" msgstr "Brez konca" #: ../src/SerialConnection.vala:285 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu ni natisljiv)" #: ../src/SerialConnection.vala:287 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:29 msgid "Incoming" msgstr "Dohodno" #: ../src/SerialStreamRecorder.vala:31 msgid "Incoming and Outgoing" msgstr "Prihodno in odhodno" #: ../src/SerialStreamRecorder.vala:57 #: ../src/SerialStreamRecorder.vala:78 #, c-format msgid "error: %s\n" msgstr "napaka: %s\n" #: ../src/SerialStreamRecorder.vala:87 #, c-format msgid "Unable to launch %s: %s" msgstr "Ni mogoče zagnati %s: %s" #: ../src/SettingsDialog.vala:67 msgid "Also known as RTS/CTS handshaking" msgstr "Poznano kot izmenjava signalov RTS/CTS" #: ../src/SettingsDialog.vala:70 msgid "Also known as XON/XOFF handshaking" msgstr "Poznano kot izmenjava signalov XON/XOFF" #: ../src/SettingsDialog.vala:76 msgid "Normally disabled" msgstr "Običajno onemogočeno" #: ../src/Settings.vala:25 msgid "None" msgstr "Brez" #: ../src/Settings.vala:26 msgid "Odd" msgstr "Liho" #: ../src/Settings.vala:27 msgid "Even" msgstr "Sodo" #: ../src/Settings.vala:28 msgid "Mark" msgstr "Označi" #: ../src/Settings.vala:29 msgid "Space" msgstr "Presledek" #: ../src/Settings.vala:34 msgid "Read and Write" msgstr "Za branje in pisanje" #: ../src/Settings.vala:35 msgid "Read Only" msgstr "Le za branje" #: ../src/Settings.vala:36 msgid "Write Only" msgstr "Le za pisanje" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:89 msgid "N" msgstr "B" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:93 msgid "O" msgstr "L" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:97 msgid "E" msgstr "S" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:101 msgid "M" msgstr "O" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:105 msgid "S" msgstr "P" #: ../src/Settings.vala:115 msgid "OPEN" msgstr "ODPRTO" #: ../src/Settings.vala:116 msgid "CLOSED" msgstr "ZAPRTO" #: ../src/Szwrapper.vala:27 msgid "None (straight binary)" msgstr "Brez (običajna binarna datoteka)" #: ../src/Szwrapper.vala:185 msgid "canceled" msgstr "preklicano" #~ msgid "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgstr "" #~ "/dev/ttyS0\n" #~ "/dev/ttyS1\n" #~ "/dev/ttyS2\n" #~ "/dev/ttyS3\n" #~ "/dev/ttyUSB0\n" #~ "/dev/ttyUSB1\n" #~ "/dev/ttyUSB2\n" #~ "/dev/ttyUSB3" #~ msgid "" #~ "1\n" #~ "2" #~ msgstr "" #~ "1\n" #~ "2" #~ msgid "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgstr "" #~ "300\n" #~ "600\n" #~ "1200\n" #~ "2400\n" #~ "4800\n" #~ "9600\n" #~ "19200\n" #~ "38400\n" #~ "57600\n" #~ "115200\n" #~ "230400\n" #~ "460800\n" #~ "576000\n" #~ "927600" #~ msgid "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgstr "" #~ "5\n" #~ "6\n" #~ "7\n" #~ "8" #~ msgid "Font" #~ msgstr "Pisava" #~ msgid "Recording" #~ msgstr "Snemanje" #~ msgid "" #~ "CR+LF end\n" #~ "CR end\n" #~ "LF end\n" #~ "TAB end\n" #~ "ESC end\n" #~ "No end" #~ msgstr "" #~ "CR+LF konec\n" #~ "CR konec\n" #~ "LF konec\n" #~ "TAB konec\n" #~ "ESC konec\n" #~ "brez konca" #~ msgid "" #~ "Incoming\n" #~ "Outgoing\n" #~ "Incoming and Outgoing" #~ msgstr "" #~ "Prihajajoči\n" #~ "Odhajajoči\n" #~ "Prihajajoči in odhajajoči" #~ msgid "" #~ "None\n" #~ "Odd\n" #~ "Even\n" #~ "Mark\n" #~ "Space" #~ msgstr "" #~ "Brez\n" #~ "Liho\n" #~ "Sodo\n" #~ "Oznaka\n" #~ "Prostor" #~ msgid "" #~ "Read and Write\n" #~ "Read Only\n" #~ "Write Only" #~ msgstr "" #~ "beri in piši\n" #~ "samo beri\n" #~ "samo piši" #~ msgid "Save Settings _As" #~ msgstr "Shrani nastavitve _kot" #~ msgid "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgstr "" #~ "Xmodem\n" #~ "Ymodem\n" #~ "Zmodem" #~ msgid "_Contents" #~ msgstr "_Vsebina" #~ msgid "_Open Settings" #~ msgstr "_Odpri nastavitve" #~ msgid "_Save Settings" #~ msgstr "_Shrani nastavitve" #~ msgid "Can't display a clickable URL: %s" #~ msgstr "Ni mogoče prikazati neposrednega naslova URL: %s" moserial-3.0.8/po/sv.po0000674000213200021320000003625712064144714011675 00000000000000# Swedish translation for moserial. # Copyright (C) 2009 Free Software Foundation, Inc. # This file is distributed under the same license as the moserial package. # Daniel Nylander , 2009. # msgid "" msgstr "" "Project-Id-Version: moserial\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2009-03-08 11:12+0100\n" "PO-Revision-Date: 2009-03-08 20:39+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/glade/moserial.glade.h:1 msgid "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" msgstr "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" #: ../data/glade/moserial.glade.h:9 msgid "" "1\n" "2" msgstr "" "1\n" "2" #: ../data/glade/moserial.glade.h:11 msgid "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" msgstr "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" #: ../data/glade/moserial.glade.h:25 msgid "" "5\n" "6\n" "7\n" "8" msgstr "" "5\n" "6\n" "7\n" "8" #: ../data/glade/moserial.glade.h:29 msgid "Font" msgstr "Typsnitt" #: ../data/glade/moserial.glade.h:30 msgid "Port Settings" msgstr "Portinställningar" #: ../data/glade/moserial.glade.h:31 msgid "Recording" msgstr "Inspelning" #: ../data/glade/moserial.glade.h:32 msgid "Outgoing" msgstr "" #: ../data/glade/moserial.glade.h:33 msgid "" "ASCII\n" "HEX" msgstr "" "ASCII\n" "HEX" #: ../data/glade/moserial.glade.h:35 msgid "Access Mode" msgstr "" #: ../data/glade/moserial.glade.h:36 msgid "Background Color" msgstr "Bakgrundsfärg" #: ../data/glade/moserial.glade.h:37 msgid "Baud Rate" msgstr "" #: ../data/glade/moserial.glade.h:38 msgid "" "CR+LF end\n" "CR end\n" "LF end\n" "TAB end\n" "No end" msgstr "" #: ../data/glade/moserial.glade.h:43 msgid "Click this to transmit the data entered in the Outgoing text box. Clicking \"enter\" in that box will do the same thing." msgstr "" #: ../data/glade/moserial.glade.h:44 msgid "Connect" msgstr "Anslut" #: ../data/glade/moserial.glade.h:45 msgid "Data Bits" msgstr "Databitar" #: ../data/glade/moserial.glade.h:46 msgid "Device" msgstr "Enhet" #: ../data/glade/moserial.glade.h:47 msgid "Disconnect" msgstr "Koppla från" #: ../data/glade/moserial.glade.h:48 msgid "Display Font" msgstr "" #: ../data/glade/moserial.glade.h:49 msgid "Echo received data" msgstr "" #: ../data/glade/moserial.glade.h:50 msgid "Enable timeout after" msgstr "Aktivera tidsgräns efter" #: ../data/glade/moserial.glade.h:51 msgid "Enter the data that you wish to transmit here. Press Enter or Send when you are ready to send it." msgstr "" #: ../data/glade/moserial.glade.h:52 msgid "Error Correction Protocol" msgstr "" #: ../data/glade/moserial.glade.h:53 msgid "Filename required for XMODEM" msgstr "" #: ../data/glade/moserial.glade.h:54 msgid "Font Colour" msgstr "Typsnittsfärg" #: ../data/glade/moserial.glade.h:55 msgid "Handshake" msgstr "Handskakning" #: ../data/glade/moserial.glade.h:56 msgid "Hardware" msgstr "Maskinvara" #: ../data/glade/moserial.glade.h:57 msgid "Help" msgstr "Hjälp" #: ../data/glade/moserial.glade.h:58 msgid "Highlight Color" msgstr "" #: ../data/glade/moserial.glade.h:59 msgid "If this option is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment." msgstr "" #: ../data/glade/moserial.glade.h:60 msgid "If this option is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer." msgstr "" #: ../data/glade/moserial.glade.h:61 msgid "" "Incoming\n" "Outgoing\n" "Incoming and Outgoing" msgstr "" #: ../data/glade/moserial.glade.h:64 msgid "Local Echo" msgstr "Lokalt eko" #: ../data/glade/moserial.glade.h:65 msgid "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" msgstr "" #: ../data/glade/moserial.glade.h:70 msgid "Normally disabled" msgstr "" #: ../data/glade/moserial.glade.h:71 msgid "Parity" msgstr "Paritet" #: ../data/glade/moserial.glade.h:72 msgid "Port Setup" msgstr "" #: ../data/glade/moserial.glade.h:73 msgid "Preferences" msgstr "Inställningar" #: ../data/glade/moserial.glade.h:74 msgid "" "Read and Write\n" "Read Only\n" "Write Only" msgstr "" #: ../data/glade/moserial.glade.h:77 msgid "Receive File" msgstr "Ta emot fil" #: ../data/glade/moserial.glade.h:78 msgid "Receive File Progress" msgstr "Förlopp för mottagning av fil" #: ../data/glade/moserial.glade.h:79 msgid "Received ASCII" msgstr "" #: ../data/glade/moserial.glade.h:80 msgid "Received HEX" msgstr "" #: ../data/glade/moserial.glade.h:81 msgid "Record" msgstr "Spela in" #: ../data/glade/moserial.glade.h:82 msgid "Record Incoming and/or Outgoing Data" msgstr "" #: ../data/glade/moserial.glade.h:83 msgid "Save Settings _As" msgstr "Spara inställningar so_m" #: ../data/glade/moserial.glade.h:84 msgid "Select File to Send" msgstr "Välj fil att skicka" #: ../data/glade/moserial.glade.h:85 msgid "Select Folder for Received Files" msgstr "Välj mapp för mottagna filer" #: ../data/glade/moserial.glade.h:86 msgid "Select the error correction protocol to use." msgstr "" #: ../data/glade/moserial.glade.h:87 msgid "Select the error correction protocol to use. If you wish to receive a straight binary file without using error correction protocols, use the Record button instead." msgstr "" #: ../data/glade/moserial.glade.h:88 msgid "Send" msgstr "Skicka" #: ../data/glade/moserial.glade.h:89 msgid "Send File" msgstr "Skicka fil" #: ../data/glade/moserial.glade.h:90 msgid "Send File Progress" msgstr "Förlopp för filsändning" #: ../data/glade/moserial.glade.h:91 msgid "Sent ASCII" msgstr "" #: ../data/glade/moserial.glade.h:92 msgid "Sent HEX" msgstr "" #: ../data/glade/moserial.glade.h:93 msgid "Software" msgstr "Programvara" #: ../data/glade/moserial.glade.h:94 msgid "Stop Bits" msgstr "Stoppbitar" #: ../data/glade/moserial.glade.h:95 msgid "Stop Recording" msgstr "" #: ../data/glade/moserial.glade.h:96 msgid "Stream to record" msgstr "" #: ../data/glade/moserial.glade.h:97 msgid "This determines whether the data entered in the Outgoing text box should be interpreted as normal ASCII text, or as hexadecimal codes. If this is set to HEX, the entered data should consist of only 0-9 and A-F characters." msgstr "" #: ../data/glade/moserial.glade.h:98 msgid "This selects the termination sequence that is appended to the Outgoing data in the ASCII mode when you click Send." msgstr "" #: ../data/glade/moserial.glade.h:99 msgid "Use this to configure your serial port parameters." msgstr "" #: ../data/glade/moserial.glade.h:100 msgid "Use this to receive a file from a remote computer, using an error correction protocol. For straight binary dumps without error correction, use Record instead." msgstr "" #: ../data/glade/moserial.glade.h:101 msgid "Use this to record (or \"log\") your communications to a file. You can log the received data, the sent data, or both. This can also be used to receive files sent by a remote device without the use of error correction protocols (a straight binary dump)." msgstr "" #: ../data/glade/moserial.glade.h:102 msgid "Use this to send a file to a remote computer, with or without error correction protocols." msgstr "" #: ../data/glade/moserial.glade.h:103 msgid "Use this to set font sizes and other related settings." msgstr "" #: ../data/glade/moserial.glade.h:104 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem" #: ../data/glade/moserial.glade.h:107 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "Ingen (rak binär)" #: ../data/glade/moserial.glade.h:111 msgid "You must connect to your port before you can send or receive data. Disconnecting and reconnecting will clear the textboxes and reset the TX / RX counters." msgstr "" #: ../data/glade/moserial.glade.h:112 msgid "_Contents" msgstr "_Innehåll" #: ../data/glade/moserial.glade.h:113 msgid "_Edit" msgstr "_Redigera" #: ../data/glade/moserial.glade.h:114 msgid "_File" msgstr "_Arkiv" #: ../data/glade/moserial.glade.h:115 msgid "_Help" msgstr "_Hjälp" #: ../data/glade/moserial.glade.h:116 msgid "_Launch recorded files" msgstr "_Starta inspelade filer" #: ../data/glade/moserial.glade.h:117 msgid "_Open Settings" msgstr "_Öppna inställningar" #: ../data/glade/moserial.glade.h:118 msgid "_Save Settings" msgstr "_Spara inställningar" #: ../data/glade/moserial.glade.h:119 msgid "_Use the system fixed width font" msgstr "_Använd systemets typsnitt med fast breddsteg" #: ../data/glade/moserial.glade.h:120 msgid "gtk-about" msgstr "Om" #: ../data/glade/moserial.glade.h:121 msgid "gtk-apply" msgstr "Verkställ" #: ../data/glade/moserial.glade.h:122 msgid "gtk-cancel" msgstr "Avbryt" #: ../data/glade/moserial.glade.h:123 msgid "gtk-clear" msgstr "Töm" #: ../data/glade/moserial.glade.h:124 msgid "gtk-copy" msgstr "Kopiera" #: ../data/glade/moserial.glade.h:125 msgid "gtk-cut" msgstr "Klipp ut" #: ../data/glade/moserial.glade.h:126 msgid "gtk-discard" msgstr "Förkasta" #: ../data/glade/moserial.glade.h:127 msgid "gtk-ok" msgstr "OK" #: ../data/glade/moserial.glade.h:128 msgid "gtk-paste" msgstr "Klistra in" #: ../data/glade/moserial.glade.h:129 msgid "gtk-quit" msgstr "Avsluta" #: ../data/glade/moserial.glade.h:130 msgid "menuitem3" msgstr "menyobjekt3" #: ../data/glade/moserial.glade.h:131 msgid "menuitem5" msgstr "menyobjekt5" #: ../data/glade/moserial.glade.h:132 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.glade.h:133 msgid "seconds" msgstr "sekunder" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "En seriell terminal optimerad för loggning och filfångst" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "Seriell terminal" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "moserial Terminal" #: ../src/MainWindow.vala:11 msgid "translator-credits" msgstr "" "Daniel Nylander \n" "\n" "Skicka synpunkter på översättningen till\n" "." #: ../src/MainWindow.vala:13 msgid "moserial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n" msgstr "moserial är fri programvara. Du kan distribuera det och/eller modifiera det under villkoren i GNU General Public License, publicerad av Free Software Foundation, antingen version 3 eller (om du så vill) någon senare version.\n" #: ../src/MainWindow.vala:14 msgid "moserial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n" msgstr "moserial distribueras i hopp om att det ska vara användbart, men UTAN NÅGON SOM HELST GARANTI, även utan underförstådd garanti om SÄLJBARHET eller LÄMPLIGHET FÖR NÅGOT SPECIELLT ÄNDAMÅL. Se GNU General Public License för ytterligare information.\n" #: ../src/MainWindow.vala:15 msgid "You should have received a copy of the GNU General Public License along with this program. If not, see ." msgstr "Du bör ha fått en kopia av GNU General Public License tillsammans med detta program. Om inte, se ." #: ../src/MainWindow.vala:139 msgid "TX: 0, RX: 0" msgstr "TX: 0, RX: 0" #: ../src/MainWindow.vala:425 #: ../src/MainWindow.vala:502 #, c-format msgid "Error: Could not open %s\n" msgstr "Fel: Kunde inte öppna %s\n" #: ../src/MainWindow.vala:426 #: ../src/Profile.vala:57 #: ../src/Profile.vala:88 #, c-format msgid "Error: Could not open file" msgstr "Fel: Kunde inte öppna filen" #: ../src/MainWindow.vala:503 #, c-format msgid "Error: Could not open device" msgstr "Fel: Kunde inte öppna enheten" #: ../src/MainWindow.vala:618 #, c-format msgid "Unable to display help file: %s" msgstr "Kunde inte visa hjälpfilen: %s" #: ../src/MainWindow.vala:630 msgid "A serial terminal for the GNOME desktop, optimized for logging and file capture." msgstr "En seriell terminal för GNOME-skrivbordet, optimerad för loggning och filfångst." #: ../src/MainWindow.vala:644 #, c-format msgid "Can't display a clickable URL: %s" msgstr "Kan inte visa en klickbar URL: %s" #: ../src/MainWindow.vala:676 msgid "You have changed your setting or preferences. Do you want to save these changes to the loaded profile?" msgstr "Du har ändrat dina inställningar. Vill du spara dessa ändringar till den inlästa profilen?" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:49 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:53 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:57 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:61 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:65 msgid "S" msgstr "S" #: ../src/Settings.vala:75 msgid "OPEN" msgstr "ÖPPEN" #: ../src/Settings.vala:76 msgid "CLOSED" msgstr "STÄNGD" #: ../src/Main.vala:7 msgid "Profile file to load" msgstr "Profilfil att läsa in" #: ../src/Main.vala:17 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "Misslyckades med att läsa in användargränssnitt\n" "%s" #: ../src/Main.vala:25 msgid "- moserial serial terminal" msgstr "- moserial seriell terminal" #: ../src/Main.vala:30 #: ../src/Main.vala:38 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "Kör \"%s --help\" för att se en komplett lista över tillgängliga kommandoradsflaggor.\n" #: ../src/Preferences.vala:47 #, c-format msgid "Unable to retrieve gconf key: %s" msgstr "Kunde inte hämta gconf-nyckel: %s" #: ../src/SendProgressDialog.vala:24 msgid "Waiting for remote host" msgstr "Väntar på fjärrvärden" #: ../src/SerialConnection.vala:272 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "TX: %lu, RX: %lu (%lu inte utskrivbara)" #: ../src/SerialConnection.vala:274 #, c-format msgid "TX: %lu, RX: %lu" msgstr "TX: %lu, RX: %lu" #: ../src/SerialStreamRecorder.vala:33 #: ../src/SerialStreamRecorder.vala:54 #, c-format msgid "error: %s\n" msgstr "fel: %s\n" #: ../src/SerialStreamRecorder.vala:63 #, c-format msgid "Unable to launch %s: %s" msgstr "Kunde inte starta %s: %s" #: ../src/Szwrapper.vala:154 msgid "canceled" msgstr "avbruten" #: ../src/InputParser.vala:25 #: ../src/InputParser.vala:32 #: ../src/InputParser.vala:38 msgid "Invalid Input" msgstr "Ogiltig inmatning" moserial-3.0.8/po/zh_CN.po0000674000213200021320000003347512064144713012244 00000000000000# Chinese (China) translation for moserial. # Copyright (C) 2010 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # 微尘 , 2010. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?" "product=moserial&component=general\n" "POT-Creation-Date: 2010-06-29 12:58+0000\n" "PO-Revision-Date: 2010-08-28 09:11+0800\n" "Last-Translator: yjwork \n" "Language-Team: Chinese (China) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../data/glade/moserial.glade.h:1 msgid "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" msgstr "" "/dev/ttyS0\n" "/dev/ttyS1\n" "/dev/ttyS2\n" "/dev/ttyS3\n" "/dev/ttyUSB0\n" "/dev/ttyUSB1\n" "/dev/ttyUSB2\n" "/dev/ttyUSB3" #: ../data/glade/moserial.glade.h:9 msgid "" "1\n" "2" msgstr "" "1\n" "2" #: ../data/glade/moserial.glade.h:11 msgid "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" msgstr "" "300\n" "600\n" "1200\n" "2400\n" "4800\n" "9600\n" "19200\n" "38400\n" "57600\n" "115200\n" "230400\n" "460800\n" "576000\n" "927600" #: ../data/glade/moserial.glade.h:25 msgid "" "5\n" "6\n" "7\n" "8" msgstr "" "5\n" "6\n" "7\n" "8" #: ../data/glade/moserial.glade.h:29 msgid "Font" msgstr "字体" #: ../data/glade/moserial.glade.h:30 msgid "Port Settings" msgstr "端口设置" #: ../data/glade/moserial.glade.h:31 msgid "Recording" msgstr "记录" #: ../data/glade/moserial.glade.h:32 msgid "Outgoing" msgstr "输入栏" #: ../data/glade/moserial.glade.h:33 msgid "" "ASCII\n" "HEX" msgstr "" "ASCII\n" "HEX" #: ../data/glade/moserial.glade.h:35 msgid "Access Mode" msgstr "访问模式" #: ../data/glade/moserial.glade.h:36 msgid "Also known as RTS/CTS handshaking" msgstr "也称为 RTS/CTS " #: ../data/glade/moserial.glade.h:37 msgid "Also known as XON/XOFF handshaking" msgstr "也称为 XON/XOFF" #: ../data/glade/moserial.glade.h:38 msgid "Background Color" msgstr "背景颜色" #: ../data/glade/moserial.glade.h:39 msgid "Baud Rate" msgstr "波特率" #: ../data/glade/moserial.glade.h:40 msgid "" "CR+LF end\n" "CR end\n" "LF end\n" "TAB end\n" "ESC end\n" "No end" msgstr "" "CR+LF 结尾\n" "CR 结尾\n" "LF 结尾\n" "TAB 结尾\n" "ESC 结尾\n" "不追加" #: ../data/glade/moserial.glade.h:46 msgid "Connect" msgstr "连接" #: ../data/glade/moserial.glade.h:47 msgid "Data Bits" msgstr "数据位" #: ../data/glade/moserial.glade.h:48 msgid "Device" msgstr "设备" #: ../data/glade/moserial.glade.h:49 msgid "Disconnect" msgstr "断开" #: ../data/glade/moserial.glade.h:50 msgid "Display Font" msgstr "显示字体" #: ../data/glade/moserial.glade.h:51 msgid "Echo received data" msgstr "显示接受数据" #: ../data/glade/moserial.glade.h:52 msgid "Enable timeout after" msgstr "启用超时,时限" #: ../data/glade/moserial.glade.h:53 msgid "Error Correction Protocol" msgstr "误差校正协议" #: ../data/glade/moserial.glade.h:54 msgid "Filename required for XMODEM" msgstr "XMODEM 要求的文件名" #: ../data/glade/moserial.glade.h:55 msgid "Font Colour" msgstr "字体颜色" #: ../data/glade/moserial.glade.h:56 msgid "Handshake" msgstr "数据流控制" #: ../data/glade/moserial.glade.h:57 msgid "Hardware" msgstr "硬件" #: ../data/glade/moserial.glade.h:58 msgid "Help" msgstr "帮助" #: ../data/glade/moserial.glade.h:59 msgid "Highlight Color" msgstr "高亮" #: ../data/glade/moserial.glade.h:60 msgid "" "If this option is enabled, a recorded file will be opened immediately after " "it is saved, using the default application for the file type. The default " "application is defined by the desktop environment." msgstr "" "如果勾选该选项,记录文件将在保存后立即使用默认程序打开。默认的应用程序由桌面" "环境指定。" #: ../data/glade/moserial.glade.h:61 msgid "" "If this option is enabled, recording will be automatically stopped after an " "adjustable period of inactivity after receiving some data. That is, moserial " "will wait indefinitely to record the first data byte before activating the " "inactivity timer." msgstr "" "如果启用这个选项,接收到数据后一段时间不活动后将自动停止记录,时间是" "可以配置的。同时,moserial 在激活不活动计时器之前无限期等待记录第一个数据字" "节。" #: ../data/glade/moserial.glade.h:62 msgid "" "Incoming\n" "Outgoing\n" "Incoming and Outgoing" msgstr "" "输入\n" "输出\n" "输入和输出" #: ../data/glade/moserial.glade.h:65 msgid "Local Echo" msgstr "本地回显" #: ../data/glade/moserial.glade.h:66 msgid "" "None\n" "Odd\n" "Even\n" "Mark\n" "Space" msgstr "" "无\n" "奇校验\n" "偶校验\n" "标记\n" "空格" #: ../data/glade/moserial.glade.h:71 msgid "Normally disabled" msgstr "通常禁用" #: ../data/glade/moserial.glade.h:72 msgid "Open _Recent" msgstr "最近打开(_R)" #: ../data/glade/moserial.glade.h:73 msgid "Open/close port" msgstr "打开/关闭端口" #: ../data/glade/moserial.glade.h:74 msgid "Other preferences" msgstr "其他属性" #: ../data/glade/moserial.glade.h:75 msgid "Parity" msgstr "奇偶校验" #: ../data/glade/moserial.glade.h:76 msgid "Port Setup" msgstr "端口设置" #: ../data/glade/moserial.glade.h:77 msgid "Port configuration" msgstr "端口配置" #: ../data/glade/moserial.glade.h:78 msgid "Preferences" msgstr "属性" #: ../data/glade/moserial.glade.h:79 msgid "" "Read and Write\n" "Read Only\n" "Write Only" msgstr "" "读写\n" "只读\n" "只写" #: ../data/glade/moserial.glade.h:82 msgid "Receive File" msgstr "接收文件" #: ../data/glade/moserial.glade.h:83 msgid "Receive File Progress" msgstr "接收文件进度" #: ../data/glade/moserial.glade.h:84 msgid "Receive a file" msgstr "接收一个文件" #: ../data/glade/moserial.glade.h:85 msgid "Received ASCII" msgstr "接收到的信息(ASCII)" #: ../data/glade/moserial.glade.h:86 msgid "Received HEX" msgstr "接收到的信息(HEX)" #: ../data/glade/moserial.glade.h:87 msgid "Record" msgstr "记录" #: ../data/glade/moserial.glade.h:88 msgid "Record Incoming and/or Outgoing Data" msgstr "记录输入输出数据" #: ../data/glade/moserial.glade.h:89 msgid "Record sent and/or received data" msgstr "记录发送接收数据" #: ../data/glade/moserial.glade.h:90 msgid "Save Settings _As" msgstr "保存设置为(_A)" #: ../data/glade/moserial.glade.h:91 msgid "Select File to Send" msgstr "选择需要发送的文件" #: ../data/glade/moserial.glade.h:92 msgid "Select Folder for Received Files" msgstr "选择接受文件的目录" #: ../data/glade/moserial.glade.h:93 msgid "Send" msgstr "发送" #: ../data/glade/moserial.glade.h:94 msgid "Send File" msgstr "发送文件" #: ../data/glade/moserial.glade.h:95 msgid "Send File Progress" msgstr "发送文件进度" #: ../data/glade/moserial.glade.h:96 msgid "Send a file" msgstr "发送一个文件" #: ../data/glade/moserial.glade.h:97 msgid "Send the outgoing data now." msgstr "现在发送输出栏数据" #: ../data/glade/moserial.glade.h:98 msgid "Sent ASCII" msgstr "发送的信息(ASCII)" #: ../data/glade/moserial.glade.h:99 msgid "Sent HEX" msgstr "发送的信息(HEX)" #: ../data/glade/moserial.glade.h:100 msgid "Software" msgstr "软件" #: ../data/glade/moserial.glade.h:101 msgid "Stop Bits" msgstr "停止位" #: ../data/glade/moserial.glade.h:102 msgid "Stop Recording" msgstr "停止记录" #: ../data/glade/moserial.glade.h:103 msgid "Stream to record" msgstr "记录数据" #: ../data/glade/moserial.glade.h:104 msgid "Type outgoing data here. Press Enter or Send to send it." msgstr "在这里显示输出的数据。按回车或发送键发送数据。" #: ../data/glade/moserial.glade.h:105 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem" #: ../data/glade/moserial.glade.h:108 msgid "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" msgstr "" "Xmodem\n" "Ymodem\n" "Zmodem\n" "None (straight binary)" #: ../data/glade/moserial.glade.h:112 msgid "_Contents" msgstr "内容(_C)" #: ../data/glade/moserial.glade.h:113 msgid "_Edit" msgstr "编辑(_E)" #: ../data/glade/moserial.glade.h:114 msgid "_File" msgstr "文件(_F)" #: ../data/glade/moserial.glade.h:115 msgid "_Help" msgstr "帮助(_H)" #: ../data/glade/moserial.glade.h:116 msgid "_Launch recorded files" msgstr "打开记录的文件(_L)" #: ../data/glade/moserial.glade.h:117 msgid "_Open Settings" msgstr "打开设置(_O)" #: ../data/glade/moserial.glade.h:118 msgid "_Save Settings" msgstr "保存设置(_S)" #: ../data/glade/moserial.glade.h:119 msgid "_Use the system fixed width font" msgstr "使用系统的等宽字体(_U)" #: ../data/glade/moserial.glade.h:120 msgid "moserial" msgstr "moserial" #: ../data/glade/moserial.glade.h:121 msgid "seconds" msgstr "秒" #: ../data/moserial.desktop.in.h:1 msgid "A serial terminal optimized for logging and file capture" msgstr "为登录和文件获取专门优化的串行终端" #: ../data/moserial.desktop.in.h:2 msgid "Serial Terminal" msgstr "串口终端" #: ../data/moserial.desktop.in.h:3 msgid "moserial Terminal" msgstr "moserial 终端" #: ../src/MainWindow.vala:30 msgid "translator-credits" msgstr "" "微尘 , 2010\n" "YunQiang Su , 2010" #: ../src/MainWindow.vala:32 msgid "" "moserial is free software: you can redistribute it and/or modify it under " "the terms of the GNU General Public License as published by the Free " "Software Foundation, either version 3 of the License, or (at your option) " "any later version.\n" msgstr "" "moserial 是自由软件;您可以按照自由软件基金会所发表的 GNU GPL 协议自由发放和/" "或修改它;GPL 协议应该采用第三版或以后的任何版本。\n" #: ../src/MainWindow.vala:33 msgid "" "moserial is distributed in the hope that it will be useful, but WITHOUT ANY " "WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS " "FOR A PARTICULAR PURPOSE. See the GNU General Public License for more " "details.\n" msgstr "" "moserial 发表的目的是希望它能够对您有用,但我们没有任何保证;对于以任何用途使" "用它所造成的任何直接或间接后果都不承担任何责任。请参看GNU GPL 协议中的细" "节。\n" #: ../src/MainWindow.vala:34 msgid "" "You should have received a copy of the GNU General Public License along with " "this program. If not, see ." msgstr "" "您应该在收到 Nautilus 的同时收到了 GNU GPL 协议的副本;如果您没有收到的话,请" "访问 。" #: ../src/MainWindow.vala:166 msgid "TX: 0, RX: 0" msgstr "发送:0,接收:0" #: ../src/MainWindow.vala:532 ../src/Profile.vala:76 ../src/Profile.vala:107 #, c-format msgid "Error: Could not open file" msgstr "错误,不能打开文件" #: ../src/MainWindow.vala:605 #, c-format msgid "Error: Could not open device" msgstr "错误:不能打开设备" #: ../src/MainWindow.vala:727 #, c-format msgid "Unable to display help file: %s" msgstr "不能显示帮助文件:%s" #: ../src/MainWindow.vala:739 msgid "" "A serial terminal for the GNOME desktop, optimized for logging and file " "capture." msgstr "GNOME桌面环境的串行终端,优化记录与文件捕获。" #: ../src/MainWindow.vala:753 #, c-format msgid "Can't display a clickable URL: %s" msgstr "无法显示可点击的 URL:%s" #: ../src/MainWindow.vala:800 msgid "" "You have changed your setting or preferences. Do you want to save these " "changes to the loaded profile?" msgstr "您已经更改了设置。您想要保存它到引导配置文件吗?" #. TRANSLATORS: first letter of "None", a serial port parity setting #: ../src/Settings.vala:68 msgid "N" msgstr "N" #. TRANSLATORS: first letter of "Odd", a serial port parity setting #: ../src/Settings.vala:72 msgid "O" msgstr "O" #. TRANSLATORS: first letter of "Even", a serial port parity setting #: ../src/Settings.vala:76 msgid "E" msgstr "E" #. TRANSLATORS: first letter of "Mark", a serial port parity setting #: ../src/Settings.vala:80 msgid "M" msgstr "M" #. TRANSLATORS: first letter of "Space", a serial port parity setting #: ../src/Settings.vala:84 msgid "S" msgstr "S" #: ../src/Settings.vala:94 msgid "OPEN" msgstr "连接" #: ../src/Settings.vala:95 msgid "CLOSED" msgstr "断开" #: ../src/Main.vala:26 msgid "Profile file to load" msgstr "加载的配置文件" #: ../src/Main.vala:36 #, c-format msgid "" "Failed to load UI\n" "%s" msgstr "" "载入界面失败\n" "%s" #: ../src/Main.vala:52 msgid "- moserial serial terminal" msgstr "- moserial 串行终端" #: ../src/Main.vala:57 ../src/Main.vala:65 #, c-format msgid "Run '%s --help' to see a full list of available command line options.\n" msgstr "运行 '%s --help' 可以查看完整的命令选项。\n" #: ../src/Preferences.vala:66 #, c-format msgid "Unable to retrieve gconf key: %s" msgstr "无法检索 gconf 键:%s" #: ../src/SendProgressDialog.vala:43 msgid "Waiting for remote host" msgstr "等待远程主机" #: ../src/SerialConnection.vala:301 #, c-format msgid "TX: %lu, RX: %lu (%lu unprintable)" msgstr "发送:%lu,接收:%lu (%lu 无法显示)" #: ../src/SerialConnection.vala:303 #, c-format msgid "TX: %lu, RX: %lu" msgstr "发送:%lu,接收:%lu" #: ../src/SerialStreamRecorder.vala:52 ../src/SerialStreamRecorder.vala:73 #, c-format msgid "error: %s\n" msgstr "错误: %s\n" #: ../src/SerialStreamRecorder.vala:82 #, c-format msgid "Unable to launch %s: %s" msgstr "无法启动 %s: %s" #: ../src/Szwrapper.vala:173 msgid "canceled" msgstr "取消" #: ../src/InputParser.vala:45 ../src/InputParser.vala:52 #: ../src/InputParser.vala:58 msgid "Invalid Input" msgstr "无效的输入" moserial-3.0.8/po/ChangeLog0000674000213200021320000000061512064144713012443 000000000000002009-04-12 Jorge Gonzalez * es.po: Updated Spanish translation by Roby Sottini 2009-03-19 Jorge Gonzalez * es.po: Added Spanish translation * LINGUAS: Added es 2009-03-13 Hendrik Brandt * de.po: Added German translation. 2009-03-08 Daniel Nylander * sv.po: Added Swedish translation. moserial-3.0.8/po/POTFILES.skip0000674000213200021320000000122612064144713013005 00000000000000src/AutoScroll.c src/DefaultPaths.c src/HexTextBuffer.c src/InputParser.c src/Main.c src/MainWindow.c src/MoUtils.c src/Preferences.c src/PreferencesDialog.c src/Profile.c src/ReceiveChooserDialog.c src/ReceiveProgressDialog.c src/RecordDialog.c src/Rzwrapper.c src/SendChooserDialog.c src/SendProgressDialog.c src/SerialConnection.c src/SerialStreamRecorder.c src/Settings.c src/SettingsDialog.c src/Szwrapper.c src/XmodemFilenameDialog.c src/AutoScroll.vala src/DefaultPaths.vala src/HexTextBuffer.vala src/MoUtils.vala src/ReceiveChooserDialog.vala src/ReceiveProgressDialog.vala src/RecordDialog.vala src/SendChooserDialog.vala src/XmodemFilenameDialog.vala moserial-3.0.8/po/LINGUAS0000674000213200021320000000015112064144713011711 00000000000000# please keep this list sorted alphabetically # ca cs da de el es fr gl ja ko nb pl pt_BR ro sl sv zh_CN moserial-3.0.8/doc/0000775000213200021320000000000012064144713011075 500000000000000moserial-3.0.8/doc/moserial.omf.in0000644000213200021320000000046512064144713013743 00000000000000 user's guide moserial-3.0.8/doc/sv/0000775000213200021320000000000012064144712011524 500000000000000moserial-3.0.8/doc/sv/sv.po0000644000213200021320000005257512064144712012450 00000000000000msgid "" msgstr "" "Project-Id-Version: moserial doc\n" "POT-Creation-Date: 2009-03-16 20:28+0000\n" "PO-Revision-Date: 2009-03-16 23:04+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: C/moserial.xml:19(title) msgid "moserial Manual V1.0.0" msgstr "Handbok för moserial v1.0.0" #: C/moserial.xml:21(year) msgid "2009" msgstr "2009" #: C/moserial.xml:22(holder) #: C/moserial.xml:59(para) msgid "Michael J. Chudobiak" msgstr "Michael J. Chudobiak" #: C/moserial.xml:38(publishername) #: C/moserial.xml:60(para) msgid "GNOME Documentation Project" msgstr "Dokumentationsprojekt för GNOME" #: C/moserial.xml:2(para) msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual." msgstr "Tillstånd att kopiera, distribuera och/eller modifiera detta dokument ges under villkoren i GNU Free Documentation License (GFDL), version 1.1 eller senare, utgivet av Free Software Foundation utan standardavsnitt och omslagstexter. En kopia av GFDL finns att hämta på denna länk eller i filen COPYING-DOCS som medföljer denna handbok." #: C/moserial.xml:12(para) msgid "This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to distribute this manual separately from the collection, you can do so by adding a copy of the license to the manual, as described in section 6 of the license." msgstr "Denna handbok utgör en av flera GNOME-handböcker som distribueras under villkoren i GFDL. Om du vill distribuera denna handbok separat från övriga handböcker kan du göra detta genom att lägga till en kopia av licensavtalet i handboken enligt instruktionerna i avsnitt 6 i licensavtalet." #: C/moserial.xml:19(para) msgid "Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and the members of the GNOME Documentation Project are made aware of those trademarks, then the names are in capital letters or initial capital letters." msgstr "Flera namn på produkter och tjänster är registrerade varumärken. I de fall dessa namn förekommer i GNOME-dokumentation - och medlemmarna i GNOME-dokumentationsprojektet är medvetna om dessa varumärken - är de skrivna med versaler eller med inledande versal." #: C/moserial.xml:35(para) msgid "DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND" msgstr "DOKUMENTET TILLHANDAHÅLLS I \"BEFINTLIGT SKICK\" UTAN NÅGRA SOM HELST GARANTIER, VARE SIG UTTRYCKLIGA ELLER UNDERFÖRSTÅDDA, INKLUSIVE, MEN INTE BEGRÄNSAT TILL, GARANTIER ATT DOKUMENTET ELLER EN MODIFIERAD VERSION AV DOKUMENTET INTE INNEHÅLLER NÅGRA FELAKTIGHETER, ÄR LÄMPLIGT FÖR ETT VISST ÄNDAMÅL ELLER INTE STRIDER MOT LAG. HELA RISKEN VAD GÄLLER KVALITET, EXAKTHET OCH UTFÖRANDE AV DOKUMENTET OCH MODIFIERADE VERSIONER AV DOKUMENTET LIGGER HELT OCH HÅLLET PÅ ANVÄNDAREN. OM ETT DOKUMENT ELLER EN MODIFIERAD VERSION AV ETT DOKUMENT SKULLE VISA SIG INNEHÅLLA FELAKTIGHETER I NÅGOT HÄNSEENDE ÄR DET DU (INTE DEN URSPRUNGLIGA SKRIBENTEN, FÖRFATTAREN ELLER NÅGON ANNAN MEDARBETARE) SOM FÅR STÅ FÖR ALLA EVENTUELLA KOSTNADER FÖR SERVICE, REPARATIONER ELLER KORRIGERINGAR. DENNA GARANTIFRISKRIVNING UTGÖR EN VÄSENTLIG DEL AV DETTA LICENSAVTAL. DETTA INNEBÄR ATT ALL ANVÄNDNING AV ETT DOKUMENT ELLER EN MODIFIERAD VERSION AV ETT DOKUMENT BEVILJAS ENDAST UNDER DENNA ANSVARSFRISKRIVNING;" #: C/moserial.xml:55(para) msgid "UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES." msgstr "UNDER INGA OMSTÄNDIGHETER ELLER INOM RAMEN FÖR NÅGON LAGSTIFTNING, OAVSETT OM DET GÄLLER KRÄNKNING (INKLUSIVE VÅRDSLÖSHET), KONTRAKT ELLER DYLIKT, SKA FÖRFATTAREN, DEN URSPRUNGLIGA SKRIBENTEN ELLER ANNAN MEDARBETARE ELLER ÅTERFÖRSÄLJARE AV DOKUMENTET ELLER AV EN MODIFIERAD VERSION AV DOKUMENTET ELLER NÅGON LEVERANTÖR TILL NÅGON AV NÄMNDA PARTER STÄLLAS ANSVARIG GENTEMOT NÅGON FÖR NÅGRA DIREKTA, INDIREKTA, SÄRSKILDA ELLER OFÖRUTSEDDA SKADOR ELLER FÖLJDSKADOR AV NÅGOT SLAG, INKLUSIVE, MEN INTE BEGRÄNSAT TILL, SKADOR BETRÄFFANDE FÖRLORAD GOODWILL, HINDER I ARBETET, DATORHAVERI ELLER NÅGRA ANDRA TÄNKBARA SKADOR ELLER FÖRLUSTER SOM KAN UPPKOMMA PÅ GRUND AV ELLER RELATERAT TILL ANVÄNDNINGEN AV DOKUMENTET ELLER MODIFIERADE VERSIONER AV DOKUMENTET, ÄVEN OM PART SKA HA BLIVIT INFORMERAD OM MÖJLIGHETEN TILL SÅDANA SKADOR." #: C/moserial.xml:28(para) msgid "DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: " msgstr "DOKUMENTET OCH MODIFIERADE VERSIONER AV DOKUMENTET TILLHANDAHÅLLS UNDER VILLKOREN I GNU FREE DOCUMENTATION LICENSE ENDAST UNDER FÖLJANDE FÖRUTSÄTTNINGAR: " #: C/moserial.xml:45(firstname) msgid "Michael" msgstr "Michael" #: C/moserial.xml:46(surname) msgid "Chudobiak" msgstr "Chudobiak" #: C/moserial.xml:48(email) msgid "mjc@svn.gnome.org" msgstr "mjc@svn.gnome.org" #: C/moserial.xml:56(revnumber) msgid "1.0.0" msgstr "1.0.0" #: C/moserial.xml:57(date) msgid "February 2009" msgstr "Februari 2009" #. this is version of manual, not application #: C/moserial.xml:67(releaseinfo) msgid "This is manual describes version 1.0.0 of moserial" msgstr "Denna handbok beskriver version 1.0.0 av moserial" #: C/moserial.xml:70(para) msgid "moserial is a serial terminal for the GNOME desktop, optimized for logging and file capture." msgstr "moserial är en seriell terminal för GNOME-skrivbordet, optimerad för loggning och filfångst." #: C/moserial.xml:74(primary) msgid "moserial" msgstr "moserial" #: C/moserial.xml:77(primary) msgid "serial" msgstr "serie" #: C/moserial.xml:80(secondary) msgid "terminal" msgstr "terminal" #: C/moserial.xml:88(title) msgid "Introduction" msgstr "Introduktion" #: C/moserial.xml:89(para) msgid "moserial is a serial terminal for the GNOME desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to communicate with embedded systems, consoles, and electronic test equipment." msgstr "moserial är en seriell terminal för GNOME-skrivbordet, optimerad för loggning och filfångst. moserial är primärt tänkt för tekniska användare som behöver kommunicera med inbäddade system, konsoller och elektronisk testutrustning." #: C/moserial.xml:95(para) msgid "Despite the technical orientation of the intended audience, moserial is designed to be user-friendly. Care has been taken to ensure that operations are simple to execute, by minimizing the number of clicks needed. The number of configuration options has also been kept small." msgstr "" #: C/moserial.xml:102(para) msgid "To further improve efficiency, moserial also supports profile files to store frequently-used configurations." msgstr "" #: C/moserial.xml:109(title) msgid "System Port Permissions" msgstr "" #: C/moserial.xml:110(para) msgid "Before using moserial with a serial port, you need to make sure that you actually have permission to read and/or write to the port." msgstr "" #: C/moserial.xml:114(para) msgid "There are a number of ways this is done on a Linux system. On Fedora 10, you may need to use the PolicyKit tool, invoked using SystemPreferencesSystemAuthorizations. Then, navigate to the orgfreedesktopdevice-accessDirectly access serial modem devices, and click edit. Set Anyone: to \"Yes\"." msgstr "" #: C/moserial.xml:129(title) msgid "Serial Port Authorizations on Fedora 10" msgstr "" #: C/moserial.xml:132(para) msgid "On some systems, you may need to do something like \"sudo chmod o+rw /dev/ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write permissions (for all users) on the serial ports." msgstr "" #: C/moserial.xml:136(para) msgid "Alternatively, you can see what group the devices belong to, and make your account a member of that group." msgstr "" #: C/moserial.xml:143(title) msgid "Basic Usage" msgstr "" #: C/moserial.xml:145(title) msgid "The Main Toolbar" msgstr "" #: C/moserial.xml:146(para) msgid "Most moserial functions are accessed through the main toolbar, shown below:" msgstr "" #: C/moserial.xml:154(title) msgid "Port Setup" msgstr "" #: C/moserial.xml:155(para) msgid "The first step in using moserial is to configure the serial port parameters. Click Port Setup to do this. In the port setup dialog, you will set the port to use, whether the port should be open for reads, writes, or both, its baud rate, its parity, the number of data and stop bits, and the handshaking method. The settings specified in this dialog will override any system default settings for the port." msgstr "" #: C/moserial.xml:163(para) msgid "The moserial port setup dialog will only list the /dev/ttySnn and /dev/ttyUSBnn ports that actually exist on the system, for values of \"nn\" between 0 and 31." msgstr "" #: C/moserial.xml:167(para) msgid "A local echo can be enabled from this dialog. If enabled, all data that moserial receives will be echoed back to the sending device. This should normally be disabled, as it can cause unexpected behaviour, especially if the remote device also has echo enabled. (This would cause an infinite loop of echoes!)" msgstr "" #: C/moserial.xml:178(title) msgid "Open the Connection" msgstr "Öppna anslutningen" #: C/moserial.xml:179(para) msgid "The next step in communicating with your remote device is to click Connect. This opens the port. If you do not have the necessary privileges to open the port, an error will be reported." msgstr "" #: C/moserial.xml:187(para) msgid "This step is optional. If you skip it, moserial will try to connect automatically when needed." msgstr "" #: C/moserial.xml:191(para) msgid "Once you have connected, the Connect button will change into a Disconnect button. Clicking Disconnect closes the port, and resets the TX and RX counters." msgstr "" #: C/moserial.xml:202(title) msgid "Basic Input and Output" msgstr "" #: C/moserial.xml:203(para) msgid "Once the port has been opened, any text received from the remote device will be displayed in the Received ASCII text area. If moserial detects a large number of unprintable characters, it will switch automatically to the Received HEX view." msgstr "" #: C/moserial.xml:213(para) msgid "To switch between HEX and ASCII views, simply click on the appropriate tabs." msgstr "" #: C/moserial.xml:217(para) msgid "To send data to the remote device, you can type text into the Outgoing single-line text box, and click the Send button. Your line of text will be terminated with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, start with \"CR+LF end\". The ASCII/HEX button should be set to ASCII to send text." msgstr "" #: C/moserial.xml:230(para) msgid "If the ASCII/HEX button is set to HEX, do not enter text in the Outgoing area. Instead, enter hexadecimal numbers in the form \"1234ABCD....\"." msgstr "" #: C/moserial.xml:235(para) msgid "Once your data has been transmitted, a record of it will exist in the Sent ASCII and Sent HEX text areas. These text areas are not editable." msgstr "" #: C/moserial.xml:243(para) msgid "The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII text area, it will highlight the echoed text (using the highlight color defined in the preferences dialog)." msgstr "" #: C/moserial.xml:249(para) msgid "The statusbar at the bottom of the main window shows the state of port, and a count of the sent (TX) and received (RX) bytes. If some of the received data is unprintable, a count of these items is shown as well." msgstr "" #: C/moserial.xml:261(title) msgid "Recording Input and Output" msgstr "" #: C/moserial.xml:262(para) msgid "moserial can be used to record your sent and received data to a file. This function is also useful for receiving and storing straight binary data dumped from a remote device. For instance, some oscilloscopes will dump screenshots to a serial port, without using any error correction protocols (like the Tektronix 11801)." msgstr "" #: C/moserial.xml:272(para) msgid "When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in the Stream to Record selection box, and enter the filename in the filechooser area." msgstr "" #: C/moserial.xml:281(para) msgid "When recording begins, the Record button will change into a Stop Recording button. You will need to click this when you wish to stop recording, or you have received the entire binary file that you wanted to download." msgstr "" #: C/moserial.xml:290(para) msgid "moserial can optionally launch the recorded file with the default application for its file type, when recording has finished. It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these features." msgstr "" #: C/moserial.xml:297(para) msgid "Note that if you wish to receive files using an error correction protocol (xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the Record function, the Receive File function can automatically determine when the file download is complete." msgstr "" #: C/moserial.xml:310(title) msgid "Sending Files" msgstr "Skicka filer" #: C/moserial.xml:311(para) msgid "moserial can transmit files in a straight binary data stream, and it can also send files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the sent data is not logged to the Sent ASCII or Sent HEX text areas." msgstr "" #: C/moserial.xml:321(para) msgid "When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select the appropriate protocol below." msgstr "" #: C/moserial.xml:329(para) msgid "When recording begins, a progress bar will display the status of the file transmission." msgstr "" #: C/moserial.xml:336(para) #: C/moserial.xml:379(para) msgid "moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system." msgstr "" #: C/moserial.xml:345(title) msgid "Receiving Files" msgstr "Ta emot filer" #: C/moserial.xml:346(para) msgid "moserial can receive files sent in a straight binary data stream, and it can also receive files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the received data is not logged to the Sent ASCII or Sent HEX text areas." msgstr "" #: C/moserial.xml:353(para) msgid "To receive straight binary data streams, use the Record function instead of the Receive File function." msgstr "" #: C/moserial.xml:357(para) msgid "To receive files sent with the xmodem, ymodem, or zmodem error correction protocols, using the Receive File function." msgstr "" #: C/moserial.xml:364(para) msgid "When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need to select the appropriate protocol below." msgstr "" #: C/moserial.xml:372(para) msgid "When recording begins, a progress bar will display the status of the file reception." msgstr "" #: C/moserial.xml:388(title) msgid "Other Preferences" msgstr "" #: C/moserial.xml:389(para) msgid "moserial has several options that can be configured from the Preferences dialog." msgstr "" #: C/moserial.xml:396(para) msgid "The color of the text area foreground, background, and highlighting can be configured, as can the font type and size." msgstr "" #: C/moserial.xml:400(para) msgid "If Launch recorded files is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment." msgstr "" #: C/moserial.xml:405(para) msgid "If Enable timeout is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer." msgstr "" #: C/moserial.xml:414(title) msgid "Using Profiles" msgstr "" #: C/moserial.xml:415(para) msgid "moserial can load and save its settings from profile files, so that you can store and recall commonly used configurations. To save a profile, simply use the FileSave or FileSave As dialogs. To load a profile, use the FileOpen dialog." msgstr "" #: C/moserial.xml:424(para) msgid "Loading a profile will automatically disconnect any connected port." msgstr "" #: C/moserial.xml:427(para) msgid "When you quit moserial, the settings currently in use are stored in a default profile file. These settings will automatically be recalled the next time you launch moserial." msgstr "" #: C/moserial.xml:435(title) msgid "Special Keys" msgstr "" #: C/moserial.xml:436(para) msgid "Text can be copied from any of the text boxes using CtrlC." msgstr "" #: C/moserial.xml:440(para) msgid "Text can be cut from the Outgoing single-line text box using CtrlX." msgstr "" #: C/moserial.xml:444(para) msgid "Pressing CtrlV will paste the clipboard text into the Outgoing single-line text box, and move the focus to that text box." msgstr "" #: C/moserial.xml:449(para) msgid "Pressing Esc will move the focus to the Outgoing single-line text box." msgstr "" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2. #: C/moserial.xml:0(None) msgid "translator-credits" msgstr "Daniel Nylander , 2009" moserial-3.0.8/doc/sv/moserial.xml0000644000213200021320000005362112064144712014006 00000000000000 moserial"> ]>
<application>moserial</application> Manual V3.0.0 2009 Michael J. Chudobiak 2009Daniel Nylander (po@danielnylander.se) Dokumentationsprojekt för GNOME Tillstånd att kopiera, distribuera och/eller modifiera detta dokument ges under villkoren i GNU Free Documentation License (GFDL), version 1.1 eller senare, utgivet av Free Software Foundation utan standardavsnitt och omslagstexter. En kopia av GFDL finns att hämta på denna länk eller i filen COPYING-DOCS som medföljer denna handbok. Denna handbok utgör en av flera GNOME-handböcker som distribueras under villkoren i GFDL. Om du vill distribuera denna handbok separat från övriga handböcker kan du göra detta genom att lägga till en kopia av licensavtalet i handboken enligt instruktionerna i avsnitt 6 i licensavtalet. Flera namn på produkter och tjänster är registrerade varumärken. I de fall dessa namn förekommer i GNOME-dokumentation - och medlemmarna i GNOME-dokumentationsprojektet är medvetna om dessa varumärken - är de skrivna med versaler eller med inledande versal. DOKUMENTET OCH MODIFIERADE VERSIONER AV DOKUMENTET TILLHANDAHÅLLS UNDER VILLKOREN I GNU FREE DOCUMENTATION LICENSE ENDAST UNDER FÖLJANDE FÖRUTSÄTTNINGAR: DOKUMENTET TILLHANDAHÅLLS I "BEFINTLIGT SKICK" UTAN NÅGRA SOM HELST GARANTIER, VARE SIG UTTRYCKLIGA ELLER UNDERFÖRSTÅDDA, INKLUSIVE, MEN INTE BEGRÄNSAT TILL, GARANTIER ATT DOKUMENTET ELLER EN MODIFIERAD VERSION AV DOKUMENTET INTE INNEHÅLLER NÅGRA FELAKTIGHETER, ÄR LÄMPLIGT FÖR ETT VISST ÄNDAMÅL ELLER INTE STRIDER MOT LAG. HELA RISKEN VAD GÄLLER KVALITET, EXAKTHET OCH UTFÖRANDE AV DOKUMENTET OCH MODIFIERADE VERSIONER AV DOKUMENTET LIGGER HELT OCH HÅLLET PÅ ANVÄNDAREN. OM ETT DOKUMENT ELLER EN MODIFIERAD VERSION AV ETT DOKUMENT SKULLE VISA SIG INNEHÅLLA FELAKTIGHETER I NÅGOT HÄNSEENDE ÄR DET DU (INTE DEN URSPRUNGLIGA SKRIBENTEN, FÖRFATTAREN ELLER NÅGON ANNAN MEDARBETARE) SOM FÅR STÅ FÖR ALLA EVENTUELLA KOSTNADER FÖR SERVICE, REPARATIONER ELLER KORRIGERINGAR. DENNA GARANTIFRISKRIVNING UTGÖR EN VÄSENTLIG DEL AV DETTA LICENSAVTAL. DETTA INNEBÄR ATT ALL ANVÄNDNING AV ETT DOKUMENT ELLER EN MODIFIERAD VERSION AV ETT DOKUMENT BEVILJAS ENDAST UNDER DENNA ANSVARSFRISKRIVNING; UNDER INGA OMSTÄNDIGHETER ELLER INOM RAMEN FÖR NÅGON LAGSTIFTNING, OAVSETT OM DET GÄLLER KRÄNKNING (INKLUSIVE VÅRDSLÖSHET), KONTRAKT ELLER DYLIKT, SKA FÖRFATTAREN, DEN URSPRUNGLIGA SKRIBENTEN ELLER ANNAN MEDARBETARE ELLER ÅTERFÖRSÄLJARE AV DOKUMENTET ELLER AV EN MODIFIERAD VERSION AV DOKUMENTET ELLER NÅGON LEVERANTÖR TILL NÅGON AV NÄMNDA PARTER STÄLLAS ANSVARIG GENTEMOT NÅGON FÖR NÅGRA DIREKTA, INDIREKTA, SÄRSKILDA ELLER OFÖRUTSEDDA SKADOR ELLER FÖLJDSKADOR AV NÅGOT SLAG, INKLUSIVE, MEN INTE BEGRÄNSAT TILL, SKADOR BETRÄFFANDE FÖRLORAD GOODWILL, HINDER I ARBETET, DATORHAVERI ELLER NÅGRA ANDRA TÄNKBARA SKADOR ELLER FÖRLUSTER SOM KAN UPPKOMMA PÅ GRUND AV ELLER RELATERAT TILL ANVÄNDNINGEN AV DOKUMENTET ELLER MODIFIERADE VERSIONER AV DOKUMENTET, ÄVEN OM PART SKA HA BLIVIT INFORMERAD OM MÖJLIGHETEN TILL SÅDANA SKADOR. Michael Chudobiak
mjc@svn.gnome.org
3.0.0 April 2009 Michael J. Chudobiak Dokumentationsprojekt för GNOME This is manual describes version 3.0.0 of moserial moserial är en seriell terminal för GNOME-skrivbordet, optimerad för loggning och filfångst.
moserial serie terminal Introduktion moserial är en seriell terminal för GNOME-skrivbordet, optimerad för loggning och filfångst. moserial är primärt tänkt för tekniska användare som behöver kommunicera med inbäddade system, konsoller och elektronisk testutrustning. Despite the technical orientation of the intended audience, moserial is designed to be user-friendly. Care has been taken to ensure that operations are simple to execute, by minimizing the number of clicks needed. The number of configuration options has also been kept small. To further improve efficiency, moserial also supports profile files to store frequently-used configurations. System Port Permissions Before using moserial with a serial port, you need to make sure that you actually have permission to read and/or write to the port. On some systems, you may need to do something like "sudo chmod o+rw /dev/ttyS*" and "sudo chmod o+rw /dev/ttyUSB*" to obtain read/write permissions (for all users) on the serial ports. Unfortunately, this may not be persistent after reboots. Alternatively, you can see what group the devices belong to, and make your account a member of that group. In Fedora 15, for example, you should add yourself to the "dialout" group. Basic Usage The Main Toolbar Most moserial functions are accessed through the main toolbar, shown below: Port Setup The first step in using moserial is to configure the serial port parameters. Click Port Setup to do this. In the port setup dialog, you will set the port to use, whether the port should be open for reads, writes, or both, its baud rate, its parity, the number of data and stop bits, and the handshaking method. The settings specified in this dialog will override any system default settings for the port. The moserial port setup dialog will only list the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist on the system, for values of "nn" between 0 and 31. A local echo can be enabled from this dialog. If enabled, all data that moserial receives will be echoed back to the sending device. This should normally be disabled, as it can cause unexpected behaviour, especially if the remote device also has echo enabled. (This would cause an infinite loop of echoes!) Öppna anslutningen The next step in communicating with your remote device is to click Connect. This opens the port. If you do not have the necessary privileges to open the port, an error will be reported. This step is optional. If you skip it, moserial will try to connect automatically when needed. Once you have connected, the Connect button will change into a Disconnect button. Clicking Disconnect closes the port, and resets the TX and RX counters. Basic Input and Output Once the port has been opened, any text received from the remote device will be displayed in the Received ASCII text area. If moserial detects a large number of unprintable characters, it will switch automatically to the Received HEX view. To switch between HEX and ASCII views, simply click on the appropriate tabs. To send data to the remote device, you can type text into the Outgoing single-line text box, and click the Send button. Your line of text will be terminated with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, start with "CR+LF end". The ASCII/HEX button should be set to ASCII to send text. If the ASCII/HEX button is set to HEX, do not enter text in the Outgoing area. Instead, enter hexadecimal numbers in the form "1234ABCD....". Once your data has been transmitted, a record of it will exist in the Sent ASCII and Sent HEX text areas. These text areas are not editable. The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII text area, it will highlight the echoed text (using the highlight color defined in the preferences dialog). The statusbar at the bottom of the main window shows the state of port, and a count of the sent (TX) and received (RX) bytes. If some of the received data is unprintable, a count of these items is shown as well. Recording Input and Output moserial can be used to record your sent and received data to a file. This function is also useful for receiving and storing straight binary data dumped from a remote device. For instance, some oscilloscopes will dump screenshots to a serial port, without using any error correction protocols (like the Tektronix 11801). When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in the Stream to Record selection box, and enter the filename in the filechooser area. When recording begins, the Record button will change into a Stop Recording button. You will need to click this when you wish to stop recording, or you have received the entire binary file that you wanted to download. moserial can optionally launch the recorded file with the default application for its file type, when recording has finished. It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these features. Note that if you wish to receive files using an error correction protocol (xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the Record function, the Receive File function can automatically determine when the file download is complete. Skicka filer moserial can transmit files in a straight binary data stream, and it can also send files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the sent data is not logged to the Sent ASCII or Sent HEX text areas. When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select the appropriate protocol below. When recording begins, a progress bar will display the status of the file transmission. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. Ta emot filer moserial can receive files sent in a straight binary data stream, and it can also receive files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the received data is not logged to the Sent ASCII or Sent HEX text areas. To receive straight binary data streams, use the Record function instead of the Receive File function. To receive files sent with the xmodem, ymodem, or zmodem error correction protocols, using the Receive File function. When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need to select the appropriate protocol below. When recording begins, a progress bar will display the status of the file reception. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. Other Preferences moserial has several options that can be configured from the Preferences dialog. The color of the text area foreground, background, and highlighting can be configured, as can the font type and size. If Launch recorded files is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment. If Enable timeout is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer. Using Profiles moserial can load and save its settings from profile files, so that you can store and recall commonly used configurations. To save a profile, simply use the FileSave or FileSave As dialogs. To load a profile, use the FileOpen dialog. Loading a profile will automatically disconnect any connected port. When you quit moserial, the settings currently in use are stored in a default profile file. These settings will automatically be recalled the next time you launch moserial. Special Keys Special Keys Keyboard Shortcut Description CtrlC Copies text. This can be used in any of the text areas. CtrlX Cuts text. This only works in the Outgoing single-line text box. CtrlV Pastes text into the Outgoing single-line text box, and moves the focus to that text box. Esc Moves the focus to the Outgoing single-line text box.
moserial-3.0.8/doc/sl/0000775000213200021320000000000012064144712011512 500000000000000moserial-3.0.8/doc/sl/sl.po0000644000213200021320000004475012064144712012420 00000000000000# Slovenian translation for moserial help. # Copyright (C) 2010 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # # Ime Priimek , leto # msgid "" msgstr "" "Project-Id-Version: moserial help master\n" "POT-Creation-Date: 2010-09-26 22:50+0000\n" "PO-Revision-Date: 2010-10-22 08:15+0100\n" "Last-Translator: Matej Urbančič \n" "Language-Team: Slovenian GNOME Translation Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0);\n" "X-Poedit-Country: SLOVENIA\n" "X-Poedit-Language: Slovenian\n" "X-Poedit-SourceCharset: utf-8\n" #: C/moserial.xml:19(title) msgid "moserial Manual V2.26.0" msgstr "" #: C/moserial.xml:21(year) msgid "2009" msgstr "2009" #: C/moserial.xml:22(holder) #: C/moserial.xml:59(para) msgid "Michael J. Chudobiak" msgstr "Michael J. Chudobiak" #: C/moserial.xml:38(publishername) #: C/moserial.xml:60(para) msgid "GNOME Documentation Project" msgstr "" #: C/moserial.xml:2(para) msgid "Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual." msgstr "" #: C/moserial.xml:12(para) msgid "This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to distribute this manual separately from the collection, you can do so by adding a copy of the license to the manual, as described in section 6 of the license." msgstr "" #: C/moserial.xml:19(para) msgid "Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and the members of the GNOME Documentation Project are made aware of those trademarks, then the names are in capital letters or initial capital letters." msgstr "" #: C/moserial.xml:35(para) msgid "DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND" msgstr "" #: C/moserial.xml:55(para) msgid "UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES." msgstr "" #: C/moserial.xml:28(para) msgid "DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: " msgstr "" #: C/moserial.xml:45(firstname) msgid "Michael" msgstr "Michael" #: C/moserial.xml:46(surname) msgid "Chudobiak" msgstr "Chudobiak" #: C/moserial.xml:48(email) msgid "mjc@svn.gnome.org" msgstr "mjc@svn.gnome.org" #: C/moserial.xml:56(revnumber) msgid "2.26.0" msgstr "2.26.0" #: C/moserial.xml:57(date) msgid "April 2009" msgstr "" #. this is version of manual, not application #: C/moserial.xml:67(releaseinfo) msgid "This is manual describes version 2.26.0 of moserial" msgstr "" #: C/moserial.xml:70(para) msgid "moserial is a serial terminal for the GNOME desktop, optimized for logging and file capture." msgstr "" #: C/moserial.xml:74(primary) msgid "moserial" msgstr "moserial" #: C/moserial.xml:77(primary) msgid "serial" msgstr "serial" #: C/moserial.xml:80(secondary) msgid "terminal" msgstr "terminal" #: C/moserial.xml:88(title) msgid "Introduction" msgstr "Uvod" #: C/moserial.xml:89(para) msgid "moserial is a serial terminal for the GNOME desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to communicate with embedded systems, consoles, and electronic test equipment." msgstr "" #: C/moserial.xml:95(para) msgid "Despite the technical orientation of the intended audience, moserial is designed to be user-friendly. Care has been taken to ensure that operations are simple to execute, by minimizing the number of clicks needed. The number of configuration options has also been kept small." msgstr "" #: C/moserial.xml:102(para) msgid "To further improve efficiency, moserial also supports profile files to store frequently-used configurations." msgstr "" #: C/moserial.xml:109(title) msgid "System Port Permissions" msgstr "" #: C/moserial.xml:110(para) msgid "Before using moserial with a serial port, you need to make sure that you actually have permission to read and/or write to the port." msgstr "" #: C/moserial.xml:114(para) msgid "There are a number of ways this is done on a Linux system. On Fedora 10, you may need to use the PolicyKit tool, invoked using SystemPreferencesSystemAuthorizations. Then, navigate to the orgfreedesktopdevice-accessDirectly access serial modem devices, and click edit. Set Anyone: to \"Yes\"." msgstr "" #: C/moserial.xml:129(title) msgid "Serial Port Authorizations on Fedora 10" msgstr "" #: C/moserial.xml:132(para) msgid "On some systems, you may need to do something like \"sudo chmod o+rw /dev/ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write permissions (for all users) on the serial ports." msgstr "" #: C/moserial.xml:136(para) msgid "Alternatively, you can see what group the devices belong to, and make your account a member of that group." msgstr "" #: C/moserial.xml:143(title) msgid "Basic Usage" msgstr "" #: C/moserial.xml:145(title) msgid "The Main Toolbar" msgstr "" #: C/moserial.xml:146(para) msgid "Most moserial functions are accessed through the main toolbar, shown below:" msgstr "" #: C/moserial.xml:154(title) msgid "Port Setup" msgstr "" #: C/moserial.xml:155(para) msgid "The first step in using moserial is to configure the serial port parameters. Click Port Setup to do this. In the port setup dialog, you will set the port to use, whether the port should be open for reads, writes, or both, its baud rate, its parity, the number of data and stop bits, and the handshaking method. The settings specified in this dialog will override any system default settings for the port." msgstr "" #: C/moserial.xml:163(para) msgid "The moserial port setup dialog will only list the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist on the system, for values of \"nn\" between 0 and 31." msgstr "" #: C/moserial.xml:168(para) msgid "A local echo can be enabled from this dialog. If enabled, all data that moserial receives will be echoed back to the sending device. This should normally be disabled, as it can cause unexpected behaviour, especially if the remote device also has echo enabled. (This would cause an infinite loop of echoes!)" msgstr "" #: C/moserial.xml:179(title) msgid "Open the Connection" msgstr "" #: C/moserial.xml:180(para) msgid "The next step in communicating with your remote device is to click Connect. This opens the port. If you do not have the necessary privileges to open the port, an error will be reported." msgstr "" #: C/moserial.xml:188(para) msgid "This step is optional. If you skip it, moserial will try to connect automatically when needed." msgstr "" #: C/moserial.xml:192(para) msgid "Once you have connected, the Connect button will change into a Disconnect button. Clicking Disconnect closes the port, and resets the TX and RX counters." msgstr "" #: C/moserial.xml:203(title) msgid "Basic Input and Output" msgstr "" #: C/moserial.xml:204(para) msgid "Once the port has been opened, any text received from the remote device will be displayed in the Received ASCII text area. If moserial detects a large number of unprintable characters, it will switch automatically to the Received HEX view." msgstr "" #: C/moserial.xml:214(para) msgid "To switch between HEX and ASCII views, simply click on the appropriate tabs." msgstr "" #: C/moserial.xml:218(para) msgid "To send data to the remote device, you can type text into the Outgoing single-line text box, and click the Send button. Your line of text will be terminated with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, start with \"CR+LF end\". The ASCII/HEX button should be set to ASCII to send text." msgstr "" #: C/moserial.xml:231(para) msgid "If the ASCII/HEX button is set to HEX, do not enter text in the Outgoing area. Instead, enter hexadecimal numbers in the form \"1234ABCD....\"." msgstr "" #: C/moserial.xml:236(para) msgid "Once your data has been transmitted, a record of it will exist in the Sent ASCII and Sent HEX text areas. These text areas are not editable." msgstr "" #: C/moserial.xml:244(para) msgid "The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII text area, it will highlight the echoed text (using the highlight color defined in the preferences dialog)." msgstr "" #: C/moserial.xml:250(para) msgid "The statusbar at the bottom of the main window shows the state of port, and a count of the sent (TX) and received (RX) bytes. If some of the received data is unprintable, a count of these items is shown as well." msgstr "" #: C/moserial.xml:262(title) msgid "Recording Input and Output" msgstr "" #: C/moserial.xml:263(para) msgid "moserial can be used to record your sent and received data to a file. This function is also useful for receiving and storing straight binary data dumped from a remote device. For instance, some oscilloscopes will dump screenshots to a serial port, without using any error correction protocols (like the Tektronix 11801)." msgstr "" #: C/moserial.xml:273(para) msgid "When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in the Stream to Record selection box, and enter the filename in the filechooser area." msgstr "" #: C/moserial.xml:282(para) msgid "When recording begins, the Record button will change into a Stop Recording button. You will need to click this when you wish to stop recording, or you have received the entire binary file that you wanted to download." msgstr "" #: C/moserial.xml:291(para) msgid "moserial can optionally launch the recorded file with the default application for its file type, when recording has finished. It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these features." msgstr "" #: C/moserial.xml:298(para) msgid "Note that if you wish to receive files using an error correction protocol (xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the Record function, the Receive File function can automatically determine when the file download is complete." msgstr "" #: C/moserial.xml:311(title) msgid "Sending Files" msgstr "" #: C/moserial.xml:312(para) msgid "moserial can transmit files in a straight binary data stream, and it can also send files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the sent data is not logged to the Sent ASCII or Sent HEX text areas." msgstr "" #: C/moserial.xml:322(para) msgid "When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select the appropriate protocol below." msgstr "" #: C/moserial.xml:330(para) msgid "When recording begins, a progress bar will display the status of the file transmission." msgstr "" #: C/moserial.xml:337(para) #: C/moserial.xml:380(para) msgid "moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system." msgstr "" #: C/moserial.xml:346(title) msgid "Receiving Files" msgstr "" #: C/moserial.xml:347(para) msgid "moserial can receive files sent in a straight binary data stream, and it can also receive files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the received data is not logged to the Sent ASCII or Sent HEX text areas." msgstr "" #: C/moserial.xml:354(para) msgid "To receive straight binary data streams, use the Record function instead of the Receive File function." msgstr "" #: C/moserial.xml:358(para) msgid "To receive files sent with the xmodem, ymodem, or zmodem error correction protocols, using the Receive File function." msgstr "" #: C/moserial.xml:365(para) msgid "When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need to select the appropriate protocol below." msgstr "" #: C/moserial.xml:373(para) msgid "When recording begins, a progress bar will display the status of the file reception." msgstr "" #: C/moserial.xml:389(title) msgid "Other Preferences" msgstr "" #: C/moserial.xml:390(para) msgid "moserial has several options that can be configured from the Preferences dialog." msgstr "" #: C/moserial.xml:397(para) msgid "The color of the text area foreground, background, and highlighting can be configured, as can the font type and size." msgstr "" #: C/moserial.xml:401(para) msgid "If Launch recorded files is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment." msgstr "" #: C/moserial.xml:406(para) msgid "If Enable timeout is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer." msgstr "" #: C/moserial.xml:415(title) msgid "Using Profiles" msgstr "" #: C/moserial.xml:416(para) msgid "moserial can load and save its settings from profile files, so that you can store and recall commonly used configurations. To save a profile, simply use the FileSave or FileSave As dialogs. To load a profile, use the FileOpen dialog." msgstr "" #: C/moserial.xml:425(para) msgid "Loading a profile will automatically disconnect any connected port." msgstr "" #: C/moserial.xml:428(para) msgid "When you quit moserial, the settings currently in use are stored in a default profile file. These settings will automatically be recalled the next time you launch moserial." msgstr "" #: C/moserial.xml:436(title) #: C/moserial.xml:439(title) msgid "Special Keys" msgstr "" #: C/moserial.xml:446(para) msgid "Keyboard Shortcut" msgstr "" #: C/moserial.xml:448(para) msgid "Description" msgstr "" #: C/moserial.xml:455(keycap) #: C/moserial.xml:465(keycap) #: C/moserial.xml:475(keycap) msgid "Ctrl" msgstr "" #: C/moserial.xml:455(keycap) msgid "C" msgstr "" #: C/moserial.xml:459(para) msgid "Copies text. This can be used in any of the text areas." msgstr "" #: C/moserial.xml:465(keycap) msgid "X" msgstr "" #: C/moserial.xml:469(para) msgid "Cuts text. This only works in the Outgoing single-line text box." msgstr "" #: C/moserial.xml:475(keycap) msgid "V" msgstr "" #: C/moserial.xml:479(para) msgid "Pastes text into the Outgoing single-line text box, and moves the focus to that text box." msgstr "" #: C/moserial.xml:488(keycap) msgid "Esc" msgstr "" #: C/moserial.xml:492(para) msgid "Moves the focus to the Outgoing single-line text box." msgstr "" #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 #: C/moserial.xml:0(None) msgid "translator-credits" msgstr "" moserial-3.0.8/doc/sl/moserial.xml0000644000213200021320000005474712064144712014006 00000000000000 moserial"> ]>
<application>moserial</application> Manual V3.0.0 2009 Michael J. Chudobiak GNOME Documentation Project Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual. This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to distribute this manual separately from the collection, you can do so by adding a copy of the license to the manual, as described in section 6 of the license. Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and the members of the GNOME Documentation Project are made aware of those trademarks, then the names are in capital letters or initial capital letters. DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: DOCUMENT IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. Michael Chudobiak
mjc@svn.gnome.org
3.0.0 April 2009 Michael J. Chudobiak GNOME Documentation Project This is manual describes version 3.0.0 of moserial moserial is a serial terminal for the GNOME desktop, optimized for logging and file capture.
moserial serial terminal Uvod moserial is a serial terminal for the GNOME desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to communicate with embedded systems, consoles, and electronic test equipment. Despite the technical orientation of the intended audience, moserial is designed to be user-friendly. Care has been taken to ensure that operations are simple to execute, by minimizing the number of clicks needed. The number of configuration options has also been kept small. To further improve efficiency, moserial also supports profile files to store frequently-used configurations. System Port Permissions Before using moserial with a serial port, you need to make sure that you actually have permission to read and/or write to the port. On some systems, you may need to do something like "sudo chmod o+rw /dev/ttyS*" and "sudo chmod o+rw /dev/ttyUSB*" to obtain read/write permissions (for all users) on the serial ports. Unfortunately, this may not be persistent after reboots. Alternatively, you can see what group the devices belong to, and make your account a member of that group. In Fedora 15, for example, you should add yourself to the "dialout" group. Basic Usage The Main Toolbar Most moserial functions are accessed through the main toolbar, shown below: Port Setup The first step in using moserial is to configure the serial port parameters. Click Port Setup to do this. In the port setup dialog, you will set the port to use, whether the port should be open for reads, writes, or both, its baud rate, its parity, the number of data and stop bits, and the handshaking method. The settings specified in this dialog will override any system default settings for the port. The moserial port setup dialog will only list the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist on the system, for values of "nn" between 0 and 31. A local echo can be enabled from this dialog. If enabled, all data that moserial receives will be echoed back to the sending device. This should normally be disabled, as it can cause unexpected behaviour, especially if the remote device also has echo enabled. (This would cause an infinite loop of echoes!) Open the Connection The next step in communicating with your remote device is to click Connect. This opens the port. If you do not have the necessary privileges to open the port, an error will be reported. This step is optional. If you skip it, moserial will try to connect automatically when needed. Once you have connected, the Connect button will change into a Disconnect button. Clicking Disconnect closes the port, and resets the TX and RX counters. Basic Input and Output Once the port has been opened, any text received from the remote device will be displayed in the Received ASCII text area. If moserial detects a large number of unprintable characters, it will switch automatically to the Received HEX view. To switch between HEX and ASCII views, simply click on the appropriate tabs. To send data to the remote device, you can type text into the Outgoing single-line text box, and click the Send button. Your line of text will be terminated with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, start with "CR+LF end". The ASCII/HEX button should be set to ASCII to send text. If the ASCII/HEX button is set to HEX, do not enter text in the Outgoing area. Instead, enter hexadecimal numbers in the form "1234ABCD....". Once your data has been transmitted, a record of it will exist in the Sent ASCII and Sent HEX text areas. These text areas are not editable. The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII text area, it will highlight the echoed text (using the highlight color defined in the preferences dialog). The statusbar at the bottom of the main window shows the state of port, and a count of the sent (TX) and received (RX) bytes. If some of the received data is unprintable, a count of these items is shown as well. Recording Input and Output moserial can be used to record your sent and received data to a file. This function is also useful for receiving and storing straight binary data dumped from a remote device. For instance, some oscilloscopes will dump screenshots to a serial port, without using any error correction protocols (like the Tektronix 11801). When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in the Stream to Record selection box, and enter the filename in the filechooser area. When recording begins, the Record button will change into a Stop Recording button. You will need to click this when you wish to stop recording, or you have received the entire binary file that you wanted to download. moserial can optionally launch the recorded file with the default application for its file type, when recording has finished. It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these features. Note that if you wish to receive files using an error correction protocol (xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the Record function, the Receive File function can automatically determine when the file download is complete. Sending Files moserial can transmit files in a straight binary data stream, and it can also send files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the sent data is not logged to the Sent ASCII or Sent HEX text areas. When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select the appropriate protocol below. When recording begins, a progress bar will display the status of the file transmission. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. Receiving Files moserial can receive files sent in a straight binary data stream, and it can also receive files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the received data is not logged to the Sent ASCII or Sent HEX text areas. To receive straight binary data streams, use the Record function instead of the Receive File function. To receive files sent with the xmodem, ymodem, or zmodem error correction protocols, using the Receive File function. When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need to select the appropriate protocol below. When recording begins, a progress bar will display the status of the file reception. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. Other Preferences moserial has several options that can be configured from the Preferences dialog. The color of the text area foreground, background, and highlighting can be configured, as can the font type and size. If Launch recorded files is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment. If Enable timeout is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer. Using Profiles moserial can load and save its settings from profile files, so that you can store and recall commonly used configurations. To save a profile, simply use the FileSave or FileSave As dialogs. To load a profile, use the FileOpen dialog. Loading a profile will automatically disconnect any connected port. When you quit moserial, the settings currently in use are stored in a default profile file. These settings will automatically be recalled the next time you launch moserial. Special Keys Special Keys Keyboard Shortcut Description CtrlC Copies text. This can be used in any of the text areas. CtrlX Cuts text. This only works in the Outgoing single-line text box. CtrlV Pastes text into the Outgoing single-line text box, and moves the focus to that text box. Esc Moves the focus to the Outgoing single-line text box.
moserial-3.0.8/doc/fr/0000775000213200021320000000000012064144712011503 500000000000000moserial-3.0.8/doc/fr/fr.po0000644000213200021320000010671312064144712012400 00000000000000# French translation of moserial documentation. # Copyright (C) 2011 Listed Translators # This file is distributed under the same license as the moserial # documentation package. # # Julien Hardelin , 2011 # Claude Paroz , 2011 # msgid "" msgstr "" "Project-Id-Version: moserial HELP\n" "POT-Creation-Date: 2011-08-16 19:41+0000\n" "PO-Revision-Date: 2011-08-19 21:46+0200\n" "Last-Translator: Julien Hardelin \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" "Plural-Forms: nplurals=2; nplural=(n > 1)\n" #: C/moserial.xml:19(title) msgid "moserial Manual V3.0.0" msgstr "Manuel de moserial v3.0.0" #: C/moserial.xml:21(year) msgid "2009" msgstr "2009" #: C/moserial.xml:22(holder) C/moserial.xml:59(para) msgid "Michael J. Chudobiak" msgstr "Michael J. Chudobiak" #: C/moserial.xml:38(publishername) C/moserial.xml:60(para) msgid "GNOME Documentation Project" msgstr "Projet de documentation GNOME" #: C/moserial.xml:2(para) msgid "" "Permission is granted to copy, distribute and/or modify this document under " "the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any " "later version published by the Free Software Foundation with no Invariant " "Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy " "of the GFDL at this link or " "in the file COPYING-DOCS distributed with this manual." msgstr "" "Permission vous est donnée de copier, distribuer et/ou modifier ce document " "selon les termes de la Licence GNU Free Documentation License, Version 1.1 " "ou ultérieure publiée par la Free Software Foundation sans section " "inaltérable, sans texte de première page de couverture ni texte de dernière " "page de couverture. Vous trouverez un exemplaire de cette licence en suivant " "ce lien ou dans le fichier " "COPYING-DOCS fourni avec le présent manuel." #: C/moserial.xml:12(para) msgid "" "This manual is part of a collection of GNOME manuals distributed under the " "GFDL. If you want to distribute this manual separately from the collection, " "you can do so by adding a copy of the license to the manual, as described in " "section 6 of the license." msgstr "" "Ce manuel fait partie de la collection de manuels GNOME distribués selon les " "termes de la licence de documentation libre GNU. Si vous souhaitez " "distribuer ce manuel indépendamment de la collection, vous devez joindre un " "exemplaire de la licence au document, comme indiqué dans la section 6 de " "celle-ci." #: C/moserial.xml:19(para) msgid "" "Many of the names used by companies to distinguish their products and " "services are claimed as trademarks. Where those names appear in any GNOME " "documentation, and the members of the GNOME Documentation Project are made " "aware of those trademarks, then the names are in capital letters or initial " "capital letters." msgstr "" "La plupart des noms utilisés par les entreprises pour distinguer leurs " "produits et services sont des marques déposées. Lorsque ces noms " "apparaissent dans la documentation GNOME et que les membres du projet de " "Documentation GNOME sont informés de l'existence de ces marques déposées, " "soit ces noms entiers, soit leur première lettre est en majuscule." #: C/moserial.xml:35(para) msgid "" "DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, " "EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT " "THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS " "MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE " "RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR " "MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR " "MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL " "WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY " "SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN " "ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION " "OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND" msgstr "" "LE PRÉSENT DOCUMENT EST FOURNI « TEL QUEL », SANS AUCUNE GARANTIE, EXPRESSE " "OU IMPLICITE, Y COMPRIS, ET SANS LIMITATION, LES GARANTIES DE BONNE QUALITÉ " "MARCHANDE OU D'APTITUDE À UN EMPLOI PARTICULIER OU AUTORISÉ DU DOCUMENT OU " "DE SA VERSION MODIFIÉE. L'UTILISATEUR ASSUME TOUT RISQUE RELATIF À LA " "QUALITÉ, À LA PERTINENCE ET À LA PERFORMANCE DU DOCUMENT OU DE SA VERSION DE " "MISE À JOUR. SI LE DOCUMENT OU SA VERSION MODIFIÉE S'AVÉRAIT DÉFECTUEUSE, " "L'UTILISATEUR (ET NON LE RÉDACTEUR INITIAL, L'AUTEUR, NI TOUT AUTRE " "PARTICIPANT) ENDOSSERA LES COÛTS DE TOUTE INTERVENTION, RÉPARATION OU " "CORRECTION NÉCESSAIRE. CETTE DÉNÉGATION DE RESPONSABILITÉ CONSTITUE UNE " "PARTIE ESSENTIELLE DE CETTE LICENCE. AUCUNE UTILISATION DE CE DOCUMENT OU DE " "SA VERSION MODIFIÉE N'EST AUTORISÉE AUX TERMES DU PRÉSENT ACCORD, EXCEPTÉ " "SOUS CETTE DÉNÉGATION DE RESPONSABILITÉ ; ET" #: C/moserial.xml:55(para) msgid "" "UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING " "NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY " "CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE " "DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON " "FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF " "ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, " "WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES " "OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED " "VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE " "POSSIBILITY OF SUCH DAMAGES." msgstr "" "EN AUCUNE CIRCONSTANCE ET SOUS AUCUNE INTERPRÉTATION DE LA LOI, QU'IL " "S'AGISSE DE RESPONSABILITÉ CIVILE (Y COMPRIS LA NÉGLIGENCE), CONTRACTUELLE " "OU AUTRE, L'AUTEUR, LE RÉDACTEUR INITIAL, TOUT PARTICIPANT ET TOUT " "DISTRIBUTEUR DE CE DOCUMENT OU DE SA VERSION DE MISE À JOUR AINSI QUE TOUT " "FOURNISSEUR DE QUELQUE PARTIE QUE CE SOIT NE POURRONT ÊTRE TENUS " "RESPONSABLES À L'ÉGARD DE QUICONQUE POUR TOUT DOMMAGE DIRECT, INDIRECT, " "PARTICULIER OU ACCIDENTEL DE TOUT TYPE Y COMPRIS, SANS LIMITATION, LES " "DOMMAGES LIÉS À LA PERTE DE CLIENTÈLE, AUX ARRÊTS DE TRAVAIL, AUX " "DÉFAILLANCES ET AUX DYSFONCTIONNEMENTS INFORMATIQUES OU TOUT AUTRE DOMMAGE " "OU PERTE LIÉE À L'UTILISATION DU PRÉSENT DOCUMENT ET DE SES VERSIONS DE MISE " "À JOUR, ET CE MÊME SI CES PARTIES ONT ÉTÉ INFORMÉES DE LA POSSIBILITÉ DE " "TELS DOMMAGES." #: C/moserial.xml:28(para) msgid "" "DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS " "OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: " "" msgstr "" "LE PRÉSENT DOCUMENT ET SES VERSIONS MODIFIÉES SONT FOURNIS SELON LES TERMES " "DE LA LICENCE DE DOCUMENTATION LIBRE GNU SACHANT QUE : " #: C/moserial.xml:45(firstname) msgid "Michael" msgstr "Michael" #: C/moserial.xml:46(surname) msgid "Chudobiak" msgstr "Chudobiak" #: C/moserial.xml:48(email) msgid "mjc@svn.gnome.org" msgstr "mjc@svn.gnome.org" #: C/moserial.xml:56(revnumber) msgid "3.0.0" msgstr "3.0.0" #: C/moserial.xml:57(date) msgid "April 2009" msgstr "Avril 2009" #. this is version of manual, not application #: C/moserial.xml:67(releaseinfo) msgid "This is manual describes version 3.0.0 of moserial" msgstr "Ce manuel documente la version 3.0.0 de moserial" #: C/moserial.xml:70(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture." msgstr "" "moserial est un terminal série pour le bureau " "GNOME, optimisé pour la journalisation et la capture de fichiers." #: C/moserial.xml:74(primary) msgid "moserial" msgstr "moserial" #: C/moserial.xml:77(primary) msgid "serial" msgstr "série" #: C/moserial.xml:80(secondary) msgid "terminal" msgstr "terminal" #: C/moserial.xml:88(title) msgid "Introduction" msgstr "Introduction" #: C/moserial.xml:89(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to " "communicate with embedded systems, consoles, and electronic test equipment." msgstr "" "moserial est un terminal série pour le bureau " "GNOME, optimisé pour la journalisation et la capture de fichiers. Il est " "avant tout destiné aux utilisateurs techniques devant communiquer avec des " "systèmes embarqués, des consoles et des matériels de test électroniques." #: C/moserial.xml:95(para) msgid "" "Despite the technical orientation of the intended audience, " "moserial is designed to be user-friendly. Care " "has been taken to ensure that operations are simple to execute, by " "minimizing the number of clicks needed. The number of configuration options " "has also been kept small." msgstr "" "Malgré l'orientation technique de l'audience visée, moserial est conçu pour être facile à utiliser. Un soin particulier a " "été apporté à ce que les opérations soient simples à exécuter, en minimisant " "le nombre de clics nécessaires. Le nombre d'options de configuration reste " "faible." #: C/moserial.xml:102(para) msgid "" "To further improve efficiency, moserial also " "supports profile files to store frequently-used configurations." msgstr "" "Pour accroître l'efficacité, moserial gère aussi " "des fichiers de profil pour conserver les configurations les plus utilisées." #: C/moserial.xml:109(title) msgid "System Port Permissions" msgstr "Droits d'accès aux ports systèmes" #: C/moserial.xml:110(para) msgid "" "Before using moserial with a serial port, you " "need to make sure that you actually have permission to read and/or write to " "the port." msgstr "" "Avant d'utiliser moserial avec un port série, " "vous devez vous assurer que vous possédez bien les droits d'accès à ce port " "pour lire et écrire." #: C/moserial.xml:114(para) msgid "" "On some systems, you may need to do something like \"sudo chmod o+rw /dev/" "ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write " "permissions (for all users) on the serial ports. Unfortunately, this may not " "be persistent after reboots." msgstr "" "Sur d'autres systèmes, vous aurez peut-être à lancer des commandes " "semblables à celles-ci : « sudo chmod o+rw /dev/ttyS* » ou « sudo chmod o+rw /" "dev/ttyUSB* », pour obtenir les droits d'accès aux ports série en lecture et " "en écriture (pour tous les utilisateurs). Malheureusement, ces réglages ne " "sont pas toujours conservés lors d'un redémarrage." #: C/moserial.xml:119(para) msgid "" "Alternatively, you can see what group the devices belong to, and make your " "account a member of that group. In Fedora 15, for example, you should add " "yourself to the \"dialout\" group." msgstr "" "Sinon, vous pouvez voir à quel groupe appartiennent les périphériques et " "ajouter votre compte comme membre de ce groupe. Avec Fedora 15, par exemple, " "il faut vous ajouter au groupe « dialout »." #: C/moserial.xml:126(title) msgid "Basic Usage" msgstr "Utilisation de base" #: C/moserial.xml:128(title) msgid "The Main Toolbar" msgstr "Barre d'outils principale" #: C/moserial.xml:129(para) msgid "" "Most moserial functions are accessed through the " "main toolbar, shown below:" msgstr "" "La plupart des fonctions de moserial sont " "accessibles par la barre d'outils principale, affichée ci-dessous :" #: C/moserial.xml:137(title) msgid "Port Setup" msgstr "Paramétrage de port" #: C/moserial.xml:138(para) msgid "" "The first step in using moserial is to configure " "the serial port parameters. Click Port Setup to do " "this. In the port setup dialog, you will set the port to use, whether the " "port should be open for reads, writes, or both, its baud rate, its parity, " "the number of data and stop bits, and the handshaking method. The settings " "specified in this dialog will override any system default settings for the " "port." msgstr "" "La première étape de l'utilisation de moserial " "est la configuration des paramètres du port série. Pour cela, cliquez sur " "Paramétrage de port. Dans la boîte de dialogue " "Paramétrage de port, vous définirez le port à utiliser, s'il doit être " "ouvert en lecture, en écriture, ou les deux, la vitesse de transmission en " "bauds, sa parité, le nombre de bits de données et d'arrêt, et la méthode de " "contrôle de flux. Les paramètres définis dans cette fenêtre écraseront les " "paramètres système définis par défaut pour ce port." #: C/moserial.xml:146(para) msgid "" "The moserial port setup dialog will only list " "the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist " "on the system, for values of \"nn\" between 0 and 31." msgstr "" "La boîte de dialogue Paramétrage de port de moserial n'énumère que les ports /dev/ttySnn, /dev/ttyUSBnn et /dev/" "rfcommnn effectivement présents sur le système, où les valeurs « nn » sont " "comprises entre 0 et 31." #: C/moserial.xml:151(para) msgid "" "A local echo can be enabled from this dialog. If enabled, all data that " "moserial receives will be echoed back to the " "sending device. This should normally be disabled, as it can cause unexpected " "behaviour, especially if the remote device also has echo enabled. (This " "would cause an infinite loop of echoes!)" msgstr "" "Un écho local peut être activé dans cette boîte de dialogue. Dans ce cas, " "toutes les données que moserial reçoit seront " "répétées dans le périphérique d'envoi. Cette option devrait normalement être " "désactivée, car elle peut être cause de comportements anormaux, surtout si " "elle est également activée dans le périphérique distant (risque d'écho en " "boucle infinie)." #: C/moserial.xml:162(title) msgid "Open the Connection" msgstr "Ouverture de la connexion" #: C/moserial.xml:163(para) msgid "" "The next step in communicating with your remote device is to click " "Connect. This opens the port. If you do not have the " "necessary privileges to open the port, an error will be reported." msgstr "" "L'étape suivante pour communiquer avec le périphérique distant est de " "cliquer sur Connecter, ce qui ouvre le port. Si vous " "n'avez pas les droits d'accès à ce port, une erreur sera émise." #: C/moserial.xml:171(para) msgid "" "This step is optional. If you skip it, moserial " "will try to connect automatically when needed." msgstr "" "Cette étape est facultative. Si vous l'omettez, moserial tentera de se connecter automatiquement quand ce sera " "nécessaire." #: C/moserial.xml:175(para) msgid "" "Once you have connected, the Connect button will " "change into a Disconnect button. Clicking " "Disconnect closes the port, and resets the TX and RX " "counters." msgstr "" "Une fois connecté, le bouton Connecter se change en " "bouton Déconnecter. Le fait de cliquer sur " "Déconnecter ferme le port et réinitialise les " "compteurs TX et RX." #: C/moserial.xml:186(title) msgid "Basic Input and Output" msgstr "Entrée et sortie de base" #: C/moserial.xml:187(para) msgid "" "Once the port has been opened, any text received from the remote device will " "be displayed in the Received ASCII text area. If " "moserial detects a large number of unprintable " "characters, it will switch automatically to the Received HEX view." msgstr "" "Une fois le port ouvert, tout texte reçu depuis le périphérique distant " "s'affiche dans la zone de texte ASCII reçu. Si " "moserial détecte un grand nombre de caractères " "non imprimables, il passera automatiquement en visualisation HEX " "reçu." #: C/moserial.xml:197(para) msgid "" "To switch between HEX and ASCII views, simply click on the appropriate tabs." msgstr "" "Pour basculer entre les visualisations HEX et ASCII, cliquez simplement sur " "les onglets correspondants." #: C/moserial.xml:201(para) msgid "" "To send data to the remote device, you can type text into the " "Outgoing single-line text box, and click the " "Send button. Your line of text will be terminated " "with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, " "start with \"CR+LF end\". The ASCII/HEX button should " "be set to ASCII to send text." msgstr "" "Pour envoyer des données au périphérique distant, tapez le texte dans la " "boîte uni-ligne Sortant et cliquez sur le bouton " "Envoyer. Votre ligne de texte se terminera par la " "séquence sélectionnée dans la liste déroulante tout à droite du bouton " "Envoyer. Si vous n'êtes pas sûr de cette séquence de " "terminaison, essayez d'abord « CR+LF end ». Le bouton ASCII/HEX doit être sur ASCII pour envoyer du texte." #: C/moserial.xml:214(para) msgid "" "If the ASCII/HEX button is set to HEX, do not enter " "text in the Outgoing area. Instead, enter hexadecimal " "numbers in the form \"1234ABCD....\"." msgstr "" "Si le bouton ASCII/HEX est sur HEX, ne saisissez pas " "de texte dans la zone Sortant. À la place, saisissez " "des caractères hexadécimaux sous la forme « 1234ABCD.... »." #: C/moserial.xml:219(para) msgid "" "Once your data has been transmitted, a record of it will exist in the " "Sent ASCII and Sent HEX text " "areas. These text areas are not editable." msgstr "" "Après transmission des données, un enregistrement de ces données se trouvera " "dans les zones de texte ASCII envoyé et HEX " "envoyé. Ces zones de texte ne sont pas modifiables." #: C/moserial.xml:227(para) msgid "" "The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII " "text area, it will highlight the echoed text (using the highlight color " "defined in the preferences dialog)." msgstr "" "Le périphérique distant peut faire écho aux données envoyées. Si " "moserial détecte un texte répété dans la zone de " "texte ASCII reçu, il mettra le texte répété en " "surbrillance (en utilisant la couleur de surbrillance définie dans la boîte " "de dialogue des préférences)." #: C/moserial.xml:233(para) msgid "" "The statusbar at the bottom of the main window shows the state of port, and " "a count of the sent (TX) and received (RX) bytes. If some of the received " "data is unprintable, a count of these items is shown as well." msgstr "" "La barre d'état, en bas de la fenêtre principale, affiche l'état du port " "ainsi que le compte des octets envoyés (TX) et reçus (RX). Si certaines des " "données ne peuvent être affichées, le compte de ces données est néanmoins " "présenté." #: C/moserial.xml:245(title) msgid "Recording Input and Output" msgstr "Enregistrement des entrées et des sorties" #: C/moserial.xml:246(para) msgid "" "moserial can be used to record your sent and " "received data to a file. This function is also useful for receiving and " "storing straight binary data dumped from a remote device. For instance, some " "oscilloscopes will dump screenshots to a serial port, without using any " "error correction protocols (like the Tektronix 11801)." msgstr "" "moserial peut enregistrer dans un fichier les " "données envoyées et reçues. Cette fonction est également utile pour recevoir " "et enregistrer directement des données binaires déversées depuis un " "périphérique distant. C'est le cas de certains oscilloscopes qui dirigent " "des captures d'écran vers un port série, sans recourir à un protocole de " "correction d'erreurs (tel le Tektronix 11801)." #: C/moserial.xml:256(para) msgid "" "When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in " "the Stream to Record selection box, and enter the " "filename in the filechooser area." msgstr "" "Quand vous êtes prêt à enregistrer vers un fichier, cliquez simplement sur " "Enregistrer, sélectionnez les données que vous voulez " "enregistrer (entrantes et/ou sortantes) dans la boîte de sélection du " "Flux à enregistrer et saisissez le nom de fichier." #: C/moserial.xml:265(para) msgid "" "When recording begins, the Record button will change " "into a Stop Recording button. You will need to click " "this when you wish to stop recording, or you have received the entire binary " "file that you wanted to download." msgstr "" "Quand l'enregistrement commence, le bouton Enregistrer devient Arrêter l'enregistrement. Vous " "devez cliquer sur ce bouton quand vous souhaitez arrêter l'enregistrement ou " "quand vous avez reçu la totalité du fichier binaire que vous souhaitiez " "télécharger." #: C/moserial.xml:274(para) msgid "" "moserial can optionally launch the recorded file " "with the default application for its file type, when recording has finished. " "It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these " "features." msgstr "" "moserial peut éventuellement lancer le fichier " "enregistré, avec l'application par défaut pour son type de fichier, quand " "l'enregistrement est fini. Il peut aussi interrompre l'enregistrement après " "une période d'inactivité. Utilisez les Préférences pour activer ou désactiver ces options." #: C/moserial.xml:281(para) msgid "" "Note that if you wish to receive files using an error correction protocol " "(xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the " "Record function, the Receive File function can automatically determine when the file download is " "complete." msgstr "" "Notez que si vous souhaitez recevoir des fichiers en utilisant un protocole " "de correction d'erreurs (xmodem, ymodem ou zmodem), vous devez utilisez la " "fonction Recevoir un fichier. " "Contrairement à la fonction Enregistrer, la réception " "de fichier peut automatiquement détecter la fin d'un téléchargement de " "fichier." #: C/moserial.xml:294(title) msgid "Sending Files" msgstr "Envoi de fichiers" #: C/moserial.xml:295(para) msgid "" "moserial can transmit files in a straight binary " "data stream, and it can also send files using the xmodem, ymodem, and zmodem " "error correction protocols. During file transmission, the sent data is not " "logged to the Sent ASCII or Sent HEX text areas." msgstr "" "moserial peut transmettre des fichiers dans un " "flux de données binaires direct, mais il peut aussi les transmettre en " "passant par les protocoles de correction d'erreurs xmodem, ymodem et zmodem. " "Pendant la transmission de fichier, les données envoyées ne sont pas reliées " "aux zones de texte ASCII envoyé ou HEX " "envoyé." #: C/moserial.xml:305(para) msgid "" "When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select " "the appropriate protocol below." msgstr "" "Quand vous êtes prêt à envoyer un fichier, cliquez simplement sur " "Envoyer un fichier. Vous devrez aussi sélectionner le " "protocole approprié en bas de la fenêtre." #: C/moserial.xml:313(para) msgid "" "When recording begins, a progress bar will display the status of the file " "transmission." msgstr "" "Pendant l'enregistrement, une barre de progression affiche l'état de " "transmission du fichier." #: C/moserial.xml:320(para) C/moserial.xml:363(para) msgid "" "moserial does not implement the xmodem, ymodem, or zmodem protocols " "directly. It relies on the standard rz and sz utilities to send and receive " "data. These utilities, part of the lrzsz package, must be installed on your " "system." msgstr "" "moserial n'applique pas les protocoles xmodem, ymodem ou zmodem directement. " "Il dépend des utilitaires standards rz et sz pour envoyer et recevoir des " "données. Ces utilitaires font partie du paquet lrzsz, qui doit être installé " "sur votre système." #: C/moserial.xml:329(title) msgid "Receiving Files" msgstr "Réception de fichiers" #: C/moserial.xml:330(para) msgid "" "moserial can receive files sent in a straight " "binary data stream, and it can also receive files using the xmodem, ymodem, " "and zmodem error correction protocols. During file transmission, the " "received data is not logged to the Sent ASCII or " "Sent HEX text areas." msgstr "" "moserial peut recevoir des fichiers dans un flux " "direct de données binaires, mais il peut aussi les recevoir en passant par " "les protocoles de correction d'erreurs xmodem, ymodem et zmodem. Pendant la " "transmission de fichier, les données reçues ne sont pas reliées aux zones de " "texte ASCII reçu ou HEX reçu." #: C/moserial.xml:337(para) msgid "" "To receive straight binary data streams, use the Record function instead of the Receive File " "function." msgstr "" "Pour recevoir des flux de données binaires directs, utilisez la fonction " "Enregistrer plutôt que la fonction " "Recevoir un fichier." #: C/moserial.xml:341(para) msgid "" "To receive files sent with the xmodem, ymodem, or zmodem error correction " "protocols, using the Receive File function." msgstr "" "Pour recevoir des fichiers envoyés avec les protocoles de correction " "d'erreurs xmodem, ymodem ou zmodem, utilisez la fonction Recevoir " "un fichier." #: C/moserial.xml:348(para) msgid "" "When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need " "to select the appropriate protocol below." msgstr "" "Quand vous êtes prêt à recevoir un fichier, cliquez simplement sur " "Recevoir un fichier et sélectionnez un dossier pour y " "enregistrer le fichier reçu. Vous devrez également sélectionner le protocole " "approprié en bas de la fenêtre." #: C/moserial.xml:356(para) msgid "" "When recording begins, a progress bar will display the status of the file " "reception." msgstr "" "Pendant l'enregistrement, une barre de progression affiche l'état de " "réception du fichier." #: C/moserial.xml:372(title) msgid "Other Preferences" msgstr "Autres préférences" #: C/moserial.xml:373(para) msgid "" "moserial has several options that can be " "configured from the Preferences dialog." msgstr "" "moserial possède plusieurs options qui peuvent " "être configurées depuis la boîte de dialogue Préférences." #: C/moserial.xml:380(para) msgid "" "The color of the text area foreground, background, and highlighting can be " "configured, as can the font type and size." msgstr "" "Vous pouvez configurer les couleurs de premier plan et d'arrière-plan des " "zones de texte, la couleur de la surbrillance, ainsi que la couleur, le type " "et la taille de la police." #: C/moserial.xml:384(para) msgid "" "If Launch recorded files is enabled, a recorded file " "will be opened immediately after it is saved, using the default application " "for the file type. The default application is defined by the desktop " "environment." msgstr "" "Si l'option Lancer les fichiers enregistrés est " "activée, le fichier enregistré sera ouvert aussitôt après sa sauvegarde, en " "utilisant l'application par défaut pour le type du fichier. L'application " "par défaut est définie par l'environnement de bureau." #: C/moserial.xml:389(para) msgid "" "If Enable timeout is enabled, recording will be " "automatically stopped after an adjustable period of inactivity after " "receiving some data. That is, moserial will wait indefinitely to record the " "first data byte before activating the inactivity timer." msgstr "" "Si l'option Activer le délai de connexion est cochée, " "l'enregistrement s'arrêtera automatiquement après une durée d'inactivité " "ajustable, si la réception de données est interrompue. C'est-à-dire que " "moserial attendra indéfiniment d'enregistrer les premières données avant " "d'activer le compteur d'inactivité." #: C/moserial.xml:398(title) msgid "Using Profiles" msgstr "Utilisation de profils" #: C/moserial.xml:399(para) msgid "" "moserial can load and save its settings from " "profile files, so that you can store and recall commonly used " "configurations. To save a profile, simply use the " "FileSave or FileSave " "As dialogs. To load a profile, use the " "FileOpen dialog." msgstr "" "moserial peut enregistrer ses paramètres dans un " "fichier de profil et les charger à partir de ce profil. Vous pouvez ainsi " "sauvegarder et rappeler vos configurations les plus utilisées. Pour " "enregistrer un profil, faites appel à la boîte de dialogue " "FichierEnregistrer la " "configuration ou FichierEnregistrer les paramètres sous. Pour charger un profil, utilisez la boîte de dialogue " "FichierOuvrir les " "paramètres." #: C/moserial.xml:408(para) msgid "Loading a profile will automatically disconnect any connected port." msgstr "" "Le chargement d'un profil déconnecte automatiquement tout port connecté." #: C/moserial.xml:411(para) msgid "" "When you quit moserial, the settings currently in " "use are stored in a default profile file. These settings will automatically " "be recalled the next time you launch moserial." msgstr "" "Quand vous quittez moserial, les paramètres en " "cours sont enregistrés dans un fichier de profil par défaut. Ces paramètres " "seront automatiquement rappelés lors du prochain lancement de " "moserial." #: C/moserial.xml:419(title) C/moserial.xml:422(title) msgid "Special Keys" msgstr "Touches spéciales" #: C/moserial.xml:429(para) msgid "Keyboard Shortcut" msgstr "Raccourci clavier" #: C/moserial.xml:431(para) msgid "Description" msgstr "Description" #: C/moserial.xml:438(keycap) C/moserial.xml:448(keycap) #: C/moserial.xml:458(keycap) msgid "Ctrl" msgstr "Ctrl" #: C/moserial.xml:438(keycap) msgid "C" msgstr "C" #: C/moserial.xml:442(para) msgid "Copies text. This can be used in any of the text areas." msgstr "Copie le texte. Peut être utilisé dans toutes les zones de texte." #: C/moserial.xml:448(keycap) msgid "X" msgstr "X" #: C/moserial.xml:452(para) msgid "" "Cuts text. This only works in the Outgoing single-line " "text box." msgstr "" "Coupe le texte. Ne marche que pour la zone de texte uni-ligne " "Sortant." #: C/moserial.xml:458(keycap) msgid "V" msgstr "V" #: C/moserial.xml:462(para) msgid "" "Pastes text into the Outgoing single-line text box, and " "moves the focus to that text box." msgstr "" "Colle le texte dans la zone de texte uni-ligne Sortant " "et déplace le pointeur dans cette zone." #: C/moserial.xml:471(keycap) msgid "Esc" msgstr "Échap" #: C/moserial.xml:475(para) msgid "" "Moves the focus to the Outgoing single-line text box." msgstr "" "Positionne le pointeur dans la zone de texte uni-ligne Sortant." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 #: C/moserial.xml:0(None) msgid "translator-credits" msgstr "" "Julien Hardelin , 2011" #~ msgid "2.26.0" #~ msgstr "2.26.0" #~ msgid "" #~ "There are a number of ways this is done on a Linux system. On Fedora 10, " #~ "you may need to use the PolicyKit tool, invoked using " #~ "SystemPreferencesSystemAuthorizations. Then, navigate to the " #~ "orgfreedesktopdevice-accessDirectly " #~ "access serial modem devices, and click " #~ "edit. Set Anyone: to \"Yes\"." #~ msgstr "" #~ "Il existe plusieurs façons de faire cela sur un système Linux. Sur Fedora " #~ "10, vous pouvez avoir besoin d'utiliser l'outil PolicyKit, auquel on peut " #~ "accéder en choisissant SystèmePréférencesSystèmeAutorisations. Puis " #~ "allez à orgfreedesktopdevice-accessDirectly " #~ "access serial modem devices (accéder " #~ "directement à des périphériques modem série), et cliquez sur " #~ "edit. Mettez Anyone: sur « Yes »." #~ msgid "Serial Port Authorizations on Fedora 10" #~ msgstr "Autorisations pour port série sur Fedora 10" moserial-3.0.8/doc/fr/moserial.xml0000644000213200021320000005502312064144712013763 00000000000000 moserial"> ]>
Manuel de <application>moserial</application> v3.0.0 2009 Michael J. Chudobiak 2011Claude Paroz (claude@2xlibre.net) Projet de documentation GNOME Permission vous est donnée de copier, distribuer et/ou modifier ce document selon les termes de la Licence GNU Free Documentation License, Version 1.1 ou ultérieure publiée par la Free Software Foundation sans section inaltérable, sans texte de première page de couverture ni texte de dernière page de couverture. Vous trouverez un exemplaire de cette licence en suivant ce lien ou dans le fichier COPYING-DOCS fourni avec le présent manuel. Ce manuel fait partie de la collection de manuels GNOME distribués selon les termes de la licence de documentation libre GNU. Si vous souhaitez distribuer ce manuel indépendamment de la collection, vous devez joindre un exemplaire de la licence au document, comme indiqué dans la section 6 de celle-ci. La plupart des noms utilisés par les entreprises pour distinguer leurs produits et services sont des marques déposées. Lorsque ces noms apparaissent dans la documentation GNOME et que les membres du projet de Documentation GNOME sont informés de l'existence de ces marques déposées, soit ces noms entiers, soit leur première lettre est en majuscule. LE PRÉSENT DOCUMENT ET SES VERSIONS MODIFIÉES SONT FOURNIS SELON LES TERMES DE LA LICENCE DE DOCUMENTATION LIBRE GNU SACHANT QUE : LE PRÉSENT DOCUMENT EST FOURNI « TEL QUEL », SANS AUCUNE GARANTIE, EXPRESSE OU IMPLICITE, Y COMPRIS, ET SANS LIMITATION, LES GARANTIES DE BONNE QUALITÉ MARCHANDE OU D'APTITUDE À UN EMPLOI PARTICULIER OU AUTORISÉ DU DOCUMENT OU DE SA VERSION MODIFIÉE. L'UTILISATEUR ASSUME TOUT RISQUE RELATIF À LA QUALITÉ, À LA PERTINENCE ET À LA PERFORMANCE DU DOCUMENT OU DE SA VERSION DE MISE À JOUR. SI LE DOCUMENT OU SA VERSION MODIFIÉE S'AVÉRAIT DÉFECTUEUSE, L'UTILISATEUR (ET NON LE RÉDACTEUR INITIAL, L'AUTEUR, NI TOUT AUTRE PARTICIPANT) ENDOSSERA LES COÛTS DE TOUTE INTERVENTION, RÉPARATION OU CORRECTION NÉCESSAIRE. CETTE DÉNÉGATION DE RESPONSABILITÉ CONSTITUE UNE PARTIE ESSENTIELLE DE CETTE LICENCE. AUCUNE UTILISATION DE CE DOCUMENT OU DE SA VERSION MODIFIÉE N'EST AUTORISÉE AUX TERMES DU PRÉSENT ACCORD, EXCEPTÉ SOUS CETTE DÉNÉGATION DE RESPONSABILITÉ ; ET EN AUCUNE CIRCONSTANCE ET SOUS AUCUNE INTERPRÉTATION DE LA LOI, QU'IL S'AGISSE DE RESPONSABILITÉ CIVILE (Y COMPRIS LA NÉGLIGENCE), CONTRACTUELLE OU AUTRE, L'AUTEUR, LE RÉDACTEUR INITIAL, TOUT PARTICIPANT ET TOUT DISTRIBUTEUR DE CE DOCUMENT OU DE SA VERSION DE MISE À JOUR AINSI QUE TOUT FOURNISSEUR DE QUELQUE PARTIE QUE CE SOIT NE POURRONT ÊTRE TENUS RESPONSABLES À L'ÉGARD DE QUICONQUE POUR TOUT DOMMAGE DIRECT, INDIRECT, PARTICULIER OU ACCIDENTEL DE TOUT TYPE Y COMPRIS, SANS LIMITATION, LES DOMMAGES LIÉS À LA PERTE DE CLIENTÈLE, AUX ARRÊTS DE TRAVAIL, AUX DÉFAILLANCES ET AUX DYSFONCTIONNEMENTS INFORMATIQUES OU TOUT AUTRE DOMMAGE OU PERTE LIÉE À L'UTILISATION DU PRÉSENT DOCUMENT ET DE SES VERSIONS DE MISE À JOUR, ET CE MÊME SI CES PARTIES ONT ÉTÉ INFORMÉES DE LA POSSIBILITÉ DE TELS DOMMAGES. Michael Chudobiak
mjc@svn.gnome.org
3.0.0 Avril 2009 Michael J. Chudobiak Projet de documentation GNOME Ce manuel documente la version 3.0.0 de moserial moserial est un terminal série pour le bureau GNOME, optimisé pour la journalisation et la capture de fichiers.
moserial série terminal Introduction moserial est un terminal série pour le bureau GNOME, optimisé pour la journalisation et la capture de fichiers. Il est avant tout destiné aux utilisateurs techniques devant communiquer avec des systèmes embarqués, des consoles et des matériels de test électroniques. Malgré l'orientation technique de l'audience visée, moserial est conçu pour être facile à utiliser. Un soin particulier a été apporté à ce que les opérations soient simples à exécuter, en minimisant le nombre de clics nécessaires. Le nombre d'options de configuration reste faible. Pour accroître l'efficacité, moserial gère aussi des fichiers de profil pour conserver les configurations les plus utilisées. Droits d'accès aux ports systèmes Avant d'utiliser moserial avec un port série, vous devez vous assurer que vous possédez bien les droits d'accès à ce port pour lire et écrire. Sur d'autres systèmes, vous aurez peut-être à lancer des commandes semblables à celles-ci : « sudo chmod o+rw /dev/ttyS* » ou « sudo chmod o+rw /dev/ttyUSB* », pour obtenir les droits d'accès aux ports série en lecture et en écriture (pour tous les utilisateurs). Malheureusement, ces réglages ne sont pas toujours conservés lors d'un redémarrage. Sinon, vous pouvez voir à quel groupe appartiennent les périphériques et ajouter votre compte comme membre de ce groupe. Avec Fedora 15, par exemple, il faut vous ajouter au groupe « dialout ». Utilisation de base Barre d'outils principale La plupart des fonctions de moserial sont accessibles par la barre d'outils principale, affichée ci-dessous : Paramétrage de port La première étape de l'utilisation de moserial est la configuration des paramètres du port série. Pour cela, cliquez sur Paramétrage de port. Dans la boîte de dialogue Paramétrage de port, vous définirez le port à utiliser, s'il doit être ouvert en lecture, en écriture, ou les deux, la vitesse de transmission en bauds, sa parité, le nombre de bits de données et d'arrêt, et la méthode de contrôle de flux. Les paramètres définis dans cette fenêtre écraseront les paramètres système définis par défaut pour ce port. La boîte de dialogue Paramétrage de port de moserial n'énumère que les ports /dev/ttySnn, /dev/ttyUSBnn et /dev/rfcommnn effectivement présents sur le système, où les valeurs « nn » sont comprises entre 0 et 31. Un écho local peut être activé dans cette boîte de dialogue. Dans ce cas, toutes les données que moserial reçoit seront répétées dans le périphérique d'envoi. Cette option devrait normalement être désactivée, car elle peut être cause de comportements anormaux, surtout si elle est également activée dans le périphérique distant (risque d'écho en boucle infinie). Ouverture de la connexion L'étape suivante pour communiquer avec le périphérique distant est de cliquer sur Connecter, ce qui ouvre le port. Si vous n'avez pas les droits d'accès à ce port, une erreur sera émise. Cette étape est facultative. Si vous l'omettez, moserial tentera de se connecter automatiquement quand ce sera nécessaire. Une fois connecté, le bouton Connecter se change en bouton Déconnecter. Le fait de cliquer sur Déconnecter ferme le port et réinitialise les compteurs TX et RX. Entrée et sortie de base Une fois le port ouvert, tout texte reçu depuis le périphérique distant s'affiche dans la zone de texte ASCII reçu. Si moserial détecte un grand nombre de caractères non imprimables, il passera automatiquement en visualisation HEX reçu. Pour basculer entre les visualisations HEX et ASCII, cliquez simplement sur les onglets correspondants. Pour envoyer des données au périphérique distant, tapez le texte dans la boîte uni-ligne Sortant et cliquez sur le bouton Envoyer. Votre ligne de texte se terminera par la séquence sélectionnée dans la liste déroulante tout à droite du bouton Envoyer. Si vous n'êtes pas sûr de cette séquence de terminaison, essayez d'abord « CR+LF end ». Le bouton ASCII/HEX doit être sur ASCII pour envoyer du texte. Si le bouton ASCII/HEX est sur HEX, ne saisissez pas de texte dans la zone Sortant. À la place, saisissez des caractères hexadécimaux sous la forme « 1234ABCD.... ». Après transmission des données, un enregistrement de ces données se trouvera dans les zones de texte ASCII envoyé et HEX envoyé. Ces zones de texte ne sont pas modifiables. Le périphérique distant peut faire écho aux données envoyées. Si moserial détecte un texte répété dans la zone de texte ASCII reçu, il mettra le texte répété en surbrillance (en utilisant la couleur de surbrillance définie dans la boîte de dialogue des préférences). La barre d'état, en bas de la fenêtre principale, affiche l'état du port ainsi que le compte des octets envoyés (TX) et reçus (RX). Si certaines des données ne peuvent être affichées, le compte de ces données est néanmoins présenté. Enregistrement des entrées et des sorties moserial peut enregistrer dans un fichier les données envoyées et reçues. Cette fonction est également utile pour recevoir et enregistrer directement des données binaires déversées depuis un périphérique distant. C'est le cas de certains oscilloscopes qui dirigent des captures d'écran vers un port série, sans recourir à un protocole de correction d'erreurs (tel le Tektronix 11801). Quand vous êtes prêt à enregistrer vers un fichier, cliquez simplement sur Enregistrer, sélectionnez les données que vous voulez enregistrer (entrantes et/ou sortantes) dans la boîte de sélection du Flux à enregistrer et saisissez le nom de fichier. Quand l'enregistrement commence, le bouton Enregistrer devient Arrêter l'enregistrement. Vous devez cliquer sur ce bouton quand vous souhaitez arrêter l'enregistrement ou quand vous avez reçu la totalité du fichier binaire que vous souhaitiez télécharger. moserial peut éventuellement lancer le fichier enregistré, avec l'application par défaut pour son type de fichier, quand l'enregistrement est fini. Il peut aussi interrompre l'enregistrement après une période d'inactivité. Utilisez les Préférences pour activer ou désactiver ces options. Notez que si vous souhaitez recevoir des fichiers en utilisant un protocole de correction d'erreurs (xmodem, ymodem ou zmodem), vous devez utilisez la fonction Recevoir un fichier. Contrairement à la fonction Enregistrer, la réception de fichier peut automatiquement détecter la fin d'un téléchargement de fichier. Envoi de fichiers moserial peut transmettre des fichiers dans un flux de données binaires direct, mais il peut aussi les transmettre en passant par les protocoles de correction d'erreurs xmodem, ymodem et zmodem. Pendant la transmission de fichier, les données envoyées ne sont pas reliées aux zones de texte ASCII envoyé ou HEX envoyé. Quand vous êtes prêt à envoyer un fichier, cliquez simplement sur Envoyer un fichier. Vous devrez aussi sélectionner le protocole approprié en bas de la fenêtre. Pendant l'enregistrement, une barre de progression affiche l'état de transmission du fichier. moserial n'applique pas les protocoles xmodem, ymodem ou zmodem directement. Il dépend des utilitaires standards rz et sz pour envoyer et recevoir des données. Ces utilitaires font partie du paquet lrzsz, qui doit être installé sur votre système. Réception de fichiers moserial peut recevoir des fichiers dans un flux direct de données binaires, mais il peut aussi les recevoir en passant par les protocoles de correction d'erreurs xmodem, ymodem et zmodem. Pendant la transmission de fichier, les données reçues ne sont pas reliées aux zones de texte ASCII reçu ou HEX reçu. Pour recevoir des flux de données binaires directs, utilisez la fonction Enregistrer plutôt que la fonction Recevoir un fichier. Pour recevoir des fichiers envoyés avec les protocoles de correction d'erreurs xmodem, ymodem ou zmodem, utilisez la fonction Recevoir un fichier. Quand vous êtes prêt à recevoir un fichier, cliquez simplement sur Recevoir un fichier et sélectionnez un dossier pour y enregistrer le fichier reçu. Vous devrez également sélectionner le protocole approprié en bas de la fenêtre. Pendant l'enregistrement, une barre de progression affiche l'état de réception du fichier. moserial n'applique pas les protocoles xmodem, ymodem ou zmodem directement. Il dépend des utilitaires standards rz et sz pour envoyer et recevoir des données. Ces utilitaires font partie du paquet lrzsz, qui doit être installé sur votre système. Autres préférences moserial possède plusieurs options qui peuvent être configurées depuis la boîte de dialogue Préférences. Vous pouvez configurer les couleurs de premier plan et d'arrière-plan des zones de texte, la couleur de la surbrillance, ainsi que la couleur, le type et la taille de la police. Si l'option Lancer les fichiers enregistrés est activée, le fichier enregistré sera ouvert aussitôt après sa sauvegarde, en utilisant l'application par défaut pour le type du fichier. L'application par défaut est définie par l'environnement de bureau. Si l'option Activer le délai de connexion est cochée, l'enregistrement s'arrêtera automatiquement après une durée d'inactivité ajustable, si la réception de données est interrompue. C'est-à-dire que moserial attendra indéfiniment d'enregistrer les premières données avant d'activer le compteur d'inactivité. Utilisation de profils moserial peut enregistrer ses paramètres dans un fichier de profil et les charger à partir de ce profil. Vous pouvez ainsi sauvegarder et rappeler vos configurations les plus utilisées. Pour enregistrer un profil, faites appel à la boîte de dialogue FichierEnregistrer la configuration ou FichierEnregistrer les paramètres sous. Pour charger un profil, utilisez la boîte de dialogue FichierOuvrir les paramètres. Le chargement d'un profil déconnecte automatiquement tout port connecté. Quand vous quittez moserial, les paramètres en cours sont enregistrés dans un fichier de profil par défaut. Ces paramètres seront automatiquement rappelés lors du prochain lancement de moserial. Touches spéciales Touches spéciales Raccourci clavier Description CtrlC Copie le texte. Peut être utilisé dans toutes les zones de texte. CtrlX Coupe le texte. Ne marche que pour la zone de texte uni-ligne Sortant. CtrlV Colle le texte dans la zone de texte uni-ligne Sortant et déplace le pointeur dans cette zone. Échap Positionne le pointeur dans la zone de texte uni-ligne Sortant.
moserial-3.0.8/doc/es/0000775000213200021320000000000012064144712011503 500000000000000moserial-3.0.8/doc/es/es.po0000644000213200021320000010632412064144712012376 00000000000000# translation of moserial.help.master.po to Español # Spanish translation of moserial. # Copyright (C) 2009 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # # Jorge González , 2009, 2011. # Daniel Mustieles , 2011. # msgid "" msgstr "" "Project-Id-Version: moserial.help.master\n" "POT-Creation-Date: 2011-08-16 19:41+0000\n" "PO-Revision-Date: 2011-08-20 11:25+0200\n" "Last-Translator: Daniel Mustieles \n" "Language-Team: Español \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: C/moserial.xml:19(title) #| msgid "moserial Manual V2.26.0" msgid "moserial Manual V3.0.0" msgstr "Manual de moserial V3.0.0" #: C/moserial.xml:21(year) msgid "2009" msgstr "2009" #: C/moserial.xml:22(holder) C/moserial.xml:59(para) msgid "Michael J. Chudobiak" msgstr "Michael J. Chudobiak" #: C/moserial.xml:38(publishername) C/moserial.xml:60(para) msgid "GNOME Documentation Project" msgstr "Proyecto de documentación de GNOME" #: C/moserial.xml:2(para) msgid "" "Permission is granted to copy, distribute and/or modify this document under " "the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any " "later version published by the Free Software Foundation with no Invariant " "Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy " "of the GFDL at this link or " "in the file COPYING-DOCS distributed with this manual." msgstr "" "Se otorga permiso para copiar, distribuir y/o modificar este documento bajo " "los términos de la Licencia de Documentación Libre de GNU, Versión 1.1 o " "cualquier otra versión posterior publicada por la Free Software Foundation; " "sin Secciones Invariantes ni Textos de Cubierta Delantera ni Textos de " "Cubierta Trasera. Puede encontrar una copia de la licencia GFDL en este " "enlace o en el archivo " "COPYING-DOCS distribuido con este manual." #: C/moserial.xml:12(para) msgid "" "This manual is part of a collection of GNOME manuals distributed under the " "GFDL. If you want to distribute this manual separately from the collection, " "you can do so by adding a copy of the license to the manual, as described in " "section 6 of the license." msgstr "" "Este manual es parte de una colección de manuales de GNOME distribuido bajo " "la GFDL. Si quiere distribuir este manual por separado de la colección, " "puede hacerlo añadiendo una copia de la licencia al manual, tal como se " "describe en la sección 6 de la licencia." #: C/moserial.xml:19(para) msgid "" "Many of the names used by companies to distinguish their products and " "services are claimed as trademarks. Where those names appear in any GNOME " "documentation, and the members of the GNOME Documentation Project are made " "aware of those trademarks, then the names are in capital letters or initial " "capital letters." msgstr "" "Muchos de los nombres utilizados por las empresas para distinguir sus " "productos y servicios se consideran marcas comerciales. Cuando estos nombres " "aparezcan en la documentación de GNOME, y siempre que se haya informado a " "los miembros del Proyecto de documentación de GNOME de dichas marcas " "comerciales, los nombres aparecerán en mayúsculas o con las iniciales en " "mayúsculas." #: C/moserial.xml:35(para) msgid "" "DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, " "EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT " "THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS " "MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE " "RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR " "MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR " "MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL " "WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY " "SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN " "ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION " "OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND" msgstr "" "EL DOCUMENTO SE PROPORCIONA \"TAL CUAL\", SIN GARANTÍA DE NINGÚN TIPO, NI " "EXPLÍCITA NI IMPLÍCITA INCLUYENDO, SIN LIMITACIÓN, GARANTÍA DE QUE EL " "DOCUMENTO O VERSIÓN MODIFICADA DE ÉSTE CAREZCA DE DEFECTOS COMERCIALES, SEA " "ADECUADO A UN FIN CONCRETO O INCUMPLA ALGUNA NORMATIVA. TODO EL RIESGO " "RELATIVO A LA CALIDAD, PRECISIÓN Y UTILIDAD DEL DOCUMENTO O SU VERSIÓN " "MODIFICADA RECAE EN USTED. SI CUALQUIER DOCUMENTO O VERSIÓN MODIFICADA DE " "AQUÉL RESULTARA DEFECTUOSO EN CUALQUIER ASPECTO, USTED (Y NO EL REDACTOR " "INICIAL, AUTOR O CONTRIBUYENTE) ASUMIRÁ LOS COSTES DE TODA REPARACIÓN, " "MANTENIMIENTO O CORRECCIÓN NECESARIOS. ESTA RENUNCIA DE GARANTÍA ES UNA " "PARTE ESENCIAL DE ESTA LICENCIA. NO SE AUTORIZA EL USO DE NINGÚN DOCUMENTO " "NI VERSIÓN MODIFICADA DE ÉSTE POR EL PRESENTE, SALVO DENTRO DEL CUMPLIMIENTO " "DE LA RENUNCIA;Y" #: C/moserial.xml:55(para) msgid "" "UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING " "NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY " "CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE " "DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON " "FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF " "ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, " "WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES " "OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED " "VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE " "POSSIBILITY OF SUCH DAMAGES." msgstr "" "EN NINGUNA CIRCUNSTANCIA NI SEGÚN NINGÚN ARGUMENTO LEGAL, SEA POR MOTIVOS " "CULPOSOS (INCLUIDA LA NEGLIGENCIA), CONTRACTUALES O DE OTRO TIPO, NI EL " "AUTOR, NI EL REDACTOR INICIAL, NI CUALQUIER COLABORADOR, NI CUALQUIER " "DISTRIBUIDOR DEL DOCUMENTO O VERSIÓN MODIFICADA DEL MISMO, NI CUALQUIER " "PROVEEDOR DE CUALQUIERA DE DICHAS PARTES, SERÁN RESPONSABLES, ANTE NINGÚN " "TERCERO, DE NINGÚN DAÑO O PERJUICIO DIRECTO, INDIRECTO, ESPECIAL, INCIDENTAL " "O CONSIGUIENTE DE NINGÚN TIPO, INCLUIDOS, SIN LIMITACIÓN, LOS DAÑOS POR " "PÉRDIDA DE FONDO DE COMERCIO, INTERRUPCIÓN DEL TRABAJO, FALLO O MAL " "FUNCIONAMIENTO INFORMÁTICO, NI CUALQUIER OTRO DAÑO O PÉRDIDA DERIVADOS DEL " "USO DEL DOCUMENTO Y LAS VERSIONES MODIFICADAS DEL MISMO, O RELACIONADO CON " "ELLO, INCLUSO SI SE HABÍA COMUNICADO A AQUELLA PARTE LA POSIBILIDAD DE TALES " "DAÑOS." #: C/moserial.xml:28(para) msgid "" "DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS " "OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: " "" msgstr "" "ESTE DOCUMENTO Y LAS VERSIONES MODIFICADAS DEL MISMO SE PROPORCIONAN SEGÚN " "LAS CONDICIONES ESTABLECIDAS EN LA LICENCIA DE DOCUMENTACIÓN LIBRE DE GNU " "(GFDL) Y TENIENDO EN CUENTA QUE: " #: C/moserial.xml:45(firstname) msgid "Michael" msgstr "Michael" #: C/moserial.xml:46(surname) msgid "Chudobiak" msgstr "Chudobiak" #: C/moserial.xml:48(email) msgid "mjc@svn.gnome.org" msgstr "mjc@svn.gnome.org" #: C/moserial.xml:56(revnumber) msgid "3.0.0" msgstr "3.0.0" #: C/moserial.xml:57(date) msgid "April 2009" msgstr "Abril de 2009" #. this is version of manual, not application #: C/moserial.xml:67(releaseinfo) #| msgid "This is manual describes version 2.26.0 of moserial" msgid "This is manual describes version 3.0.0 of moserial" msgstr "Este manual describe la versión 3.0.0 de moserial" #: C/moserial.xml:70(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture." msgstr "" "moserial es un terminal serie para el Escritorio " "GNOME, optimizado para inicios de sesión y captura de archivos." #: C/moserial.xml:74(primary) msgid "moserial" msgstr "moserial" #: C/moserial.xml:77(primary) msgid "serial" msgstr "serie" #: C/moserial.xml:80(secondary) msgid "terminal" msgstr "terminal" #: C/moserial.xml:88(title) msgid "Introduction" msgstr "Introducción" #: C/moserial.xml:89(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to " "communicate with embedded systems, consoles, and electronic test equipment." msgstr "" "moserial es una terminal serie para el escritorio " "GNOME, optimizada el registro y la captura de archivos. " "moserial está pensado principalmente para " "usuarios técnicos que necesitan comunicarse con sistemas empotrados, " "consolas y equipos electrónicos de pruebas." #: C/moserial.xml:95(para) msgid "" "Despite the technical orientation of the intended audience, " "moserial is designed to be user-friendly. Care " "has been taken to ensure that operations are simple to execute, by " "minimizing the number of clicks needed. The number of configuration options " "has also been kept small." msgstr "" "A pesar de la orientación técnica de su público, moserial está diseñado para ser amigable. Se ha tenido cuidado de " "asegurar que las operaciones son sencillas de ejecutar, minimizando el " "número de pulsaciones necesarias. También se ha mantenido un número pequeño " "de opciones de configuración." #: C/moserial.xml:102(para) msgid "" "To further improve efficiency, moserial also " "supports profile files to store frequently-used configurations." msgstr "" "Para mejorar aún mas la eficiencia, moserial " "también soporta archivos de perfil para almacenar las configuraciones usadas " "más habitualmente." #: C/moserial.xml:109(title) msgid "System Port Permissions" msgstr "Permisos del sistema de puertos" #: C/moserial.xml:110(para) msgid "" "Before using moserial with a serial port, you " "need to make sure that you actually have permission to read and/or write to " "the port." msgstr "" "Antes de usar moserial con un puerto serie, debe " "asegurarse de que actualmente tiene permisos para leer y/o escribir en el " "puerto." #: C/moserial.xml:114(para) #| msgid "" #| "On some systems, you may need to do something like \"sudo chmod o+rw /dev/" #| "ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write " #| "permissions (for all users) on the serial ports." msgid "" "On some systems, you may need to do something like \"sudo chmod o+rw /dev/" "ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write " "permissions (for all users) on the serial ports. Unfortunately, this may not " "be persistent after reboots." msgstr "" "En algunos sistemas, puede necesitar hacer algo como «sudo chmod o+rw /dev/" "ttyS*» y «sudo chmod o+rw /dev/ttyUSB*» para obtener permisos de lectura/" "escritura (para todos los usuarios) en los puertos serie. Lamentablemente, " "estos cambios no se guardar después de reiniciar." #: C/moserial.xml:119(para) #| msgid "" #| "Alternatively, you can see what group the devices belong to, and make " #| "your account a member of that group." msgid "" "Alternatively, you can see what group the devices belong to, and make your " "account a member of that group. In Fedora 15, for example, you should add " "yourself to the \"dialout\" group." msgstr "" "Alternativamente, puede ver a qué grupo de dispositivos pertenece, y hacer " "que su cuenta pertenezca a este grupo. En Fedora 15, por ejemplo, debe " "pertenecer al grupo «dialout»." #: C/moserial.xml:126(title) msgid "Basic Usage" msgstr "Uso básico" #: C/moserial.xml:128(title) msgid "The Main Toolbar" msgstr "La barra de herramientas principal" #: C/moserial.xml:129(para) msgid "" "Most moserial functions are accessed through the " "main toolbar, shown below:" msgstr "" "A la mayoría de las funciones de moserial se " "accede a través de la barra de herramientas principal, como se muestra a " "continuación:" #: C/moserial.xml:137(title) msgid "Port Setup" msgstr "Configuración del puerto" #: C/moserial.xml:138(para) msgid "" "The first step in using moserial is to configure " "the serial port parameters. Click Port Setup to do " "this. In the port setup dialog, you will set the port to use, whether the " "port should be open for reads, writes, or both, its baud rate, its parity, " "the number of data and stop bits, and the handshaking method. The settings " "specified in this dialog will override any system default settings for the " "port." msgstr "" "El primer paso para usar moserial es configurar " "los parámetros del puerto serie. Pulse Configuración del puerto para hacerlo. En el diálogo de configuración del puerto que usar, " "indique si el puerto se debe abrir para lectura, escritura o ambas, su " "velocidad en baudios, el número de bits de datos y de parada y el método de " "negociación. La configuración especificada en este diálogo invalidará " "cualquier configuración predeterminada del sistema para el puerto." #: C/moserial.xml:146(para) msgid "" "The moserial port setup dialog will only list " "the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist " "on the system, for values of \"nn\" between 0 and 31." msgstr "" "El diálogo de configuración de puertos de moserial sólo los puertos /dev/ttySnn, /dev/ttyUSBnn, y /dev/rfcommnn " "que existen actualmente en el sistema, para valores de «nn» entre 0 y 31." #: C/moserial.xml:151(para) msgid "" "A local echo can be enabled from this dialog. If enabled, all data that " "moserial receives will be echoed back to the " "sending device. This should normally be disabled, as it can cause unexpected " "behaviour, especially if the remote device also has echo enabled. (This " "would cause an infinite loop of echoes!)" msgstr "" "Se puede activar el eco local desde este diálogo. Si está activado, todos " "los datos que moserial reciba se enviarán como " "eco al dispositivo emisor. Normalmente, esto debería estar desactivado, ya " "que puede causar un comportamiento inesperado, especialmente si el " "dispositivo remoto también tiene el eco activado (Esto causaría un bucle de " "ecos infinito.)" #: C/moserial.xml:162(title) msgid "Open the Connection" msgstr "Abrir la conexión" #: C/moserial.xml:163(para) msgid "" "The next step in communicating with your remote device is to click " "Connect. This opens the port. If you do not have the " "necessary privileges to open the port, an error will be reported." msgstr "" "El siguiente paso para comunicarse con su dispositivo remoto es pulsar en " "Conectar. Esto abre el puerto. Si no tiene los " "permisos necesario para abrir el puerto, ocurrirá un error." #: C/moserial.xml:171(para) msgid "" "This step is optional. If you skip it, moserial " "will try to connect automatically when needed." msgstr "" "Este paso es opcional. Si lo omite, moserial " "intentará conectar automáticamente cuando se necesite." #: C/moserial.xml:175(para) msgid "" "Once you have connected, the Connect button will " "change into a Disconnect button. Clicking " "Disconnect closes the port, and resets the TX and RX " "counters." msgstr "" "Una vez que ha conectado, el botón Conectar. cambiará " "al botón Desconectar. Pulsar en " "Desconectar, cierra el puerto y reinicia los " "contadores TX y RX." #: C/moserial.xml:186(title) msgid "Basic Input and Output" msgstr "Entrada y salida básica" #: C/moserial.xml:187(para) msgid "" "Once the port has been opened, any text received from the remote device will " "be displayed in the Received ASCII text area. If " "moserial detects a large number of unprintable " "characters, it will switch automatically to the Received HEX view." msgstr "" "Una vez que el puerto se ha abierto, cualquier texto recibido desde el " "dispositivo remoto se mostrará en el área de texto ASCII recibido. Si moserial detecta muchos caracteres " "no imprimibles, cambiará automáticamente a la vista HEX recibido." #: C/moserial.xml:197(para) msgid "" "To switch between HEX and ASCII views, simply click on the appropriate tabs." msgstr "" "Para cambiar entre las vistas HEX y ASCII, simplemente pulse en las pestañas " "apropiadas." #: C/moserial.xml:201(para) msgid "" "To send data to the remote device, you can type text into the " "Outgoing single-line text box, and click the " "Send button. Your line of text will be terminated " "with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, " "start with \"CR+LF end\". The ASCII/HEX button should " "be set to ASCII to send text." msgstr "" "Para enviar datos al dispositivo remoto, puede escribir texto en la caja de " "texto de Salida de una sola línea y pulsar el botón " "Enviar. Su línea de texto terminará con la secuencia " "seleccionada en el área de la derecha del botón Enviar. Si no está seguro qué secuencia de terminación es la mejor, " "empiece con «CR+LF end». El botón ASCII/HEX debería " "establecerse a «ASCII» para enviar texto." #: C/moserial.xml:214(para) msgid "" "If the ASCII/HEX button is set to HEX, do not enter " "text in the Outgoing area. Instead, enter hexadecimal " "numbers in the form \"1234ABCD....\"." msgstr "" "Si el botón ASCII/HEX está establecido a HEX, no " "introduzca texto en el área Salida. En su lugar, " "introduzca números hexadecimales de la forma «1234ABCD...»." #: C/moserial.xml:219(para) msgid "" "Once your data has been transmitted, a record of it will exist in the " "Sent ASCII and Sent HEX text " "areas. These text areas are not editable." msgstr "" "Una vez que sus datos se han transmitido, existirá un registro en las áreas " "de texto ASCII enviado y HEX enviado. Estas áreas de texto no son editables." #: C/moserial.xml:227(para) msgid "" "The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII " "text area, it will highlight the echoed text (using the highlight color " "defined in the preferences dialog)." msgstr "" "El dispositivo remoto puede hacer eco de sus datos enviados. Si " "moserial detecta que se ha hecho eco del texto en " "el área de texto ASCII recibido, lo resaltará (usando " "el color de resaltado definido en el diálogo de preferencias)." #: C/moserial.xml:233(para) msgid "" "The statusbar at the bottom of the main window shows the state of port, and " "a count of the sent (TX) and received (RX) bytes. If some of the received " "data is unprintable, a count of these items is shown as well." msgstr "" "La barra de estado de la parte inferior de la ventana principal muestra el " "estado de un puerto y un contador de los bytes enviados (TX) y recibidos " "(RX). Si alguno de los datos recibidos no es imprimible, también se mostrará " "un contador de estos elementos." #: C/moserial.xml:245(title) msgid "Recording Input and Output" msgstr "Grabar la entrada y la salida" #: C/moserial.xml:246(para) msgid "" "moserial can be used to record your sent and " "received data to a file. This function is also useful for receiving and " "storing straight binary data dumped from a remote device. For instance, some " "oscilloscopes will dump screenshots to a serial port, without using any " "error correction protocols (like the Tektronix 11801)." msgstr "" "moserial se puede usar para grabar los datos " "datos enviados y recibidos a un archivo. Esta función también es útil para " "recibir y almacenar flujos binarios de datos volcados desde un dispositivo " "remoto. Por ejemplo, algunos osciloscopios volcarán capturas de pantalla a " "un puerto serie, sin usar ningún protocolo de corrección de errores (como el " "Tektronix 11801)." #: C/moserial.xml:256(para) msgid "" "When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in " "the Stream to Record selection box, and enter the " "filename in the filechooser area." msgstr "" "Cuando esté preparado para recibir un archivo, simplemente pulse " "Grabar, seleccione los datos que quiere grabar " "(Entrada y/o Salida) en la casilla de selección Flujo que grabar e introduzca el nombre del archivo en el área del selector de " "archivos." #: C/moserial.xml:265(para) msgid "" "When recording begins, the Record button will change " "into a Stop Recording button. You will need to click " "this when you wish to stop recording, or you have received the entire binary " "file that you wanted to download." msgstr "" "Cuando empieza la grabación, el botón Grabar cambia a " "Detener grabación. Deberá pulsarlo cuando quiera " "detener la grabación, o cuando haya recibido el archivo binario completo que " "quiera descargar." #: C/moserial.xml:274(para) msgid "" "moserial can optionally launch the recorded file " "with the default application for its file type, when recording has finished. " "It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these " "features." msgstr "" "moserial puede, opcionalmente, abrir el archivo " "grabado con la aplicación predeterminada para ese tipo de archivo, cuando la " "grabación haya terminado. La grabación también puede terminar después un " "período de inactividad. Use el diálogo preferencias para activar o desactivar estas características." #: C/moserial.xml:281(para) msgid "" "Note that if you wish to receive files using an error correction protocol " "(xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the " "Record function, the Receive File function can automatically determine when the file download is " "complete." msgstr "" "Tenga en cuenta que si recibe archivos usando un protocolo de corrección de " "errores (xmodem, ymodem, o zmodem), deberá usar la función recibir archivo en su lugar. A diferencia de la función " "Grabar, la función Recibir archivo puede determinar automáticamente cuando se ha terminado la " "descarga del archivo." #: C/moserial.xml:294(title) msgid "Sending Files" msgstr "Enviar archivos" #: C/moserial.xml:295(para) msgid "" "moserial can transmit files in a straight binary " "data stream, and it can also send files using the xmodem, ymodem, and zmodem " "error correction protocols. During file transmission, the sent data is not " "logged to the Sent ASCII or Sent HEX text areas." msgstr "" "moserial puede transmitir archivos como un flujo " "de datos binarios, y también puede enviar archivos usando los protocolos de " "corrección de errores xmodem, ymodem, y zmodem. Durante la transferencia de " "archivos, los datos enviados no se registran en las áreas de texto " "ASCII enviado o HEX enviado" #: C/moserial.xml:305(para) msgid "" "When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select " "the appropriate protocol below." msgstr "" "Cuando esté listo para enviar un archivo, simplemente pulse " "Enviar archivo y seleccione el archivo que quiere " "enviar. También necesitará elegir a continuación el protocolo adecuado." #: C/moserial.xml:313(para) msgid "" "When recording begins, a progress bar will display the status of the file " "transmission." msgstr "" "Cuando se inicia la grabación, una barra de progreso mostrará el estado de " "la transmisión del archivo." #: C/moserial.xml:320(para) C/moserial.xml:363(para) msgid "" "moserial does not implement the xmodem, ymodem, or zmodem protocols " "directly. It relies on the standard rz and sz utilities to send and receive " "data. These utilities, part of the lrzsz package, must be installed on your " "system." msgstr "" "moserial no implementa los protocolos xmodem, ymodem o zmodem directamente. " "Se basa en las utilidades estándar rz y sz para enviar y recibir datos. " "Estas utilidades, que forman parte del paquete Irzsz se deben instalar en su " "sistema." #: C/moserial.xml:329(title) msgid "Receiving Files" msgstr "Recibir archivos" #: C/moserial.xml:330(para) msgid "" "moserial can receive files sent in a straight " "binary data stream, and it can also receive files using the xmodem, ymodem, " "and zmodem error correction protocols. During file transmission, the " "received data is not logged to the Sent ASCII or " "Sent HEX text areas." msgstr "" "moserial puede recibir archivos como un flujo de " "datos binarios, y también puede recibir archivos usando los protocolos de " "corrección de errores xmodem, ymodem, y zmodem. Durante la transferencia de " "archivos, los datos enviados no se registran en las áreas de texto " "ASCII enviado o HEX enviado" #: C/moserial.xml:337(para) msgid "" "To receive straight binary data streams, use the Record function instead of the Receive File " "function." msgstr "" "Para recibir flujos binarios de datos, use la función grabar en lugar de la función Recibir " "archivo." #: C/moserial.xml:341(para) msgid "" "To receive files sent with the xmodem, ymodem, or zmodem error correction " "protocols, using the Receive File function." msgstr "" "Recibir archivos enviados con los protocolos de corrección de errores " "xmodem, ymodem, o zmodem, usando la función Recibir archivo." #: C/moserial.xml:348(para) msgid "" "When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need " "to select the appropriate protocol below." msgstr "" "Cuando esté preparado para recibir un archivo, simplemente pulse " "Receive File y seleccione una carpeta donde almacenar " "el archivo recibido. También necesitará seleccionar el protocolo adecuado a " "continuación." #: C/moserial.xml:356(para) msgid "" "When recording begins, a progress bar will display the status of the file " "reception." msgstr "" "Cuando se inicia la grabación, una barra de progreso mostrará el estado de " "la recepción del archivo." #: C/moserial.xml:372(title) msgid "Other Preferences" msgstr "Otras preferencias" #: C/moserial.xml:373(para) msgid "" "moserial has several options that can be " "configured from the Preferences dialog." msgstr "" "moserial tiene varias opciones que se pueden " "configurar en el diálogo Preferencias." #: C/moserial.xml:380(para) msgid "" "The color of the text area foreground, background, and highlighting can be " "configured, as can the font type and size." msgstr "" "Se puede configurar el color del área de texto de primer plano, el " "resaltado, y el tamaño y tipo de tipografía." #: C/moserial.xml:384(para) msgid "" "If Launch recorded files is enabled, a recorded file " "will be opened immediately after it is saved, using the default application " "for the file type. The default application is defined by the desktop " "environment." msgstr "" "Si la opción Lanzar los archivos guardados está " "activada, un archivo grabado se abrirá inmediatamente después de que se haya " "guardado, usando la aplicación predeterminada para el tipo de archivo. La " "aplicación predeterminada se define en el entorno de escritorio." #: C/moserial.xml:389(para) msgid "" "If Enable timeout is enabled, recording will be " "automatically stopped after an adjustable period of inactivity after " "receiving some data. That is, moserial will wait indefinitely to record the " "first data byte before activating the inactivity timer." msgstr "" "Si la opción Activar el tiempo de expiración está " "activada, la grabación se detendrá automáticamente después de un período " "configurable de inactividad recibiendo datos. Esto significa que moserial " "esperará indefinidamente para grabar el primer byte de datos antes de " "activar el temporizador de inactividad." #: C/moserial.xml:398(title) msgid "Using Profiles" msgstr "Usar perfiles" #: C/moserial.xml:399(para) msgid "" "moserial can load and save its settings from " "profile files, so that you can store and recall commonly used " "configurations. To save a profile, simply use the " "FileSave or FileSave " "As dialogs. To load a profile, use the " "FileOpen dialog." msgstr "" "moserial puede cargar y guardar su configuración " "en archivos de perfil, por lo que puede almacenar y volver a usar las " "configuraciones usadas más habitualmente. Para guardar un perfil, " "simplemente los diálogos ArchivoGuardar o " "FileGuardar como. Para cargar un perfil, use el diálogo " "ArchivoAbrir." #: C/moserial.xml:408(para) msgid "Loading a profile will automatically disconnect any connected port." msgstr "" "Cargar un perfil desconectará automáticamente cualquier puerto conectado." #: C/moserial.xml:411(para) msgid "" "When you quit moserial, the settings currently in " "use are stored in a default profile file. These settings will automatically " "be recalled the next time you launch moserial." msgstr "" "Cuando sale de moserial, la configuración actual " "se guarda en un archivo del perfil predeterminado. Esta configuración se " "usará automáticamente la próxima vez que ejecute moserial." #: C/moserial.xml:419(title) C/moserial.xml:422(title) msgid "Special Keys" msgstr "Teclas especiales" #: C/moserial.xml:429(para) msgid "Keyboard Shortcut" msgstr "Combinaciones de teclas" #: C/moserial.xml:431(para) msgid "Description" msgstr "Descripción" #: C/moserial.xml:438(keycap) C/moserial.xml:448(keycap) #: C/moserial.xml:458(keycap) msgid "Ctrl" msgstr "Ctrl" #: C/moserial.xml:438(keycap) msgid "C" msgstr "C" #: C/moserial.xml:442(para) msgid "Copies text. This can be used in any of the text areas." msgstr "Copia texto. Esto se puede usar en cualquier área de texto." #: C/moserial.xml:448(keycap) msgid "X" msgstr "X" #: C/moserial.xml:452(para) msgid "" "Cuts text. This only works in the Outgoing single-line " "text box." msgstr "" "Corta texto. Esto sólo funciona en la caja de texto de Salida de una sola línea." #: C/moserial.xml:458(keycap) msgid "V" msgstr "V" #: C/moserial.xml:462(para) msgid "" "Pastes text into the Outgoing single-line text box, and " "moves the focus to that text box." msgstr "" "Pega texto en la caja de texto de Salida de una sola " "línea, y mueve el foco a esta caja de texto." #: C/moserial.xml:471(keycap) msgid "Esc" msgstr "Esc" #: C/moserial.xml:475(para) msgid "" "Moves the focus to the Outgoing single-line text box." msgstr "" "Mueve el foco a la caja de texto de Salida de una sola " "línea." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 #: C/moserial.xml:0(None) msgid "translator-credits" msgstr "" "Jorge González , 2009\n" "Daniel Mustieles , 2011" #~ msgid "2.26.0" #~ msgstr "2.26.0" #~ msgid "" #~ "There are a number of ways this is done on a Linux system. On Fedora 10, " #~ "you may need to use the PolicyKit tool, invoked using " #~ "SystemPreferencesSystemAuthorizations. Then, navigate to the " #~ "orgfreedesktopdevice-accessDirectly " #~ "access serial modem devices, and click " #~ "edit. Set Anyone: to \"Yes\"." #~ msgstr "" #~ "Esto se hace de varias maneras en un sistema Linux. En Fedora 10, puede " #~ "necesitar usar la herramienta PolicyKit, ejecutada usando " #~ "SistemaPreferenciasSistemaAutorizaciones. Entonces, navegue hasta " #~ "orgfreedesktopacceso a dispositivosAcceso directo a dispositivos de módem serie, y pulse Editar. Configure " #~ "Cualquiera: a «Sí»." #~ msgid "Serial Port Authorizations on Fedora 10" #~ msgstr "Autorizaciones del puerto serie en Fedora 10" moserial-3.0.8/doc/es/moserial.xml0000644000213200021320000005363612064144712013773 00000000000000 moserial"> ]>
Manual de <application>moserial</application> V3.0.0 2009 Michael J. Chudobiak 2009Jorge González (jorgegonz@svn.gnome.org)2011Daniel Mustieles (daniel.mustieles@gmail.com) Proyecto de documentación de GNOME Se otorga permiso para copiar, distribuir y/o modificar este documento bajo los términos de la Licencia de Documentación Libre de GNU, Versión 1.1 o cualquier otra versión posterior publicada por la Free Software Foundation; sin Secciones Invariantes ni Textos de Cubierta Delantera ni Textos de Cubierta Trasera. Puede encontrar una copia de la licencia GFDL en este enlace o en el archivo COPYING-DOCS distribuido con este manual. Este manual es parte de una colección de manuales de GNOME distribuido bajo la GFDL. Si quiere distribuir este manual por separado de la colección, puede hacerlo añadiendo una copia de la licencia al manual, tal como se describe en la sección 6 de la licencia. Muchos de los nombres utilizados por las empresas para distinguir sus productos y servicios se consideran marcas comerciales. Cuando estos nombres aparezcan en la documentación de GNOME, y siempre que se haya informado a los miembros del Proyecto de documentación de GNOME de dichas marcas comerciales, los nombres aparecerán en mayúsculas o con las iniciales en mayúsculas. ESTE DOCUMENTO Y LAS VERSIONES MODIFICADAS DEL MISMO SE PROPORCIONAN SEGÚN LAS CONDICIONES ESTABLECIDAS EN LA LICENCIA DE DOCUMENTACIÓN LIBRE DE GNU (GFDL) Y TENIENDO EN CUENTA QUE: EL DOCUMENTO SE PROPORCIONA "TAL CUAL", SIN GARANTÍA DE NINGÚN TIPO, NI EXPLÍCITA NI IMPLÍCITA INCLUYENDO, SIN LIMITACIÓN, GARANTÍA DE QUE EL DOCUMENTO O VERSIÓN MODIFICADA DE ÉSTE CAREZCA DE DEFECTOS COMERCIALES, SEA ADECUADO A UN FIN CONCRETO O INCUMPLA ALGUNA NORMATIVA. TODO EL RIESGO RELATIVO A LA CALIDAD, PRECISIÓN Y UTILIDAD DEL DOCUMENTO O SU VERSIÓN MODIFICADA RECAE EN USTED. SI CUALQUIER DOCUMENTO O VERSIÓN MODIFICADA DE AQUÉL RESULTARA DEFECTUOSO EN CUALQUIER ASPECTO, USTED (Y NO EL REDACTOR INICIAL, AUTOR O CONTRIBUYENTE) ASUMIRÁ LOS COSTES DE TODA REPARACIÓN, MANTENIMIENTO O CORRECCIÓN NECESARIOS. ESTA RENUNCIA DE GARANTÍA ES UNA PARTE ESENCIAL DE ESTA LICENCIA. NO SE AUTORIZA EL USO DE NINGÚN DOCUMENTO NI VERSIÓN MODIFICADA DE ÉSTE POR EL PRESENTE, SALVO DENTRO DEL CUMPLIMIENTO DE LA RENUNCIA;Y EN NINGUNA CIRCUNSTANCIA NI SEGÚN NINGÚN ARGUMENTO LEGAL, SEA POR MOTIVOS CULPOSOS (INCLUIDA LA NEGLIGENCIA), CONTRACTUALES O DE OTRO TIPO, NI EL AUTOR, NI EL REDACTOR INICIAL, NI CUALQUIER COLABORADOR, NI CUALQUIER DISTRIBUIDOR DEL DOCUMENTO O VERSIÓN MODIFICADA DEL MISMO, NI CUALQUIER PROVEEDOR DE CUALQUIERA DE DICHAS PARTES, SERÁN RESPONSABLES, ANTE NINGÚN TERCERO, DE NINGÚN DAÑO O PERJUICIO DIRECTO, INDIRECTO, ESPECIAL, INCIDENTAL O CONSIGUIENTE DE NINGÚN TIPO, INCLUIDOS, SIN LIMITACIÓN, LOS DAÑOS POR PÉRDIDA DE FONDO DE COMERCIO, INTERRUPCIÓN DEL TRABAJO, FALLO O MAL FUNCIONAMIENTO INFORMÁTICO, NI CUALQUIER OTRO DAÑO O PÉRDIDA DERIVADOS DEL USO DEL DOCUMENTO Y LAS VERSIONES MODIFICADAS DEL MISMO, O RELACIONADO CON ELLO, INCLUSO SI SE HABÍA COMUNICADO A AQUELLA PARTE LA POSIBILIDAD DE TALES DAÑOS. Michael Chudobiak
mjc@svn.gnome.org
3.0.0 Abril de 2009 Michael J. Chudobiak Proyecto de documentación de GNOME Este manual describe la versión 3.0.0 de moserial moserial es un terminal serie para el Escritorio GNOME, optimizado para inicios de sesión y captura de archivos.
moserial serie terminal Introducción moserial es una terminal serie para el escritorio GNOME, optimizada el registro y la captura de archivos. moserial está pensado principalmente para usuarios técnicos que necesitan comunicarse con sistemas empotrados, consolas y equipos electrónicos de pruebas. A pesar de la orientación técnica de su público, moserial está diseñado para ser amigable. Se ha tenido cuidado de asegurar que las operaciones son sencillas de ejecutar, minimizando el número de pulsaciones necesarias. También se ha mantenido un número pequeño de opciones de configuración. Para mejorar aún mas la eficiencia, moserial también soporta archivos de perfil para almacenar las configuraciones usadas más habitualmente. Permisos del sistema de puertos Antes de usar moserial con un puerto serie, debe asegurarse de que actualmente tiene permisos para leer y/o escribir en el puerto. En algunos sistemas, puede necesitar hacer algo como «sudo chmod o+rw /dev/ttyS*» y «sudo chmod o+rw /dev/ttyUSB*» para obtener permisos de lectura/escritura (para todos los usuarios) en los puertos serie. Lamentablemente, estos cambios no se guardar después de reiniciar. Alternativamente, puede ver a qué grupo de dispositivos pertenece, y hacer que su cuenta pertenezca a este grupo. En Fedora 15, por ejemplo, debe pertenecer al grupo «dialout». Uso básico La barra de herramientas principal A la mayoría de las funciones de moserial se accede a través de la barra de herramientas principal, como se muestra a continuación: Configuración del puerto El primer paso para usar moserial es configurar los parámetros del puerto serie. Pulse Configuración del puerto para hacerlo. En el diálogo de configuración del puerto que usar, indique si el puerto se debe abrir para lectura, escritura o ambas, su velocidad en baudios, el número de bits de datos y de parada y el método de negociación. La configuración especificada en este diálogo invalidará cualquier configuración predeterminada del sistema para el puerto. El diálogo de configuración de puertos de moserial sólo los puertos /dev/ttySnn, /dev/ttyUSBnn, y /dev/rfcommnn que existen actualmente en el sistema, para valores de «nn» entre 0 y 31. Se puede activar el eco local desde este diálogo. Si está activado, todos los datos que moserial reciba se enviarán como eco al dispositivo emisor. Normalmente, esto debería estar desactivado, ya que puede causar un comportamiento inesperado, especialmente si el dispositivo remoto también tiene el eco activado (Esto causaría un bucle de ecos infinito.) Abrir la conexión El siguiente paso para comunicarse con su dispositivo remoto es pulsar en Conectar. Esto abre el puerto. Si no tiene los permisos necesario para abrir el puerto, ocurrirá un error. Este paso es opcional. Si lo omite, moserial intentará conectar automáticamente cuando se necesite. Una vez que ha conectado, el botón Conectar. cambiará al botón Desconectar. Pulsar en Desconectar, cierra el puerto y reinicia los contadores TX y RX. Entrada y salida básica Una vez que el puerto se ha abierto, cualquier texto recibido desde el dispositivo remoto se mostrará en el área de texto ASCII recibido. Si moserial detecta muchos caracteres no imprimibles, cambiará automáticamente a la vista HEX recibido. Para cambiar entre las vistas HEX y ASCII, simplemente pulse en las pestañas apropiadas. Para enviar datos al dispositivo remoto, puede escribir texto en la caja de texto de Salida de una sola línea y pulsar el botón Enviar. Su línea de texto terminará con la secuencia seleccionada en el área de la derecha del botón Enviar. Si no está seguro qué secuencia de terminación es la mejor, empiece con «CR+LF end». El botón ASCII/HEX debería establecerse a «ASCII» para enviar texto. Si el botón ASCII/HEX está establecido a HEX, no introduzca texto en el área Salida. En su lugar, introduzca números hexadecimales de la forma «1234ABCD...». Una vez que sus datos se han transmitido, existirá un registro en las áreas de texto ASCII enviado y HEX enviado. Estas áreas de texto no son editables. El dispositivo remoto puede hacer eco de sus datos enviados. Si moserial detecta que se ha hecho eco del texto en el área de texto ASCII recibido, lo resaltará (usando el color de resaltado definido en el diálogo de preferencias). La barra de estado de la parte inferior de la ventana principal muestra el estado de un puerto y un contador de los bytes enviados (TX) y recibidos (RX). Si alguno de los datos recibidos no es imprimible, también se mostrará un contador de estos elementos. Grabar la entrada y la salida moserial se puede usar para grabar los datos datos enviados y recibidos a un archivo. Esta función también es útil para recibir y almacenar flujos binarios de datos volcados desde un dispositivo remoto. Por ejemplo, algunos osciloscopios volcarán capturas de pantalla a un puerto serie, sin usar ningún protocolo de corrección de errores (como el Tektronix 11801). Cuando esté preparado para recibir un archivo, simplemente pulse Grabar, seleccione los datos que quiere grabar (Entrada y/o Salida) en la casilla de selección Flujo que grabar e introduzca el nombre del archivo en el área del selector de archivos. Cuando empieza la grabación, el botón Grabar cambia a Detener grabación. Deberá pulsarlo cuando quiera detener la grabación, o cuando haya recibido el archivo binario completo que quiera descargar. moserial puede, opcionalmente, abrir el archivo grabado con la aplicación predeterminada para ese tipo de archivo, cuando la grabación haya terminado. La grabación también puede terminar después un período de inactividad. Use el diálogo preferencias para activar o desactivar estas características. Tenga en cuenta que si recibe archivos usando un protocolo de corrección de errores (xmodem, ymodem, o zmodem), deberá usar la función recibir archivo en su lugar. A diferencia de la función Grabar, la función Recibir archivo puede determinar automáticamente cuando se ha terminado la descarga del archivo. Enviar archivos moserial puede transmitir archivos como un flujo de datos binarios, y también puede enviar archivos usando los protocolos de corrección de errores xmodem, ymodem, y zmodem. Durante la transferencia de archivos, los datos enviados no se registran en las áreas de texto ASCII enviado o HEX enviado Cuando esté listo para enviar un archivo, simplemente pulse Enviar archivo y seleccione el archivo que quiere enviar. También necesitará elegir a continuación el protocolo adecuado. Cuando se inicia la grabación, una barra de progreso mostrará el estado de la transmisión del archivo. moserial no implementa los protocolos xmodem, ymodem o zmodem directamente. Se basa en las utilidades estándar rz y sz para enviar y recibir datos. Estas utilidades, que forman parte del paquete Irzsz se deben instalar en su sistema. Recibir archivos moserial puede recibir archivos como un flujo de datos binarios, y también puede recibir archivos usando los protocolos de corrección de errores xmodem, ymodem, y zmodem. Durante la transferencia de archivos, los datos enviados no se registran en las áreas de texto ASCII enviado o HEX enviado Para recibir flujos binarios de datos, use la función grabar en lugar de la función Recibir archivo. Recibir archivos enviados con los protocolos de corrección de errores xmodem, ymodem, o zmodem, usando la función Recibir archivo. Cuando esté preparado para recibir un archivo, simplemente pulse Receive File y seleccione una carpeta donde almacenar el archivo recibido. También necesitará seleccionar el protocolo adecuado a continuación. Cuando se inicia la grabación, una barra de progreso mostrará el estado de la recepción del archivo. moserial no implementa los protocolos xmodem, ymodem o zmodem directamente. Se basa en las utilidades estándar rz y sz para enviar y recibir datos. Estas utilidades, que forman parte del paquete Irzsz se deben instalar en su sistema. Otras preferencias moserial tiene varias opciones que se pueden configurar en el diálogo Preferencias. Se puede configurar el color del área de texto de primer plano, el resaltado, y el tamaño y tipo de tipografía. Si la opción Lanzar los archivos guardados está activada, un archivo grabado se abrirá inmediatamente después de que se haya guardado, usando la aplicación predeterminada para el tipo de archivo. La aplicación predeterminada se define en el entorno de escritorio. Si la opción Activar el tiempo de expiración está activada, la grabación se detendrá automáticamente después de un período configurable de inactividad recibiendo datos. Esto significa que moserial esperará indefinidamente para grabar el primer byte de datos antes de activar el temporizador de inactividad. Usar perfiles moserial puede cargar y guardar su configuración en archivos de perfil, por lo que puede almacenar y volver a usar las configuraciones usadas más habitualmente. Para guardar un perfil, simplemente los diálogos ArchivoGuardar o FileGuardar como. Para cargar un perfil, use el diálogo ArchivoAbrir. Cargar un perfil desconectará automáticamente cualquier puerto conectado. Cuando sale de moserial, la configuración actual se guarda en un archivo del perfil predeterminado. Esta configuración se usará automáticamente la próxima vez que ejecute moserial. Teclas especiales Teclas especiales Combinaciones de teclas Descripción CtrlC Copia texto. Esto se puede usar en cualquier área de texto. CtrlX Corta texto. Esto sólo funciona en la caja de texto de Salida de una sola línea. CtrlV Pega texto en la caja de texto de Salida de una sola línea, y mueve el foco a esta caja de texto. Esc Mueve el foco a la caja de texto de Salida de una sola línea.
moserial-3.0.8/doc/de/0000775000213200021320000000000012064144712011464 500000000000000moserial-3.0.8/doc/de/de.po0000644000213200021320000010650212064144712012336 00000000000000# German translation of the moserial manual. # Mario Blättermann , 2009, 2011. # msgid "" msgstr "" "Project-Id-Version: moserial\n" "POT-Creation-Date: 2011-08-16 19:41+0000\n" "PO-Revision-Date: 2011-08-19 10:35+0100\n" "Last-Translator: Mario Blättermann \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: German\n" "X-Poedit-Country: GERMANY\n" #: C/moserial.xml:19(title) msgid "moserial Manual V3.0.0" msgstr "moserial-Handbuch V3.0.0" #: C/moserial.xml:21(year) msgid "2009" msgstr "2009" #: C/moserial.xml:22(holder) C/moserial.xml:59(para) msgid "Michael J. Chudobiak" msgstr "Michael J. Chudobiak" #: C/moserial.xml:38(publishername) C/moserial.xml:60(para) msgid "GNOME Documentation Project" msgstr "GNOME-Dokumentationsprojekt" #: C/moserial.xml:2(para) msgid "" "Permission is granted to copy, distribute and/or modify this document under " "the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any " "later version published by the Free Software Foundation with no Invariant " "Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy " "of the GFDL at this link or in " "the file COPYING-DOCS distributed with this manual." msgstr "" "Das vorliegende Dokument kann gemäß den Bedingungen der GNU Free " "Documentation License (GFDL), Version 1.1 oder jeder späteren, von der Free " "Software Foundation veröffentlichten Version ohne unveränderbare Abschnitte " "sowie ohne Texte auf dem vorderen und hinteren Buchdeckel kopiert, verteilt " "und/oder modifiziert werden. Eine Kopie der GFDL finden Sie unter diesem " "Link oder in der mit diesem " "Handbuch gelieferten Datei COPYING-DOCS." #: C/moserial.xml:12(para) msgid "" "This manual is part of a collection of GNOME manuals distributed under the " "GFDL. If you want to distribute this manual separately from the collection, " "you can do so by adding a copy of the license to the manual, as described in " "section 6 of the license." msgstr "" "Dieses Handbuch ist Teil einer Sammlung von GNOME-Handbüchern, die unter der " "GFDL veröffentlicht werden. Wenn Sie dieses Handbuch getrennt von der " "Sammlung weiterverbreiten möchten, können Sie das tun, indem Sie eine Kopie " "der Lizenz zum Handbuch hinzufügen, wie es in Abschnitt 6 der Lizenz " "beschrieben ist." #: C/moserial.xml:19(para) msgid "" "Many of the names used by companies to distinguish their products and " "services are claimed as trademarks. Where those names appear in any GNOME " "documentation, and the members of the GNOME Documentation Project are made " "aware of those trademarks, then the names are in capital letters or initial " "capital letters." msgstr "" "Viele der Namen, die von Unternehmen verwendet werden, um ihre Produkte und " "Dienstleistungen von anderen zu unterscheiden, sind eingetragene " "Warenzeichen. An den Stellen, an denen diese Namen in einer GNOME-" "Dokumentation erscheinen, werden die Namen in Großbuchstaben oder mit einem " "großen Anfangsbuchstaben geschrieben, wenn das GNOME-Dokumentationsprojekt " "auf diese Warenzeichen hingewiesen wird." #: C/moserial.xml:35(para) msgid "" "DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, " "EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT " "THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS " "MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK " "AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR MODIFIED " "VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR MODIFIED VERSION " "PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY " "CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR " "CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS " "LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS " "AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND" msgstr "" "DIESES DOKUMENT WIRD »WIE VORLIEGEND« GELIEFERT, OHNE GARANTIEN IRGENDEINER " "ART, SOWOHL AUSDRÜCKLICH GENANNTE ALS AUCH ANGEDEUTETE. DIES BEZIEHT SICH " "AUCH OHNE EINSCHRÄNKUNG AUF GARANTIEN, DASS DIESES DOKUMENT ODER VERÄNDERTE " "FASSUNGEN DIESES DOKUMENTS FREI VON HANDELSDEFEKTEN, FÜR EINEN BESTIMMTEN " "ZWECK GEEIGNET IST ODER DASS ES KEINE RECHTE DRITTER VERLETZT. DAS VOLLE " "RISIKO WAS QUALITÄT, GENAUIGKEIT UND LEISTUNG DES DOKUMENTS ODER VERÄNDERTE " "FASSUNGEN DES DOKUMENTS LIEGT BEI IHNEN. SOLLTE EIN DOKUMENT ODER EINE " "VERÄNDERTE FASSUNG DAVON FEHLER IRGENDEINER ART BEINHALTEN, TRAGEN SIE (NICHT " "DER URSPRUNGSAUTOR, DER AUTOR ODER EIN MITWIRKENDER) DIE KOSTEN FÜR " "NOTWENDIGE DIENSTLEISTUNGEN, REPARATUREN ODER FEHLERKORREKTUREN. DIESER " "HAFTUNGSAUSSCHLUSS IST EIN ESSENZIELLER TEIL DIESER LIZENZ. DIE VERWENDUNG " "EINES DOKUMENTS ODER EINER VERÄNDERTEN VERSION DES DOKUMENTS IST NICHT " "GESTATTET AUßER UNTER BEACHTUNG DIESES HAFTUNGSAUSSCHLUSSES UND" #: C/moserial.xml:55(para) msgid "" "UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING " "NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY " "CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE " "DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR " "ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY " "CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK " "STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR " "LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED " "VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE " "POSSIBILITY OF SUCH DAMAGES." msgstr "" "UNTER KEINEN UMSTÄNDEN UND AUF BASIS KEINER RECHTSGRUNDLAGE, EGAL OB DURCH " "UNERLAUBTEN HANDLUNGEN (EINSCHLIEßLICH FAHRLÄSSIGKEIT), VERTRAG ODER " "ANDERWEITIG KANN DER AUTOR, URSPRUNGSAUTOR, EIN MITWIRKENDER ODER EIN " "VERTRIEBSPARTNER DIESES DOKUMENTS ODER EINER VERÄNDERTEN FASSUNG DES " "DOKUMENTS ODER EIN ZULIEFERER EINER DIESER PARTEIEN, HAFTBAR GEMACHT WERDEN " "FÜR DIREKTE, INDIREKTE, SPEZIELLE, VERSEHENTLICHE ODER FOLGESCHÄDEN JEGLICHER " "ART, EINSCHLIEßLICH UND OHNE EINSCHRÄNKUNGEN SCHÄDEN DURCH VERLUST VON " "KULANZ, ARBEITSAUSFALL, COMPUTERVERSAGEN ODER COMPUTERFEHLFUNKTIONEN ODER " "ALLE ANDEREN SCHÄDEN ODER VERLUSTE, DIE SICH AUS ODER IN VERBINDUNG MIT DER " "VERWENDUNG DES DOKUMENTS UND VERÄNDERTER FASSUNGEN DES DOKUMENTS ERGEBEN, " "AUCH WENN DIE OBEN GENANNTEN PARTEIEN ÜBER DIE MÖGLICHKEIT SOLCHER SCHÄDEN " "INFORMIERT WAREN." #: C/moserial.xml:28(para) msgid "" "DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS " "OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: " "" msgstr "" "DAS DOKUMENT UND VERÄNDERTE FASSUNGEN DES DOKUMENTS WERDEN UNTER DEN " "BEDINGUNGEN DER GNU FREE DOCUMENTATION LICENSE ZUR VERFÜGUNG GESTELLT MIT DEM " "WEITERGEHENDEN VERSTÄNDNIS, DASS: " #: C/moserial.xml:45(firstname) msgid "Michael" msgstr "Michael" #: C/moserial.xml:46(surname) msgid "Chudobiak" msgstr "Chudobiak" #: C/moserial.xml:48(email) msgid "mjc@svn.gnome.org" msgstr "mjc@svn.gnome.org" #: C/moserial.xml:56(revnumber) msgid "3.0.0" msgstr "3.0.0" #: C/moserial.xml:57(date) msgid "April 2009" msgstr "April 2009" #. this is version of manual, not application #: C/moserial.xml:67(releaseinfo) msgid "This is manual describes version 3.0.0 of moserial" msgstr "Dieses Handbuch beschreibt Version 3.0.0 von moserial" #: C/moserial.xml:70(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture." msgstr "" "moserial ist ein serielles Terminal für den GNOME-" "Desktop, optimiert auf Protokollierung und Dateiaufzeichnung." #: C/moserial.xml:74(primary) msgid "moserial" msgstr "moserial" #: C/moserial.xml:77(primary) msgid "serial" msgstr "serial" #: C/moserial.xml:80(secondary) msgid "terminal" msgstr "terminal" #: C/moserial.xml:88(title) msgid "Introduction" msgstr "Einführung" #: C/moserial.xml:89(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to " "communicate with embedded systems, consoles, and electronic test equipment." msgstr "" "moserial ist ein serielles Terminal für den GNOME-" "Desktop, optimiert auf Protokollierung und Dateiaufzeichnung. " "moserial richtet sich in erster Linie an technisch " "orientierte Benutzer, die ein Kommunikationsinstrument für eingebettete " "Systeme, Konsolen und elektronische Testumgebungen benötigen." #: C/moserial.xml:95(para) msgid "" "Despite the technical orientation of the intended audience, " "moserial is designed to be user-friendly. Care has " "been taken to ensure that operations are simple to execute, by minimizing the " "number of clicks needed. The number of configuration options has also been " "kept small." msgstr "" "Ungeachtet der technischen Orientierung des Zielpublikums wurde " "moserial daraufhin entworfen, benutzerfreundlich " "zu sein. Besonderer Wert wurde darauf gelegt, dass Operationen durch eine " "Verminderung der Zahl der benötigten Mausklicks einfach ausführbar sind. " "Ebenso wurde die Zahl der Einstellungsoptionen bewusst klein gehalten." #: C/moserial.xml:102(para) msgid "" "To further improve efficiency, moserial also " "supports profile files to store frequently-used configurations." msgstr "" "Um die Effizienz weiter zu verbessern, unterstützt moserial auch Profile, um häufig benutzte Konfigurationen zu speichern." #: C/moserial.xml:109(title) msgid "System Port Permissions" msgstr "Zugriffsrechte der Systemports" #: C/moserial.xml:110(para) msgid "" "Before using moserial with a serial port, you need " "to make sure that you actually have permission to read and/or write to the " "port." msgstr "" "Bevor Sie moserial mit einem seriellen Port " "verwenden können, müssen Sie sicherstellen, dass Sie Lese- und/oder " "Schreibrechte auf diesem Port haben." #: C/moserial.xml:114(para) msgid "" "On some systems, you may need to do something like \"sudo chmod o+rw /dev/" "ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write permissions " "(for all users) on the serial ports. Unfortunately, this may not be " "persistent after reboots." msgstr "" "Auf einigen Systemen müssen Sie etwas wie »sudo chmod o+rw /dev/ttyS*« und " "»sudo chmod o+rw /dev/ttyUSB*« aufrufen, um Lese- und Schreibrechte für alle " "Benutzer auf den seriellen Ports zu erhalten. Unglücklicherweise bleibt diese " "Einstellung nach einem Neustart des Systems nicht erhalten." #: C/moserial.xml:119(para) msgid "" "Alternatively, you can see what group the devices belong to, and make your " "account a member of that group. In Fedora 15, for example, you should add " "yourself to the \"dialout\" group." msgstr "" "Alternativ sehen Sie, welcher Gruppe dieses Gerät angehört und können Ihr " "Benutzerkonto als Mitglied dieser Gruppe zuordnen. In Fedora 15 " "beispielsweise sollten Sie sich selbst der Gruppe »dialout« zuordnen." #: C/moserial.xml:126(title) msgid "Basic Usage" msgstr "Grundlagen der Benutzung" #: C/moserial.xml:128(title) msgid "The Main Toolbar" msgstr "Die Hauptwerkzeugleiste" #: C/moserial.xml:129(para) msgid "" "Most moserial functions are accessed through the " "main toolbar, shown below:" msgstr "" "Die meisten Funktionen von moserial sind über die " "Hauptwerkzeugleiste erreichbar, wie unten angezeigt:" #: C/moserial.xml:137(title) msgid "Port Setup" msgstr "Port-Einstellung" #: C/moserial.xml:138(para) msgid "" "The first step in using moserial is to configure " "the serial port parameters. Click Port Setup to do " "this. In the port setup dialog, you will set the port to use, whether the " "port should be open for reads, writes, or both, its baud rate, its parity, " "the number of data and stop bits, and the handshaking method. The settings " "specified in this dialog will override any system default settings for the " "port." msgstr "" "Der erste Schritt bei der Benutzung von moserial " "ist die Konfiguration der Parameter des seriellen Ports. Klicken Sie dazu auf " "Port-Einstellungen. Im Dialog der Port-Einstellungen " "stellen Sie den zu verwendenden Port ein, ob der Port zum Lesen, Schreiben " "oder für beides geöffnet werden soll, dessen Baudrate, die Parität, die " "Anzahl der Daten- und Stoppbits und die Handshaking-Methode. Die " "Einstellungen in diesem Dialog überschreiben alle systemweit definierten " "Einstellungen für diesen Port." #: C/moserial.xml:146(para) msgid "" "The moserial port setup dialog will only list the /" "dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist on the " "system, for values of \"nn\" between 0 and 31." msgstr "" "Der Port-Einstellungsdialog von moserial listet " "nur die Ports /dev/ttySnn, /dev/ttyUSBnn und /dev/rfcommnn auf, die " "gegenwärtig auf Ihrem System vorhanden sind, wobei »nn« Werte zwischen 0 und " "31 annehmen kann." #: C/moserial.xml:151(para) msgid "" "A local echo can be enabled from this dialog. If enabled, all data that " "moserial receives will be echoed back to the " "sending device. This should normally be disabled, as it can cause unexpected " "behaviour, especially if the remote device also has echo enabled. (This would " "cause an infinite loop of echoes!)" msgstr "" "Über diesen Dialog können Sie auch ein lokales Echo aktivieren. Bei " "aktiviertem Echo werden alle von moserial " "empfangenen Daten an das sendende Gerät zurückgegeben. Dies sollte " "normalerweise deaktiviert sein, weil es unerwartete Folgen haben kann. " "Besonders in dem Fall, wenn auf dem sendenden Gerät ebenfalls ein Echo " "aktiviert ist, führt das zu einer Endlosschleife von Echos!" #: C/moserial.xml:162(title) msgid "Open the Connection" msgstr "Öffnen der Verbindung" #: C/moserial.xml:163(para) msgid "" "The next step in communicating with your remote device is to click " "Connect. This opens the port. If you do not have the " "necessary privileges to open the port, an error will be reported." msgstr "" "Der nächste Schritt in der Kommunikation mit Ihrem entfernten Gerät ist das " "Anklicken von Verbinden. Dadurch wird der Port " "geöffnet. Falls Sie nicht über die nötigen Rechte verfügen, um diesen Port zu " "öffnen, erscheint eine Fehlermeldung." #: C/moserial.xml:171(para) msgid "" "This step is optional. If you skip it, moserial " "will try to connect automatically when needed." msgstr "" "Dieser Schritt ist optional. Falls Sie ihn überspringen, versucht " "moserial eine Verbindung automatisch herzustellen, " "falls nötig." #: C/moserial.xml:175(para) msgid "" "Once you have connected, the Connect button will " "change into a Disconnect button. Clicking " "Disconnect closes the port, and resets the TX and RX " "counters." msgstr "" "Sobald Sie verbunden sind, ändert sich die Beschriftung des Knopfes von " "Verbinden in Trennen. Klicken " "Sie auf Trennen, um den Port zu schließen und die TX- " "und RX-Zähler zurückzusetzen." #: C/moserial.xml:186(title) msgid "Basic Input and Output" msgstr "Grundlagen der Eingabe und Ausgabe" #: C/moserial.xml:187(para) msgid "" "Once the port has been opened, any text received from the remote device will " "be displayed in the Received ASCII text area. If " "moserial detects a large number of unprintable " "characters, it will switch automatically to the Received HEX view." msgstr "" "Sobald der Port geöffnet ist, wird jeglicher vom entfernten Gerät empfangener " "Text im Textfeld Empfangenes ASCII angezeigt. Falls " "moserial einen hohen Anteil an nicht druckbaren " "Zeichen erkennt, wechselt die Anwendung automatisch in die Ansicht " "Empfangenes HEX." #: C/moserial.xml:197(para) msgid "" "To switch between HEX and ASCII views, simply click on the appropriate tabs." msgstr "" "Um zwischen der HEX- und der ASCII-Ansicht zu wechseln, klicken Sie einfach " "auf die entsprechenden Reiter." #: C/moserial.xml:201(para) msgid "" "To send data to the remote device, you can type text into the " "Outgoing single-line text box, and click the " "Send button. Your line of text will be terminated with " "the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, " "start with \"CR+LF end\". The ASCII/HEX button should " "be set to ASCII to send text." msgstr "" "Um Daten zum entfernten Gerät zu senden, geben Sie den Text in das einzeilige " "Textfeld Ausgehend ein und klicken auf " "Senden button. Ihre Textzeile wird mit der gewählten " "Sequenz abgeschlossen, die im Bereich rechts neben dem Senden-Knopf angezeigt wird. Falls Sie nicht sicher sind, welche " "Abschlusssequenz geeignet ist, sollten Sie »CR+LF« wählen. Der Knopf " "ASCII/HEX sollte zum Senden von Text auf " "ASCII gesetzt sein." #: C/moserial.xml:214(para) msgid "" "If the ASCII/HEX button is set to HEX, do not enter " "text in the Outgoing area. Instead, enter hexadecimal " "numbers in the form \"1234ABCD....\"." msgstr "" "Falls der Knopf ASCII/HEX auf HEX gesetzt ist, geben Sie bitte keinen Text in Ausgehend ein. Verwenden Sie stattdessen Hexadezimalzahlen in der Form " "»1234ABCD....«." #: C/moserial.xml:219(para) msgid "" "Once your data has been transmitted, a record of it will exist in the " "Sent ASCII and Sent HEX text areas. " "These text areas are not editable." msgstr "" "Sobald Ihre Daten übertragen wurden, erscheint eine Aufzeichnung in den " "Textfeldern Gesendetes ASCII und Gesendetes " "HEX. Diese Texte sind nicht bearbeitbar." #: C/moserial.xml:227(para) msgid "" "The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII " "text area, it will highlight the echoed text (using the highlight color " "defined in the preferences dialog)." msgstr "" "Das entfernte Gerät kann ein Echo Ihrer gesendeten Daten zurückgeben. Falls " "moserial zurückgegebenen Text im Textbereich " "Empfangenes ASCII erkennt, wird der Echo-Text in der im " "Einstellungsdialog dafür festgelegten Farbe hervorgehoben." #: C/moserial.xml:233(para) msgid "" "The statusbar at the bottom of the main window shows the state of port, and a " "count of the sent (TX) and received (RX) bytes. If some of the received data " "is unprintable, a count of these items is shown as well." msgstr "" "Die Statuszeile am unteren Rand des Hauptfensters zeigt den Status des Ports " "an sowie die Anzahl der gesendeten (TX) und empfangenen (RX) Bytes. Falls " "einige der empfangenen Daten aus nicht druckbaren Zeichen bestehen, wird auch " "die Anzahl dieser Objekte angezeigt." #: C/moserial.xml:245(title) msgid "Recording Input and Output" msgstr "Aufzeichnen von Eingabe und Ausgabe" #: C/moserial.xml:246(para) msgid "" "moserial can be used to record your sent and " "received data to a file. This function is also useful for receiving and " "storing straight binary data dumped from a remote device. For instance, some " "oscilloscopes will dump screenshots to a serial port, without using any error " "correction protocols (like the Tektronix 11801)." msgstr "" "Mit moserial können Sie die gesendeten und " "empfangenen Daten in einer Datei speichern. Diese Funktion ist auch nützlich " "für das Empfangen und Speichern eines kontinuierlichen Datenstroms von einem " "entfernten Gerät. Beispielsweise geben einige Oszilloskope Bildschirmfotos " "über den seriellen Port aus, unter Umgehung eventueller " "Fehlerkorrekturprotokolle (wie Tektronix 11801)." #: C/moserial.xml:256(para) msgid "" "When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in " "the Stream to Record selection box, and enter the " "filename in the filechooser area." msgstr "" "Wenn Sie zur Aufzeichnung in eine Datei bereit sind, klicken Sie auf " "Aufzeichnen, wählen die gewünschten Daten im " "Auswahlfeld Aufzuzeichnender Datenstrom aus (Eingehend/" "Ausgehend) und geben den Dateinamen im Dateiauswahldialog ein." #: C/moserial.xml:265(para) msgid "" "When recording begins, the Record button will change " "into a Stop Recording button. You will need to click " "this when you wish to stop recording, or you have received the entire binary " "file that you wanted to download." msgstr "" "Sobald die Aufzeichnung beginnt, ändert sich die Beschriftung des Knopfes von " "Aufzeichnen in Aufzeichnung anhalten. Sie müssen darauf klicken, falls Sie die Aufzeichnung anzuhalten " "wünschen oder wenn Sie die gesamte Binärdatei empfangen haben, die Sie " "herunterladen wollten." #: C/moserial.xml:274(para) msgid "" "moserial can optionally launch the recorded file " "with the default application for its file type, when recording has finished. " "It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these " "features." msgstr "" "moserial kann wahlweise die aufgezeichnete Datei " "mit der für diesen Dateityp vorgegebenen Anwendung öffnen, sobald die " "Aufzeichnung beendet ist. Die Aufzeichnung kann auch nach einer inaktiven " "Zeitspanne beendet werden. Benutzen Sie den Einstellungsdialog, um diese Funktionsmerkmale zu aktivieren oder " "zu deaktivieren." #: C/moserial.xml:281(para) msgid "" "Note that if you wish to receive files using an error correction protocol " "(xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the " "Record function, the Receive File function can automatically determine when the file download is " "complete." msgstr "" "Beachten Sie, dass Sie für den Empfang von Dateien unter Verwendung eines " "Fehlerkorrekturprotokolls (xmodem, ymodem oder zmodem) die Funktion Datei empfangen benutzen müssen. Im Gegensatz " "zur Funktion Aufzeichnen kann die Funktion " "Datei empfangen automatisch erkennen, wann das " "Herunterladen der Datei abgeschlossen ist." #: C/moserial.xml:294(title) msgid "Sending Files" msgstr "Senden von Dateien" #: C/moserial.xml:295(para) msgid "" "moserial can transmit files in a straight binary " "data stream, and it can also send files using the xmodem, ymodem, and zmodem " "error correction protocols. During file transmission, the sent data is not " "logged to the Sent ASCII or Sent HEX text areas." msgstr "" "moserial kann Dateien in einem kontinuierlichen " "binären Datenstrom übertragen sowie Dateien unter Verwendung der " "Fehlerkorrekturprotokolle xmodem, ymodem und zmodem versenden. Während der " "Dateiübertragung werden die gesendeten Daten in den Textfeldern " "Gesendetes ASCII und Gesendetes HEX " "nicht protokolliert." #: C/moserial.xml:305(para) msgid "" "When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select the " "appropriate protocol below." msgstr "" "Wenn Sie zum Senden einer Datei bereit sind, klicken Sie auf Datei " "senden und wählen die gewünschte Datei aus. Sie müssen außerdem " "das entsprechende Protokoll auswählen." #: C/moserial.xml:313(para) msgid "" "When recording begins, a progress bar will display the status of the file " "transmission." msgstr "" "Wenn eine Aufzeichnung beginnt, zeigt eine Fortschrittsleiste den Status der " "Dateiübertragung an." #: C/moserial.xml:320(para) C/moserial.xml:363(para) msgid "" "moserial does not implement the xmodem, ymodem, or zmodem protocols directly. " "It relies on the standard rz and sz utilities to send and receive data. These " "utilities, part of the lrzsz package, must be installed on your system." msgstr "" "moserial implementiert die Protokolle »xmodem«, " "»ymodem« oder »zmodem« nicht direkt. Es benutzt die Standardwerkzeuge »rz« " "und »sz« zum Senden und Empfangen von Daten. Diese Werkzeuge sind Bestandteil " "des Pakets »lrzsz«, das auf Ihrem System installiert sein muss." #: C/moserial.xml:329(title) msgid "Receiving Files" msgstr "Empfangen von Dateien" #: C/moserial.xml:330(para) msgid "" "moserial can receive files sent in a straight " "binary data stream, and it can also receive files using the xmodem, ymodem, " "and zmodem error correction protocols. During file transmission, the received " "data is not logged to the Sent ASCII or Sent " "HEX text areas." msgstr "" "moserial kann Dateien in einem kontinuierlichen " "binären Datenstrom empfangen sowie auch Dateien unter Verwendung der " "Fehlerkorrekturprotokolle xmodem, ymodem und zmodem empfangen. Während der " "Dateiübertragung werden die empfangenen Daten in den Textfeldern " "Gesendetes ASCII und Gesendetes HEX " "nicht protokolliert." #: C/moserial.xml:337(para) msgid "" "To receive straight binary data streams, use the Record function instead of the Receive File " "function." msgstr "" "Um kontinuierliche binäre Datenströme zu empfangen, verwenden Sie die " "Funktion Aufzeichnen anstelle der Funktion " "Datei empfangen." #: C/moserial.xml:341(para) msgid "" "To receive files sent with the xmodem, ymodem, or zmodem error correction " "protocols, using the Receive File function." msgstr "" "Für den Empfang von Dateien, die unter Verwendung der " "Fehlerkorrekturprotokolle xmodem, ymodem, oder zmodem gesendet werden, " "benutzen Sie die Funktion Datei empfangen." #: C/moserial.xml:348(para) msgid "" "When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need to " "select the appropriate protocol below." msgstr "" "Wenn Sie zum Empfang einer Datei bereit sind, klicken Sie auf " "Datei empfangen und wählen die gewünschte Datei aus. " "Sie müssen außerdem das entsprechende Protokoll auswählen." #: C/moserial.xml:356(para) msgid "" "When recording begins, a progress bar will display the status of the file " "reception." msgstr "" "Wenn eine Aufzeichnung beginnt, zeigt eine Fortschrittsleiste den Status des " "Dateiempfangs an." #: C/moserial.xml:372(title) msgid "Other Preferences" msgstr "Weitere Einstellungen" #: C/moserial.xml:373(para) msgid "" "moserial has several options that can be " "configured from the Preferences dialog." msgstr "" "moserial verfügt über verschiedene Optionen, die " "im Dialog Einstellungen bearbeitet werden können." #: C/moserial.xml:380(para) msgid "" "The color of the text area foreground, background, and highlighting can be " "configured, as can the font type and size." msgstr "" "Die Farben des Vorder- und Hintergrunds der Textfelder, die Hervorhebung " "sowie die Schriftart und -größe können an Ihre Erfordernisse angepasst werden." #: C/moserial.xml:384(para) msgid "" "If Launch recorded files is enabled, a recorded file " "will be opened immediately after it is saved, using the default application " "for the file type. The default application is defined by the desktop " "environment." msgstr "" "Falls Aufgezeichnete Dateien starten aktiviert ist, " "werden aufgezeichnete Dateien unmittelbar nach der Speicherung mit der für " "diesen Dateityp festgelegten Standardanwendung geöffnet. Die " "Standardanwendung ist von den Einstellungen der Arbeitsumgebung abhängig." #: C/moserial.xml:389(para) msgid "" "If Enable timeout is enabled, recording will be " "automatically stopped after an adjustable period of inactivity after " "receiving some data. That is, moserial will wait indefinitely to record the " "first data byte before activating the inactivity timer." msgstr "" "Falls Abbrechen nach aktiviert ist, dann werden " "Aufzeichnungen automatisch nach einer einstellbaren inaktiven Zeitspanne nach " "dem Empfang von Daten abgebrochen. Die Anwendung wartet allerdings auf den " "Empfang des ersten Daten-Bytes, bevor die Zeitspanne der Inaktivität " "ausgelöst wird." #: C/moserial.xml:398(title) msgid "Using Profiles" msgstr "Verwenden von Profilen" #: C/moserial.xml:399(para) msgid "" "moserial can load and save its settings from " "profile files, so that you can store and recall commonly used configurations. " "To save a profile, simply use the FileSave or " "FileSave As dialogs. To load a profile, use the FileOpen dialog." msgstr "" "moserial kann seine Einstellungen aus " "Profildateien laden und auch wieder in diese speichern, so dass Sie häufig " "verwendete Konfigurationen immer wieder aufrufen können. Zum Speichern eines " "Profils wählen Sie DateiSpeichern oder " "DateiSpeichern unter. Um ein Profil zu laden, verwenden Sie den Dialog " "DateiÖffnen." #: C/moserial.xml:408(para) msgid "Loading a profile will automatically disconnect any connected port." msgstr "" "Beim Laden eines Profils wird automatisch jeder geöffnete Port geschlossen." #: C/moserial.xml:411(para) msgid "" "When you quit moserial, the settings currently in " "use are stored in a default profile file. These settings will automatically " "be recalled the next time you launch moserial." msgstr "" "Wenn Sie moserial beenden, werden die gegenwärtig " "benutzten Einstellungen in der vorgegebenen Profildatei gespeichert. Diese " "Einstellungen werden automatisch aufgerufen, wenn Sie moserial das nächste Mal starten." #: C/moserial.xml:419(title) C/moserial.xml:422(title) msgid "Special Keys" msgstr "Tastenkürzel" #: C/moserial.xml:429(para) msgid "Keyboard Shortcut" msgstr "Tastenkürzel" #: C/moserial.xml:431(para) msgid "Description" msgstr "Beschreibung" #: C/moserial.xml:438(keycap) C/moserial.xml:448(keycap) #: C/moserial.xml:458(keycap) msgid "Ctrl" msgstr "Strg" #: C/moserial.xml:438(keycap) msgid "C" msgstr "C" #: C/moserial.xml:442(para) msgid "Copies text. This can be used in any of the text areas." msgstr "" "Text wird kopiert. Dies kann in jedem der Textbereiche verwendet werden." #: C/moserial.xml:448(keycap) msgid "X" msgstr "X" #: C/moserial.xml:452(para) msgid "" "Cuts text. This only works in the Outgoing single-line " "text box." msgstr "" "Schneidet Text aus. Das funktioniert nur im einzeiligen Textfeld " "Ausgehend." #: C/moserial.xml:458(keycap) msgid "V" msgstr "V" #: C/moserial.xml:462(para) msgid "" "Pastes text into the Outgoing single-line text box, and " "moves the focus to that text box." msgstr "" "Fügt Text in das einzeilige Textfeld Ausgehend ein und " "aktiviert dieses Textfeld." #: C/moserial.xml:471(keycap) msgid "Esc" msgstr "Esc" #: C/moserial.xml:475(para) msgid "" "Moves the focus to the Outgoing single-line text box." msgstr "Aktiviert das einzeilige Textfeld Ausgehend." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 #: C/moserial.xml:0(None) msgid "translator-credits" msgstr "Mario Blättermann , 2009, 2011" #~ msgid "2.26.0" #~ msgstr "2.26.0" #~ msgid "" #~ "There are a number of ways this is done on a Linux system. On Fedora 10, " #~ "you may need to use the PolicyKit tool, invoked using " #~ "SystemPreferencesSystemAuthorizations. Then, navigate to the " #~ "orgfreedesktopdevice-accessDirectly " #~ "access serial modem devices, and click " #~ "edit. Set Anyone: to \"Yes\"." #~ msgstr "" #~ "Dazu gibt es auf einem Linux-System verschiedene Möglichkeiten. Unter " #~ "Fedora 10 benötigen Sie das Werkzeug PolicyKit, " #~ "das Sie über SystemEinstellungenSystemAutorisierungen " #~ "erreichen. Dann navigieren Sie zu orgfreedesktopGerätezugriffAuf serielle Modems direkt zugreifen und klicken auf Bearbeiten. " #~ "Setzen Sie Alle: auf »Ja«." #~ msgid "Serial Port Authorizations on Fedora 10" #~ msgstr "Legitimierung der seriellen Ports in Fedora 10" moserial-3.0.8/doc/de/moserial.xml0000644000213200021320000005532212064144712013746 00000000000000 moserial"> ]>
<application>moserial</application>-Handbuch V3.0.0 2009 Michael J. Chudobiak 2009, 2011Mario Blättermann (mariobl@freenet.de) GNOME-Dokumentationsprojekt Das vorliegende Dokument kann gemäß den Bedingungen der GNU Free Documentation License (GFDL), Version 1.1 oder jeder späteren, von der Free Software Foundation veröffentlichten Version ohne unveränderbare Abschnitte sowie ohne Texte auf dem vorderen und hinteren Buchdeckel kopiert, verteilt und/oder modifiziert werden. Eine Kopie der GFDL finden Sie unter diesem Link oder in der mit diesem Handbuch gelieferten Datei COPYING-DOCS. Dieses Handbuch ist Teil einer Sammlung von GNOME-Handbüchern, die unter der GFDL veröffentlicht werden. Wenn Sie dieses Handbuch getrennt von der Sammlung weiterverbreiten möchten, können Sie das tun, indem Sie eine Kopie der Lizenz zum Handbuch hinzufügen, wie es in Abschnitt 6 der Lizenz beschrieben ist. Viele der Namen, die von Unternehmen verwendet werden, um ihre Produkte und Dienstleistungen von anderen zu unterscheiden, sind eingetragene Warenzeichen. An den Stellen, an denen diese Namen in einer GNOME-Dokumentation erscheinen, werden die Namen in Großbuchstaben oder mit einem großen Anfangsbuchstaben geschrieben, wenn das GNOME-Dokumentationsprojekt auf diese Warenzeichen hingewiesen wird. DAS DOKUMENT UND VERÄNDERTE FASSUNGEN DES DOKUMENTS WERDEN UNTER DEN BEDINGUNGEN DER GNU FREE DOCUMENTATION LICENSE ZUR VERFÜGUNG GESTELLT MIT DEM WEITERGEHENDEN VERSTÄNDNIS, DASS: DIESES DOKUMENT WIRD »WIE VORLIEGEND« GELIEFERT, OHNE GARANTIEN IRGENDEINER ART, SOWOHL AUSDRÜCKLICH GENANNTE ALS AUCH ANGEDEUTETE. DIES BEZIEHT SICH AUCH OHNE EINSCHRÄNKUNG AUF GARANTIEN, DASS DIESES DOKUMENT ODER VERÄNDERTE FASSUNGEN DIESES DOKUMENTS FREI VON HANDELSDEFEKTEN, FÜR EINEN BESTIMMTEN ZWECK GEEIGNET IST ODER DASS ES KEINE RECHTE DRITTER VERLETZT. DAS VOLLE RISIKO WAS QUALITÄT, GENAUIGKEIT UND LEISTUNG DES DOKUMENTS ODER VERÄNDERTE FASSUNGEN DES DOKUMENTS LIEGT BEI IHNEN. SOLLTE EIN DOKUMENT ODER EINE VERÄNDERTE FASSUNG DAVON FEHLER IRGENDEINER ART BEINHALTEN, TRAGEN SIE (NICHT DER URSPRUNGSAUTOR, DER AUTOR ODER EIN MITWIRKENDER) DIE KOSTEN FÜR NOTWENDIGE DIENSTLEISTUNGEN, REPARATUREN ODER FEHLERKORREKTUREN. DIESER HAFTUNGSAUSSCHLUSS IST EIN ESSENZIELLER TEIL DIESER LIZENZ. DIE VERWENDUNG EINES DOKUMENTS ODER EINER VERÄNDERTEN VERSION DES DOKUMENTS IST NICHT GESTATTET AUßER UNTER BEACHTUNG DIESES HAFTUNGSAUSSCHLUSSES UND UNTER KEINEN UMSTÄNDEN UND AUF BASIS KEINER RECHTSGRUNDLAGE, EGAL OB DURCH UNERLAUBTEN HANDLUNGEN (EINSCHLIEßLICH FAHRLÄSSIGKEIT), VERTRAG ODER ANDERWEITIG KANN DER AUTOR, URSPRUNGSAUTOR, EIN MITWIRKENDER ODER EIN VERTRIEBSPARTNER DIESES DOKUMENTS ODER EINER VERÄNDERTEN FASSUNG DES DOKUMENTS ODER EIN ZULIEFERER EINER DIESER PARTEIEN, HAFTBAR GEMACHT WERDEN FÜR DIREKTE, INDIREKTE, SPEZIELLE, VERSEHENTLICHE ODER FOLGESCHÄDEN JEGLICHER ART, EINSCHLIEßLICH UND OHNE EINSCHRÄNKUNGEN SCHÄDEN DURCH VERLUST VON KULANZ, ARBEITSAUSFALL, COMPUTERVERSAGEN ODER COMPUTERFEHLFUNKTIONEN ODER ALLE ANDEREN SCHÄDEN ODER VERLUSTE, DIE SICH AUS ODER IN VERBINDUNG MIT DER VERWENDUNG DES DOKUMENTS UND VERÄNDERTER FASSUNGEN DES DOKUMENTS ERGEBEN, AUCH WENN DIE OBEN GENANNTEN PARTEIEN ÜBER DIE MÖGLICHKEIT SOLCHER SCHÄDEN INFORMIERT WAREN. Michael Chudobiak
mjc@svn.gnome.org
3.0.0 April 2009 Michael J. Chudobiak GNOME-Dokumentationsprojekt Dieses Handbuch beschreibt Version 3.0.0 von moserial moserial ist ein serielles Terminal für den GNOME-Desktop, optimiert auf Protokollierung und Dateiaufzeichnung.
moserial serial terminal Einführung moserial ist ein serielles Terminal für den GNOME-Desktop, optimiert auf Protokollierung und Dateiaufzeichnung. moserial richtet sich in erster Linie an technisch orientierte Benutzer, die ein Kommunikationsinstrument für eingebettete Systeme, Konsolen und elektronische Testumgebungen benötigen. Ungeachtet der technischen Orientierung des Zielpublikums wurde moserial daraufhin entworfen, benutzerfreundlich zu sein. Besonderer Wert wurde darauf gelegt, dass Operationen durch eine Verminderung der Zahl der benötigten Mausklicks einfach ausführbar sind. Ebenso wurde die Zahl der Einstellungsoptionen bewusst klein gehalten. Um die Effizienz weiter zu verbessern, unterstützt moserial auch Profile, um häufig benutzte Konfigurationen zu speichern. Zugriffsrechte der Systemports Bevor Sie moserial mit einem seriellen Port verwenden können, müssen Sie sicherstellen, dass Sie Lese- und/oder Schreibrechte auf diesem Port haben. Auf einigen Systemen müssen Sie etwas wie »sudo chmod o+rw /dev/ttyS*« und »sudo chmod o+rw /dev/ttyUSB*« aufrufen, um Lese- und Schreibrechte für alle Benutzer auf den seriellen Ports zu erhalten. Unglücklicherweise bleibt diese Einstellung nach einem Neustart des Systems nicht erhalten. Alternativ sehen Sie, welcher Gruppe dieses Gerät angehört und können Ihr Benutzerkonto als Mitglied dieser Gruppe zuordnen. In Fedora 15 beispielsweise sollten Sie sich selbst der Gruppe »dialout« zuordnen. Grundlagen der Benutzung Die Hauptwerkzeugleiste Die meisten Funktionen von moserial sind über die Hauptwerkzeugleiste erreichbar, wie unten angezeigt: Port-Einstellung Der erste Schritt bei der Benutzung von moserial ist die Konfiguration der Parameter des seriellen Ports. Klicken Sie dazu auf Port-Einstellungen. Im Dialog der Port-Einstellungen stellen Sie den zu verwendenden Port ein, ob der Port zum Lesen, Schreiben oder für beides geöffnet werden soll, dessen Baudrate, die Parität, die Anzahl der Daten- und Stoppbits und die Handshaking-Methode. Die Einstellungen in diesem Dialog überschreiben alle systemweit definierten Einstellungen für diesen Port. Der Port-Einstellungsdialog von moserial listet nur die Ports /dev/ttySnn, /dev/ttyUSBnn und /dev/rfcommnn auf, die gegenwärtig auf Ihrem System vorhanden sind, wobei »nn« Werte zwischen 0 und 31 annehmen kann. Über diesen Dialog können Sie auch ein lokales Echo aktivieren. Bei aktiviertem Echo werden alle von moserial empfangenen Daten an das sendende Gerät zurückgegeben. Dies sollte normalerweise deaktiviert sein, weil es unerwartete Folgen haben kann. Besonders in dem Fall, wenn auf dem sendenden Gerät ebenfalls ein Echo aktiviert ist, führt das zu einer Endlosschleife von Echos! Öffnen der Verbindung Der nächste Schritt in der Kommunikation mit Ihrem entfernten Gerät ist das Anklicken von Verbinden. Dadurch wird der Port geöffnet. Falls Sie nicht über die nötigen Rechte verfügen, um diesen Port zu öffnen, erscheint eine Fehlermeldung. Dieser Schritt ist optional. Falls Sie ihn überspringen, versucht moserial eine Verbindung automatisch herzustellen, falls nötig. Sobald Sie verbunden sind, ändert sich die Beschriftung des Knopfes von Verbinden in Trennen. Klicken Sie auf Trennen, um den Port zu schließen und die TX- und RX-Zähler zurückzusetzen. Grundlagen der Eingabe und Ausgabe Sobald der Port geöffnet ist, wird jeglicher vom entfernten Gerät empfangener Text im Textfeld Empfangenes ASCII angezeigt. Falls moserial einen hohen Anteil an nicht druckbaren Zeichen erkennt, wechselt die Anwendung automatisch in die Ansicht Empfangenes HEX. Um zwischen der HEX- und der ASCII-Ansicht zu wechseln, klicken Sie einfach auf die entsprechenden Reiter. Um Daten zum entfernten Gerät zu senden, geben Sie den Text in das einzeilige Textfeld Ausgehend ein und klicken auf Senden button. Ihre Textzeile wird mit der gewählten Sequenz abgeschlossen, die im Bereich rechts neben dem Senden-Knopf angezeigt wird. Falls Sie nicht sicher sind, welche Abschlusssequenz geeignet ist, sollten Sie »CR+LF« wählen. Der Knopf ASCII/HEX sollte zum Senden von Text auf ASCII gesetzt sein. Falls der Knopf ASCII/HEX auf HEX gesetzt ist, geben Sie bitte keinen Text in Ausgehend ein. Verwenden Sie stattdessen Hexadezimalzahlen in der Form »1234ABCD....«. Sobald Ihre Daten übertragen wurden, erscheint eine Aufzeichnung in den Textfeldern Gesendetes ASCII und Gesendetes HEX. Diese Texte sind nicht bearbeitbar. Das entfernte Gerät kann ein Echo Ihrer gesendeten Daten zurückgeben. Falls moserial zurückgegebenen Text im Textbereich Empfangenes ASCII erkennt, wird der Echo-Text in der im Einstellungsdialog dafür festgelegten Farbe hervorgehoben. Die Statuszeile am unteren Rand des Hauptfensters zeigt den Status des Ports an sowie die Anzahl der gesendeten (TX) und empfangenen (RX) Bytes. Falls einige der empfangenen Daten aus nicht druckbaren Zeichen bestehen, wird auch die Anzahl dieser Objekte angezeigt. Aufzeichnen von Eingabe und Ausgabe Mit moserial können Sie die gesendeten und empfangenen Daten in einer Datei speichern. Diese Funktion ist auch nützlich für das Empfangen und Speichern eines kontinuierlichen Datenstroms von einem entfernten Gerät. Beispielsweise geben einige Oszilloskope Bildschirmfotos über den seriellen Port aus, unter Umgehung eventueller Fehlerkorrekturprotokolle (wie Tektronix 11801). Wenn Sie zur Aufzeichnung in eine Datei bereit sind, klicken Sie auf Aufzeichnen, wählen die gewünschten Daten im Auswahlfeld Aufzuzeichnender Datenstrom aus (Eingehend/Ausgehend) und geben den Dateinamen im Dateiauswahldialog ein. Sobald die Aufzeichnung beginnt, ändert sich die Beschriftung des Knopfes von Aufzeichnen in Aufzeichnung anhalten. Sie müssen darauf klicken, falls Sie die Aufzeichnung anzuhalten wünschen oder wenn Sie die gesamte Binärdatei empfangen haben, die Sie herunterladen wollten. moserial kann wahlweise die aufgezeichnete Datei mit der für diesen Dateityp vorgegebenen Anwendung öffnen, sobald die Aufzeichnung beendet ist. Die Aufzeichnung kann auch nach einer inaktiven Zeitspanne beendet werden. Benutzen Sie den Einstellungsdialog, um diese Funktionsmerkmale zu aktivieren oder zu deaktivieren. Beachten Sie, dass Sie für den Empfang von Dateien unter Verwendung eines Fehlerkorrekturprotokolls (xmodem, ymodem oder zmodem) die Funktion Datei empfangen benutzen müssen. Im Gegensatz zur Funktion Aufzeichnen kann die Funktion Datei empfangen automatisch erkennen, wann das Herunterladen der Datei abgeschlossen ist. Senden von Dateien moserial kann Dateien in einem kontinuierlichen binären Datenstrom übertragen sowie Dateien unter Verwendung der Fehlerkorrekturprotokolle xmodem, ymodem und zmodem versenden. Während der Dateiübertragung werden die gesendeten Daten in den Textfeldern Gesendetes ASCII und Gesendetes HEX nicht protokolliert. Wenn Sie zum Senden einer Datei bereit sind, klicken Sie auf Datei senden und wählen die gewünschte Datei aus. Sie müssen außerdem das entsprechende Protokoll auswählen. Wenn eine Aufzeichnung beginnt, zeigt eine Fortschrittsleiste den Status der Dateiübertragung an. moserial implementiert die Protokolle »xmodem«, »ymodem« oder »zmodem« nicht direkt. Es benutzt die Standardwerkzeuge »rz« und »sz« zum Senden und Empfangen von Daten. Diese Werkzeuge sind Bestandteil des Pakets »lrzsz«, das auf Ihrem System installiert sein muss. Empfangen von Dateien moserial kann Dateien in einem kontinuierlichen binären Datenstrom empfangen sowie auch Dateien unter Verwendung der Fehlerkorrekturprotokolle xmodem, ymodem und zmodem empfangen. Während der Dateiübertragung werden die empfangenen Daten in den Textfeldern Gesendetes ASCII und Gesendetes HEX nicht protokolliert. Um kontinuierliche binäre Datenströme zu empfangen, verwenden Sie die Funktion Aufzeichnen anstelle der Funktion Datei empfangen. Für den Empfang von Dateien, die unter Verwendung der Fehlerkorrekturprotokolle xmodem, ymodem, oder zmodem gesendet werden, benutzen Sie die Funktion Datei empfangen. Wenn Sie zum Empfang einer Datei bereit sind, klicken Sie auf Datei empfangen und wählen die gewünschte Datei aus. Sie müssen außerdem das entsprechende Protokoll auswählen. Wenn eine Aufzeichnung beginnt, zeigt eine Fortschrittsleiste den Status des Dateiempfangs an. moserial implementiert die Protokolle »xmodem«, »ymodem« oder »zmodem« nicht direkt. Es benutzt die Standardwerkzeuge »rz« und »sz« zum Senden und Empfangen von Daten. Diese Werkzeuge sind Bestandteil des Pakets »lrzsz«, das auf Ihrem System installiert sein muss. Weitere Einstellungen moserial verfügt über verschiedene Optionen, die im Dialog Einstellungen bearbeitet werden können. Die Farben des Vorder- und Hintergrunds der Textfelder, die Hervorhebung sowie die Schriftart und -größe können an Ihre Erfordernisse angepasst werden. Falls Aufgezeichnete Dateien starten aktiviert ist, werden aufgezeichnete Dateien unmittelbar nach der Speicherung mit der für diesen Dateityp festgelegten Standardanwendung geöffnet. Die Standardanwendung ist von den Einstellungen der Arbeitsumgebung abhängig. Falls Abbrechen nach aktiviert ist, dann werden Aufzeichnungen automatisch nach einer einstellbaren inaktiven Zeitspanne nach dem Empfang von Daten abgebrochen. Die Anwendung wartet allerdings auf den Empfang des ersten Daten-Bytes, bevor die Zeitspanne der Inaktivität ausgelöst wird. Verwenden von Profilen moserial kann seine Einstellungen aus Profildateien laden und auch wieder in diese speichern, so dass Sie häufig verwendete Konfigurationen immer wieder aufrufen können. Zum Speichern eines Profils wählen Sie DateiSpeichern oder DateiSpeichern unter. Um ein Profil zu laden, verwenden Sie den Dialog DateiÖffnen. Beim Laden eines Profils wird automatisch jeder geöffnete Port geschlossen. Wenn Sie moserial beenden, werden die gegenwärtig benutzten Einstellungen in der vorgegebenen Profildatei gespeichert. Diese Einstellungen werden automatisch aufgerufen, wenn Sie moserial das nächste Mal starten. Tastenkürzel Tastenkürzel Tastenkürzel Beschreibung StrgC Text wird kopiert. Dies kann in jedem der Textbereiche verwendet werden. StrgX Schneidet Text aus. Das funktioniert nur im einzeiligen Textfeld Ausgehend. StrgV Fügt Text in das einzeilige Textfeld Ausgehend ein und aktiviert dieses Textfeld. Esc Aktiviert das einzeilige Textfeld Ausgehend.
moserial-3.0.8/doc/cs/0000775000213200021320000000000012064144713011502 500000000000000moserial-3.0.8/doc/cs/figures/0000775000213200021320000000000012064144713013146 500000000000000moserial-3.0.8/doc/cs/figures/preferences.png0000644000213200021320000006577212064144713016114 00000000000000PNG  IHDR-XUsRGB IDATxwxTև3-=!@ TCot&H\@Q zU@"VAb *E[}2v|@X9g^{BA ժUrř3gʥ5j`4 ///Ν;W.֪U ՊwyRV-222HNNb(~&f/UUŻA1^^^lݺ:v˥Lԩ.\tرݻcZ8q͛7<ԨQ ڲeHHH`Νv,AkNRJ8q@FFFlj'0L{e'E)UJfffI`` Oj2o<&M !Wf͚ljpw \crD4TUEӴʃ[Ijey{{+lr vsőHjryI9 ܄vRŕ*F1/_t:ŊL~/dff*yi~Ngg"*`W{HMM- E-W\., Cr:x{{(HrĠA E4|A; va\T*u֥s|hV@؜N'aaaՋkmZ7?P3$'' @Za>ZVXQ`\/ITUr 6 ĪUp: 2#Ff. (3--Pƌŋ1 z\.!!! 6 JJJJaz=7]j(6x?^O W=&1_Mo1oseK=uuǛL]v+ ՜g?E־43Tŭ0ap8dff ^ /#J*3N\\b |AƌҥKh4kkQ( )))XcreѤlٲ"®VaSYUY$n"LȜit+4!N~\h wƔiYxiZ%_ G׊[HQ'n:c2pru8ԭ[QFq8yƤ$}ƌY|9N+56FX`'N'`۶m 4$,Y^G)jrkZ~P˝"UV 9uŞdZu##'6="24pşnLΟv<)j~45*Djkjb(JQtİk.~E) (:Ň~H)yY"X,,^{xT>F#ynQZQ+Ius3uTKv2䄐eoTt_v}Bs|b<7wZЅG#T7wT#&-|&8|{Sck O[Itp{H&UB%gl:`~4̖L]͛O3=v:nCUi>-& xu},;tj'֘lz%ۓX Z͑ l9Nqe'9mo0s^`-~gZ^3GBh\PZ1_a*TPr믿ӳeү(J.\yY&j25CPStu+nRT#l3V}PNfD\5qz5 %cFo;ng8u2{1:s(][ɱ-{:ztne8Tz1jnwcXs>5{R;Uk`#lraJ@c=d5%x֦CpmE$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LrsSԝ!"Sוx0% /)bPy&AXwM+Tj@Q?=Χ 56kzAo;=t^HٶviltZcA.GS2]SZM{3 Kq5X_ꋁ|׮e*2{SEl]s{z{_Um5'>[MGN_n<{F$5d !u$d& ZIENDB`moserial-3.0.8/doc/cs/figures/connect.png0000644000213200021320000000300612064144713015222 00000000000000PNG  IHDRF1P/sRGBPLTE *-$2;!6 #P(L$Q@4:!,&!$bW &d+qW ,sW!["1ZW"$V")#-YX#%W#)_"'@-& 5n\%'=/6]')_(%k)j)@40k*d.U2n-X5>El4h5/EF+FkJy:DF/OT2QF(_1aO!,c\^[]_\^`]LgY_a^Vac`Oj\cebefdfge6ohig7rTs^kmjlnkmolnpmCzrtq;5uwtvxuV}wyvy{xr.Yz|y<2}|x+~@|CxLGÇNVĎNXƐ[ȘĒ@^Șa_ɚ`ØJckijǞɝOšWpärȥaç{Ϊǩ}Ȭl˭Ʋvǵ̹ϣɭ¡̻ͼϾǦ¾ѼǡÿŞɤƟȥǠƬĴɡɧȨȮʨʣ˩˯̰˶οq4N]IDATHcN0J0YYLc74 ;.|1f8oSf*Ƽp]ߏSoQ`yU^?Κ:}2Ƽꚻۀ{tœ'߻Y^Fkܿ}ٓ'O:#p7} n*Ƥ8։&@ 6c322n|wHu4@ IԷ͞[0Vwɢ<e)w^v> =θw;(3r$6油1a . _xbϽܵ`c:*t-u&$*޽~IݻI"ǧyr;HP1aϼ{wIb ^ʻ^»w7&D]1F,ݻ.!t4jÆOIݛUyl-LR`<Ψc3c8'ߏK%)l_Dci QcpV IENDB`moserial-3.0.8/doc/cs/figures/port-setup.png0000644000213200021320000007646512064144713015736 00000000000000PNG  IHDRM[QBsRGBbKGD pHYs  tIME:~ IDATxy|Lwlm! --nZU mUik-M-](KkJ$ez$ Ay^3s?ysνj2% ł Ν+2Ee\\\/rWNvv6NNN$$$puu-<^:b0Kr…8;;cZEC\\\زe ZfK*"##X,RB`ΝtЁlNCPɓ'QTdffKfdee|P fvv6.\!@ Dl~IZVjuA7`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-0>h=M[CT5-J(~o%C&[ӥ'O|*r z+pUA*B->G?+U8L_S+F8FmAT;WyNAĿwkX,n@C|s|xP64$:Vop6lb|`~+m )BJ Zo~ju@xx>_1sG60z_60*竗mULyd|ׄApMNr;.uC@ɵ:9廽LMe//gȾau9ʝAO=a塭` ]Fa1_4KK5OKZ ̗}tT{X:P5l{lX/3FmZP|rq `޴fcA,Ck# <161ߌd-x$)@ʇXlV`+K nsԛ>雷ܗV>w|5w>=曉/Gδh–u=/闵'Zӥ]Ұ|nmA+%y57ESa>^tc6_gZP|®hr )>{bk_g1W]{Zy ߘ 'Zod*^9vaHkg:Uݴ" "E<i><}:׸ҋ,")"D{3\4iX0PH #O"DtZۍ!BQ!B!B!B"DG%B"DDW"Dq}X.B":3|@n9`IENDB`moserial-3.0.8/doc/cs/cs.po0000644000213200021320000010303512064144712012366 00000000000000# Czech translation for moserial. # Copyright (C) 2009 moserial's COPYRIGHT HOLDER # This file is distributed under the same license as the moserial package. # # Marek Černocký , 2009, 2010, 2011. # msgid "" msgstr "" "Project-Id-Version: moserial master\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2011-08-16 19:41+0000\n" "PO-Revision-Date: 2011-08-25 07:54+0200\n" "Last-Translator: Marek Černocký \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Language: cs\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #: C/moserial.xml:19(title) #| msgid "moserial Manual V2.26.0" msgid "moserial Manual V3.0.0" msgstr "Příručka aplikace moserial, verze 3.0.0" #: C/moserial.xml:21(year) msgid "2009" msgstr "2009" #: C/moserial.xml:22(holder) C/moserial.xml:59(para) msgid "Michael J. Chudobiak" msgstr "Michael J. Chudobiak" #: C/moserial.xml:38(publishername) C/moserial.xml:60(para) msgid "GNOME Documentation Project" msgstr "Dokumentační projekt GNOME" #: C/moserial.xml:2(para) msgid "" "Permission is granted to copy, distribute and/or modify this document under " "the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any " "later version published by the Free Software Foundation with no Invariant " "Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy " "of the GFDL at this link or " "in the file COPYING-DOCS distributed with this manual." msgstr "" "Je povoleno kopírovat, šířit a/nebo upravovat tento dokument za podmínek GNU " "Free Documentation License, verze 1.1 nebo jakékoli další verze vydané " "nadací Free Software Foundation; bez neměnných oddílů, bez textů předních " "desek a bez textů zadních desek. Kopie této licence je zahrnuta v oddílu " "jménem GNU Free Documentation " "License nebo v souboru COPYING-DOCS dodávaném s touto příručkou." #: C/moserial.xml:12(para) msgid "" "This manual is part of a collection of GNOME manuals distributed under the " "GFDL. If you want to distribute this manual separately from the collection, " "you can do so by adding a copy of the license to the manual, as described in " "section 6 of the license." msgstr "" "Tato příručka je součástí kolekce příruček GNOME, distribuovaných pod " "licencí GNU FDL. Pokud chcete tento dokument šířit odděleně od kolekce, " "musíte přiložit kopii licence dle popisu v sekci 6 dané licence." #: C/moserial.xml:19(para) msgid "" "Many of the names used by companies to distinguish their products and " "services are claimed as trademarks. Where those names appear in any GNOME " "documentation, and the members of the GNOME Documentation Project are made " "aware of those trademarks, then the names are in capital letters or initial " "capital letters." msgstr "" "Mnoho užívaných jmen určených k zviditelnění produktů nebo služeb jsou " "ochranné známky. Na místech, kde jsou tato jména v dokumentaci užita a " "členové Dokumentačního projektu GNOME jsou si vědomi skutečnosti, že se " "jedná o ochrannou známku, je takové jméno psáno velkými písmeny celé nebo s " "velkým písmenem na začátku." #: C/moserial.xml:35(para) msgid "" "DOCUMENT IS PROVIDED ON AN \"AS IS\" BASIS, WITHOUT WARRANTY OF ANY KIND, " "EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT " "THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS " "MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE " "RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR " "MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR " "MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL " "WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY " "SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN " "ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION " "OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND" msgstr "" "DOKUMENT JE POSKYTOVÁN V PODOBĚ „JAK JE“ BEZ ZÁRUKY V JAKÉKOLIV PODOBĚ, " "NEPOSKYTUJÍ SE ANI ODVOZENÉ ZÁRUKY, ZÁRUKY, ŽE DOKUMENT, NEBO JEHO UPRAVENÁ " "VERZE, JE BEZCHYBNÝ NEBO ZÁRUKY PRODEJNOSTI, VHODNOSTI PRO URČITÝ ÚČEL NEBO " "NEPORUŠENOSTI. RIZIKO NEKVALITY, NEPŘESNOSTI A ŠPATNÉHO PROVEDENÍ DOKUMENTU, " "NEBO JEHO UPRAVENÉ VERZE, LEŽÍ NA VÁS. POKUD KVŮLI TOMUTO DOKUMENTU, NEBO " "JEHO UPRAVENÉ VERZI, NASTANE PROBLÉM, VY (NIKOLIV PŮVODNÍ AUTOR NEBO " "JAKÝKOLIV PŘISPĚVATEL) PŘEBÍRÁTE JAKÉKOLIV NÁKLADY ZA NUTNÉ ÚPRAVY, OPRAVY " "ČI SLUŽBY. TOTO PROHLÁŠENÍ O ZÁRUCE PŘEDSTAVUJE ZÁKLADNÍ SOUČÁST TÉTO " "LICENCE. BEZ TOHOTO PROHLÁŠENÍ NENÍ, PODLE TÉTO DOHODY, POVOLENO UŽÍVÁNÍ ANI " "ÚPRAVY TOHOTO DOKUMENTU; DÁLE" #: C/moserial.xml:55(para) msgid "" "UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING " "NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY " "CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE " "DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON " "FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF " "ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, " "WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES " "OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED " "VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE " "POSSIBILITY OF SUCH DAMAGES." msgstr "" "ZA ŽÁDNÝCH OKOLNOSTÍ A ŽÁDNÝCH PRÁVNÍCH PŘEDPOKLADŮ, AŤ SE JEDNÁ O PŘEČIN " "(VČETNĚ NEDBALOSTNÍCH), SMLOUVU NEBO JINÉ, NENÍ AUTOR, PŮVODNÍ PISATEL, " "KTERÝKOLIV PŘISPĚVATEL NEBO KTERÝKOLIV DISTRIBUTOR TOHOTO DOKUMENTU NEBO " "UPRAVENÉ VERZE DOKUMENTU NEBO KTERÝKOLIV DODAVATEL NĚKTERÉ Z TĚCHTO STRAN " "ODPOVĚDNÝ NĚJAKÉ OSOBĚ ZA PŘÍMÉ, NEPŘÍMÉ, SPECIÁLNÍ, NAHODILÉ NEBO NÁSLEDNÉ " "ŠKODY JAKÉHOKOLIV CHARAKTERU, VČETNĚ, ALE NEJEN, ZA POŠKOZENÍ ZE ZTRÁTY " "DOBRÉHO JMÉNA, PŘERUŠENÍ PRÁCE, PORUCHY NEBO NESPRÁVNÉ FUNKCE POČÍTAČE NEBO " "JINÉHO A VŠECH DALŠÍCH ŠKOD NEBO ZTRÁT VYVSTÁVAJÍCÍCH Z NEBO VZTAHUJÍCÍCH SE " "K POUŽÍVÁNÍ TOHOTO DOKUMENTU NEBO UPRAVENÝCH VERZÍ DOKUMENTU, I KDYŽ BY " "TAKOVÁTO STRANA BYLA INFORMOVANÁ O MOŽNOSTI TAKOVÉHOTO POŠKOZENÍ." #: C/moserial.xml:28(para) msgid "" "DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS " "OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: " "" msgstr "" "DOKUMENT A JEHO UPRAVENÉ VERZE JSOU ŠÍŘENY V SOULADU SE ZNĚNÍM LICENCE GNU " "FREE DOCUMENTATION LICENSE S NÁSLEDUJÍCÍM USTANOVENÍM: " #: C/moserial.xml:45(firstname) msgid "Michael" msgstr "Michael" #: C/moserial.xml:46(surname) msgid "Chudobiak" msgstr "Chudobiak" #: C/moserial.xml:48(email) msgid "mjc@svn.gnome.org" msgstr "mjc@svn.gnome.org" #: C/moserial.xml:56(revnumber) msgid "3.0.0" msgstr "3.0.0" #: C/moserial.xml:57(date) msgid "April 2009" msgstr "Duben 2009" #. this is version of manual, not application #: C/moserial.xml:67(releaseinfo) #| msgid "This is manual describes version 2.26.0 of moserial" msgid "This is manual describes version 3.0.0 of moserial" msgstr "Tato příručka popisuje aplikaci moserial ve verzi 3.00.0" #: C/moserial.xml:70(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture." msgstr "" "moserial je sériový terminál pro pracovní " "prostředí GNOME, optimalizovaný pro evidování a zachytávání souborů." #: C/moserial.xml:74(primary) msgid "moserial" msgstr "moserial" #: C/moserial.xml:77(primary) msgid "serial" msgstr "sériový" #: C/moserial.xml:80(secondary) msgid "terminal" msgstr "terminál" #: C/moserial.xml:88(title) msgid "Introduction" msgstr "Úvod" #: C/moserial.xml:89(para) msgid "" "moserial is a serial terminal for the GNOME " "desktop, optimized for logging and file capture. moserial is primarily intended for technical users who need to " "communicate with embedded systems, consoles, and electronic test equipment." msgstr "" "Aplikace moserial je sériový terminál pro " "pracovní prostředí GNOME, optimalizovaný na evidování komunikace a " "zachytávání souborů. Aplikace moserial je " "primárně určená pro technické uživatele, kteří potřebují komunikovat se " "zabudovanými zařízeními, konzolami a elektronickými měřicími přístroji." #: C/moserial.xml:95(para) msgid "" "Despite the technical orientation of the intended audience, " "moserial is designed to be user-friendly. Care " "has been taken to ensure that operations are simple to execute, by " "minimizing the number of clicks needed. The number of configuration options " "has also been kept small." msgstr "" "Navzdory technické orientaci zamýšleného publika je aplikace " "moserial navržená jako uživatelsky přívětivá. Je " "dbáno na to, aby šly operace spouštět jednoduše, s minimálním počtem " "potřebných kliknutí. Rovněž je snaha o malý počet voleb nastavení." #: C/moserial.xml:102(para) msgid "" "To further improve efficiency, moserial also " "supports profile files to store frequently-used configurations." msgstr "" "Pro ještě větší efektivnost podporuje aplikace moserial soubory s profily, ve kterých si můžete uchovávat svá " "nejčastěji používaná nastavení." #: C/moserial.xml:109(title) msgid "System Port Permissions" msgstr "Systémová oprávnění k portu" #: C/moserial.xml:110(para) msgid "" "Before using moserial with a serial port, you " "need to make sure that you actually have permission to read and/or write to " "the port." msgstr "" "Než použijete aplikaci moserial se sériovým " "portem, musíte se ujistit, že máte oprávnění číst a/nebo zapisovat port." #: C/moserial.xml:114(para) #| msgid "" #| "On some systems, you may need to do something like \"sudo chmod o+rw /dev/" #| "ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write " #| "permissions (for all users) on the serial ports." msgid "" "On some systems, you may need to do something like \"sudo chmod o+rw /dev/" "ttyS*\" and \"sudo chmod o+rw /dev/ttyUSB*\" to obtain read/write " "permissions (for all users) on the serial ports. Unfortunately, this may not " "be persistent after reboots." msgstr "" "V některých systémech, abyste přidělili (všem uživatelům) oprávnění číst/" "zapisovat sériové porty, musíte provést příkaz jako „sudo chmod o+rw /dev/" "ttyS*“ a „sudo chmod o+rw /dev/ttyUSB*“. Bohužel se toto nastavení nemusí " "zachovat po restartování systému." #: C/moserial.xml:119(para) #| msgid "" #| "Alternatively, you can see what group the devices belong to, and make " #| "your account a member of that group." msgid "" "Alternatively, you can see what group the devices belong to, and make your " "account a member of that group. In Fedora 15, for example, you should add " "yourself to the \"dialout\" group." msgstr "" "Případně se můžete podívat, která skupina zařízení vlastní, a začlenit svůj " "účet do této skupiny. Například v distribuci Fedora 15 byste se měli přidat " "do skupiny „dialout“." #: C/moserial.xml:126(title) msgid "Basic Usage" msgstr "Základy používání" #: C/moserial.xml:128(title) msgid "The Main Toolbar" msgstr "Hlavní nástrojová lišta" #: C/moserial.xml:129(para) msgid "" "Most moserial functions are accessed through the " "main toolbar, shown below:" msgstr "" "Většina funkcí aplikace moserial je přístupných " "přes hlavní nástrojovou lištu zobrazenou níže:" #: C/moserial.xml:137(title) msgid "Port Setup" msgstr "Nastavení portu" #: C/moserial.xml:138(para) msgid "" "The first step in using moserial is to configure " "the serial port parameters. Click Port Setup to do " "this. In the port setup dialog, you will set the port to use, whether the " "port should be open for reads, writes, or both, its baud rate, its parity, " "the number of data and stop bits, and the handshaking method. The settings " "specified in this dialog will override any system default settings for the " "port." msgstr "" "První krok při použití aplikace moserial je " "nastavení parametrů sériového portu. K tomu se dostanete tak, že kliknete na " "Nastavení portu. V dialogovém okně nastavení portu " "zvolíte, který port použít, zda se má otevřít pro čtení, zápis nebo obojí, " "přenosovou rychlost, paritu, počet datových a stop bitů a dohadovací " "protokol. Natavení zadaná v tomto dialogovém okně přepíšou případné " "systémové výchozí hodnoty portu. " #: C/moserial.xml:146(para) msgid "" "The moserial port setup dialog will only list " "the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist " "on the system, for values of \"nn\" between 0 and 31." msgstr "" "V dialogovém okně nastavení portu v aplikaci moserial jsou uvedené pouze porty /dev/ttySnn, /dev/ttyUSBnn a /dev/" "rfcommnn, které v systému aktuálně existují a kde hodnota „nn“ je v rozmezí " "0 až 31." #: C/moserial.xml:151(para) msgid "" "A local echo can be enabled from this dialog. If enabled, all data that " "moserial receives will be echoed back to the " "sending device. This should normally be disabled, as it can cause unexpected " "behaviour, especially if the remote device also has echo enabled. (This " "would cause an infinite loop of echoes!)" msgstr "" "V tomto dialogovém okně lze zapnout místní odezvu. Pokud je zapnuta, všechna " "data přijatá aplikací moserial se budou opakovat " "zpět do odesílacího zařízení. To by mělo být normálně vypnuté, protože to " "může způsobit neočekávané chování, především v situaci, kdy vzdálené " "zařízení má odezvu rovněž zapnutou. (To by mohlo zapřičinit i nekonečnou " "smyčku odezev!)" #: C/moserial.xml:162(title) msgid "Open the Connection" msgstr "Otevření spojení" #: C/moserial.xml:163(para) msgid "" "The next step in communicating with your remote device is to click " "Connect. This opens the port. If you do not have the " "necessary privileges to open the port, an error will be reported." msgstr "" "Dalším krokem v komunikaci se vzdáleným zařízením je kliknutí na " "Připojit. Tím se port otevře. Pokud nemáte k otevření " "portu dostatečná oprávnění, objeví se chybové hlášení." #: C/moserial.xml:171(para) msgid "" "This step is optional. If you skip it, moserial " "will try to connect automatically when needed." msgstr "" "Tento krok je volitelný. Pokud jej přeskočíte, aplikace " "moserial se pokusí připojit automaticky, až to " "bude zapotřebí." #: C/moserial.xml:175(para) msgid "" "Once you have connected, the Connect button will " "change into a Disconnect button. Clicking " "Disconnect closes the port, and resets the TX and RX " "counters." msgstr "" "Jakmile jste připojeni, tlačítko Připojit se změní na " "tlačítko Odpojit. Kliknutím na Odpojit se port uzavře a vynulují se počítadla TX a RX." #: C/moserial.xml:186(title) msgid "Basic Input and Output" msgstr "Základní vstup a výstup" #: C/moserial.xml:187(para) msgid "" "Once the port has been opened, any text received from the remote device will " "be displayed in the Received ASCII text area. If " "moserial detects a large number of unprintable " "characters, it will switch automatically to the Received HEX view." msgstr "" "Když už je port otevřený, jakýkoliv příchozí text ze vzdáleného zařízení se " "zobrazí v textové oblasti Přijaté ASCII. Pokud aplikace " "moserial zjistí velké množství netisknutelných " "znaků, automaticky přepne na zobrazení Přijaté HEX." #: C/moserial.xml:197(para) msgid "" "To switch between HEX and ASCII views, simply click on the appropriate tabs." msgstr "" "Pokud chcete přepnout mezi zobrazením HEX a ASCII, jednoduše klikněte na " "příslušnou kartu." #: C/moserial.xml:201(para) msgid "" "To send data to the remote device, you can type text into the " "Outgoing single-line text box, and click the " "Send button. Your line of text will be terminated " "with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, " "start with \"CR+LF end\". The ASCII/HEX button should " "be set to ASCII to send text." msgstr "" "Data do vzdáleného zařízení odešlete tak, že vepíšete text do jednořádkového " "textového pole Odchozí a kliknete na tlačítko " "Odeslat. Váš řádek textu bude zakončen sekvencí " "vybranou ve výběrovém seznamu napravo od tlačítka Odeslat. Pokud si nejste jistí, která ze sekvencí je ta správná, začněte " "s „Zakončení CR+LF“. Výběrový seznam ASCII/HEX by měl " "být při odesílání textu nastaven na ASCII." #: C/moserial.xml:214(para) msgid "" "If the ASCII/HEX button is set to HEX, do not enter " "text in the Outgoing area. Instead, enter hexadecimal " "numbers in the form \"1234ABCD....\"." msgstr "" "Jestliže je výběr ASCII/HEX nastaven na HEX, " "nezadávejte do pole Odchozí text. Místo toho uvádějte " "číslice v šestnáctkovém tvaru „1234ABCD…“." #: C/moserial.xml:219(para) msgid "" "Once your data has been transmitted, a record of it will exist in the " "Sent ASCII and Sent HEX text " "areas. These text areas are not editable." msgstr "" "Jakmile jsou data odeslána, objeví se jejich záznam v textových oblastech " "Odeslané ASCII a Odeslané HEX. " "Tyto textové oblasti nelze upravovat." #: C/moserial.xml:227(para) msgid "" "The remote device may echo your sent data. If moserial detects echoed text in the Received ASCII " "text area, it will highlight the echoed text (using the highlight color " "defined in the preferences dialog)." msgstr "" "Vzdálené zařízení může vaše odeslaná data opakovat. Pokud aplikace " "moserial zjistí takovou odezvu textu v textové " "oblasti Přijaté ASCII, tak opakovaný text zvýrazní " "(pomocí barvy pro zvýraznění určené v dialogovém okně předvoleb)." #: C/moserial.xml:233(para) msgid "" "The statusbar at the bottom of the main window shows the state of port, and " "a count of the sent (TX) and received (RX) bytes. If some of the received " "data is unprintable, a count of these items is shown as well." msgstr "" "Stavová lišta v dolní části hlavního okna zobrazuje stav portu a počet " "odeslaných (TX) a přijatých (RX) bajtů. I když jsou některá přijatá data " "netisknutelná, v celkovém počtu jsou zahrnuta." #: C/moserial.xml:245(title) msgid "Recording Input and Output" msgstr "Evidování vstupu a výstupu" #: C/moserial.xml:246(para) msgid "" "moserial can be used to record your sent and " "received data to a file. This function is also useful for receiving and " "storing straight binary data dumped from a remote device. For instance, some " "oscilloscopes will dump screenshots to a serial port, without using any " "error correction protocols (like the Tektronix 11801)." msgstr "" "Aplikaci moserial lze použít k záznamu svých " "odeslaných a přijatých dat do souboru. Tato funkce je také užitečná pro " "příjem a uchování výpisu neupravených binárních data ze vzdáleného zařízení. " "Například některé osciloskopy vypisují snímky obrazovky do sériového portu " "bez použití protokolu s korekcí chyb (jako Tektronix 11801)." #: C/moserial.xml:256(para) msgid "" "When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in " "the Stream to Record selection box, and enter the " "filename in the filechooser area." msgstr "" "Jakmile jste připraveni zaznamenávat do souboru, jednoduše klikněte na " "Zaznamenat, vyberte ve výběrovém seznamu Co " "zaznamenávat data, která chcete zaznamenat (příchozí a/nebo " "odchozí), a v části pro výběr souboru zadejte název souboru." #: C/moserial.xml:265(para) msgid "" "When recording begins, the Record button will change " "into a Stop Recording button. You will need to click " "this when you wish to stop recording, or you have received the entire binary " "file that you wanted to download." msgstr "" "Jakmile záznam započne, tlačítko Zaznamenat se změní " "na tlačítko Zastavit záznam. Na toto tlačítko musíte " "kliknout, pokud si přejete zaznamenávání zastavit nebo jste již přijali celý " "binární soubor, který jste chtěli stáhnout." #: C/moserial.xml:274(para) msgid "" "moserial can optionally launch the recorded file " "with the default application for its file type, when recording has finished. " "It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these " "features." msgstr "" "Aplikace moserial může zaznamenaný soubor " "volitelně spustit pomocí výchozí aplikace pro daný typ souboru, jakmile je " "záznam dokončen. Záznam lze rovněž ukončit po nějaké době neaktivity. Pro " "zapnutí nebo vypnutí této funkce použijte dialogové okno Předvolby." #: C/moserial.xml:281(para) msgid "" "Note that if you wish to receive files using an error correction protocol " "(xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the " "Record function, the Receive File function can automatically determine when the file download is " "complete." msgstr "" "Upozorňujeme, že když chcete přijmout soubor pomocí protokolu s korekcí chyb " "(xmodem, ymodem nebo zmodem), musíte místo výše uvedeného použít funkci " "Přijmout soubor. Narozdíl od funkce " "Zaznamenat umí funkce Přijmout soubor automaticky rozpoznat, kdy je stahování souboru dokončeno." #: C/moserial.xml:294(title) msgid "Sending Files" msgstr "Odesílání souborů" #: C/moserial.xml:295(para) msgid "" "moserial can transmit files in a straight binary " "data stream, and it can also send files using the xmodem, ymodem, and zmodem " "error correction protocols. During file transmission, the sent data is not " "logged to the Sent ASCII or Sent HEX text areas." msgstr "" "Aplikace moserial umí odesílat soubory jako tok " "posloupnosti binárních dat a rovněž umí odesílat soubory pomocí protokolu s " "korekcí chyb xmodem, ymodem a zmodem. Během přenosu souboru se posílaná data " "neevidují v textových oblastech Odesílané ASCII " "respektive Odesílané HEX." #: C/moserial.xml:305(para) msgid "" "When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select " "the appropriate protocol below." msgstr "" "Když jste připraveni k odeslání souboru, jednoduše klikněte na " "Odeslat soubor a vyberte požadovaný soubor k " "odeslání. Dále budete také muset vybrat příslušný protokol." #: C/moserial.xml:313(para) msgid "" "When recording begins, a progress bar will display the status of the file " "transmission." msgstr "" "Jakmile začne záznam, bude se stav přenosu souboru zobrazovat pomocí " "ukazatele průběhu." #: C/moserial.xml:320(para) C/moserial.xml:363(para) msgid "" "moserial does not implement the xmodem, ymodem, or zmodem protocols " "directly. It relies on the standard rz and sz utilities to send and receive " "data. These utilities, part of the lrzsz package, must be installed on your " "system." msgstr "" "Aplikace moserial přímo neimplementuje protokoly xmodem, ymodem nebo zmodem. " "Spoléhá se na standardní nástroje rz a sz pro příjem a odesílání dat. Tyto " "nástroje, které jsou součástí balíku lrzsz, musí být ve vašem systému " "nainstalovány." #: C/moserial.xml:329(title) msgid "Receiving Files" msgstr "Příjem souborů" #: C/moserial.xml:330(para) msgid "" "moserial can receive files sent in a straight " "binary data stream, and it can also receive files using the xmodem, ymodem, " "and zmodem error correction protocols. During file transmission, the " "received data is not logged to the Sent ASCII or " "Sent HEX text areas." msgstr "" "Aplikace moserial umí přijímat soubory odeslané " "jako tok neupravených binárních dat a rovněž umí přijímat soubory pomocí " "protokolu s korekcí chyb xmodem, ymodem a zmodem. Během přenosu souboru se " "přijímaná data neevidují v textových oblastech Přijaté ASCII respektive Přijaté HEX." #: C/moserial.xml:337(para) msgid "" "To receive straight binary data streams, use the Record function instead of the Receive File " "function." msgstr "" "Pro příjem toku neupravených binárních dat použijte funkci Zaznamenat namísto funkce Přijmout soubor." #: C/moserial.xml:341(para) msgid "" "To receive files sent with the xmodem, ymodem, or zmodem error correction " "protocols, using the Receive File function." msgstr "" "Pro příjem souborů odeslaných pomocí protokolů s korekcí chyb xmodem, ymodem " "nebo zmodem použijte funkci Přijmout soubor." #: C/moserial.xml:348(para) msgid "" "When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need " "to select the appropriate protocol below." msgstr "" "Když jste připraveni k příjmu souboru, jednoduše klikněte na " "Přijmout soubor a vyberte složku, kde chcete přijatý " "soubor uložit. Dále budete také muset vybrat příslušný protokol." #: C/moserial.xml:356(para) msgid "" "When recording begins, a progress bar will display the status of the file " "reception." msgstr "" "Jakmile začne záznam, bude se stav příjmu souboru zobrazovat pomocí " "ukazatele průběhu." #: C/moserial.xml:372(title) msgid "Other Preferences" msgstr "Ostatní předvolby" #: C/moserial.xml:373(para) msgid "" "moserial has several options that can be " "configured from the Preferences dialog." msgstr "" "Aplikace moserial obsahuje několik voleb, které " "můžete nastavit v dialogovém okně Předvolby." #: C/moserial.xml:380(para) msgid "" "The color of the text area foreground, background, and highlighting can be " "configured, as can the font type and size." msgstr "" "Nastavit můžete barvy pro textovou oblast, konkrétně barvu písma, pozadí a " "zvýraznění, stejně jako typ a velikost písma." #: C/moserial.xml:384(para) msgid "" "If Launch recorded files is enabled, a recorded file " "will be opened immediately after it is saved, using the default application " "for the file type. The default application is defined by the desktop " "environment." msgstr "" "Když je povolené Spustit zaznamenané soubory, tak budou " "zaznamenané soubory ihned po jejich uložení otevřeny a to pomocí výchozí " "aplikace pro typ souboru. Výchozí aplikaci určuje nastavení pracovního " "prostředí." #: C/moserial.xml:389(para) msgid "" "If Enable timeout is enabled, recording will be " "automatically stopped after an adjustable period of inactivity after " "receiving some data. That is, moserial will wait indefinitely to record the " "first data byte before activating the inactivity timer." msgstr "" "Pokud je zapnuté Vypršení času, zaznamenávání se " "automaticky zastaví po přizpůsobitelné době neaktivity po přejetí nějakých " "dat. To znamená, že aplikace moserial bude čekat neomezeně dlouho na záznam " "prvního bajtu dat před tím, něž spustí časovač neaktivity." #: C/moserial.xml:398(title) msgid "Using Profiles" msgstr "Používání profilů" #: C/moserial.xml:399(para) msgid "" "moserial can load and save its settings from " "profile files, so that you can store and recall commonly used " "configurations. To save a profile, simply use the " "FileSave or FileSave " "As dialogs. To load a profile, use the " "FileOpen dialog." msgstr "" "Aplikace moserial umí načíst a uložit svá " "nastavení do souboru profilu, takže si můžete uložit a znovu vyvolat běžně " "používaná nastavení. Když chcete profil uložit, jednoduše použijte dialogová " "okna SouborUložit " "nastavení nebo SouborUložit nastavení jako. " "Pokud profil chcete načíst, použijte dialogové okno " "SouborOtevřít nastavení." #: C/moserial.xml:408(para) msgid "Loading a profile will automatically disconnect any connected port." msgstr "Načtením profilu se automaticky odpojí a připojí port." #: C/moserial.xml:411(para) msgid "" "When you quit moserial, the settings currently in " "use are stored in a default profile file. These settings will automatically " "be recalled the next time you launch moserial." msgstr "" "Když aplikaci moserial ukončujete, aktuálně " "používané nastavení se uloží do souboru výchozího profilu. Při příštím " "spuštění aplikace moserial, se toto nastavení " "automaticky znovu načte." #: C/moserial.xml:419(title) C/moserial.xml:422(title) msgid "Special Keys" msgstr "Speciální klávesy" #: C/moserial.xml:429(para) msgid "Keyboard Shortcut" msgstr "Klávesová zkratka" #: C/moserial.xml:431(para) msgid "Description" msgstr "Popis" #: C/moserial.xml:438(keycap) C/moserial.xml:448(keycap) #: C/moserial.xml:458(keycap) msgid "Ctrl" msgstr "Ctrl" #: C/moserial.xml:438(keycap) msgid "C" msgstr "C" #: C/moserial.xml:442(para) msgid "Copies text. This can be used in any of the text areas." msgstr "Kopíruje text. To lze použít v kterékoliv textové oblasti." #: C/moserial.xml:448(keycap) msgid "X" msgstr "X" #: C/moserial.xml:452(para) msgid "" "Cuts text. This only works in the Outgoing single-line " "text box." msgstr "" "Vyjme text. To funguje pouze v jednořádkovém textovém poli " "Odchozí." #: C/moserial.xml:458(keycap) msgid "V" msgstr "V" #: C/moserial.xml:462(para) msgid "" "Pastes text into the Outgoing single-line text box, and " "moves the focus to that text box." msgstr "" "Vloží text do jednořádkového textového pole Odchozí a " "na toto textové pole přepne zaměření." #: C/moserial.xml:471(keycap) msgid "Esc" msgstr "Esc" #: C/moserial.xml:475(para) msgid "" "Moves the focus to the Outgoing single-line text box." msgstr "" "Přepne zaměření na jednořádkové textové pole Odchozí." #. Put one translator per line, in the form of NAME , YEAR1, YEAR2 #: C/moserial.xml:0(None) msgid "translator-credits" msgstr "Marek Černocký " moserial-3.0.8/doc/cs/moserial.xml0000644000213200021320000005335512064144712013767 00000000000000 moserial"> ]>

Příručka aplikace <application>moserial</application>, verze 3.0.0 2009 Michael J. Chudobiak Dokumentační projekt GNOME Je povoleno kopírovat, šířit a/nebo upravovat tento dokument za podmínek GNU Free Documentation License, verze 1.1 nebo jakékoli další verze vydané nadací Free Software Foundation; bez neměnných oddílů, bez textů předních desek a bez textů zadních desek. Kopie této licence je zahrnuta v oddílu jménem GNU Free Documentation License nebo v souboru COPYING-DOCS dodávaném s touto příručkou. Tato příručka je součástí kolekce příruček GNOME, distribuovaných pod licencí GNU FDL. Pokud chcete tento dokument šířit odděleně od kolekce, musíte přiložit kopii licence dle popisu v sekci 6 dané licence. Mnoho užívaných jmen určených k zviditelnění produktů nebo služeb jsou ochranné známky. Na místech, kde jsou tato jména v dokumentaci užita a členové Dokumentačního projektu GNOME jsou si vědomi skutečnosti, že se jedná o ochrannou známku, je takové jméno psáno velkými písmeny celé nebo s velkým písmenem na začátku. DOKUMENT A JEHO UPRAVENÉ VERZE JSOU ŠÍŘENY V SOULADU SE ZNĚNÍM LICENCE GNU FREE DOCUMENTATION LICENSE S NÁSLEDUJÍCÍM USTANOVENÍM: DOKUMENT JE POSKYTOVÁN V PODOBĚ „JAK JE“ BEZ ZÁRUKY V JAKÉKOLIV PODOBĚ, NEPOSKYTUJÍ SE ANI ODVOZENÉ ZÁRUKY, ZÁRUKY, ŽE DOKUMENT, NEBO JEHO UPRAVENÁ VERZE, JE BEZCHYBNÝ NEBO ZÁRUKY PRODEJNOSTI, VHODNOSTI PRO URČITÝ ÚČEL NEBO NEPORUŠENOSTI. RIZIKO NEKVALITY, NEPŘESNOSTI A ŠPATNÉHO PROVEDENÍ DOKUMENTU, NEBO JEHO UPRAVENÉ VERZE, LEŽÍ NA VÁS. POKUD KVŮLI TOMUTO DOKUMENTU, NEBO JEHO UPRAVENÉ VERZI, NASTANE PROBLÉM, VY (NIKOLIV PŮVODNÍ AUTOR NEBO JAKÝKOLIV PŘISPĚVATEL) PŘEBÍRÁTE JAKÉKOLIV NÁKLADY ZA NUTNÉ ÚPRAVY, OPRAVY ČI SLUŽBY. TOTO PROHLÁŠENÍ O ZÁRUCE PŘEDSTAVUJE ZÁKLADNÍ SOUČÁST TÉTO LICENCE. BEZ TOHOTO PROHLÁŠENÍ NENÍ, PODLE TÉTO DOHODY, POVOLENO UŽÍVÁNÍ ANI ÚPRAVY TOHOTO DOKUMENTU; DÁLE ZA ŽÁDNÝCH OKOLNOSTÍ A ŽÁDNÝCH PRÁVNÍCH PŘEDPOKLADŮ, AŤ SE JEDNÁ O PŘEČIN (VČETNĚ NEDBALOSTNÍCH), SMLOUVU NEBO JINÉ, NENÍ AUTOR, PŮVODNÍ PISATEL, KTERÝKOLIV PŘISPĚVATEL NEBO KTERÝKOLIV DISTRIBUTOR TOHOTO DOKUMENTU NEBO UPRAVENÉ VERZE DOKUMENTU NEBO KTERÝKOLIV DODAVATEL NĚKTERÉ Z TĚCHTO STRAN ODPOVĚDNÝ NĚJAKÉ OSOBĚ ZA PŘÍMÉ, NEPŘÍMÉ, SPECIÁLNÍ, NAHODILÉ NEBO NÁSLEDNÉ ŠKODY JAKÉHOKOLIV CHARAKTERU, VČETNĚ, ALE NEJEN, ZA POŠKOZENÍ ZE ZTRÁTY DOBRÉHO JMÉNA, PŘERUŠENÍ PRÁCE, PORUCHY NEBO NESPRÁVNÉ FUNKCE POČÍTAČE NEBO JINÉHO A VŠECH DALŠÍCH ŠKOD NEBO ZTRÁT VYVSTÁVAJÍCÍCH Z NEBO VZTAHUJÍCÍCH SE K POUŽÍVÁNÍ TOHOTO DOKUMENTU NEBO UPRAVENÝCH VERZÍ DOKUMENTU, I KDYŽ BY TAKOVÁTO STRANA BYLA INFORMOVANÁ O MOŽNOSTI TAKOVÉHOTO POŠKOZENÍ. Michael Chudobiak
mjc@svn.gnome.org
3.0.0 Duben 2009 Michael J. Chudobiak Dokumentační projekt GNOME Tato příručka popisuje aplikaci moserial ve verzi 3.00.0 moserial je sériový terminál pro pracovní prostředí GNOME, optimalizovaný pro evidování a zachytávání souborů.
moserial sériový terminál Úvod Aplikace moserial je sériový terminál pro pracovní prostředí GNOME, optimalizovaný na evidování komunikace a zachytávání souborů. Aplikace moserial je primárně určená pro technické uživatele, kteří potřebují komunikovat se zabudovanými zařízeními, konzolami a elektronickými měřicími přístroji. Navzdory technické orientaci zamýšleného publika je aplikace moserial navržená jako uživatelsky přívětivá. Je dbáno na to, aby šly operace spouštět jednoduše, s minimálním počtem potřebných kliknutí. Rovněž je snaha o malý počet voleb nastavení. Pro ještě větší efektivnost podporuje aplikace moserial soubory s profily, ve kterých si můžete uchovávat svá nejčastěji používaná nastavení. Systémová oprávnění k portu Než použijete aplikaci moserial se sériovým portem, musíte se ujistit, že máte oprávnění číst a/nebo zapisovat port. V některých systémech, abyste přidělili (všem uživatelům) oprávnění číst/zapisovat sériové porty, musíte provést příkaz jako „sudo chmod o+rw /dev/ttyS*“ a „sudo chmod o+rw /dev/ttyUSB*“. Bohužel se toto nastavení nemusí zachovat po restartování systému. Případně se můžete podívat, která skupina zařízení vlastní, a začlenit svůj účet do této skupiny. Například v distribuci Fedora 15 byste se měli přidat do skupiny „dialout“. Základy používání Hlavní nástrojová lišta Většina funkcí aplikace moserial je přístupných přes hlavní nástrojovou lištu zobrazenou níže: Nastavení portu První krok při použití aplikace moserial je nastavení parametrů sériového portu. K tomu se dostanete tak, že kliknete na Nastavení portu. V dialogovém okně nastavení portu zvolíte, který port použít, zda se má otevřít pro čtení, zápis nebo obojí, přenosovou rychlost, paritu, počet datových a stop bitů a dohadovací protokol. Natavení zadaná v tomto dialogovém okně přepíšou případné systémové výchozí hodnoty portu. V dialogovém okně nastavení portu v aplikaci moserial jsou uvedené pouze porty /dev/ttySnn, /dev/ttyUSBnn a /dev/rfcommnn, které v systému aktuálně existují a kde hodnota „nn“ je v rozmezí 0 až 31. V tomto dialogovém okně lze zapnout místní odezvu. Pokud je zapnuta, všechna data přijatá aplikací moserial se budou opakovat zpět do odesílacího zařízení. To by mělo být normálně vypnuté, protože to může způsobit neočekávané chování, především v situaci, kdy vzdálené zařízení má odezvu rovněž zapnutou. (To by mohlo zapřičinit i nekonečnou smyčku odezev!) Otevření spojení Dalším krokem v komunikaci se vzdáleným zařízením je kliknutí na Připojit. Tím se port otevře. Pokud nemáte k otevření portu dostatečná oprávnění, objeví se chybové hlášení. Tento krok je volitelný. Pokud jej přeskočíte, aplikace moserial se pokusí připojit automaticky, až to bude zapotřebí. Jakmile jste připojeni, tlačítko Připojit se změní na tlačítko Odpojit. Kliknutím na Odpojit se port uzavře a vynulují se počítadla TX a RX. Základní vstup a výstup Když už je port otevřený, jakýkoliv příchozí text ze vzdáleného zařízení se zobrazí v textové oblasti Přijaté ASCII. Pokud aplikace moserial zjistí velké množství netisknutelných znaků, automaticky přepne na zobrazení Přijaté HEX. Pokud chcete přepnout mezi zobrazením HEX a ASCII, jednoduše klikněte na příslušnou kartu. Data do vzdáleného zařízení odešlete tak, že vepíšete text do jednořádkového textového pole Odchozí a kliknete na tlačítko Odeslat. Váš řádek textu bude zakončen sekvencí vybranou ve výběrovém seznamu napravo od tlačítka Odeslat. Pokud si nejste jistí, která ze sekvencí je ta správná, začněte s „Zakončení CR+LF“. Výběrový seznam ASCII/HEX by měl být při odesílání textu nastaven na ASCII. Jestliže je výběr ASCII/HEX nastaven na HEX, nezadávejte do pole Odchozí text. Místo toho uvádějte číslice v šestnáctkovém tvaru „1234ABCD…“. Jakmile jsou data odeslána, objeví se jejich záznam v textových oblastech Odeslané ASCII a Odeslané HEX. Tyto textové oblasti nelze upravovat. Vzdálené zařízení může vaše odeslaná data opakovat. Pokud aplikace moserial zjistí takovou odezvu textu v textové oblasti Přijaté ASCII, tak opakovaný text zvýrazní (pomocí barvy pro zvýraznění určené v dialogovém okně předvoleb). Stavová lišta v dolní části hlavního okna zobrazuje stav portu a počet odeslaných (TX) a přijatých (RX) bajtů. I když jsou některá přijatá data netisknutelná, v celkovém počtu jsou zahrnuta. Evidování vstupu a výstupu Aplikaci moserial lze použít k záznamu svých odeslaných a přijatých dat do souboru. Tato funkce je také užitečná pro příjem a uchování výpisu neupravených binárních data ze vzdáleného zařízení. Například některé osciloskopy vypisují snímky obrazovky do sériového portu bez použití protokolu s korekcí chyb (jako Tektronix 11801). Jakmile jste připraveni zaznamenávat do souboru, jednoduše klikněte na Zaznamenat, vyberte ve výběrovém seznamu Co zaznamenávat data, která chcete zaznamenat (příchozí a/nebo odchozí), a v části pro výběr souboru zadejte název souboru. Jakmile záznam započne, tlačítko Zaznamenat se změní na tlačítko Zastavit záznam. Na toto tlačítko musíte kliknout, pokud si přejete zaznamenávání zastavit nebo jste již přijali celý binární soubor, který jste chtěli stáhnout. Aplikace moserial může zaznamenaný soubor volitelně spustit pomocí výchozí aplikace pro daný typ souboru, jakmile je záznam dokončen. Záznam lze rovněž ukončit po nějaké době neaktivity. Pro zapnutí nebo vypnutí této funkce použijte dialogové okno Předvolby. Upozorňujeme, že když chcete přijmout soubor pomocí protokolu s korekcí chyb (xmodem, ymodem nebo zmodem), musíte místo výše uvedeného použít funkci Přijmout soubor. Narozdíl od funkce Zaznamenat umí funkce Přijmout soubor automaticky rozpoznat, kdy je stahování souboru dokončeno. Odesílání souborů Aplikace moserial umí odesílat soubory jako tok posloupnosti binárních dat a rovněž umí odesílat soubory pomocí protokolu s korekcí chyb xmodem, ymodem a zmodem. Během přenosu souboru se posílaná data neevidují v textových oblastech Odesílané ASCII respektive Odesílané HEX. Když jste připraveni k odeslání souboru, jednoduše klikněte na Odeslat soubor a vyberte požadovaný soubor k odeslání. Dále budete také muset vybrat příslušný protokol. Jakmile začne záznam, bude se stav přenosu souboru zobrazovat pomocí ukazatele průběhu. Aplikace moserial přímo neimplementuje protokoly xmodem, ymodem nebo zmodem. Spoléhá se na standardní nástroje rz a sz pro příjem a odesílání dat. Tyto nástroje, které jsou součástí balíku lrzsz, musí být ve vašem systému nainstalovány. Příjem souborů Aplikace moserial umí přijímat soubory odeslané jako tok neupravených binárních dat a rovněž umí přijímat soubory pomocí protokolu s korekcí chyb xmodem, ymodem a zmodem. Během přenosu souboru se přijímaná data neevidují v textových oblastech Přijaté ASCII respektive Přijaté HEX. Pro příjem toku neupravených binárních dat použijte funkci Zaznamenat namísto funkce Přijmout soubor. Pro příjem souborů odeslaných pomocí protokolů s korekcí chyb xmodem, ymodem nebo zmodem použijte funkci Přijmout soubor. Když jste připraveni k příjmu souboru, jednoduše klikněte na Přijmout soubor a vyberte složku, kde chcete přijatý soubor uložit. Dále budete také muset vybrat příslušný protokol. Jakmile začne záznam, bude se stav příjmu souboru zobrazovat pomocí ukazatele průběhu. Aplikace moserial přímo neimplementuje protokoly xmodem, ymodem nebo zmodem. Spoléhá se na standardní nástroje rz a sz pro příjem a odesílání dat. Tyto nástroje, které jsou součástí balíku lrzsz, musí být ve vašem systému nainstalovány. Ostatní předvolby Aplikace moserial obsahuje několik voleb, které můžete nastavit v dialogovém okně Předvolby. Nastavit můžete barvy pro textovou oblast, konkrétně barvu písma, pozadí a zvýraznění, stejně jako typ a velikost písma. Když je povolené Spustit zaznamenané soubory, tak budou zaznamenané soubory ihned po jejich uložení otevřeny a to pomocí výchozí aplikace pro typ souboru. Výchozí aplikaci určuje nastavení pracovního prostředí. Pokud je zapnuté Vypršení času, zaznamenávání se automaticky zastaví po přizpůsobitelné době neaktivity po přejetí nějakých dat. To znamená, že aplikace moserial bude čekat neomezeně dlouho na záznam prvního bajtu dat před tím, něž spustí časovač neaktivity. Používání profilů Aplikace moserial umí načíst a uložit svá nastavení do souboru profilu, takže si můžete uložit a znovu vyvolat běžně používaná nastavení. Když chcete profil uložit, jednoduše použijte dialogová okna SouborUložit nastavení nebo SouborUložit nastavení jako. Pokud profil chcete načíst, použijte dialogové okno SouborOtevřít nastavení. Načtením profilu se automaticky odpojí a připojí port. Když aplikaci moserial ukončujete, aktuálně používané nastavení se uloží do souboru výchozího profilu. Při příštím spuštění aplikace moserial, se toto nastavení automaticky znovu načte. Speciální klávesy Speciální klávesy Klávesová zkratka Popis CtrlC Kopíruje text. To lze použít v kterékoliv textové oblasti. CtrlX Vyjme text. To funguje pouze v jednořádkovém textovém poli Odchozí. CtrlV Vloží text do jednořádkového textového pole Odchozí a na toto textové pole přepne zaměření. Esc Přepne zaměření na jednořádkové textové pole Odchozí.
moserial-3.0.8/doc/C/0000775000213200021320000000000012064144712011256 500000000000000moserial-3.0.8/doc/C/figures/0000775000213200021320000000000012064144713012723 500000000000000moserial-3.0.8/doc/C/figures/preferences.png0000644000213200021320000010353212064144713015654 00000000000000PNG  IHDReQ sRGBbKGD pHYs  tIME & IDATxwxlIB$ BTDQ@QP@\'D @rWE(JUJ+EQ,@&ْll <)g̜39gfnȱsB!&9>YeR1,(s_B!Es\w`JtULMŠ2Ȳhf3'Bq1@c/0ĈqcعR *{ (B!.Zl&TlƊy=F8K_ KP)Bq13@k01b+5^DKA;%B!Yl`^˚ł.w9v5 !BO bi5f8BKX`-oo@*ľ&FѨ/dՍp.Ën K7p!b|pSKnTjfk~Z,z]ut_cmz"%DF ׷gZ!WMzs_J(7,?B~a_"⃤-#h|ŽĭK/tvG&h>7C}x }S?^Lg3 `C`nU+G (^͟Bxԣ1 ZT 9k -5K½ܵ; !.u9G6 =1IKQ0> Z'w嚸`^yw `HAJ?B;{2 LzUO{v*+⭽L&Q" rl o?gWهS2k$] Qq#gymi7O@V<|E=cPjsl xcr )B\lnX ap?6;Dٗ~qtEiչW+]]9EEn( ( Z%5ϛRqZ4`bw [r]|Ef+l`R>Ȑe_v )گ%Wrt]M5UyW1P_59:GbѪ67Bo.eپܒ-V;|yG4Co)09JO׸ѼsKbJ}?#; }#,Zzn`i0+X6 tn(СCy&}ЗXNO6`WxN ((QPPJ2"_!ĥ5&He:GNR]AҺym}:S)Wa͈nOj]|g.v`L|U=&ķkρmե,x|G4`PRSgPé"|5[3ߡlj g~,:*箍kZ#WD3s1)B\[OSnQ3%r= K<ڶҠErneBdRaB4RR{uN[sf}t <-9PQ߲xW,#:FYn|vO::#sw)Q<_\2SkG-6ņj8?Zv5QlVl6x}1tlRǨ !ăKGbϡOb_~:S̖Enx+񷣅k` DFu5[?wvj|>u %򯧻w2_[LйOz߮ZszxK:}JgÁu, Fݙ:?*p'J!.jR^76vo6e{cV#X^$HRQB"8]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>#<Z͛3j&oM@mRMۣ( st Ħ͛93&)=%JgD(škzJ:v<=y7Z׆ܯs.^z?٫!}#uV9Bjj*E5r$}w UiuFӅ=s5<899qq+괻!2jO]8Sv}6egg3cLbm`0[xט:|d$I} Xr(Dū Z+}]~udS ;M[Ӿ"%%-"v6RSSjnݚキJrU9@ ^p"@ @T @ Q@ 6@ -_#"2@  @ D *@ @T @ Q@ @@ cDŽ@ u8m8osIENDB`moserial-3.0.8/doc/C/moserial.xml0000644000213200021320000004370212064144712013537 00000000000000 moserial"> ]>

&app; Manual V&manualversion; 2009 Michael J. Chudobiak GNOME Documentation Project &legal; Michael Chudobiak
mjc@svn.gnome.org
&manualversion; &date; Michael J. Chudobiak GNOME Documentation Project This is manual describes version &appversion; of &appname; &app; is a serial terminal for the GNOME desktop, optimized for logging and file capture.
&appname; serial terminal Introduction &app; is a serial terminal for the GNOME desktop, optimized for logging and file capture. &app; is primarily intended for technical users who need to communicate with embedded systems, consoles, and electronic test equipment. Despite the technical orientation of the intended audience, &app; is designed to be user-friendly. Care has been taken to ensure that operations are simple to execute, by minimizing the number of clicks needed. The number of configuration options has also been kept small. To further improve efficiency, &app; also supports profile files to store frequently-used configurations. System Port Permissions Before using &app; with a serial port, you need to make sure that you actually have permission to read and/or write to the port. On some systems, you may need to do something like "sudo chmod o+rw /dev/ttyS*" and "sudo chmod o+rw /dev/ttyUSB*" to obtain read/write permissions (for all users) on the serial ports. Unfortunately, this may not be persistent after reboots. Alternatively, you can see what group the devices belong to, and make your account a member of that group. In Fedora 15, for example, you should add yourself to the "dialout" group. Basic Usage The Main Toolbar Most &app; functions are accessed through the main toolbar, shown below: Port Setup The first step in using &app; is to configure the serial port parameters. Click Port Setup to do this. In the port setup dialog, you will set the port to use, whether the port should be open for reads, writes, or both, its baud rate, its parity, the number of data and stop bits, and the handshaking method. The settings specified in this dialog will override any system default settings for the port. The &app; port setup dialog will only list the /dev/ttySnn, /dev/ttyUSBnn, and /dev/rfcommnn ports that actually exist on the system, for values of "nn" between 0 and 31. A local echo can be enabled from this dialog. If enabled, all data that &app; receives will be echoed back to the sending device. This should normally be disabled, as it can cause unexpected behaviour, especially if the remote device also has echo enabled. (This would cause an infinite loop of echoes!) Open the Connection The next step in communicating with your remote device is to click Connect. This opens the port. If you do not have the necessary privileges to open the port, an error will be reported. This step is optional. If you skip it, &app; will try to connect automatically when needed. Once you have connected, the Connect button will change into a Disconnect button. Clicking Disconnect closes the port, and resets the TX and RX counters. Basic Input and Output Once the port has been opened, any text received from the remote device will be displayed in the Received ASCII text area. If &app; detects a large number of unprintable characters, it will switch automatically to the Received HEX view. To switch between HEX and ASCII views, simply click on the appropriate tabs. To send data to the remote device, you can type text into the Outgoing single-line text box, and click the Send button. Your line of text will be terminated with the sequence selected in the area to the right of the Send button. If you aren't sure which termination sequence is best, start with "CR+LF end". The ASCII/HEX button should be set to ASCII to send text. If the ASCII/HEX button is set to HEX, do not enter text in the Outgoing area. Instead, enter hexadecimal numbers in the form "1234ABCD....". Once your data has been transmitted, a record of it will exist in the Sent ASCII and Sent HEX text areas. These text areas are not editable. The remote device may echo your sent data. If &app; detects echoed text in the Received ASCII text area, it will highlight the echoed text (using the highlight color defined in the preferences dialog). The statusbar at the bottom of the main window shows the state of port, and a count of the sent (TX) and received (RX) bytes. If some of the received data is unprintable, a count of these items is shown as well. Recording Input and Output &app; can be used to record your sent and received data to a file. This function is also useful for receiving and storing straight binary data dumped from a remote device. For instance, some oscilloscopes will dump screenshots to a serial port, without using any error correction protocols (like the Tektronix 11801). When you are ready to record to a file, simply click Record, select the desired data to record (Incoming and/or Outgoing) in the Stream to Record selection box, and enter the filename in the filechooser area. When recording begins, the Record button will change into a Stop Recording button. You will need to click this when you wish to stop recording, or you have received the entire binary file that you wanted to download. &app; can optionally launch the recorded file with the default application for its file type, when recording has finished. It can also terminate recording after a period of inactivity. Use the Preferences dialog to enable or disable these features. Note that if you wish to receive files using an error correction protocol (xmodem, ymodem, or zmodem), you will need to use the Receive File function instead. Unlike the Record function, the Receive File function can automatically determine when the file download is complete. Sending Files &app; can transmit files in a straight binary data stream, and it can also send files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the sent data is not logged to the Sent ASCII or Sent HEX text areas. When you are ready to send a file, simply click Send File, select the desired file to send. You will also need to select the appropriate protocol below. When recording begins, a progress bar will display the status of the file transmission. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. Receiving Files &app; can receive files sent in a straight binary data stream, and it can also receive files using the xmodem, ymodem, and zmodem error correction protocols. During file transmission, the received data is not logged to the Sent ASCII or Sent HEX text areas. To receive straight binary data streams, use the Record function instead of the Receive File function. To receive files sent with the xmodem, ymodem, or zmodem error correction protocols, using the Receive File function. When you are ready to receive a file, simply click Receive File, select a folder to store the received file. You will also need to select the appropriate protocol below. When recording begins, a progress bar will display the status of the file reception. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. Other Preferences &app; has several options that can be configured from the Preferences dialog. The color of the text area foreground, background, and highlighting can be configured, as can the font type and size. If Launch recorded files is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment. If Enable timeout is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. That is, moserial will wait indefinitely to record the first data byte before activating the inactivity timer. Using Profiles &app; can load and save its settings from profile files, so that you can store and recall commonly used configurations. To save a profile, simply use the FileSave or FileSave As dialogs. To load a profile, use the FileOpen dialog. Loading a profile will automatically disconnect any connected port. When you quit &app;, the settings currently in use are stored in a default profile file. These settings will automatically be recalled the next time you launch &app;. Special Keys Special Keys Keyboard Shortcut Description CtrlC Copies text. This can be used in any of the text areas. CtrlX Cuts text. This only works in the Outgoing single-line text box. CtrlV Pastes text into the Outgoing single-line text box, and moves the focus to that text box. Esc Moves the focus to the Outgoing single-line text box.
moserial-3.0.8/doc/C/legal.xml0000644000213200021320000000770212064144712013010 00000000000000 Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License (GFDL), Version 1.1 or any later version published by the Free Software Foundation with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. You can find a copy of the GFDL at this link or in the file COPYING-DOCS distributed with this manual. This manual is part of a collection of GNOME manuals distributed under the GFDL. If you want to distribute this manual separately from the collection, you can do so by adding a copy of the license to the manual, as described in section 6 of the license. Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and the members of the GNOME Documentation Project are made aware of those trademarks, then the names are in capital letters or initial capital letters. DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT ARE PROVIDED UNDER THE TERMS OF THE GNU FREE DOCUMENTATION LICENSE WITH THE FURTHER UNDERSTANDING THAT: DOCUMENT IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS FREE OF DEFECTS MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY, ACCURACY, AND PERFORMANCE OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS WITH YOU. SHOULD ANY DOCUMENT OR MODIFIED VERSION PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL WRITER, AUTHOR OR ANY CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER; AND UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER IN TORT (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL THE AUTHOR, INITIAL WRITER, ANY CONTRIBUTOR, OR ANY DISTRIBUTOR OF THE DOCUMENT OR MODIFIED VERSION OF THE DOCUMENT, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER DAMAGES OR LOSSES ARISING OUT OF OR RELATING TO USE OF THE DOCUMENT AND MODIFIED VERSIONS OF THE DOCUMENT, EVEN IF SUCH PARTY SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. moserial-3.0.8/doc/ChangeLog0000674000213200021320000000051011724215622012564 000000000000002009-04-23 Mario Blättermann * de/de.po: Updated German translation. 2009-04-20 Mario Blättermann * de/de.po: Added German translation. * Makefile.am: Added de 2009-03-16 Daniel Nylander * sv/sv.po: Added Swedish translation. * Makefile.am: Added sv moserial-3.0.8/doc/Makefile.in0000674000213200021320000010522712064106160013064 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ # gnome-doc-utils.make - make magic for building documentation # Copyright (C) 2004-2005 Shaun McCance # # 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. ################################################################################ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ $(top_srcdir)/gnome-doc-utils.make ChangeLog subdir = doc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ _clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header) _DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS)) _DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)), \ $(filter $(LINGUAS),$(DOC_LINGUAS)), \ $(DOC_LINGUAS)) _DOC_ABS_SRCDIR = @abs_srcdir@ _xml2po_mode = $(if $(DOC_ID),mallard,docbook) @ENABLE_SK_TRUE@_ENABLE_SK = true ################################################################################ GDU_V_XML2PO = $(GDU__v_XML2PO_$(V)) GDU__v_XML2PO_ = $(GDU__v_XML2PO_$(AM_DEFAULT_VERBOSITY)) GDU__v_XML2PO_0 = @echo " XML2PO" $@; GDU_V_MSGFMT = $(GDU__v_MSGFMT_$(V)) GDU__v_MSGFMT_ = $(GDU__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) GDU__v_MSGFMT_0 = @echo " MSGFMT" $@; GDU_V_DB2OMF = $(GDU__v_DB2OMF_$(V)) GDU__v_DB2OMF_ = $(GDU__v_DB2OMF_$(AM_DEFAULT_VERBOSITY)) GDU__v_DB2OMF_0 = @echo " DB2OMF" $@; GDU_V_DB2HTM = $(GDU__v_DB2HTM_$(V)) GDU__v_DB2HTM_ = $(GDU__v_DB2HTM_$(AM_DEFAULT_VERBOSITY)) GDU__v_DB2HTM_0 = @echo " DB2HTM" $@; ################################################################################ db2omf_args = \ --stringparam db2omf.basename $(DOC_MODULE) \ --stringparam db2omf.format $(3) \ --stringparam db2omf.dtd \ $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1 \ | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/') \ --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \ --stringparam db2omf.omf_dir "$(OMF_DIR)" \ --stringparam db2omf.help_dir "$(HELP_DIR)" \ --stringparam db2omf.omf_in "$(_DOC_OMF_IN)" \ $(if $(_ENABLE_SK), \ --stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)") \ $(_db2omf) $(2) _DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in)) _DOC_OMF_DB = $(if $(_DOC_OMF_IN), \ $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf)) _DOC_OMF_HTML = $(if $(_DOC_OMF_IN), \ $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf)) # FIXME _DOC_OMF_ALL = \ $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB)) \ $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML)) ################################################################################ _DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml) _DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page)) _DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent)) _DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc)) _DOC_C_DOCS = \ $(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \ $(_DOC_C_PAGES) $(_DOC_C_MODULE) _DOC_C_DOCS_NOENT = \ $(_DOC_C_MODULE) $(_DOC_C_INCLUDES) \ $(_DOC_C_PAGES) _DOC_C_FIGURES = $(if $(DOC_FIGURES), \ $(foreach fig,$(DOC_FIGURES),C/$(fig)), \ $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png))) # FIXME: probably have to shell escape to determine the file names _DOC_C_HTML = $(foreach f, \ $(shell xsltproc --xinclude \ --stringparam db.chunk.basename "$(DOC_MODULE)" \ $(_chunks) "C/$(DOC_MODULE).xml"), \ C/$(f).xhtml) ############################################################################### _DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID), \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po)) _DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES)) _DOC_LC_MODULES = $(if $(DOC_MODULE), \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml)) _DOC_LC_PAGES = \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES), \ $(lc)/$(notdir $(page)) )) _DOC_LC_INCLUDES = \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES), \ $(lc)/$(notdir $(inc)) )) # FIXME: probably have to shell escape to determine the file names _DOC_LC_HTML = \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML), \ $(lc)/$(notdir $(doc)) )) _DOC_LC_DOCS = \ $(_DOC_LC_MODULES) $(_DOC_LC_INCLUDES) $(_DOC_LC_PAGES) \ $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML)) _DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS), \ $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) ) _DOC_SRC_FIGURES = \ $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS), \ $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) )) _DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot,$(if $(DOC_ID),$(DOC_ID).pot)) ################################################################################ _DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \ $(_DOC_C_HTML) $(_DOC_LC_HTML)) _DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml) _clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf) _clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk) _clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc) _clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir) _doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE)) DOC_MODULE = moserial DOC_ENTITIES = legal.xml DOC_INCLUDES = DOC_FIGURES = figures/main-toolbar.png \ figures/statusbar.png \ figures/port-setup.png \ figures/connect.png \ figures/disconnect.png \ figures/outgoing.png \ figures/received-tabs.png \ figures/sent-tabs.png \ figures/record.png \ figures/record-dialog.png \ figures/stop-recording.png \ figures/receive-file.png \ figures/send-file-dialog.png \ figures/send-file.png \ figures/send-progress.png \ figures/receive-progress.png \ figures/receive-file-dialog.png \ figures/preferences.png DOC_LINGUAS = cs de es fr sl sv all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gnome-doc-utils.make $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu doc/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu doc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_srcdir)/gnome-doc-utils.make: $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-local dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-data-local install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic \ maintainer-clean-local mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool \ mostlyclean-local pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-local .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ clean-local dist-hook distclean distclean-generic \ distclean-libtool distclean-local distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic maintainer-clean-local mostlyclean \ mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-local DOC_H_FILE ?= DOC_H_DOCS ?= $(DOC_H_FILE): $(DOC_H_DOCS); @rm -f $@.tmp; touch $@.tmp; echo 'const gchar* documentation_credits[] = {' >> $@.tmp list='$(DOC_H_DOCS)'; for doc in $$list; do \ xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \ if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \ xsltproc --path "$$xmlpath" $(_credits) $$doc; \ done | sort | uniq \ | awk 'BEGIN{s=""}{n=split($$0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $$0;s=""}else{s=$$0}};END{if(s!=""){print s}}' \ | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp echo ' NULL' >> $@.tmp echo '};' >> $@.tmp echo >> $@.tmp list='$(DOC_H_DOCS)'; for doc in $$list; do \ xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \ if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \ docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \ | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \ echo $$xmlpath; \ ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \ for id in $$ids; do \ echo '#define HELP_'`echo $$docid`'_'`echo $$id \ | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \ done; \ echo >> $@.tmp; \ done; cp $@.tmp $@ && rm -f $@.tmp dist-check-gdu: @HAVE_GNOME_DOC_UTILS_FALSE@ @echo "*** GNOME Doc Utils must be installed in order to make dist" @HAVE_GNOME_DOC_UTILS_FALSE@ @false .PHONY: dist-doc-header dist-doc-header: $(DOC_H_FILE) @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \ echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \ $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)"; doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header) .PHONY: clean-doc-header clean-local: $(_clean_doc_header) distclean-local: $(_clean_doc_header) mostlyclean-local: $(_clean_doc_header) maintainer-clean-local: $(_clean_doc_header) clean-doc-header: rm -f $(DOC_H_FILE) all: $(DOC_H_FILE) ################################################################################ DOC_MODULE ?= DOC_ID ?= DOC_PAGES ?= DOC_ENTITIES ?= DOC_INCLUDES ?= DOC_FIGURES ?= DOC_FORMATS ?= docbook DOC_LINGUAS ?= ################################################################################ _xml2po ?= `which xml2po` _db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils` _db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils` _chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl _credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl _ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl @ENABLE_SK_TRUE@_skpkgdatadir ?= `scrollkeeper-config --pkgdatadir` @ENABLE_SK_TRUE@_sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir` @ENABLE_SK_TRUE@_skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml $(_DOC_OMF_DB) : $(_DOC_OMF_IN) $(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \ echo "The file '$(_skcontentslist)' does not exist." >&2; \ echo "Please check your ScrollKeeper installation." >&2; \ exit 1; } $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; } $(_DOC_OMF_HTML) : $(_DOC_OMF_IN) $(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml @ENABLE_SK_TRUE@ @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \ @ENABLE_SK_TRUE@ echo "The file '$(_skcontentslist)' does not exist" >&2; \ @ENABLE_SK_TRUE@ echo "Please check your ScrollKeeper installation." >&2; \ @ENABLE_SK_TRUE@ exit 1; } $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; } .PHONY: omf omf: $(_DOC_OMF_ALL) .PHONY: po po: $(_DOC_POFILES) .PHONY: mo mo: $(_DOC_MOFILES) $(_DOC_POFILES): @if ! test -d $(dir $@); then \ echo "mkdir $(dir $@)"; \ mkdir "$(dir $@)"; \ fi @if test ! -f $@ -a -f $(srcdir)/$@; then \ echo "cp $(srcdir)/$@ $@"; \ cp "$(srcdir)/$@" "$@"; \ fi; @docs=; \ list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \ docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \ done; \ if ! test -f $@; then \ echo "(cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \ cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \ (cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \ cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \ else \ echo "(cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \ (cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \ fi $(_DOC_MOFILES): %.mo: %.po $(AM_V_at)if ! test -d $(dir $@); then mkdir "$(dir $@)"; fi $(GDU_V_MSGFMT)msgfmt -o $@ $< # FIXME: fix the dependancy # FIXME: hook xml2po up $(_DOC_LC_DOCS) : $(_DOC_MOFILES) $(_DOC_LC_DOCS) : $(_DOC_C_DOCS) $(AM_V_at)if ! test -d $(dir $@); then mkdir $(dir $@); fi $(GDU_V_XML2PO)if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \ mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \ if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \ (cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \ "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \ cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp) .PHONY: pot pot: $(_DOC_POT) $(_DOC_POT): $(_DOC_C_DOCS_NOENT) $(GDU_V_XML2PO)$(_xml2po) -m $(_xml2po_mode) -e -o $@ $^ $(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(GDU_V_DB2HTM)xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@) ################################################################################ all: \ $(_DOC_C_DOCS) $(_DOC_LC_DOCS) \ $(_DOC_OMF_ALL) $(_DOC_DSK_ALL) \ $(_DOC_HTML_ALL) $(_DOC_POFILES) ################################################################################ .PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML) clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML) clean-doc-lc: rm -f $(_DOC_LC_DOCS) rm -f $(_DOC_MOFILES) @list='$(_DOC_POFILES)'; for po in $$list; do \ if ! test "$$po" -ef "$(srcdir)/$$po"; then \ echo "rm -f $$po"; \ rm -f "$$po"; \ fi; \ done # .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x @for lc in C $(_DOC_REAL_LINGUAS); do \ if test -f "$$lc/.xml2po.mo"; then \ echo "rm -f $$lc/.xml2po.mo"; \ rm -f "$$lc/.xml2po.mo"; \ fi; \ done clean-doc-dir: clean-doc-lc @for lc in C $(_DOC_REAL_LINGUAS); do \ for dir in `find $$lc -depth -type d`; do \ if ! test $$dir -ef $(srcdir)/$$dir; then \ echo "rmdir $$dir"; \ rmdir "$$dir"; \ fi; \ done; \ done clean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) distclean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) mostlyclean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) maintainer-clean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) ################################################################################ .PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk doc-dist-hook: \ $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs) \ $(if $(_DOC_C_FIGURES),dist-doc-figs) \ $(if $(_DOC_OMF_IN),dist-doc-omf) # $(if $(_DOC_DSK_IN),dist-doc-dsk) dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES) @for lc in C $(_DOC_REAL_LINGUAS); do \ echo " $(mkinstalldirs) $(distdir)/$$lc"; \ $(mkinstalldirs) "$(distdir)/$$lc"; \ done @list='$(_DOC_C_DOCS)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$docdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ $(mkinstalldirs) "$(distdir)/$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done @list='$(_DOC_LC_DOCS)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$docdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ $(mkinstalldirs) "$(distdir)/$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done @list='$(_DOC_POFILES)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$docdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ $(mkinstalldirs) "$(distdir)/$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done dist-doc-figs: $(_DOC_SRC_FIGURES) @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \ for fig in $$list; do \ if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$fig"; then \ figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$figdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$figdir"; \ $(mkinstalldirs) "$(distdir)/$$figdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \ $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \ fi; \ done; dist-doc-omf: @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \ echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \ $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))" dist-doc-dsk: @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \ echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \ $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))" ################################################################################ .PHONY: check-doc-docs check-doc-omf check: \ $(if $(DOC_MODULE),check-doc-docs) \ $(if $(DOC_ID),check-doc-pages) \ $(if $(_DOC_OMF_IN),check-doc-omf) check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) @for lc in C $(_DOC_REAL_LINGUAS); do \ if test -f "$$lc"; \ then d=; \ xmlpath="$$lc"; \ else \ d="$(srcdir)/"; \ xmlpath="$$lc:$(srcdir)/$$lc"; \ fi; \ echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \ xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \ done check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES) for lc in C $(_DOC_REAL_LINGUAS); do \ if test -f "$$lc"; \ then d=; \ xmlpath="$$lc"; \ else \ d="$(srcdir)/"; \ xmlpath="$$lc:$(srcdir)/$$lc"; \ fi; \ for page in $(DOC_PAGES); do \ echo "xmllint --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ xmllint --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ done; \ done check-doc-omf: $(_DOC_OMF_ALL) @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \ echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \ xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \ done ################################################################################ .PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk install-data-local: \ $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs) \ $(if $(_DOC_HTML_ALL),install-doc-html) \ $(if $(_DOC_C_FIGURES),install-doc-figs) \ $(if $(_DOC_OMF_IN),install-doc-omf) # $(if $(_DOC_DSK_IN),install-doc-dsk) install-doc-docs: @for lc in C $(_DOC_REAL_LINGUAS); do \ echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \ $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \ done @list='$(_DOC_C_DOCS)'; for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \ if ! test -d "$$docdir"; then \ echo "$(mkinstalldirs) $$docdir"; \ $(mkinstalldirs) "$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \ done @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \ if ! test -d "$$docdir"; then \ echo "$(mkinstalldirs) $$docdir"; \ $(mkinstalldirs) "$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \ done install-doc-figs: @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \ for lc in C $(_DOC_REAL_LINGUAS); do \ figsymlink=false; \ if test -f "$$lc/$$fig"; then \ figfile="$$lc/$$fig"; \ elif test -f "$(srcdir)/$$lc/$$fig"; then \ figfile="$(srcdir)/$$lc/$$fig"; \ else \ figsymlink=true; \ fi; \ figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \ if ! test -d "$$figdir"; then \ echo "$(mkinstalldirs) $$figdir"; \ $(mkinstalldirs) "$$figdir"; \ fi; \ figbase=`echo $$fig | sed -e 's/^.*\///'`; \ if $$figsymlink; then \ echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \ ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \ else \ echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \ $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \ fi; \ done; \ done install-doc-html: echo install-html install-doc-omf: $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir) @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \ echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \ done @if test "x$(_ENABLE_SK)" = "xtrue"; then \ echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \ scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \ fi; install-doc-dsk: echo install-dsk ################################################################################ .PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk uninstall-local: \ $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \ $(if $(_DOC_HTML_ALL),uninstall-doc-html) \ $(if $(_DOC_C_FIGURES),uninstall-doc-figs) \ $(if $(_DOC_OMF_IN),uninstall-doc-omf) # $(if $(_DOC_DSK_IN),uninstall-doc-dsk) uninstall-doc-docs: @list='$(_DOC_C_DOCS)'; for doc in $$list; do \ echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ done @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \ echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ done uninstall-doc-figs: @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \ echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \ rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \ done; uninstall-doc-omf: @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \ if test "x$(_ENABLE_SK)" = "xtrue"; then \ echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ fi; \ echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ done dist-hook: doc-dist-hook # 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: moserial-3.0.8/doc/Makefile.am0000674000213200021320000000125711724215622013057 00000000000000include $(top_srcdir)/gnome-doc-utils.make dist-hook: doc-dist-hook DOC_MODULE = moserial DOC_ENTITIES = legal.xml DOC_INCLUDES = DOC_FIGURES = figures/main-toolbar.png \ figures/statusbar.png \ figures/port-setup.png \ figures/connect.png \ figures/disconnect.png \ figures/outgoing.png \ figures/received-tabs.png \ figures/sent-tabs.png \ figures/record.png \ figures/record-dialog.png \ figures/stop-recording.png \ figures/receive-file.png \ figures/send-file-dialog.png \ figures/send-file.png \ figures/send-progress.png \ figures/receive-progress.png \ figures/receive-file-dialog.png \ figures/preferences.png DOC_LINGUAS = cs de es fr sl sv moserial-3.0.8/data/0000775000213200021320000000000012064144711011237 500000000000000moserial-3.0.8/data/icons/0000775000213200021320000000000012064144711012352 500000000000000moserial-3.0.8/data/icons/48x48/0000775000213200021320000000000012064144711013151 500000000000000moserial-3.0.8/data/icons/48x48/apps/0000775000213200021320000000000012064144711014114 500000000000000moserial-3.0.8/data/icons/48x48/apps/moserial.png0000674000213200021320000000544511724215622016370 00000000000000PNG  IHDR00WsRGBbKGD pHYs  tIME 6:x@ IDAThP?w:w (DT J.P11֑k-Ցϙa4ѳ4cG8ZkIdKX@vOә3ϼ|,8~?!/Z9`2l< )Rm6EgXx}vZ0_f[Q ^WfxYl6[f @ Zy~N+GFArQfAy`Xz5+Wd2Q[[siJKKT@|:  W~ }mF\\_@HII᭷no+~ :{JJJv/XFd*dYFe"##1ܺuW_}(4/き6Vum͖;\ ׳ijjBDQfQƍF>C233 g)`9pXle N87U=z4aaa:t7GQ斡8W^QeAf@[[[ a^S b<7aBCCAv]㡥e˖!|`>5v@z-ݴdfΜYjh$%%rsb$Iv㡧#G r~HLHH@e18?9~8r~}<$$hDϣ_(dLct:IMM.]Ν#` 99ŋS^^.+V %W-tٳTՂ륹ƍ-[2e&X^^N66mb߾}]Ap:dee&nߚ:;;5͉jMj@$DQۘf uuuqFv܉`Ν;x<=v,999hh4ŋ?P\9sfhJMMMf, eee$It: `09S \z2=w:őBBB&*xXXz^+7z1L?_y@nݺt||  tttY1͌?EݑtJ_ְ"++ ׫к"33QFt:=;jf~uϤpTU|F3S_ǩONyy_DΝ;,DDD凡՝$'1y>uTU|F/2g9x t"2^׫q:|x<L&z_444 hCthB3&'&2"]Gtvp"njRTUU^x4"##Ҟw8>}iӦ1i$/hN< PGhN$-tr=-+]b܅t:[O%IZ;(v "88Xs[n؈` 66^$Ib6~:HiE$5kw> J( bRF2jZ_34 p8ژ$ib+HKNRVVvh8qSӧO7&&&9see%ׯ_'66dZZZ8vط8عpGOeHRS}QC-Mt8t""3g\z`}}D F}^z|TW.|)@dTU~Μ ?g ĄY] G6\b:ZV;$Q@77'=:c(%,G{+&h#0G2鉩|ZcPB VW"C#N^qF#" Ȃ ~TU9SN庣8g>{|xI{]ܭ HC3)vQ@t+Vx`nRww> 1|T-(j}>}@n ׫./+FfE`Nu@b@r TR?_+%1!?_7 atIENDB`moserial-3.0.8/data/icons/48x48/apps/Makefile.in0000674000213200021320000003311712064106160016103 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = data/icons/48x48/apps DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(iconsdir)" DATA = $(icons_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ themedir = $(datadir)/icons/hicolor size = 48x48 context = apps iconsdir = $(themedir)/$(size)/$(context) icons_DATA = moserial.png EXTRA_DIST = $(icons_DATA) all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/48x48/apps/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu data/icons/48x48/apps/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-iconsDATA: $(icons_DATA) @$(NORMAL_INSTALL) @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(iconsdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(iconsdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(iconsdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(iconsdir)" || exit $$?; \ done uninstall-iconsDATA: @$(NORMAL_UNINSTALL) @list='$(icons_DATA)'; test -n "$(iconsdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(iconsdir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(iconsdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-iconsDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-iconsDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-iconsDATA install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-iconsDATA # 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: moserial-3.0.8/data/icons/48x48/apps/Makefile.am0000674000213200021320000000024211724215622016071 00000000000000themedir = $(datadir)/icons/hicolor size = 48x48 context = apps iconsdir = $(themedir)/$(size)/$(context) icons_DATA = moserial.png EXTRA_DIST = $(icons_DATA) moserial-3.0.8/data/icons/48x48/Makefile.in0000674000213200021320000004442712064106160015146 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = data/icons/48x48 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = apps all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/48x48/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu data/icons/48x48/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ 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; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: moserial-3.0.8/data/icons/48x48/Makefile.am0000674000213200021320000000001711724215622015126 00000000000000SUBDIRS = apps moserial-3.0.8/data/icons/Makefile.in0000674000213200021320000004551312064106160014344 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = data/icons DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = 48x48 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/icons/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu data/icons/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ 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; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-data-hook install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) uninstall-hook .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-data-am install-strip tags-recursive \ uninstall-am .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-hook install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-pdf \ install-pdf-am install-ps install-ps-am install-strip \ installcheck installcheck-am installdirs installdirs-am \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-hook install-data-hook: update-icon-cache uninstall-hook: update-icon-cache update-icon-cache: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi # 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: moserial-3.0.8/data/icons/Makefile.am0000674000213200021320000000063411724215622014334 00000000000000SUBDIRS = 48x48 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor install-data-hook: update-icon-cache uninstall-hook: update-icon-cache update-icon-cache: @-if test -z "$(DESTDIR)"; then \ echo "Updating Gtk icon cache."; \ $(gtk_update_icon_cache); \ else \ echo "*** Icon cache not updated. After (un)install, run this:"; \ echo "*** $(gtk_update_icon_cache)"; \ fi moserial-3.0.8/data/glade/0000775000213200021320000000000012064144711012313 500000000000000moserial-3.0.8/data/glade/moserial.ui0000674000213200021320000025720711724215622014425 00000000000000 False 5 Preferences center-on-parent gtk-preferences dialog True False vertical 2 True False end gtk-cancel True True False False True False False 0 gtk-ok True True False False True False False 1 False True end 0 True False 18 True False 6 True False 0 Font False False 0 True False 6 _Use the system fixed width font True True False False True True True False False 0 True False 12 True False Display Font False False 0 True False True False False True True 1 False False 1 True False 6 True False Font Colour False True 0 True True False False False True 1 True False Background Color False True 2 True True False False False True 3 True False Highlight Color False True 4 True True False False False True 5 False True 2 True True 1 False False 0 True False 6 True False 0 Recording False False 0 True False 6 _Launch recorded files True True False False True True True False False 0 True True 1 True False Enable timeout after True True False False True True False True 0 True True 1 True False True 2 1 True False seconds False True 2 True True 2 False False 1 False True 1 preferences_cancel preferences_ok False 5 Select Folder for Received Files center-on-parent dialog select-folder False True False vertical 2 True False end False True end 0 True False True False Error Correction Protocol False False 5 0 True False False False 1 False True 2 640 False 5 Receive File Progress True center-on-parent dialog True False vertical 2 True False end gtk-cancel True True False False True False False 0 False False end 0 True False True False 0 False False 4 0 True False 0.5 0.10000000149 False False 4 1 False False 1 receive_progress_cancel False 5 Record Incoming and/or Outgoing Data center-on-parent dialog save True False vertical 2 True False end False True end 0 True False True False Stream to record False False 4 0 True False False False 1 False True 2 False 5 Select File to Send center-on-parent dialog False True False vertical 2 True False end False True end 0 True False True False Error Correction Protocol False False 5 0 True False False False 1 False True 2 640 False 5 Send File Progress True center-on-parent dialog True False vertical 2 True False end gtk-cancel True True False False True False False 0 False False end 0 True False True False 0 False False 4 0 True False 0.5 0.10000000149 False False 4 1 False True 1 send_progress_cancel False 5 Port Setup center-on-parent gtk-properties dialog True False vertical 2 True False end gtk-cancel True True False False True False False 0 gtk-ok True True False False True False False 1 False True end 0 True False 6 True False 0 Port Settings False False 0 True False 8 2 True False 1 2 6 7 2 True False Hardware True True False False True True True True 2 0 Software True True False False True True True True 2 1 1 2 5 6 True False 1 2 4 5 2 True False 1 2 3 4 2 True False 1 2 2 3 2 True False 1 2 1 2 2 True False 1 2 2 True False 1 Access Mode 6 7 4 True False 1 Handshake 5 6 4 True False 1 Parity 4 5 4 True False 1 Stop Bits 3 4 4 True False 1 Data Bits 2 3 4 True False 1 Baud Rate 1 2 4 True False 1 Device 4 True False 1 Local Echo 7 8 4 Echo received data True True False False True True 1 2 7 8 2 2 True True 1 False False 1 settings_cancel_button settings_ok_button False moserial 640 477 moserial True False True False True False False _File True True False Open Settings True False False False True True False False Open _Recent True True False Save Settings True False False False True Save Settings As True False False False True True False gtk-quit True False False True True accelgroup1 True True False False _Edit True True False gtk-cut True False False True True accelgroup1 True gtk-copy True False False True True accelgroup1 True gtk-paste True False False True True accelgroup1 True True False gtk-clear True False False True True accelgroup1 True True False False _Help True True False gtk-about True False False True True accelgroup1 True gtk-help True False False True True accelgroup1 True False True 0 True False 4 both True False False True Connect True gtk-connect False True True False False True True False False True Record True gtk-media-record False True True False False True Send File True gtk-go-up False True True False False True Receive File True gtk-save-as False True True False False True True False False True Port Setup True gtk-properties False True True False False True Preferences True gtk-preferences False True True False False True False False True Help True gtk-help False True False True 1 True True 50 True True 4 True True etched-in True True 1 False word-char 2 2 True False Received ASCII False True True etched-in True True 1 False 2 2 1 True False Received HEX 1 False True True True True 4 True True etched-in True True 1 False word-char 2 2 True False Sent ASCII False True True etched-in True True 1 False 2 2 1 True False Sent HEX 1 False True True True True 2 True False 4 True False 0 Outgoing False False 0 True False True True True True True 0 Send True True False False True False True 1 True False False True 2 True False False True 3 False False 1 False False 3 True False True False 4 True True 0 True False 4 True True 1 False False 4 False True False 4 True False Disconnect True False Connect 1 2 True False Record 2 3 True False Stop Recording 3 4 False 5 True center-on-parent dialog True False vertical 2 True False end gtk-ok True True False False True False False 0 False True end 0 True False True False Filename required for XMODEM False False 0 True True True True 1 False True 1 button1 moserial-3.0.8/data/glade/Makefile.in0000674000213200021320000003274612064106160014311 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = data/glade DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(gladedir)" DATA = $(glade_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ glade_DATA = moserial.ui gladedir = $(datadir)/moserial/glade EXTRA_DIST = moserial.ui all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/glade/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu data/glade/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-gladeDATA: $(glade_DATA) @$(NORMAL_INSTALL) @list='$(glade_DATA)'; test -n "$(gladedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(gladedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(gladedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(gladedir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(gladedir)" || exit $$?; \ done uninstall-gladeDATA: @$(NORMAL_UNINSTALL) @list='$(glade_DATA)'; test -n "$(gladedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(gladedir)'; $(am__uninstall_files_from_dir) tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: for dir in "$(DESTDIR)$(gladedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am html-am: info: info-am info-am: install-data-am: install-gladeDATA install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-pdf: install-pdf-am install-pdf-am: install-ps: install-ps-am install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gladeDATA .MAKE: install-am install-strip .PHONY: all all-am check check-am clean clean-generic clean-libtool \ distclean distclean-generic distclean-libtool distdir dvi \ dvi-am html html-am info info-am install install-am \ install-data install-data-am install-dvi install-dvi-am \ install-exec install-exec-am install-gladeDATA install-html \ install-html-am install-info install-info-am install-man \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ uninstall uninstall-am uninstall-gladeDATA # 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: moserial-3.0.8/data/glade/Makefile.am0000674000213200021320000000013111724215622014265 00000000000000glade_DATA = moserial.ui gladedir = $(datadir)/moserial/glade EXTRA_DIST = moserial.ui moserial-3.0.8/data/moserial.10000674000213200021320000000101611724215622013055 00000000000000.TH MOSERIAL "1" "February 2010" .SH NAME moserial \- moserial serial terminal .SH DESCRIPTION .SS "Usage:" .IP moserial [OPTION...] .SS "Help Options:" .TP \fB\-?\fR, \fB\-\-help\fR Show help options .TP \fB\-\-help\-all\fR Show all help options .TP \fB\-\-help\-gtk\fR Show GTK+ Options .SS "Application Options:" .TP \fB\-p\fR, \fB\-\-profile\fR=\fIfoo\fR.conf Profile file to load .TP \fB\-\-display\fR=\fIDISPLAY\fR X display to use .PP Run 'moserial \fB\-\-help\fR' to see a full list of available command line options. moserial-3.0.8/data/moserial.desktop0000674000213200021320000000523412064104644014373 00000000000000[Desktop Entry] Name=moserial Terminal Name[ca]=Terminal moserial Name[cs]=Terminál moserial Name[da]=moserial terminal Name[de]=Serielles Terminal Name[el]=Τερματικό moserial Name[es]=Terminal moserial Name[fr]=Terminal moserial Name[gl]=Terminal moserial Name[ja]=Moserial 端末 Name[ko]=moserial Terminal Name[nb]=moserial terminal Name[pl]=Terminal moserial Name[pt_BR]=Terminal moserial Name[ro]=Terminal moserial Name[sl]=moserial terminal Name[sv]=moserial Terminal Name[zh_CN]=moserial 终端 GenericName=Serial Terminal GenericName[ca]=Terminal sèrie GenericName[cs]=Sériový terminál GenericName[da]=Seriel terminal GenericName[de]=Serielles Terminal GenericName[el]=Σειριακό Τερματικό GenericName[es]=Terminal serial GenericName[fr]=Terminal de port série GenericName[gl]=Terminal serie GenericName[ja]=シリアル端末 GenericName[ko]=시리얼 터미널 GenericName[nb]=Seriell terminal GenericName[pl]=Terminal szeregowy GenericName[pt_BR]=Terminal serial GenericName[ro]=Terminal serial GenericName[sl]=Terminal GenericName[sv]=Seriell terminal GenericName[zh_CN]=串口终端 Comment=A serial terminal optimized for logging and file capture Comment[ca]=Un terminal sèrie optimitzat per a l'enregistrament i la captura de fitxers Comment[cs]=Sériový terminál optimalizovaný pro ukládání záznamu a zachytávání souborů Comment[da]=En seriel terminal optimeret til logning og filoptagelse Comment[de]=Ein serielles Terminal für das Mitschneiden und Aufzeichnen Comment[el]=Ένα σειριακό τερματικό βελτιστοποιημένο για τη σύλληψη και καταγραφή αρχείων Comment[es]=Un terminal serie optimizado para registro del sistema y captura de archivos Comment[fr]=Un terminal série optimisé pour la journalisation et la capture de fichiers Comment[gl]=Un terminal serie optimizado para o rexistro e captura de ficheiros Comment[ja]=ログの記録やファイルのキャプチャが可能なシリアル端末です Comment[ko]=데이터로깅와 파일캡쳐에 특화된 시리얼 터미널 Comment[pl]=Terminal szeregowy zoptymalizowany do nagrywania i przechwytywania plików Comment[pt_BR]=Um terminal serial otimizado para gravação e captura de arquivo Comment[ro]=Un terminal serial optimizat pentru înregistrarea și captarea fișierelor Comment[sl]=Terminal prilagojen za beleženje in zajemanje datotek Comment[sv]=En seriell terminal optimerad för loggning och filfångst Comment[zh_CN]=为登录和文件获取专门优化的串行终端 Categories=GTK;Utility;FileTransfer;TerminalEmulator Exec=moserial %U Icon=moserial MimeType= StartupNotify=true Terminal=false Type=Application moserial-3.0.8/data/moserial.desktop.in0000674000213200021320000000043011724215622014772 00000000000000[Desktop Entry] _Name=moserial Terminal _GenericName=Serial Terminal _Comment=A serial terminal optimized for logging and file capture Categories=GTK;Utility;FileTransfer;TerminalEmulator Exec=moserial %U Icon=moserial MimeType= StartupNotify=true Terminal=false Type=Application moserial-3.0.8/data/Makefile.in0000674000213200021320000005641412064106160013233 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ subdir = data DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; am__install_max = 40 am__nobase_strip_setup = \ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` am__nobase_strip = \ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" am__nobase_list = $(am__nobase_strip_setup); \ for p in $$list; do echo "$$p $$p"; done | \ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ if (++n[$$2] == $(am__install_max)) \ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ END { for (dir in files) print dir, files[dir] }' am__base_list = \ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' am__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(desktopdir)" NROFF = nroff MANS = $(man_MANS) DATA = $(desktop_DATA) RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = @DISTCHECK_CONFIGURE_FLAGS@ DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ SUBDIRS = glade icons desktopdir = $(datadir)/applications desktop_in_files = moserial.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) man_MANS = moserial.1 EXTRA_DIST = \ $(desktop_in_files) \ $(desktop_DATA) \ $(man_MANS) DISTCLEANFILES = \ $(desktop_DATA) all: all-recursive .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ && { if test -f $@; then exit 0; else break; fi; }; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu data/Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu data/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(am__aclocal_m4_deps): mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | while read p; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; echo "$$p"; \ done | \ sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ sed 'N;N;s,\n, ,g' | { \ list=; while read file base inst; do \ if test "$$base" = "$$inst"; then list="$$list $$file"; else \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ fi; \ done; \ for i in $$list; do echo "$$i"; done | $(am__base_list) | \ while read files; do \ test -z "$$files" || { \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ done; } uninstall-man1: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man1dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.1[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(desktopdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(desktopdir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(desktopdir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(desktopdir)" || exit $$?; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; test -n "$(desktopdir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(desktopdir)'; $(am__uninstall_files_from_dir) # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ 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; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @list='$(MANS)'; if test -n "$$list"; then \ list=`for p in $$list; do \ if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ if test -n "$$list" && \ grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ echo " typically \`make maintainer-clean' will remove them" >&2; \ exit 1; \ else :; fi; \ else :; fi @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile $(MANS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(desktopdir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-desktopDATA install-man install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-man1 install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-desktopDATA uninstall-man uninstall-man: uninstall-man1 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \ install-am install-strip tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am check check-am clean clean-generic clean-libtool \ ctags ctags-recursive distclean distclean-generic \ distclean-libtool distclean-tags distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-desktopDATA install-dvi install-dvi-am \ install-exec install-exec-am install-html install-html-am \ install-info install-info-am install-man install-man1 \ install-pdf install-pdf-am install-ps install-ps-am \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \ ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-desktopDATA uninstall-man uninstall-man1 @INTLTOOL_DESKTOP_RULE@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: moserial-3.0.8/data/Makefile.am0000674000213200021320000000051211724215622013214 00000000000000SUBDIRS = glade icons @INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/applications desktop_in_files=moserial.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) man_MANS = moserial.1 EXTRA_DIST = \ $(desktop_in_files) \ $(desktop_DATA) \ $(man_MANS) DISTCLEANFILES = \ $(desktop_DATA) moserial-3.0.8/ChangeLog.pre-git0000674000213200021320000011702111724215622013373 000000000000002009-04-07 Michael J. Chudobiak * configure.ac: Post-release version bump to 2.26.1. 2009-04-07 Michael J. Chudobiak * NEWS: * configure.ac: * doc/C/moserial.xml: Call this 2.26.0, to align with gnome versioning. 2009-04-07 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/SerialConnection.vala: Added ESC as a termination character. 2009-04-03 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Remove the Escape key definition out from glade and put it in the code. Also, scroll all text boxes to the bottom after pressing escape. 2009-03-20 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.9. 2009-03-20 Michael J. Chudobiak [ moserial 1.0.8 released ] * NEWS: general updates 2009-03-20 Michael J. Chudobiak * src/MainWindow.vala: Update window title correctly after recording timeout. 2009-03-20 Michael J. Chudobiak * src/MainWindow.vala: Show recording filename in window title. 2009-03-18 Michael J. Chudobiak * src/MainWindow.vala: Removed an obsolete comment. 2009-03-18 Michael J. Chudobiak * doc/C/moserial.xml: * src/SettingsDialog.vala: Added support for /dev/rfcomm ports. 2009-03-18 Michael J. Chudobiak * src/MainWindow.vala: Remove another pointless warning. 2009-03-18 Michael J. Chudobiak * src/MainWindow.vala: Renamed doConnect to connectButtonClick to avoid confusion with another function of the same name. Removed one pointless warning. Check connection status before showing record dialog. 2009-03-17 Michael J. Chudobiak * doc/C/moserial.xml: Improved formatting of the special keys docs. 2009-03-17 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added a recent files submenu. * src/Main.vala: Mangle command-line filename argument appropriately. * src/MainWindow.vala: Added recent files support. Refactored profile loading, to reduce duplicated code. 2009-03-16 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.8. 2009-03-16 Michael J. Chudobiak [ moserial 1.0.7 released ] * configure.ac: Added the link to our new bugzilla product. 2009-03-16 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Document special keys. * doc/C/moserial.xml: Make the entrybox grab the focus when the user presses Escape. 2009-03-13 Michael J. Chudobiak * doc/C/moserial.xml: Fixed small typo in docs. 2009-03-13 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added some tooltips to clarify the handshaking options. 2009-03-13 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.7. 2009-03-13 Michael J. Chudobiak [ moserial 1.0.6 released ] * data/glade/moserial.glade: * data/glade/moserial.ui: Re-added missing disconnect and stop-recording button labels * src/Main.vala: * src/MainWindow.vala: * src/SerialConnection.vala: Fixed some nuisance compiler warnings, by renaming variables that conflicted with inherited field names. 2009-03-12 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.6. 2009-03-12 Michael J. Chudobiak [ moserial 1.0.5 released ] * src/MainWindow.vala: Switch outgoing view to HEX when send mode is HEX. 2009-03-12 Michael J. Chudobiak * src/MainWindow.vala: Validate all characters appended to text buffers. 2009-03-12 Michael J. Chudobiak * src/InputParser.vala: Fixed HEX entry. 2009-03-09 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.5. 2009-03-09 Michael J. Chudobiak [ moserial 1.0.4 released ] * NEWS: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/PreferencesDialog.vala: * src/SettingsDialog.vala: Make Settings and Preferences dialogs HIG compliant by changing stock buttons and ordering from Apply/Discard to Cancel/OK. 2009-03-06 Michael J. Chudobiak * src/MainWindow.vala: Point the About hyperlink to the gnome page. 2009-03-06 Michael J. Chudobiak * doc/C/moserial.xml: Document the timeout feature. 2009-03-06 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.4. 2009-03-06 Michael J. Chudobiak [ moserial 1.0.3 released ] 2009-03-06 Michael J. Chudobiak * src/MainWindow.vala: Set cursor at end of line after pasting into an unfocused entry box. 2009-03-06 Michael J. Chudobiak * src/MainWindow.vala: Move focus to the entry box after a paste. 2009-03-06 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.3. 2009-03-06 Michael J. Chudobiak [ moserial 1.0.2 released ] * data/glade/moserial.glade: * data/glade/moserial.ui: UI tweaks. * src/MainWindow.vala: Reworked timeouts. Cancel old timeout and add a new one every time. * src/Preferences.vala: Changed timeout default settings. 2009-03-06 Michael J. Chudobiak * src/MoUtils.vala: * src/Preferences.vala: * src/Settings.vala: Fixed handling of default setttings. 2009-03-06 Michael J. Chudobiak * doc/C/moserial.xml: Add echo docs. 2009-03-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/Settings.vala: Disable echo by default. Tidy up settings UI. 2009-03-06 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Add code for cut, copy, paste and clear 2009-03-06 Marlodavampire * data/glade/moserial.glade: Readd edit menu 2009-03-06 Marlodavampire * src/MainWindow.vala: * src/PreferencesDialog.vala: Enable recording timeout Bug:2569563 Disable timeout changes in GUI when recording is in progress 2009-03-06 Marlodavampire * src/SerialConnection.vala: Enable local echo 2009-03-05 Marlodavampire * src/Preferences.vala: * src/PreferencesDialog.vala: * src/Settings.vala: * src/SettingsDialog.vala: Add GUI and Profile code for record timeout and local echo 2009-03-05 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: Add gui for local echo and file recording timeout 2009-03-04 Michael J. Chudobiak * src/RecordDialog.vala: Enable remote filesystems for Record dialog. 2009-02-28 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Enable remote filesystems for all file chooser dialogs 2009-02-26 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.2. 2009-02-26 Michael J. Chudobiak [ moserial 1.0.1 released ] * configure.ac: Removed gconf version requirement. Added gio-2.0 library check. 2009-02-26 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.1. 2009-02-26 Michael J. Chudobiak [ moserial 1.0.0 released ] 2009-02-26 Michael J. Chudobiak * configure.ac: * doc/C/moserial.xml: Bump version to 1.0.0. * po/POTFILES.in: * po/POTFILES.skip: * src/MoUtils.vala: Minor translation fixes. 2009-02-26 Michael J. Chudobiak * doc/C/moserial.xml: Minor doc updates. 2009-02-26 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Removed the Edit menu, for now. It can be re-added once the functionality is added. 2009-02-26 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Removed the unused View menu. 2009-02-26 Michael J. Chudobiak * src/MoUtils.vala: Removed a debugging printf. 2009-02-26 Michael J. Chudobiak * src/MoUtils.vala: * src/Rzwrapper.vala: * src/Szwrapper.vala: Put rz/sz status message splitting code in MoUtils, to reduce code duplication. 2009-02-26 Michael J. Chudobiak * src/MainWindow.vala: * src/Profile.vala: Fixed writing of UTF-8 data to profiles. 2009-02-26 Marlodavampire * src/DefaultPaths.vala: Remove warnings if default paths aren't in profile file 2009-02-26 Marlodavampire * src/DefaultPaths.vala: Formatting 2009-02-26 Marlodavampire * src/InputParser.vala: * src/MainWindow.vala: bug:2634810 parseHex should validate input 2009-02-25 Michael J. Chudobiak * src/MainWindow.vala: * src/MoUtils.vala: Add a gfile-based function to get the parent folder. 2009-02-25 Michael J. Chudobiak * src/MoUtils.vala: * src/Preferences.vala: * src/Settings.vala: Some refactoring to reduce code duplication. 2009-02-25 Michael J. Chudobiak * Makefile.am: * src/MoUtils.vala: Added the MoUtils library file for utility functions. * src/DefaultPaths.vala: * src/ReceiveChooserDialog.vala: * src/RecordDialog.vala: * src/SendChooserDialog.vala: * src/SerialStreamRecorder.vala: Use gfile-based functions (in MoUtils) to test for file size and existence. 2009-02-25 Michael J. Chudobiak * po/POTFILES.in: * po/POTFILES.skip: * src/Main.vala: * src/MainWindow.vala: * src/Preferences.vala: * src/Profile.vala: * src/SendProgressDialog.vala: * src/SerialConnection.vala: * src/SerialStreamRecorder.vala: * src/Szwrapper.vala: Checked for translateable strings. 2009-02-25 Michael J. Chudobiak * src/ReceiveChooserDialog.vala: * src/RecordDialog.vala: * src/SendChooserDialog.vala: Remove nuisance errors by checking for folder existence. 2009-02-25 Michael J. Chudobiak * Makefile.am: * src/DefaultPaths.vala: * src/MainWindow.vala: * src/Preferences.vala: * src/ReceiveChooserDialog.vala: * src/RecordDialog.vala: * src/SendChooserDialog.vala: * src/Settings.vala: Save last-used-folders to profiles. Break up profile loading try-catch blocks, so that a single missing keyfile entry does not abort the whole profile load process. 2009-02-25 Michael J. Chudobiak * src/Main.vala: Added -p short option. Added more useful error messages. Corrected cut-and-pasted description text. Ran astyle. 2009-02-25 Marlodavampire * src/Main.vala: * src/MainWindow.vala: Load profile from commandline 2009-02-25 Marlodavampire * src/MainWindow.vala: Offer to save changed profile 2009-02-24 Michael J. Chudobiak * doc/C/moserial.xml: Document the profiles feature. 2009-02-24 Michael J. Chudobiak * src/MainWindow.vala: * src/Profile.vala: Add an error dialog if we can't save the profile. 2009-02-24 Michael J. Chudobiak * src/MainWindow.vala: * src/Profile.vala: Add an error dialog if we can't load the profile. astyle formatting update. 2009-02-24 Michael J. Chudobiak * src/MainWindow.vala: * src/Profile.vala: Show profile filename in window title. 2009-02-24 Michael J. Chudobiak * src/MainWindow.vala: * src/Profile.vala: * src/ReceiveChooserDialog.vala: * src/Rzwrapper.vala: * src/SendChooserDialog.vala: * src/SerialConnection.vala: * src/SerialStreamRecorder.vala: * src/Szwrapper.vala: Deleted some debugging printfs. 2009-02-24 Michael J. Chudobiak * src/MainWindow.vala: Disconnect before loading profile. Update statusbar after loading profile. 2009-02-24 Marlodavampire * src/MainWindow.vala: Fix saving profile Add loading profile 2009-02-24 Marlodavampire * src/MainWindow.vala: Add profile saving 2009-02-22 Michael J. Chudobiak * doc/C/moserial.xml: Documentation tweaks. 2009-02-22 Marlodavampire * src/MainWindow.vala: * src/Settings.vala: Load and save settings to profiles 2009-02-22 Marlodavampire * src/MainWindow.vala: Another fix for useSystemMonospaceFont 2009-02-22 Marlodavampire * src/MainWindow.vala: * src/Preferences.vala: * src/Profile.vala: Load and save preferences to profiles 2009-02-22 Marlodavampire * src/Profile.vala: Remove console warnings if default profile dosen't exist 2009-02-22 Marlodavampire * src/MainWindow.vala: Use default system font if option selected 2009-02-19 Michael J. Chudobiak * src/MainWindow.vala: Removed gconf bits. Also, set paned position to -1 if no valid position has been saved. This gives a 50/50 split. 2009-02-19 Michael J. Chudobiak * src/Profile.vala: Should use get_user_config_dir instead of get_user_data_dir. Changed default profile name, for consistency with other apps. 2009-02-20 Marlodavampire * Makefile.am: * src/MainWindow.vala: * src/Profile.vala: Remove existing GConf stuff and replace it with KeyFile (part of bug:2569589) 2009-02-19 Michael J. Chudobiak * doc/C/moserial.xml: * doc/Makefile.am: More docs. 2009-02-18 Michael J. Chudobiak * doc/C/moserial.xml: * doc/Makefile.am: More docs. 2009-02-18 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * doc/C/moserial.xml: Added a tooltip, and updated docs. 2009-02-18 Michael J. Chudobiak * src/MainWindow.vala: Removed hard-coded echoTag default color. Now initialized from preferences. 2009-02-19 Marlodavampire * src/Preferences.vala: add missing Preferences.vala 2009-02-19 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/HexTextBuffer.vala: * src/MainWindow.vala: * src/PreferencesDialog.vala: * src/SerialStreamRecorder.vala: Preferences work 2009-02-18 Michael J. Chudobiak * doc/C/moserial.xml: Minor doc change. 2009-02-18 Michael J. Chudobiak * src/MainWindow.vala: Removed second (null) argument from set_url_hook, because the latest vala package from Fedora 10 seems to have an API change. 2009-02-18 Michael J. Chudobiak * doc/C/moserial.xml: * doc/Makefile.am: More docs. 2009-02-18 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * doc/C/moserial.xml: * doc/Makefile.am: * src/MainWindow.vala: More docs. 2009-02-18 Michael J. Chudobiak * doc/C/moserial.xml: More docs. 2009-02-18 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * doc/C/moserial.xml: * doc/Makefile.am: More docs. 2009-02-17 Michael J. Chudobiak * doc/C/moserial.xml: * doc/Makefile.am: More docs. 2009-02-17 Michael J. Chudobiak * doc/C/moserial.xml: Minor documentation correction. 2009-02-17 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * doc/C/moserial.xml: * doc/Makefile.am: Documentation updates. Minor UI changes. 2009-02-18 Marlodavampire * src/AutoScroll.vala: More cleanup for AutoScroll 2009-02-17 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: UI updates to advise the user to use Record for straight binary receives. 2009-02-17 Michael J. Chudobiak * src/AutoScroll.vala: Deleted unused function. Renamed some variables for clarity. Ran astyle to format code. 2009-02-18 Marlodavampire * src/MainWindow.vala: * src/RecordDialog.vala: * src/SerialStreamRecorder.vala: Bug:2572675 outgoing logging doesn't work 2009-02-17 Michael J. Chudobiak * src/AutoScroll.vala: Spelling correction. 2009-02-18 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/AutoScroll.vala: * src/MainWindow.vala: Bug:2565528 Autoscroll implemented 2009-02-17 Michael J. Chudobiak * src/MainWindow.vala: Autoscrolling was broken after changes to rz/sz. Fixed it. 2009-02-16 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/Szwrapper.vala: Add raw binary send option 2009-02-16 Marlodavampire * src/MainWindow.vala: * src/Rzwrapper.vala: * src/Szwrapper.vala: Add a simple error message if we cant spawn rz or sz 2009-02-16 Marlodavampire * src/Rzwrapper.vala: * src/Szwrapper.vala: Ensure receive cancel button works even if transfer hasn't started Add canceled status message 2009-02-16 Marlodavampire * src/SendProgressDialog.vala: Add inital waiting message to SendProgressDialog 2009-02-16 Marlodavampire * src/InputParser.vala: * src/ReceiveProgressDialog.vala: * src/Rzwrapper.vala: * src/SendProgressDialog.vala: * src/Szwrapper.vala: Fix status message splitting 2009-02-14 Marlodavampire * src/MainWindow.vala: * src/Rzwrapper.vala: * src/SerialConnection.vala: * src/Szwrapper.vala: more send/receive fixes 2009-02-14 Marlodavampire * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: remove isprint() check from Rz/Szwrapper, it isn't working correctly 2009-02-14 Marlodavampire * src/HexTextBuffer.vala: Remove some useless spaces from HexTextBuffer 2009-02-13 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Minor tooltip edit. 2009-02-13 Michael J. Chudobiak * src/Szwrapper.vala: Set running=false at shutdown. 2009-02-12 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/ReceiveProgressDialog.vala: * src/Rzwrapper.vala: * src/SendProgressDialog.vala: * src/Szwrapper.vala: Show just the last status report. Ignore everything before the last linefeed or carriage return. 2009-02-12 Michael J. Chudobiak * data/glade/moserial.glade: Fixed window titles. * src/Rzwrapper.vala: * src/Szwrapper.vala: Fixed crash upon transfer completion. 2009-02-12 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Better window titles in the send/receive filechoosers. * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: Filter out unprintable status lines. 2009-02-12 Michael J. Chudobiak * po/POTFILES.in: * po/POTFILES.skip: Marked additional files for translation. * src/MainWindow.vala: Removed some debugging code. * src/Settings.vala: * src/SettingsDialog.vala: Removed unused functions and strings, and simplified the combobox-to-enum translations. 2009-02-12 Marlodavampire * src/MainWindow.vala: * src/SendProgressDialog.vala: * src/SerialConnection.vala: * src/Szwrapper.vala: Fixes for send Changes to SerialConnection to try and help send 2009-02-11 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: Put the send/receive status text in a gtk.label, not a gtk.entry. 2009-02-11 Marlodavampire * src/MainWindow.vala: * src/SendProgressDialog.vala: * src/Szwrapper.vala: Fix send to work again add a call to Gtk.main_iteration_do() to make GUI more responsive during send 2009-02-10 Michael J. Chudobiak * data/glade/Makefile.am: Call gtk-builder-convert during the build process. * po/POTFILES.in: * po/POTFILES.skip: Flag the translatable files. 2009-02-10 Michael J. Chudobiak * src/MainWindow.vala: Restore idle autoscroll, but skip it if a send or receive file is in progress. 2009-02-10 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Tooltip updates to reflect echo highlighting. * src/MainWindow.vala: * src/SerialConnection.vala: Identify and highlight echo in the incoming ascii view. * src/Settings.vala: Set default baud rate to 1200, for my convenience. 2009-02-10 Marlodavampire * src/MainWindow.vala: * src/Rzwrapper.vala: More fixes for receive 2009-02-10 Marlodavampire * src/MainWindow.vala: * src/ReceiveProgressDialog.vala: * src/Rzwrapper.vala: Fix cancel button for receive 2009-02-09 Michael J. Chudobiak * src/MainWindow.vala: * src/SerialConnection.vala: Don't advance ASCII textboxes by two lines for CRLF terminators. Just advance by one line, as for other terminators. 2009-02-09 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: Remove resize grip for statusbar 2009-02-08 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/ReceiveChooserDialog.vala: * src/ReceiveProgressDialog.vala: * src/Rzwrapper.vala: * src/SendChooserDialog.vala: * src/SendProgressDialog.vala: * src/SerialConnection.vala: * src/Szwrapper.vala: * src/XmodemFilenameDialog.vala: Initial commit for x/y/zmodem send and receive 2009-02-07 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/SerialConnection.vala: Added a tab termination mode. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: More tooltip updates. Wrapping changes also. * src/MainWindow.vala: * src/SerialConnection.vala: Switch to hex view for incoming binary data. 2009-02-06 Michael J. Chudobiak * src/MainWindow.vala: Forgot to clear one buffer upon connect. Fixed. 2009-02-06 Michael J. Chudobiak * src/MainWindow.vala: Try to auto-connect when Outgoing data is entered instead of greying out the entry box and send button. 2009-02-06 Michael J. Chudobiak * src/MainWindow.vala: Grey out the send button when not connected. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added more tooltips. 2009-02-06 Michael J. Chudobiak * src/MainWindow.vala: Rely on idle_add to autoscroll, rather than explicit calls. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Minor glade tweaks. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/SerialConnection.vala: Added selectable termination method. 2009-02-06 Michael J. Chudobiak * src/MainWindow.vala: Refactor ASCII buffer code a bit, to reduce code duplication. 2009-02-06 Michael J. Chudobiak * src/MainWindow.vala: Insert ASCII text at end iter, not at cursor. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added border=4 to gtknotebooks. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Added ASCII views. 2009-02-06 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Moved port setup button. Added bytecount statusbar. * src/MainWindow.vala: * src/SerialConnection.vala: Added bytecount statusbar. 2009-02-05 Michael J. Chudobiak * src/SerialStreamRecorder.vala: Launch file when done recording. TODO: add pref to enable/disable this feature. 2009-02-05 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: UI tweaks. * src/MainWindow.vala: Turn off recording upon disconnect. 2009-02-05 Michael J. Chudobiak * src/MainWindow.vala: Fixed the auto-connect-on-record feature, so that it did not open the serial port twice, and so that it did not open the port until the file was ready. 2009-02-05 Michael J. Chudobiak * src/MainWindow.vala: Tidy up with astyle --style=linux. 2009-02-05 Michael J. Chudobiak * src/MainWindow.vala: Auto-connect on send, receive, or record. Disable entry field if not connected. 2009-02-04 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Minor border-size tweaks. 2009-02-04 Michael J. Chudobiak * src/Settings.vala: Made hardware handshaking the default. 2009-02-04 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added some tooltips. 2009-02-04 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Labeled the input/output areas, and added some border spacing. 2009-02-04 Michael J. Chudobiak * src/MainWindow.vala: Make ASCII the default input mode. 2009-02-04 Marlodavampire * src/InputParser.vala: * src/MainWindow.vala: 2009-02-02 Marlodavampire * src/MainWindow.vala: Add outgoingHexTextBuffer 2009-02-02 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/ReceiveChooserDialog.vala: add ReceiveChooserDialog 2009-02-01 Marlodavampire * src/HexTextBuffer.vala: * src/MainWindow.vala: * src/SerialConnection.vala: Fix disconnect code to actually work Clear the incoming textbox on connect 2009-02-01 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/InputParser.vala: * src/MainWindow.vala: * src/SerialConnection.vala: Input box GUI changes for HEX input in Glade and MainWindow sendByte() and sendLineEnd() added to SerialConnection 2009-01-31 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/RecordDialog.vala: * src/SerialStreamRecorder.vala: Add SerialStreamRecorderClass Changes to .glade for Record button and dialog 2009-01-30 Marlodavampire * src/MainWindow.vala: Autoscroll 2009-01-30 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: Add toobar_autoscoll togglebutton 2009-01-29 Marlodavampire * src/MainWindow.vala: * src/RecordDialog.vala: RecordDialog fixes 2009-01-29 Marlodavampire * Makefile.am: * src/LoggingDialog.vala: * src/MainWindow.vala: * src/RecordDialog.vala: Rename LoggingDialog->RecordDialog 2009-01-29 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/LoggingDialog.vala: Change the glade Record dialog to use FileChooserDialog 2009-01-28 Michael J. Chudobiak * doc/C/moserial.xml: Added something about basic port permissions to the docs. 2009-01-29 Marlodavampire * src/MainWindow.vala: Fix a warning 2009-01-28 Marlodavampire * Makefile.am: * src/HexTextBuffer.vala: * src/MainWindow.vala: Move the HexTextBuffer stuff into its own class Add char output to the HextTextBuffer 2009-01-26 Michael J. Chudobiak * src/SettingsDialog.vala: Populate device list with existing devices only. 2009-01-26 Marlodavampire * src/MainWindow.vala: * src/SerialConnection.vala: Fix GUI on device open fail (bug: 2531071) 2009-01-24 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Updates for the hex output TextView/Buffer 2009-01-23 Michael J. Chudobiak * src/MainWindow.vala: Made the About dialog web link clickable. 2009-01-23 Marlodavampire * src/SerialConnection.vala: Added some port settings to SerialConnection from Minicom 2009-01-22 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Use show_about_dialog instead of glade equivalent. Simplified signal callback parameters. 2009-01-22 Michael J. Chudobiak * src/MainWindow.vala: Removed an unused variable. 2009-01-22 Marlodavampire * src/SettingsDialog.vala: Fixes for settings/device combobox 2009-01-22 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/SettingsDialog.vala: Change device widget to ComboboxEntry 2009-01-21 Marlodavampire * src/MainWindow.vala: Fixed typo for saving paned 2009-01-21 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Save paned position in GConf 2009-01-21 Marlodavampire * src/MainWindow.vala: Change to hex output 2009-01-21 Marlodavampire * src/LoggingDialog.vala: * src/PreferencesDialog.vala: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: * src/Settings.vala: * src/SettingsDialog.vala: Formating 2009-01-21 Marlodavampire * src/LoggingDialog.vala: * src/PreferencesDialog.vala: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: * src/Settings.vala: * src/SettingsDialog.vala: 2009-01-20 Michael J. Chudobiak * src/LoggingDialog.vala: * src/Main.vala: * src/MainWindow.vala: * src/PreferencesDialog.vala: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: * src/SerialConnection.vala: * src/Settings.vala: * src/SettingsDialog.vala: Reformat with "astyle --style=linux" 2009-01-20 Michael J. Chudobiak * src/MainWindow.vala: Add try/catches as needed. 2009-01-20 Michael J. Chudobiak * data/icons/Makefile.in: Delete this generated file from svn. 2009-01-20 Michael J. Chudobiak * Makefile.am: * configure.ac: * src/MainWindow.vala: Added window-size saving. Need to add schema files still. 2009-01-20 Michael J. Chudobiak * src/MainWindow.vala: Added quit function. * src/SerialConnection.vala: Fixed the hard-coding of the device to /dev/ttyS0, instead of the requested device. 2009-01-20 Marlodavampire * src/MainWindow.vala: Add show_uri call to Help->Contents MenuItem 2009-01-20 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Change connectButton label to 'Disconnect' once connected 2009-01-20 Marlodavampire * src/MainWindow.vala: * src/SerialConnection.vala: * src/posix.vapi: Changes to SerialConnection to match cutecom 2009-01-19 mjclab * src/Settings.vala: Parity = 0/none is a valid setting, so do not override it with a default setting of 1/odd. 2009-01-19 Michael J. Chudobiak * Makefile.am: * configure.ac: * data/icons/Makefile.in: * doc/C/legal.xml: * doc/C/moserial.xml: * doc/Makefile.am: * doc/moserial.omf.in: * gnome-doc-utils.make: * omf.make: * xmldocs.make: Added a very basic help file, accessible using "yelp ghelp:moserial". 2009-01-19 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/SerialConnection.vala: * src/posix.vapi: Added SerialConnection.vala Renamed the TextViews Added MainWindow.updateIncoming() to update the incoming textview with the serial data. 2009-01-18 Michael J. Chudobiak * Makefile.am: * configure.ac: * data/Makefile.am: * moserial.glade: * moserial.ui: * src/Config.vapi: * src/Main.vala: Move the glade/ui files and install them in a system datadir, so the the app can be launched from any directory. 2009-01-18 Michael J. Chudobiak * data/Makefile.am: * data/icons/48x48/Makefile.am: * data/icons/48x48/apps/Makefile.am: * data/icons/Makefile.am: * data/icons/Makefile.in: * data/moserial.desktop.in: Added the new icon / desktop entry build files. 2009-01-18 Michael J. Chudobiak * Makefile.am: * configure.ac: * moserial.glade: * moserial.ui: Added support for the moserial icon and the desktop entry file. 2009-01-18 Marlodavampire * Makefile.am: * moserial.glade: * moserial.ui: * src/MainWindow.vala: * src/posix.vapi: Updated connect button Added posix.vapi 2009-01-18 Marlodavampire * Makefile.am: * src/Config.vapi: Added a simple Config.vapi 2009-01-17 Michael J. Chudobiak * moserial.glade: * moserial.ui: Added Help->Contents menu item. 2009-01-17 Michael J. Chudobiak * moserial.glade: * moserial.ui: Minor updates to the About dialog. Make the About menu item a stock item. 2009-01-17 Marlodavampire * Makefile.am: * moserial.glade: * moserial.ui: * src/LoggingDialog.vala: * src/MainWindow.vala: * src/PreferencesDialog.vala: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: Added placeholder classes for the rest of the dialogs Added AboutDialog 2009-01-17 Marlodavampire * moserial.glade: * moserial.ui: * src/MainWindow.vala: * src/Settings.vala: * src/SettingsDialog.vala: Added handshake and access mode to the port settings 2009-01-17 Marlodavampire * moserial.glade: * moserial.ui: * src/MainWindow.vala: Add an about dialog Rename some GUI elements Change some menu items 2009-01-17 Marlodavampire * moserial.glade: Added preferences button to GUI 2009-01-16 Michael J. Chudobiak * moserial.glade: * moserial.ui: Change "cutecomgtk" to "moserial". 2009-01-16 Michael J. Chudobiak * moserial.glade: * moserial.ui: Added /dev/ttyUSB0-3 as device options. Added 300 as a buad rate choice. 2009-01-14 Michael J. Chudobiak * AUTHORS: * COPYING: * MAINTAINERS: * ChangeLog: Initial files added. 2009-01-20 Michael J. Chudobiak * src/LoggingDialog.vala: * src/Main.vala: * src/MainWindow.vala: * src/PreferencesDialog.vala: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: * src/SerialConnection.vala: * src/Settings.vala: * src/SettingsDialog.vala: Reformat with "astyle --style=linux" 2009-01-20 Michael J. Chudobiak * src/MainWindow.vala: Add try/catches as needed. 2009-01-20 Michael J. Chudobiak * data/icons/Makefile.in: Delete this generated file from svn. 2009-01-20 Michael J. Chudobiak * Makefile.am: * configure.ac: * src/MainWindow.vala: Added window-size saving. Need to add schema files still. 2009-01-20 Michael J. Chudobiak * src/MainWindow.vala: Added quit function. * src/SerialConnection.vala: Fixed the hard-coding of the device to /dev/ttyS0, instead of the requested device. 2009-01-20 Marlodavampire * src/MainWindow.vala: Add show_uri call to Help->Contents MenuItem 2009-01-20 Marlodavampire * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Change connectButton label to 'Disconnect' once connected 2009-01-20 Marlodavampire * src/MainWindow.vala: * src/SerialConnection.vala: * src/posix.vapi: Changes to SerialConnection to match cutecom 2009-01-19 mjclab * src/Settings.vala: Parity = 0/none is a valid setting, so do not override it with a default setting of 1/odd. 2009-01-19 Michael J. Chudobiak * Makefile.am: * configure.ac: * data/icons/Makefile.in: * doc/C/legal.xml: * doc/C/moserial.xml: * doc/Makefile.am: * doc/moserial.omf.in: * gnome-doc-utils.make: * omf.make: * xmldocs.make: Added a very basic help file, accessible using "yelp ghelp:moserial". 2009-01-19 Marlodavampire * Makefile.am: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: * src/SerialConnection.vala: * src/posix.vapi: Added SerialConnection.vala Renamed the TextViews Added MainWindow.updateIncoming() to update the incoming textview with the serial data. 2009-01-18 Michael J. Chudobiak * Makefile.am: * configure.ac: * data/Makefile.am: * moserial.glade: * moserial.ui: * src/Config.vapi: * src/Main.vala: Move the glade/ui files and install them in a system datadir, so the the app can be launched from any directory. 2009-01-18 Michael J. Chudobiak * data/Makefile.am: * data/icons/48x48/Makefile.am: * data/icons/48x48/apps/Makefile.am: * data/icons/Makefile.am: * data/icons/Makefile.in: * data/moserial.desktop.in: Added the new icon / desktop entry build files. 2009-01-18 Michael J. Chudobiak * Makefile.am: * configure.ac: * moserial.glade: * moserial.ui: Added support for the moserial icon and the desktop entry file. 2009-01-18 Marlodavampire * Makefile.am: * moserial.glade: * moserial.ui: * src/MainWindow.vala: * src/posix.vapi: Updated connect button Added posix.vapi 2009-01-18 Marlodavampire * Makefile.am: * src/Config.vapi: Added a simple Config.vapi 2009-01-17 Michael J. Chudobiak * moserial.glade: * moserial.ui: Added Help->Contents menu item. 2009-01-17 Michael J. Chudobiak * moserial.glade: * moserial.ui: Minor updates to the About dialog. Make the About menu item a stock item. 2009-01-17 Marlodavampire * Makefile.am: * moserial.glade: * moserial.ui: * src/LoggingDialog.vala: * src/MainWindow.vala: * src/PreferencesDialog.vala: * src/ReceiveProgressDialog.vala: * src/SendProgressDialog.vala: Added placeholder classes for the rest of the dialogs Added AboutDialog 2009-01-17 Marlodavampire * moserial.glade: * moserial.ui: * src/MainWindow.vala: * src/Settings.vala: * src/SettingsDialog.vala: Added handshake and access mode to the port settings 2009-01-17 Marlodavampire * moserial.glade: * moserial.ui: * src/MainWindow.vala: Add an about dialog Rename some GUI elements Change some menu items 2009-01-17 Marlodavampire * moserial.glade: Added preferences button to GUI 2009-01-16 Michael J. Chudobiak * moserial.glade: * moserial.ui: Change "cutecomgtk" to "moserial". 2009-01-16 Michael J. Chudobiak * moserial.glade: * moserial.ui: Added /dev/ttyUSB0-3 as device options. Added 300 as a buad rate choice. 2009-01-14 Michael J. Chudobiak * AUTHORS: * COPYING: * MAINTAINERS: * ChangeLog: Initial files added. moserial-3.0.8/MAINTAINERS0000674000213200021320000000007311724215622011746 00000000000000Michael J. Chudobiak E-mail: mjc@svn.gnome.org Userid: mjc moserial-3.0.8/gnome-doc-utils.make0000674000213200021320000006120211777333243014127 00000000000000# gnome-doc-utils.make - make magic for building documentation # Copyright (C) 2004-2005 Shaun McCance # # 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. ################################################################################ ## @@ Generating Header Files ## @ DOC_H_FILE ## The name of the header file to generate DOC_H_FILE ?= ## @ DOC_H_DOCS ## The input DocBook files for generating the header file DOC_H_DOCS ?= $(DOC_H_FILE): $(DOC_H_DOCS); @rm -f $@.tmp; touch $@.tmp; echo 'const gchar* documentation_credits[] = {' >> $@.tmp list='$(DOC_H_DOCS)'; for doc in $$list; do \ xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \ if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \ xsltproc --path "$$xmlpath" $(_credits) $$doc; \ done | sort | uniq \ | awk 'BEGIN{s=""}{n=split($$0,w,"<");if(s!=""&&s!=substr(w[1],1,length(w[1])-1)){print s};if(n>1){print $$0;s=""}else{s=$$0}};END{if(s!=""){print s}}' \ | sed -e 's/\\/\\\\/' -e 's/"/\\"/' -e 's/\(.*\)/\t"\1",/' >> $@.tmp echo ' NULL' >> $@.tmp echo '};' >> $@.tmp echo >> $@.tmp list='$(DOC_H_DOCS)'; for doc in $$list; do \ xmlpath="`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`:$(srcdir)/`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`"; \ if ! test -f "$$doc"; then doc="$(srcdir)/$$doc"; fi; \ docid=`echo "$$doc" | sed -e 's/.*\/\([^/]*\)\.xml/\1/' \ | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`; \ echo $$xmlpath; \ ids=`xsltproc --xinclude --path "$$xmlpath" $(_ids) $$doc`; \ for id in $$ids; do \ echo '#define HELP_'`echo $$docid`'_'`echo $$id \ | sed -e 's/[^a-zA-Z_]/_/g' | tr 'a-z' 'A-Z'`' "'$$id'"' >> $@.tmp; \ done; \ echo >> $@.tmp; \ done; cp $@.tmp $@ && rm -f $@.tmp dist-check-gdu: if !HAVE_GNOME_DOC_UTILS @echo "*** GNOME Doc Utils must be installed in order to make dist" @false endif .PHONY: dist-doc-header dist-doc-header: $(DOC_H_FILE) @if test -f "$(DOC_H_FILE)"; then d=; else d="$(srcdir)/"; fi; \ echo "$(INSTALL_DATA) $${d}$(DOC_H_FILE) $(distdir)/$(DOC_H_FILE)"; \ $(INSTALL_DATA) "$${d}$(DOC_H_FILE)" "$(distdir)/$(DOC_H_FILE)"; doc-dist-hook: dist-check-gdu $(if $(DOC_H_FILE),dist-doc-header) .PHONY: clean-doc-header _clean_doc_header = $(if $(DOC_H_FILE),clean-doc-header) clean-local: $(_clean_doc_header) distclean-local: $(_clean_doc_header) mostlyclean-local: $(_clean_doc_header) maintainer-clean-local: $(_clean_doc_header) clean-doc-header: rm -f $(DOC_H_FILE) all: $(DOC_H_FILE) ################################################################################ ## @@ Generating Documentation Files ## @ DOC_MODULE ## The name of the document being built DOC_MODULE ?= ## @ DOC_ID ## The unique identifier for a Mallard document DOC_ID ?= ## @ DOC_PAGES ## Page files in a Mallard document DOC_PAGES ?= ## @ DOC_ENTITIES ## Files included with a SYSTEM entity DOC_ENTITIES ?= ## @ DOC_INCLUDES ## Files included with XInclude DOC_INCLUDES ?= ## @ DOC_FIGURES ## Figures and other external data DOC_FIGURES ?= ## @ DOC_FORMATS ## The default formats to be built and installed DOC_FORMATS ?= docbook _DOC_REAL_FORMATS = $(if $(DOC_USER_FORMATS),$(DOC_USER_FORMATS),$(DOC_FORMATS)) ## @ DOC_LINGUAS ## The languages this document is translated into DOC_LINGUAS ?= _DOC_REAL_LINGUAS = $(if $(filter environment,$(origin LINGUAS)), \ $(filter $(LINGUAS),$(DOC_LINGUAS)), \ $(DOC_LINGUAS)) _DOC_ABS_SRCDIR = @abs_srcdir@ ################################################################################ ## Variables for Bootstrapping _xml2po ?= `which xml2po` _xml2po_mode = $(if $(DOC_ID),mallard,docbook) _db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils` _db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils` _chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl _credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl _ids ?= $(shell $(PKG_CONFIG) --variable xmldir gnome-doc-utils)/gnome/xslt/docbook/utils/ids.xsl if ENABLE_SK _ENABLE_SK = true _skpkgdatadir ?= `scrollkeeper-config --pkgdatadir` _sklocalstatedir ?= `scrollkeeper-config --pkglocalstatedir` _skcontentslist ?= $(_skpkgdatadir)/Templates/C/scrollkeeper_cl.xml endif ################################################################################ ## Support for automake silent-rules GDU_V_XML2PO=$(GDU__v_XML2PO_$(V)) GDU__v_XML2PO_=$(GDU__v_XML2PO_$(AM_DEFAULT_VERBOSITY)) GDU__v_XML2PO_0=@echo " XML2PO" $@; GDU_V_MSGFMT=$(GDU__v_MSGFMT_$(V)) GDU__v_MSGFMT_=$(GDU__v_MSGFMT_$(AM_DEFAULT_VERBOSITY)) GDU__v_MSGFMT_0=@echo " MSGFMT" $@; GDU_V_DB2OMF=$(GDU__v_DB2OMF_$(V)) GDU__v_DB2OMF_=$(GDU__v_DB2OMF_$(AM_DEFAULT_VERBOSITY)) GDU__v_DB2OMF_0=@echo " DB2OMF" $@; GDU_V_DB2HTM=$(GDU__v_DB2HTM_$(V)) GDU__v_DB2HTM_=$(GDU__v_DB2HTM_$(AM_DEFAULT_VERBOSITY)) GDU__v_DB2HTM_0=@echo " DB2HTM" $@; ################################################################################ ## @@ Rules for OMF Files db2omf_args = \ --stringparam db2omf.basename $(DOC_MODULE) \ --stringparam db2omf.format $(3) \ --stringparam db2omf.dtd \ $(shell xmllint --format $(2) | grep -h PUBLIC | head -n 1 \ | sed -e 's/.*PUBLIC \(\"[^\"]*\"\).*/\1/') \ --stringparam db2omf.lang $(notdir $(patsubst %/$(notdir $(2)),%,$(2))) \ --stringparam db2omf.omf_dir "$(OMF_DIR)" \ --stringparam db2omf.help_dir "$(HELP_DIR)" \ --stringparam db2omf.omf_in "$(_DOC_OMF_IN)" \ $(if $(_ENABLE_SK), \ --stringparam db2omf.scrollkeeper_cl "$(_skcontentslist)") \ $(_db2omf) $(2) ## @ _DOC_OMF_IN ## The OMF input file _DOC_OMF_IN = $(if $(DOC_MODULE),$(wildcard $(_DOC_ABS_SRCDIR)/$(DOC_MODULE).omf.in)) ## @ _DOC_OMF_DB ## The OMF files for DocBook output _DOC_OMF_DB = $(if $(_DOC_OMF_IN), \ $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-$(lc).omf)) $(_DOC_OMF_DB) : $(_DOC_OMF_IN) $(_DOC_OMF_DB) : $(DOC_MODULE)-%.omf : %/$(DOC_MODULE).xml @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \ echo "The file '$(_skcontentslist)' does not exist." >&2; \ echo "Please check your ScrollKeeper installation." >&2; \ exit 1; } $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'docbook') || { rm -f "$@"; exit 1; } ## @ _DOC_OMF_HTML ## The OMF files for HTML output _DOC_OMF_HTML = $(if $(_DOC_OMF_IN), \ $(foreach lc,C $(_DOC_REAL_LINGUAS),$(DOC_MODULE)-html-$(lc).omf)) $(_DOC_OMF_HTML) : $(_DOC_OMF_IN) $(_DOC_OMF_HTML) : $(DOC_MODULE)-html-%.omf : %/$(DOC_MODULE).xml if ENABLE_SK @test "x$(_ENABLE_SK)" != "xtrue" -o -f "$(_skcontentslist)" || { \ echo "The file '$(_skcontentslist)' does not exist" >&2; \ echo "Please check your ScrollKeeper installation." >&2; \ exit 1; } endif $(GDU_V_DB2OMF)xsltproc -o $@ $(call db2omf_args,$@,$<,'xhtml') || { rm -f "$@"; exit 1; } ## @ _DOC_OMF_ALL ## All OMF output files to be built # FIXME _DOC_OMF_ALL = \ $(if $(filter docbook,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_DB)) \ $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_OMF_HTML)) .PHONY: omf omf: $(_DOC_OMF_ALL) ################################################################################ ## @@ C Locale Documents ## @ _DOC_C_MODULE ## The top-level documentation file in the C locale _DOC_C_MODULE = $(if $(DOC_MODULE),C/$(DOC_MODULE).xml) ## @ _DOC_C_PAGES ## Page files in a Mallard document in the C locale _DOC_C_PAGES = $(foreach page,$(DOC_PAGES),C/$(page)) ## @ _DOC_C_ENTITIES ## Files included with a SYSTEM entity in the C locale _DOC_C_ENTITIES = $(foreach ent,$(DOC_ENTITIES),C/$(ent)) ## @ _DOC_C_XINCLUDES ## Files included with XInclude in the C locale _DOC_C_INCLUDES = $(foreach inc,$(DOC_INCLUDES),C/$(inc)) ## @ _DOC_C_DOCS ## All documentation files in the C locale _DOC_C_DOCS = \ $(_DOC_C_ENTITIES) $(_DOC_C_INCLUDES) \ $(_DOC_C_PAGES) $(_DOC_C_MODULE) ## @ _DOC_C_DOCS_NOENT ## All documentation files in the C locale, ## except files included with a SYSTEM entity _DOC_C_DOCS_NOENT = \ $(_DOC_C_MODULE) $(_DOC_C_INCLUDES) \ $(_DOC_C_PAGES) ## @ _DOC_C_FIGURES ## All figures and other external data in the C locale _DOC_C_FIGURES = $(if $(DOC_FIGURES), \ $(foreach fig,$(DOC_FIGURES),C/$(fig)), \ $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/C/figures/*.png))) ## @ _DOC_C_HTML ## All HTML documentation in the C locale # FIXME: probably have to shell escape to determine the file names _DOC_C_HTML = $(foreach f, \ $(shell xsltproc --xinclude \ --stringparam db.chunk.basename "$(DOC_MODULE)" \ $(_chunks) "C/$(DOC_MODULE).xml"), \ C/$(f).xhtml) ############################################################################### ## @@ Other Locale Documentation ## @ _DOC_POFILES ## The .po files used for translating the document _DOC_POFILES = $(if $(DOC_MODULE)$(DOC_ID), \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(lc).po)) .PHONY: po po: $(_DOC_POFILES) ## @ _DOC_MOFILES ## The .mo files used for translating the document _DOC_MOFILES = $(patsubst %.po,%.mo,$(_DOC_POFILES)) .PHONY: mo mo: $(_DOC_MOFILES) ## @ _DOC_LC_MODULES ## The top-level documentation files in all other locales _DOC_LC_MODULES = $(if $(DOC_MODULE), \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xml)) ## @ _DOC_LC_PAGES ## Page files in a Mallard document in all other locales _DOC_LC_PAGES = \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach page,$(_DOC_C_PAGES), \ $(lc)/$(notdir $(page)) )) ## @ _DOC_LC_XINCLUDES ## Files included with XInclude in all other locales _DOC_LC_INCLUDES = \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach inc,$(_DOC_C_INCLUDES), \ $(lc)/$(notdir $(inc)) )) ## @ _DOC_LC_HTML ## All HTML documentation in all other locales # FIXME: probably have to shell escape to determine the file names _DOC_LC_HTML = \ $(foreach lc,$(_DOC_REAL_LINGUAS),$(foreach doc,$(_DOC_C_HTML), \ $(lc)/$(notdir $(doc)) )) ## @ _DOC_LC_DOCS ## All documentation files in all other locales _DOC_LC_DOCS = \ $(_DOC_LC_MODULES) $(_DOC_LC_INCLUDES) $(_DOC_LC_PAGES) \ $(if $(filter html HTML,$(_DOC_REAL_FORMATS)),$(_DOC_LC_HTML)) ## @ _DOC_LC_FIGURES ## All figures and other external data in all other locales _DOC_LC_FIGURES = $(foreach lc,$(_DOC_REAL_LINGUAS), \ $(patsubst C/%,$(lc)/%,$(_DOC_C_FIGURES)) ) _DOC_SRC_FIGURES = \ $(foreach fig,$(_DOC_C_FIGURES), $(foreach lc,C $(_DOC_REAL_LINGUAS), \ $(wildcard $(srcdir)/$(lc)/$(patsubst C/%,%,$(fig))) )) $(_DOC_POFILES): @if ! test -d $(dir $@); then \ echo "mkdir $(dir $@)"; \ mkdir "$(dir $@)"; \ fi @if test ! -f $@ -a -f $(srcdir)/$@; then \ echo "cp $(srcdir)/$@ $@"; \ cp "$(srcdir)/$@" "$@"; \ fi; @docs=; \ list='$(_DOC_C_DOCS_NOENT)'; for doc in $$list; do \ docs="$$docs $(_DOC_ABS_SRCDIR)/$$doc"; \ done; \ if ! test -f $@; then \ echo "(cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \ cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp)"; \ (cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e $$docs > $(notdir $@).tmp && \ cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp); \ else \ echo "(cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs)"; \ (cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e -u $(notdir $@) $$docs); \ fi $(_DOC_MOFILES): %.mo: %.po $(AM_V_at)if ! test -d $(dir $@); then mkdir "$(dir $@)"; fi $(GDU_V_MSGFMT)msgfmt -o $@ $< # FIXME: fix the dependancy # FIXME: hook xml2po up $(_DOC_LC_DOCS) : $(_DOC_MOFILES) $(_DOC_LC_DOCS) : $(_DOC_C_DOCS) $(AM_V_at)if ! test -d $(dir $@); then mkdir $(dir $@); fi $(GDU_V_XML2PO)if [ -f "C/$(notdir $@)" ]; then d="../"; else d="$(_DOC_ABS_SRCDIR)/"; fi; \ mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \ if [ -f "$${mo}" ]; then mo="../$${mo}"; else mo="$(_DOC_ABS_SRCDIR)/$${mo}"; fi; \ (cd $(dir $@) && \ $(_xml2po) -m $(_xml2po_mode) -e -t "$${mo}" \ "$${d}C/$(notdir $@)" > $(notdir $@).tmp && \ cp $(notdir $@).tmp $(notdir $@) && rm -f $(notdir $@).tmp) ## @ _DOC_POT ## A pot file _DOC_POT = $(if $(DOC_MODULE),$(DOC_MODULE).pot,$(if $(DOC_ID),$(DOC_ID).pot)) .PHONY: pot pot: $(_DOC_POT) $(_DOC_POT): $(_DOC_C_DOCS_NOENT) $(GDU_V_XML2PO)$(_xml2po) -m $(_xml2po_mode) -e -o $@ $^ ################################################################################ ## @@ All Documentation ## @ _DOC_HTML_ALL ## All HTML documentation, only if it's built _DOC_HTML_ALL = $(if $(filter html HTML,$(_DOC_REAL_FORMATS)), \ $(_DOC_C_HTML) $(_DOC_LC_HTML)) _DOC_HTML_TOPS = $(foreach lc,C $(_DOC_REAL_LINGUAS),$(lc)/$(DOC_MODULE).xhtml) $(_DOC_HTML_TOPS): $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(GDU_V_DB2HTM)xsltproc -o $@ --xinclude --param db.chunk.chunk_top "false()" --stringparam db.chunk.basename "$(DOC_MODULE)" --stringparam db.chunk.extension ".xhtml" $(_db2html) $(patsubst %.xhtml,%.xml,$@) ################################################################################ ## All all: \ $(_DOC_C_DOCS) $(_DOC_LC_DOCS) \ $(_DOC_OMF_ALL) $(_DOC_DSK_ALL) \ $(_DOC_HTML_ALL) $(_DOC_POFILES) ################################################################################ ## Clean .PHONY: clean-doc-omf clean-doc-dsk clean-doc-lc clean-doc-dir clean-doc-omf: ; rm -f $(_DOC_OMF_DB) $(_DOC_OMF_HTML) clean-doc-dsk: ; rm -f $(_DOC_DSK_DB) $(_DOC_DSK_HTML) clean-doc-lc: rm -f $(_DOC_LC_DOCS) rm -f $(_DOC_MOFILES) @list='$(_DOC_POFILES)'; for po in $$list; do \ if ! test "$$po" -ef "$(srcdir)/$$po"; then \ echo "rm -f $$po"; \ rm -f "$$po"; \ fi; \ done # .xml2.po.mo cleaning is obsolete as of 0.18.1 and could be removed in 0.20.x @for lc in C $(_DOC_REAL_LINGUAS); do \ if test -f "$$lc/.xml2po.mo"; then \ echo "rm -f $$lc/.xml2po.mo"; \ rm -f "$$lc/.xml2po.mo"; \ fi; \ done clean-doc-dir: clean-doc-lc @for lc in C $(_DOC_REAL_LINGUAS); do \ for dir in `find $$lc -depth -type d`; do \ if ! test $$dir -ef $(srcdir)/$$dir; then \ echo "rmdir $$dir"; \ rmdir "$$dir"; \ fi; \ done; \ done _clean_omf = $(if $(_DOC_OMF_IN),clean-doc-omf) _clean_dsk = $(if $(_DOC_DSK_IN),clean-doc-dsk) _clean_lc = $(if $(_DOC_REAL_LINGUAS),clean-doc-lc) _clean_dir = $(if $(DOC_MODULE)$(DOC_ID),clean-doc-dir) clean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) distclean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) mostlyclean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) maintainer-clean-local: \ $(_clean_omf) $(_clean_dsk) \ $(_clean_lc) $(_clean_dir) ################################################################################ ## Dist .PHONY: dist-doc-docs dist-doc-pages dist-doc-figs dist-doc-omf dist-doc-dsk doc-dist-hook: \ $(if $(DOC_MODULE)$(DOC_ID),dist-doc-docs) \ $(if $(_DOC_C_FIGURES),dist-doc-figs) \ $(if $(_DOC_OMF_IN),dist-doc-omf) # $(if $(_DOC_DSK_IN),dist-doc-dsk) dist-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) $(_DOC_POFILES) @for lc in C $(_DOC_REAL_LINGUAS); do \ echo " $(mkinstalldirs) $(distdir)/$$lc"; \ $(mkinstalldirs) "$(distdir)/$$lc"; \ done @list='$(_DOC_C_DOCS)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$docdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ $(mkinstalldirs) "$(distdir)/$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done @list='$(_DOC_LC_DOCS)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$docdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ $(mkinstalldirs) "$(distdir)/$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done @list='$(_DOC_POFILES)'; \ for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir=`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$docdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$docdir"; \ $(mkinstalldirs) "$(distdir)/$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(distdir)/$$doc"; \ $(INSTALL_DATA) "$$d$$doc" "$(distdir)/$$doc"; \ done dist-doc-figs: $(_DOC_SRC_FIGURES) @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; \ for fig in $$list; do \ if test -f "$$fig"; then d=; else d="$(srcdir)/"; fi; \ if test -f "$$d$$fig"; then \ figdir=`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ if ! test -d "$(distdir)/$$figdir"; then \ echo "$(mkinstalldirs) $(distdir)/$$figdir"; \ $(mkinstalldirs) "$(distdir)/$$figdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$fig $(distdir)/$$fig"; \ $(INSTALL_DATA) "$$d$$fig" "$(distdir)/$$fig"; \ fi; \ done; dist-doc-omf: @if test -f "$(_DOC_OMF_IN)"; then d=; else d="$(srcdir)/"; fi; \ echo "$(INSTALL_DATA) $$d$(_DOC_OMF_IN) $(distdir)/$(notdir $(_DOC_OMF_IN))"; \ $(INSTALL_DATA) "$$d$(_DOC_OMF_IN)" "$(distdir)/$(notdir $(_DOC_OMF_IN))" dist-doc-dsk: @if test -f "$(_DOC_DSK_IN)"; then d=; else d="$(srcdir)/"; fi; \ echo "$(INSTALL_DATA) $$d$(_DOC_DSK_IN) $(distdir)/$(notdir $(_DOC_DSK_IN))"; \ $(INSTALL_DATA) "$$d$(_DOC_DSK_IN)" "$(distdir)/$(notdir $(_DOC_DSK_IN))" ################################################################################ ## Check .PHONY: check-doc-docs check-doc-omf check: \ $(if $(DOC_MODULE),check-doc-docs) \ $(if $(DOC_ID),check-doc-pages) \ $(if $(_DOC_OMF_IN),check-doc-omf) check-doc-docs: $(_DOC_C_DOCS) $(_DOC_LC_DOCS) @for lc in C $(_DOC_REAL_LINGUAS); do \ if test -f "$$lc"; \ then d=; \ xmlpath="$$lc"; \ else \ d="$(srcdir)/"; \ xmlpath="$$lc:$(srcdir)/$$lc"; \ fi; \ echo "xmllint --noout --noent --path $$xmlpath --xinclude --postvalid $$d$$lc/$(DOC_MODULE).xml"; \ xmllint --noout --noent --path "$$xmlpath" --xinclude --postvalid "$$d$$lc/$(DOC_MODULE).xml"; \ done check-doc-pages: $(_DOC_C_PAGES) $(_DOC_LC_PAGES) for lc in C $(_DOC_REAL_LINGUAS); do \ if test -f "$$lc"; \ then d=; \ xmlpath="$$lc"; \ else \ d="$(srcdir)/"; \ xmlpath="$$lc:$(srcdir)/$$lc"; \ fi; \ for page in $(DOC_PAGES); do \ echo "xmllint --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \ xmllint --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \ done; \ done check-doc-omf: $(_DOC_OMF_ALL) @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \ echo "xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf"; \ xmllint --noout --xinclude --dtdvalid 'http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd' $$omf; \ done ################################################################################ ## Install .PHONY: install-doc-docs install-doc-html install-doc-figs install-doc-omf install-doc-dsk _doc_install_dir = $(if $(DOC_ID),$(DOC_ID),$(DOC_MODULE)) install-data-local: \ $(if $(DOC_MODULE)$(DOC_ID),install-doc-docs) \ $(if $(_DOC_HTML_ALL),install-doc-html) \ $(if $(_DOC_C_FIGURES),install-doc-figs) \ $(if $(_DOC_OMF_IN),install-doc-omf) # $(if $(_DOC_DSK_IN),install-doc-dsk) install-doc-docs: @for lc in C $(_DOC_REAL_LINGUAS); do \ echo "$(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc"; \ $(mkinstalldirs) $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$lc; \ done @list='$(_DOC_C_DOCS)'; for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \ if ! test -d "$$docdir"; then \ echo "$(mkinstalldirs) $$docdir"; \ $(mkinstalldirs) "$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \ done @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \ if test -f "$$doc"; then d=; else d="$(srcdir)/"; fi; \ docdir="$$lc/"`echo $$doc | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ docdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$docdir"; \ if ! test -d "$$docdir"; then \ echo "$(mkinstalldirs) $$docdir"; \ $(mkinstalldirs) "$$docdir"; \ fi; \ echo "$(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ $(INSTALL_DATA) $$d$$doc $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc; \ done install-doc-figs: @list='$(patsubst C/%,%,$(_DOC_C_FIGURES))'; for fig in $$list; do \ for lc in C $(_DOC_REAL_LINGUAS); do \ figsymlink=false; \ if test -f "$$lc/$$fig"; then \ figfile="$$lc/$$fig"; \ elif test -f "$(srcdir)/$$lc/$$fig"; then \ figfile="$(srcdir)/$$lc/$$fig"; \ else \ figsymlink=true; \ fi; \ figdir="$$lc/"`echo $$fig | sed -e 's/^\(.*\/\).*/\1/' -e '/\//!s/.*//'`; \ figdir="$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$figdir"; \ if ! test -d "$$figdir"; then \ echo "$(mkinstalldirs) $$figdir"; \ $(mkinstalldirs) "$$figdir"; \ fi; \ figbase=`echo $$fig | sed -e 's/^.*\///'`; \ if $$figsymlink; then \ echo "cd $$figdir && $(LN_S) -f ../../C/$$fig $$figbase"; \ ( cd "$$figdir" && $(LN_S) -f "../../C/$$fig" "$$figbase" ); \ else \ echo "$(INSTALL_DATA) $$figfile $$figdir$$figbase"; \ $(INSTALL_DATA) "$$figfile" "$$figdir$$figbase"; \ fi; \ done; \ done install-doc-html: echo install-html install-doc-omf: $(mkinstalldirs) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir) @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \ echo "$(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ $(INSTALL_DATA) $$omf $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf; \ done @if test "x$(_ENABLE_SK)" = "xtrue"; then \ echo "scrollkeeper-update -p $(DESTDIR)$(_sklocalstatedir) -o $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \ scrollkeeper-update -p "$(DESTDIR)$(_sklocalstatedir)" -o "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)"; \ fi; install-doc-dsk: echo install-dsk ################################################################################ ## Uninstall .PHONY: uninstall-doc-docs uninstall-doc-html uninstall-doc-figs uninstall-doc-omf uninstall-doc-dsk uninstall-local: \ $(if $(DOC_MODULE)$(DOC_ID),uninstall-doc-docs) \ $(if $(_DOC_HTML_ALL),uninstall-doc-html) \ $(if $(_DOC_C_FIGURES),uninstall-doc-figs) \ $(if $(_DOC_OMF_IN),uninstall-doc-omf) # $(if $(_DOC_DSK_IN),uninstall-doc-dsk) uninstall-doc-docs: @list='$(_DOC_C_DOCS)'; for doc in $$list; do \ echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ done @list='$(_DOC_LC_DOCS)'; for doc in $$list; do \ echo " rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$doc"; \ done uninstall-doc-figs: @list='$(_DOC_C_FIGURES) $(_DOC_LC_FIGURES)'; for fig in $$list; do \ echo "rm -f $(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \ rm -f "$(DESTDIR)$(HELP_DIR)/$(_doc_install_dir)/$$fig"; \ done; uninstall-doc-omf: @list='$(_DOC_OMF_ALL)'; for omf in $$list; do \ if test "x$(_ENABLE_SK)" = "xtrue"; then \ echo "scrollkeeper-uninstall -p $(_sklocalstatedir) $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ scrollkeeper-uninstall -p "$(_sklocalstatedir)" "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ fi; \ echo "rm -f $(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ rm -f "$(DESTDIR)$(OMF_DIR)/$(_doc_install_dir)/$$omf"; \ done moserial-3.0.8/xmldocs.make0000674000213200021320000000615411724215623012570 00000000000000# # No modifications of this Makefile should be necessary. # # To use this template: # 1) Define: figdir, docname, lang, omffile, and entities in # your Makefile.am file for each document directory, # although figdir, omffile, and entities may be empty # 2) Make sure the Makefile in (1) also includes # "include $(top_srcdir)/xmldocs.make" and # "dist-hook: app-dist-hook". # 3) Optionally define 'entities' to hold xml entities which # you would also like installed # 4) Figures must go under $(figdir)/ and be in PNG format # 5) You should only have one document per directory # 6) Note that the figure directory, $(figdir)/, should not have its # own Makefile since this Makefile installs those figures. # # example Makefile.am: # figdir = figures # docname = scrollkeeper-manual # lang = C # omffile=scrollkeeper-manual-C.omf # entities = fdl.xml # include $(top_srcdir)/xmldocs.make # dist-hook: app-dist-hook # # About this file: # This file was taken from scrollkeeper_example2, a package illustrating # how to install documentation and OMF files for use with ScrollKeeper # 0.3.x and 0.4.x. For more information, see: # http://scrollkeeper.sourceforge.net/ # Version: 0.1.2 (last updated: March 20, 2002) # # ********** Begin of section some packagers may need to modify ********** # This variable (docdir) specifies where the documents should be installed. # This default value should work for most packages. docdir = $(datadir)/gnome/help/$(docname)/$(lang) # ********** You should not have to edit below this line ********** xml_files = $(entities) $(docname).xml EXTRA_DIST = $(xml_files) $(omffile) CLEANFILES = omf_timestamp include $(top_srcdir)/omf.make all: omf $(docname).xml: $(entities) -ourdir=`pwd`; \ cd $(srcdir); \ cp $(entities) $$ourdir app-dist-hook: if test "$(figdir)"; then \ $(mkinstalldirs) $(distdir)/$(figdir); \ for file in $(srcdir)/$(figdir)/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ $(INSTALL_DATA) $$file $(distdir)/$(figdir)/$$basefile; \ done \ fi install-data-local: omf $(mkinstalldirs) $(DESTDIR)$(docdir) for file in $(xml_files); do \ cp $(srcdir)/$$file $(DESTDIR)$(docdir); \ done if test "$(figdir)"; then \ $(mkinstalldirs) $(DESTDIR)$(docdir)/$(figdir); \ for file in $(srcdir)/$(figdir)/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ $(INSTALL_DATA) $$file $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \ done \ fi install-data-hook: install-data-hook-omf uninstall-local: uninstall-local-doc uninstall-local-omf uninstall-local-doc: -if test "$(figdir)"; then \ for file in $(srcdir)/$(figdir)/*.png; do \ basefile=`echo $$file | sed -e 's,^.*/,,'`; \ rm -f $(DESTDIR)$(docdir)/$(figdir)/$$basefile; \ done; \ rmdir $(DESTDIR)$(docdir)/$(figdir); \ fi -for file in $(xml_files); do \ rm -f $(DESTDIR)$(docdir)/$$file; \ done -rmdir $(DESTDIR)$(docdir) clean-local: clean-local-doc clean-local-omf # for non-srcdir builds, remove the copied entities. clean-local-doc: if test $(srcdir) != .; then \ rm -f $(entities); \ fi moserial-3.0.8/omf.make0000674000213200021320000000435011724215622011673 00000000000000# # No modifications of this Makefile should be necessary. # # This file contains the build instructions for installing OMF files. It is # generally called from the makefiles for particular formats of documentation. # # Note that you must configure your package with --localstatedir=/var # so that the scrollkeeper-update command below will update the database # in the standard scrollkeeper directory. # # If it is impossible to configure with --localstatedir=/var, then # modify the definition of scrollkeeper_localstate_dir so that # it points to the correct location. Note that you must still use # $(localstatedir) in this or when people build RPMs it will update # the real database on their system instead of the one under RPM_BUILD_ROOT. # # Note: This make file is not incorporated into xmldocs.make because, in # general, there will be other documents install besides XML documents # and the makefiles for these formats should also include this file. # # About this file: # This file was derived from scrollkeeper_example2, a package # illustrating how to install documentation and OMF files for use with # ScrollKeeper 0.3.x and 0.4.x. For more information, see: # http://scrollkeeper.sourceforge.net/ # Version: 0.1.3 (last updated: March 20, 2002) # omf_dest_dir=$(datadir)/omf/@PACKAGE@ scrollkeeper_localstate_dir = $(localstatedir)/scrollkeeper # At some point, it may be wise to change to something like this: # scrollkeeper_localstate_dir = @SCROLLKEEPER_STATEDIR@ omf: omf_timestamp omf_timestamp: $(omffile) -for file in $(omffile); do \ scrollkeeper-preinstall $(docdir)/$(docname).xml $(srcdir)/$$file $$file.out; \ done; \ touch omf_timestamp install-data-hook-omf: $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir) for file in $(omffile); do \ $(INSTALL_DATA) $$file.out $(DESTDIR)$(omf_dest_dir)/$$file; \ done -scrollkeeper-update -p $(DESTDIR)$(scrollkeeper_localstate_dir) -o $(DESTDIR)$(omf_dest_dir) uninstall-local-omf: -for file in $(srcdir)/*.omf; do \ basefile=`basename $$file`; \ rm -f $(DESTDIR)$(omf_dest_dir)/$$basefile; \ done -rmdir $(DESTDIR)$(omf_dest_dir) -scrollkeeper-update -p $(DESTDIR)$(scrollkeeper_localstate_dir) clean-local-omf: -for file in $(omffile); do \ rm -f $$file.out; \ done moserial-3.0.8/intltool-merge.in0000674000213200021320000000000011777333243013540 00000000000000moserial-3.0.8/intltool-update.in0000674000213200021320000000000011777333243013723 00000000000000moserial-3.0.8/intltool-extract.in0000674000213200021320000000000011777333243014113 00000000000000moserial-3.0.8/mkinstalldirs0000774000213200021320000000672211777333247013100 00000000000000#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2009-04-28.21; # UTC # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' IFS=" "" $nl" errstatus=0 dirmode= usage="\ Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ... Create each directory DIR (with mode MODE, if specified), including all leading file name components. Report bugs to ." # process command line arguments while test $# -gt 0 ; do case $1 in -h | --help | --h*) # -h for help echo "$usage" exit $? ;; -m) # -m PERM arg shift test $# -eq 0 && { echo "$usage" 1>&2; exit 1; } dirmode=$1 shift ;; --version) echo "$0 $scriptversion" exit $? ;; --) # stop option processing shift break ;; -*) # unknown option echo "$usage" 1>&2 exit 1 ;; *) # first non-opt arg break ;; esac done for file do if test -d "$file"; then shift else break fi done case $# in 0) exit 0 ;; esac # Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and # mkdir -p a/c at the same time, both will detect that a is missing, # one will create a, then the other will try to create a and die with # a "File exists" error. This is a problem when calling mkinstalldirs # from a parallel make. We use --version in the probe to restrict # ourselves to GNU mkdir, which is thread-safe. case $dirmode in '') if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -p -- $*" exec mkdir -p -- "$@" else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. test -d ./-p && rmdir ./-p test -d ./--version && rmdir ./--version fi ;; *) if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 && test ! -d ./--version; then echo "mkdir -m $dirmode -p -- $*" exec mkdir -m "$dirmode" -p -- "$@" else # Clean up after NextStep and OpenStep mkdir. for d in ./-m ./-p ./--version "./$dirmode"; do test -d $d && rmdir $d done fi ;; esac for file do case $file in /*) pathcomp=/ ;; *) pathcomp= ;; esac oIFS=$IFS IFS=/ set fnord $file shift IFS=$oIFS for d do test "x$d" = x && continue pathcomp=$pathcomp$d case $pathcomp in -*) pathcomp=./$pathcomp ;; esac if test ! -d "$pathcomp"; then echo "mkdir $pathcomp" mkdir "$pathcomp" || lasterr=$? if test ! -d "$pathcomp"; then errstatus=$lasterr else if test ! -z "$dirmode"; then echo "chmod $dirmode $pathcomp" lasterr= chmod "$dirmode" "$pathcomp" || lasterr=$? if test ! -z "$lasterr"; then errstatus=$lasterr fi fi fi fi pathcomp=$pathcomp/ done done exit $errstatus # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: moserial-3.0.8/missing0000774000213200021320000002415211777333247011666 00000000000000#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2012-01-06.13; # UTC # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, # 2008, 2009, 2010, 2011, 2012 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, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file yacc create \`y.tab.[ch]', if possible, from existing .[ch] Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and \`g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # normalize program name to check for. program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). This is about non-GNU programs, so use $1 not # $program. case $1 in lex*|yacc*) # Not GNU programs, they don't have --version. ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi if test ! -f y.tab.h; then echo >y.tab.h fi if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if test $# -ne 1; then eval LASTARG=\${$#} case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit $? fi ;; makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n "$sed_output"` test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n ' /^@setfilename/{ s/.* \([^ ]*\) *$/\1/ p q }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: moserial-3.0.8/ltmain.sh0000674000213200021320000105152211777333243012107 00000000000000 # libtool (GNU libtool) 2.4.2 # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, # 2007, 2008, 2009, 2010, 2011 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. # GNU Libtool 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. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, # or obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Usage: $progname [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 # --mode=MODE use operation mode MODE # --preserve-dup-deps don't remove duplicate dependency libraries # --quiet, --silent don't print informational messages # --no-quiet, --no-silent # print informational messages (default) # --no-warn don't display warning messages # --tag=TAG use configuration variables from tag TAG # -v, --verbose print more informational messages than default # --no-verbose don't print the extra informational messages # --version print version information # -h, --help, --help-all print short, long, or detailed help message # # MODE must be one of the following: # # clean remove files from the build directory # compile compile a source file into a libtool object # execute automatically set library path, then run a program # finish complete the installation of libtool libraries # install install libraries or executables # link create a library or an executable # uninstall remove libraries from an installed directory # # MODE-ARGS vary depending on the MODE. When passed as first option, # `--mode=MODE' may be abbreviated as `MODE' or a unique abbreviation of that. # Try `$progname --help --mode=MODE' for a more detailed description of MODE. # # When reporting a bug, please describe a test case to reproduce it and # include the following information: # # host-triplet: $host # shell: $SHELL # compiler: $LTCC # compiler flags: $LTCFLAGS # linker: $LD (gnu? $with_gnu_ld) # $progname: (GNU libtool) 2.4.2 # automake: $automake_version # autoconf: $autoconf_version # # Report bugs to . # GNU libtool home page: . # General help using GNU software: . PROGRAM=libtool PACKAGE=libtool VERSION=2.4.2 TIMESTAMP="" package_revision=1.3337 # 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+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # NLS nuisances: We save the old values to restore during execute mode. lt_user_locale= lt_safe_locale= for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${$lt_var+set}\" = set; then save_$lt_var=\$$lt_var $lt_var=C export $lt_var lt_user_locale=\"$lt_var=\\\$save_\$lt_var; \$lt_user_locale\" lt_safe_locale=\"$lt_var=C; \$lt_safe_locale\" fi" done LC_ALL=C LANGUAGE=C export LANGUAGE LC_ALL $lt_unset CDPATH # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" : ${CP="cp -f"} test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} : ${Xsed="$SED -e 1s/^X//"} # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. exit_status=$EXIT_SUCCESS # Make sure IFS has a sensible default lt_nl=' ' IFS=" $lt_nl" dirname="s,/[^/]*$,," basename="s,^.*/,," # func_dirname file append nondir_replacement # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. func_dirname () { func_dirname_result=`$ECHO "${1}" | $SED "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi } # func_dirname may be replaced by extended shell implementation # func_basename file func_basename () { func_basename_result=`$ECHO "${1}" | $SED "$basename"` } # func_basename may be replaced by extended shell implementation # func_dirname_and_basename file append nondir_replacement # perform func_basename and func_dirname in a single function # call: # dirname: Compute the dirname of FILE. If nonempty, # add APPEND to the result, otherwise set result # to NONDIR_REPLACEMENT. # value returned in "$func_dirname_result" # basename: Compute filename of FILE. # value retuned in "$func_basename_result" # Implementation must be kept synchronized with func_dirname # and func_basename. For efficiency, we do not delegate to # those functions but instead duplicate the functionality here. func_dirname_and_basename () { # Extract subdirectory from the argument. func_dirname_result=`$ECHO "${1}" | $SED -e "$dirname"` if test "X$func_dirname_result" = "X${1}"; then func_dirname_result="${3}" else func_dirname_result="$func_dirname_result${2}" fi func_basename_result=`$ECHO "${1}" | $SED -e "$basename"` } # func_dirname_and_basename may be replaced by extended shell implementation # func_stripname prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # func_strip_suffix prefix name func_stripname () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname may be replaced by extended shell implementation # These SED scripts presuppose an absolute path with a trailing slash. pathcar='s,^/\([^/]*\).*$,\1,' pathcdr='s,^/[^/]*,,' removedotparts=':dotsl s@/\./@/@g t dotsl s,/\.$,/,' collapseslashes='s@/\{1,\}@/@g' finalslash='s,/*$,/,' # func_normal_abspath PATH # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. # value returned in "$func_normal_abspath_result" func_normal_abspath () { # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$removedotparts" -e "$collapseslashes" -e "$finalslash"` while :; do # Processed it all yet? if test "$func_normal_abspath_tpath" = / ; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result" ; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_normal_abspath_result=$func_normal_abspath_result/$func_normal_abspath_tcomponent ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_relative_path SRCDIR DSTDIR # generates a relative path from SRCDIR to DSTDIR, with a trailing # slash if non-empty, suitable for immediately appending a filename # without needing to append a separator. # value returned in "$func_relative_path_result" func_relative_path () { func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=${func_dirname_result} if test "x$func_relative_path_tlibdir" = x ; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test "x$func_stripname_result" != x ; then func_relative_path_result=${func_relative_path_result}/${func_stripname_result} fi # Normalisation. If bindir is libdir, return empty string, # else relative path ending with a slash; either way, target # file name can be directly appended. if test ! -z "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result/" func_relative_path_result=$func_stripname_result fi } # The name of this program: func_dirname_and_basename "$progpath" progname=$func_basename_result # Make sure we have an absolute path for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=$func_dirname_result progdir=`cd "$progdir" && pwd` progpath="$progdir/$progname" ;; *) save_IFS="$IFS" IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS="$save_IFS" test -x "$progdir/$progname" && break done IFS="$save_IFS" test -n "$progdir" || progdir=`pwd` progpath="$progdir/$progname" ;; esac # 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='s/\([`"$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' # Sed substitution that converts a w32 file name or path # which contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. lt_sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$' # in input to double_quote_subst, that '$' was protected from expansion. # Since each input `\' is now two `\'s, look for any number of runs of # four `\'s followed by two `\'s and then a '$'. `\' that '$'. bs='\\' bs2='\\\\' bs4='\\\\\\\\' dollar='\$' sed_double_backslash="\ s/$bs4/&\\ /g s/^$bs2$dollar/$bs&/ s/\\([^$bs]\\)$bs2$dollar/\\1$bs2$bs$dollar/g s/\n//g" # Standard options: opt_dry_run=false opt_help=false opt_quiet=false opt_verbose=false opt_warning=: # func_echo arg... # Echo program name prefixed message, along with the current mode # name if it has been set yet. func_echo () { $ECHO "$progname: ${opt_mode+$opt_mode: }$*" } # func_verbose arg... # Echo program name prefixed message in verbose mode only. func_verbose () { $opt_verbose && func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_error arg... # Echo program name prefixed message to standard error. func_error () { $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2 } # func_warning arg... # Echo program name prefixed warning message to standard error. func_warning () { $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2 # bash bug again: : } # func_fatal_error arg... # Echo program name prefixed message to standard error, and exit. func_fatal_error () { func_error ${1+"$@"} exit $EXIT_FAILURE } # func_fatal_help arg... # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { func_error ${1+"$@"} func_fatal_error "$help" } help="Try \`$progname --help' for more information." ## default # func_grep expression filename # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $GREP "$1" "$2" >/dev/null 2>&1 } # func_mkdir_p directory-path # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { my_directory_path="$1" my_dir_list= if test -n "$my_directory_path" && test "$opt_dry_run" != ":"; then # Protect directory names starting with `-' case $my_directory_path in -*) my_directory_path="./$my_directory_path" ;; esac # While some portion of DIR does not yet exist... while test ! -d "$my_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. my_dir_list="$my_directory_path:$my_dir_list" # If the last portion added has no slash in it, the list is done case $my_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop my_directory_path=`$ECHO "$my_directory_path" | $SED -e "$dirname"` done my_dir_list=`$ECHO "$my_dir_list" | $SED 's,:*$,,'` save_mkdir_p_IFS="$IFS"; IFS=':' for my_dir in $my_dir_list; do IFS="$save_mkdir_p_IFS" # mkdir can fail with a `File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$my_dir" 2>/dev/null || : done IFS="$save_mkdir_p_IFS" # Bail out if we (or some other process) failed to create a directory. test -d "$my_directory_path" || \ func_fatal_error "Failed to create \`$1'" fi } # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$opt_dry_run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $MKDIR "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || \ func_fatal_error "cannot create temporary directory \`$my_tmpdir'" fi $ECHO "$my_tmpdir" } # func_quote_for_eval arg # Aesthetically quote ARG to be evaled later. # This function returns two values: FUNC_QUOTE_FOR_EVAL_RESULT # is double-quoted, suitable for a subsequent eval, whereas # FUNC_QUOTE_FOR_EVAL_UNQUOTED_RESULT has merely all characters # which are still active within double quotes backslashified. func_quote_for_eval () { case $1 in *[\\\`\"\$]*) func_quote_for_eval_unquoted_result=`$ECHO "$1" | $SED "$sed_quote_subst"` ;; *) func_quote_for_eval_unquoted_result="$1" ;; esac case $func_quote_for_eval_unquoted_result in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and and variable # expansion for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") func_quote_for_eval_result="\"$func_quote_for_eval_unquoted_result\"" ;; *) func_quote_for_eval_result="$func_quote_for_eval_unquoted_result" esac } # func_quote_for_expand arg # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { case $1 in *[\\\`\"]*) my_arg=`$ECHO "$1" | $SED \ -e "$double_quote_subst" -e "$sed_double_backslash"` ;; *) my_arg="$1" ;; esac case $my_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") my_arg="\"$my_arg\"" ;; esac func_quote_for_expand_result="$my_arg" } # func_show_eval cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$my_cmd" my_status=$? if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_show_eval_locale cmd [fail_exp] # Unless opt_silent is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { my_cmd="$1" my_fail_exp="${2-:}" ${opt_silent-false} || { func_quote_for_expand "$my_cmd" eval "func_echo $func_quote_for_expand_result" } if ${opt_dry_run-false}; then :; else eval "$lt_user_locale $my_cmd" my_status=$? eval "$lt_safe_locale" if test "$my_status" -eq 0; then :; else eval "(exit $my_status); $my_fail_exp" fi fi } # func_tr_sh # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED 's/^\([0-9]\)/_\1/; s/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_version # Echo version message to standard output and exit. func_version () { $opt_debug $SED -n '/(C)/!b go :more /\./!{ N s/\n# / / b more } :go /^# '$PROGRAM' (GNU /,/# warranty; / { s/^# // s/^# *$// s/\((C)\)[ 0-9,-]*\( [1-9][0-9]*\)/\1\2/ p }' < "$progpath" exit $? } # func_usage # Echo short help message to standard output and exit. func_usage () { $opt_debug $SED -n '/^# Usage:/,/^# *.*--help/ { s/^# // s/^# *$// s/\$progname/'$progname'/ p }' < "$progpath" echo $ECHO "run \`$progname --help | more' for full usage" exit $? } # func_help [NOEXIT] # Echo long help message to standard output and exit, # unless 'noexit' is passed as argument. func_help () { $opt_debug $SED -n '/^# Usage:/,/# Report bugs to/ { :print s/^# // s/^# *$// s*\$progname*'$progname'* s*\$host*'"$host"'* s*\$SHELL*'"$SHELL"'* s*\$LTCC*'"$LTCC"'* s*\$LTCFLAGS*'"$LTCFLAGS"'* s*\$LD*'"$LD"'* s/\$with_gnu_ld/'"$with_gnu_ld"'/ s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/ s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/ p d } /^# .* home page:/b print /^# General help using/b print ' < "$progpath" ret=$? if test -z "$1"; then exit $ret fi } # func_missing_arg argname # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $opt_debug func_error "missing argument for $1." exit_cmd=exit } # func_split_short_opt shortopt # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. func_split_short_opt () { my_sed_short_opt='1s/^\(..\).*$/\1/;q' my_sed_short_rest='1s/^..\(.*\)$/\1/;q' func_split_short_opt_name=`$ECHO "$1" | $SED "$my_sed_short_opt"` func_split_short_opt_arg=`$ECHO "$1" | $SED "$my_sed_short_rest"` } # func_split_short_opt may be replaced by extended shell implementation # func_split_long_opt longopt # Set func_split_long_opt_name and func_split_long_opt_arg shell # variables after splitting LONGOPT at the `=' sign. func_split_long_opt () { my_sed_long_opt='1s/^\(--[^=]*\)=.*/\1/;q' my_sed_long_arg='1s/^--[^=]*=//' func_split_long_opt_name=`$ECHO "$1" | $SED "$my_sed_long_opt"` func_split_long_opt_arg=`$ECHO "$1" | $SED "$my_sed_long_arg"` } # func_split_long_opt may be replaced by extended shell implementation exit_cmd=: magic="%%%MAGIC variable%%%" magic_exe="%%%MAGIC EXE variable%%%" # Global variables. nonopt= preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" extracted_archives= extracted_serial=0 # 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= # func_append var value # Append VALUE to the end of shell variable VAR. func_append () { eval "${1}=\$${1}\${2}" } # func_append may be replaced by extended shell implementation # func_append_quoted var value # Quote VALUE and append to the end of shell variable VAR, separated # by a space. func_append_quoted () { func_quote_for_eval "${2}" eval "${1}=\$${1}\\ \$func_quote_for_eval_result" } # func_append_quoted may be replaced by extended shell implementation # func_arith arithmetic-term... func_arith () { func_arith_result=`expr "${@}"` } # func_arith may be replaced by extended shell implementation # func_len string # STRING may not start with a hyphen. func_len () { func_len_result=`expr "${1}" : ".*" 2>/dev/null || echo $max_cmd_len` } # func_len may be replaced by extended shell implementation # func_lo2o object func_lo2o () { func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"` } # func_lo2o may be replaced by extended shell implementation # func_xform libobj-or-source func_xform () { func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'` } # func_xform may be replaced by extended shell implementation # func_fatal_configuration arg... # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func_error ${1+"$@"} func_error "See the $PACKAGE documentation for more information." func_fatal_error "Fatal configuration error." } # func_config # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # Display the features supported by this script. func_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 $? } # func_enable_tag tagname # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname="$1" re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf="/$re_begincf/,/$re_endcf/p" # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Option defaults: opt_debug=: opt_dry_run=false opt_config=false opt_preserve_dup_deps=false opt_features=false opt_finish=false opt_help=false opt_help_all=false opt_silent=: opt_warning=: opt_verbose=: opt_silent=false opt_verbose=false # Parse options once, thoroughly. This comes as soon as possible in the # script to make things like `--version' happen as quickly as we can. { # this just eases exit handling while test $# -gt 0; do opt="$1" shift case $opt in --debug|-x) opt_debug='set -x' func_echo "enabling shell trace mode" $opt_debug ;; --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) opt_config=: func_config ;; --dlopen|-dlopen) optarg="$1" opt_dlopen="${opt_dlopen+$opt_dlopen }$optarg" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) opt_features=: func_features ;; --finish) opt_finish=: set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help_all=: opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_mode="$optarg" case $optarg in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_silent=false func_append preserve_args " $opt" ;; --no-warning|--no-warn) opt_warning=false func_append preserve_args " $opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $opt" ;; --silent|--quiet) opt_silent=: func_append preserve_args " $opt" opt_verbose=false ;; --verbose|-v) opt_verbose=: func_append preserve_args " $opt" opt_silent=false ;; --tag) test $# = 0 && func_missing_arg $opt && break optarg="$1" opt_tag="$optarg" func_append preserve_args " $opt $optarg" func_enable_tag "$optarg" shift ;; -\?|-h) func_usage ;; --help) func_help ;; --version) func_version ;; # Separate optargs to long options: --*=*) func_split_long_opt "$opt" set dummy "$func_split_long_opt_name" "$func_split_long_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-n*|-v*) func_split_short_opt "$opt" set dummy "$func_split_short_opt_name" "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognized option \`$opt'" ;; *) set dummy "$opt" ${1+"$@"}; shift; break ;; esac done # Validate options: # save first non-option argument if test "$#" -gt 0; then nonopt="$opt" shift fi # preserve --debug test "$opt_debug" = : || func_append preserve_args " --debug" case $host in *cygwin* | *mingw* | *pw32* | *cegcc*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match if test "$build_libtool_libs" != yes && test "$build_old_libs" != yes; then func_fatal_configuration "not configured to build any kind of library" fi # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test "$opt_mode" != execute; then func_error "unrecognized option \`-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$progname --help --mode=$opt_mode' for more information." } # Bail if the options were screwed $exit_cmd $EXIT_FAILURE } ## ----------- ## ## Main. ## ## ----------- ## # func_lalib_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null \ | $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_unsafe_p file # True iff FILE is a libtool `.la' library or `.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if `file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case "$lalib_p_line" in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test "$lalib_p" = yes } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { func_lalib_p "$1" } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result="$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper" } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $opt_debug save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$save_ifs eval cmd=\"$cmd\" func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. func_source () { $opt_debug case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case "$lt_sysroot:$1" in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result="=$func_stripname_result" ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $opt_debug if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with \`--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=${1} if test "$build_libtool_libs" = yes; then write_lobj=\'${2}\' else write_lobj=none fi if test "$build_old_libs" = yes; then write_oldobj=\'${3}\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "${func_convert_core_file_wine_to_w32_tmp}"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$lt_sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $opt_debug # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result="" if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result" ; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result="$func_convert_core_file_wine_to_w32_result" else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $opt_debug if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: \`$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $opt_debug # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$lt_sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $opt_debug if test -z "$2" && test -n "$1" ; then func_error "Could not determine host file name corresponding to" func_error " \`$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result="$1" fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $opt_debug if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " \`$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result="$3" fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $opt_debug case $4 in $1 ) func_to_host_path_result="$3$func_to_host_path_result" ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via `$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $opt_debug $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $opt_debug case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result="$1" } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result="$func_convert_core_msys_to_w32_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result="$func_convert_core_file_wine_to_w32_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result="$func_cygpath_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $opt_debug func_to_host_file_result="$1" if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result="$func_cygpath_result" fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via `$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $opt_debug if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd="func_convert_path_${func_stripname_result}" fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $opt_debug func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result="$1" } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result="$func_convert_core_msys_to_w32_result" func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result="$func_convert_core_path_wine_to_w32_result" func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result="$func_cygpath_result" func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $opt_debug func_to_host_path_result="$1" if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result="$func_cygpath_result" func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_mode_compile arg... func_mode_compile () { $opt_debug # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify \`-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" func_append_quoted lastarg "$arg" done IFS="$save_ifs" func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with \`-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj="$func_basename_result" } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from \`$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name \`$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname="$func_basename_result" xdir="$func_dirname_result" lobj=${xdir}$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) 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 "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" else output_obj= 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 $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "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." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # 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 command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' 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." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test "$suppress_opt" = yes; then suppress_output=' >/dev/null 2>&1' fi 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 $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test "$compiler_c_o" = yes; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 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." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test "$need_locks" != no; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test "$opt_mode" = compile && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [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: $progname [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 -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a \`.o' file suitable for static linking -static only build a \`.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler 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: $progname [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: $progname [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: $progname [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 following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [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 -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -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 -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -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 -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) 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: $progname [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." ;; *) func_fatal_help "invalid operation mode \`$opt_mode'" ;; esac echo $ECHO "Try \`$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test "$opt_help" = :; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | sed -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | sed '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $opt_debug # The first argument is the command name. cmd="$nonopt" test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "\`$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "\`$file' was not linked with \`-export-dynamic'" continue fi func_dirname "$file" "" "." dir="$func_dirname_result" if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir="$func_dirname_result" ;; *) func_warning "\`-dlopen' is ignored for non-libtool libraries and objects" 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 -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file="$progdir/$program" elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if test "X$opt_dry_run" = Xfalse; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # 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 $EXIT_SUCCESS fi } test "$opt_mode" = execute && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $opt_debug libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "\`$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument \`$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and \`=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do sed -e "${sysroot_cmd} s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_silent && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then 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" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test "$opt_mode" = finish && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $opt_debug # 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. case $nonopt in *shtool*) :;; *) false;; esac; then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test "x$prev" = x-m && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the \`$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else func_dirname_and_basename "$dest" "" "." destdir="$func_dirname_result" destname="$func_basename_result" # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "\`$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "\`$destdir' must be an absolute directory name" ;; 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. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "\`$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir="$func_dirname_result" func_append 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 -e "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. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir" 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 func_warning "relinking \`$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname="$1" shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme="$stripme" case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme="" ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib="$destdir/$realname" func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name="$func_basename_result" instname="$dir/$name"i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append 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 func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest="$destfile" destfile= ;; *) func_fatal_help "cannot copy a libtool object to \`$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else func_basename "$file" destfile="$func_basename_result" destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script \`$wrapper'" finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile="$libdir/"`$ECHO "$lib" | $SED 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then func_warning "\`$lib' has not been installed in \`$libdir'" finalize=no fi done relink_command= func_source "$wrapper" outputname= if test "$fast_install" = no && test -n "$relink_command"; then $opt_dry_run || { if test "$finalize" = yes; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file="$func_basename_result" outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_silent || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink \`$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file="$outputname" else func_warning "cannot relink \`$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name="$func_basename_result" # Set up the ranlib parameters. oldlib="$destdir/$name" func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run \`$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test "$opt_mode" = install && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $opt_debug my_outputname="$1" my_originator="$2" my_pic_p="${3-no}" my_prefix=`$ECHO "$my_originator" | sed 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms="${my_outputname}S.c" else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${my_outputname}.nm" func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for \`$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then func_verbose "generating symbol list for \`$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from \`$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $opt_dry_run || { $RM $export_symbols eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from \`$dlprefile'" func_basename "$dlprefile" name="$func_basename_result" case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename="" if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname" ; then func_basename "$dlprefile_dlname" dlprefile_dlbasename="$func_basename_result" else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename" ; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # 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/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[]; LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = {\ { \"$my_originator\", (void *) 0 }," case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) 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*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) if test "X$my_pic_p" != Xno; then pic_flag_for_symtable=" $pic_flag" fi ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T"' # Transform the symbol file into the correct name. symfileobj="$output_objdir/${my_outputname}S.$objext" case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for \`$my_dlsyms'" ;; 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 "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $opt_debug win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s,.*,import, p q } }'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $opt_debug sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $opt_debug match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive which possess that section. Heuristic: eliminate # all those which have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $opt_debug func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $opt_debug func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $opt_debug if func_cygming_gnu_implib_p "$1" ; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1" ; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result="" fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $opt_debug f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" if test "$lock_old_archive_extraction" = yes; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test "$lock_old_archive_extraction" = yes; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $opt_debug my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib="$func_basename_result" my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir="$my_gentop/$my_xlib_u" func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`basename "$darwin_archive"` darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do func_mkdir_p "unfat-$$/${darwin_base_archive}-${darwin_arch}" $LIPO -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $RM "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory in which it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # 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. sed_quote_subst='$sed_quote_subst' # 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+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in *posix*) set -o posix;; esac fi BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' 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 file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ which is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options which match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"${outputname}:${output}:\${LINENO}: libtool wrapper (GNU $PACKAGE$TIMESTAMP) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"${outputname}:${output}:\${LINENO}: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED '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 \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $ECHO "\ 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 "\ # 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 "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # 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 \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include /* declarations of non-ANSI functions */ #if defined(__MINGW32__) # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined(__CYGWIN__) # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined (other platforms) ... */ #endif /* portability defines, excluding path handling macros */ #if defined(_MSC_VER) # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC # ifndef _INTPTR_T_DEFINED # define _INTPTR_T_DEFINED # define intptr_t int # endif #elif defined(__MINGW32__) # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined(__CYGWIN__) # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined (other platforms) ... */ #endif #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) #if defined(LT_DEBUGWRAPPER) static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (strcmp (str, pat) == 0) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else int len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { int orig_value_len = strlen (orig_value); int add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ int len = strlen (new_value); while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[len-1] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $opt_debug case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_mode_link arg... func_mode_link () { $opt_debug case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # 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 invocation. # 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 base_compile="$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= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=no prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module="${wl}-single_module" func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test "$build_libtool_libs" != yes && \ func_fatal_configuration "can not build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test "$build_libtool_libs" = yes && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_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 func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir="$arg" prev= continue ;; dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append 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 func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" test -f "$arg" \ || func_fatal_error "symbol file \`$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file \`$arg' does not exist" fi arg=$save_arg prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds="$arg" prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append 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 # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "\`-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir 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 func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework 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* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between \`-L' and \`$1'" else func_fatal_error "need path for \`-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of \`$dir'" dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module="${wl}-multi_module" continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "\`-no-install' is ignored for $host" func_warning "assuming \`-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # 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 ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS="$save_ifs" func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-flto*|-fwhopr*|-fuse-linker-plugin) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test "$pic_object" = none && test "$non_pic_object" = none; then func_fatal_error "cannot find name of object for \`$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir="$func_dirname_result" func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "\`$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test "$prev" = dlfiles; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" 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. func_quote_for_eval "$arg" arg="$func_quote_for_eval_result" ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the \`$prevarg' option requires an argument" if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname="$func_basename_result" libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\${$shlibpath_var}\" \| \$SED \'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\" func_dirname "$output" "/" "" output_objdir="$func_dirname_result$objdir" func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$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 $opt_preserve_dup_deps ; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi 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 dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file" ;; 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 # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test "$linkmode,$pass" = "lib,link"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs="$tmp_deplibs" fi if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS% $dependency_libs" ;; esac fi if test "$linkmode,$pass" = "lib,dlpreopen"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs="$dlprefiles" fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then func_warning "\`-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test "$linkmode" = lib; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done 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 else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no func_dirname "$lib" "" "." ladir="$func_dirname_result" lib=$ladir/$old_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 fi ;; *) ;; esac fi fi ;; # -l *.ltframework) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test "$linkmode" = lib ; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "\`-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; 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 use here." else echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi ;; esac 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" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then 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. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else func_fatal_error "cannot find the library \`$lib' or unhandled argument \`$deplib'" fi # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "\`$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir="$func_dirname_result" dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append 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 func_fatal_error "cannot find name of link library for \`$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" elif test "$linkmode" != prog && test "$linkmode" != lib; then func_fatal_error "\`$lib' is not a convenience library" fi tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test "$prefer_static_libs" = yes || test "$prefer_static_libs,$installed" = "built,no"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib="$l" done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for \`$lib'" fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then func_fatal_error "cannot -dlopen a convenience library: \`$lib'" 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. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append 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 func_warning "cannot determine absolute directory name of \`$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir="$ladir" fi ;; esac func_basename "$lib" laname="$func_basename_result" # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library \`$lib' was moved." dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$lt_sysroot$libdir" absdir="$lt_sysroot$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later func_append notinst_path " $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir" && test "$linkmode" = prog; then func_fatal_error "only libraries may -dlpreopen a convenience library: \`$lib'" fi case "$host" in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac 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" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then func_append 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*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; 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 $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { { test "$prefer_static_libs" = no || test "$prefer_static_libs,$installed" = "built,yes"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath:" in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # 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 "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac 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 fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test "$installed" = no; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule="" for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule="$dlpremoduletest" break fi done if test -z "$dlopenmodule" && test "$shouldnotlink" = yes && test "$pass" = link; then echo if test "$linkmode" = prog; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if 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 "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname="$1" 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* | mingw* | *cegcc*) func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" func_basename "$soroot" soname="$func_basename_result" func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from \`$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for \`$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' 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 "$opt_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" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we can not # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null ; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library" ; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add="$dir/$old_library" fi elif test -n "$old_library"; then add="$dir/$old_library" fi fi esac 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 && test "$hardcode_direct_absolute" = no; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$absdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; 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 func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append 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:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$opt_mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes && test "$hardcode_direct_absolute" = no; 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:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi 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 [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; 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 # 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 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*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs="$temp_deplibs" fi func_append 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" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps ; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path="$deplib" ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of \`$dir'" absdir="$dir" fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl" ; then depdepl="$absdir/$objdir/$depdepl" darwin_install_name=`${OTOOL} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`${OTOOL64} -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " ${wl}-dylib_file ${wl}${darwin_install_name}:${depdepl}" func_append linker_flags " -dylib_file ${darwin_install_name}:${depdepl}" path= fi fi ;; *) path="-L$absdir/$objdir" ;; esac else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "\`$deplib' seems to be moved" path="-L$absdir" fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test "$pass" = link; then if test "$linkmode" = "prog"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs="$newdependency_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 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 "*) ;; *) func_append 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 # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. 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 "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" fi if test "$linkmode" = prog || test "$linkmode" = lib; then dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "\`-R' is ignored for archives" test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "\`-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "\`-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test "$module" = no && \ func_fatal_help "libtool library \`$output' must begin with \`lib'" if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then func_fatal_error "cannot build libtool library \`$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test "$dlself" != no && \ func_warning "\`-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test "$#" -gt 1 && \ func_warning "ignoring multiple \`-rpath's for a libtool library" install_libdir="$1" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "\`-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "\`-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 shift IFS="$save_ifs" test -n "$7" && \ func_fatal_help "too many parameters to \`-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$1" number_minor="$2" number_revision="$3" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|qnx|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age="$number_minor" revision="$number_minor" lt_irix_increment=no ;; esac ;; no) current="$1" revision="$2" age="$3" ;; esac # 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]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT \`$current' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION \`$revision' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE \`$age' must be a nonnegative integer" func_fatal_error "\`$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE \`$age' is greater than the current interface number \`$current'" func_fatal_error "\`$vinfo' is not valid version information" 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 func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" 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) if test "X$lt_irix_increment" = "Xno"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result 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" -ne 0; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix="$major.$age.$revision" ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring="$verstring:${iface}.0" done # Make executables depend on our current version. func_append verstring ":${current}.0" ;; qnx) major=".$current" versuffix=".$current" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. func_arith $current - $age major=$func_arith_result versuffix="-$major" ;; *) func_fatal_configuration "unknown library version type \`$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= 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 func_warning "undefined symbols not allowed in $host shared libraries" build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi func_generate_dlsyms "$libname" "$libname" "yes" func_append libobjs " $symfileobj" test "X$libobjs" = "X " && libobjs= if test "$opt_mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append 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 "*) ;; *) func_append 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 "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then func_append 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 behavior. 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. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi 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 "$potlib" | $SED 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi done done fi 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 ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; 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 above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib="" break 2 fi done done fi 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 ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s,$i,,"` done fi case $tmp_deplibs in *[!\ \ ]*) 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 ;; esac ;; 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 with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** 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 # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs="$new_libs" # 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 # Remove ${wl} instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$opt_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 func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result 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"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append 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 func_append 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 "$opt_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 shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname="$1" shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols="$output_objdir/$libname.uexp" func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile if test "x`$SED 1q $export_symbols`" != xEXPORTS; then # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols="$export_symbols" export_symbols= always_export_symbols=yes fi fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd1 in $cmds; do IFS="$save_ifs" # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test "$try_normal_branch" = yes \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=${output_objdir}/${output_la}.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex" && test "X$skipped_export" != "X:"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test "X$skipped_export" != "X:" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test "$compiler_needs_object" = yes && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "$with_gnu_ld" = yes; then output=${output_objdir}/${output_la}.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test "X$skipped_export" != "X:" && test "X$file_list_spec" != X; then output=${output_objdir}/${output_la}.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test "$compiler_needs_object" = yes; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-${k}.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test "X$objlist" = X || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-${k}.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\${concat_cmds}$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\${concat_cmds}~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi if ${skipped_export-false}; then func_verbose "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi fi test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi if ${skipped_export-false}; then if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols="$export_symbols" test -n "$orig_export_symbols" && tmp_export_symbols="$orig_export_symbols" $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for \`$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi fi libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $opt_silent || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$opt_mode" = relink; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$opt_mode" = relink; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_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 "$dlfiles$dlprefiles" || test "$dlself" != no; then func_warning "\`-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "\`-l' and \`-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "\`-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "\`-R' is ignored for objects" test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for objects" test -n "$release" && \ func_warning "\`-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object \`$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $opt_dry_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 and hope we can get by with # turning comma into space.. wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" reload_conv_objs=$reload_objs\ `$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` else gentop="$output_objdir/${obj}x" func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test "$build_libtool_libs" != yes && libobjs="$non_pic_objects" # Create the old-style object. reload_objs="$objs$old_deplibs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.${libext}$/d; /\.lib$/d; $lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then func_show_eval '${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" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS 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" func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "\`-version-info' is ignored for programs" test -n "$release" && \ func_warning "\`-release' is ignored for programs" test "$preload" = yes \ && test "$dlopen_support" = unknown \ && test "$dlopen_self" = unknown \ && test "$dlopen_self_static" = unknown && \ func_warning "\`LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test "$tagname" = CXX ; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " ${wl}-bind_at_load" func_append finalize_command " ${wl}-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs="$new_libs" func_append compile_command " $compile_deplibs" func_append 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 "*) ;; *) func_append 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"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`${ECHO} "$libdir" | ${SED} -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; 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"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append 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 "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" "no" # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=yes case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=no ;; *cygwin* | *mingw* ) if test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; *) if test "$need_relink" = no || test "$build_libtool_libs" != yes; then wrappers_required=no fi ;; esac if test "$wrappers_required" = no; then # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.${objext}"; then func_show_eval '$RM "$output_objdir/${outputname}S.${objext}"' fi exit $exit_status 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 func_append 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 func_append 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 "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS 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" func_warning "this platform does not like uninstalled shared libraries" func_warning "\`$output' will be relinked during installation" else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED '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 "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "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}\" || $lt_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 func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host" ; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; 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 $symfileobj" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" if test "$preload" = yes && test -f "$symfileobj"; then func_append oldobjs " $symfileobj" fi fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop="$output_objdir/${outputname}x" func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase="$func_basename_result" case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" func_verbose "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}\" || $lt_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 func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { 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) func_basename "$deplib" name="$func_basename_result" func_resolve_sysroot "$deplib" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "\`$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name="$func_basename_result" eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "\`$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles="$newdlprefiles" fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test "x$bindir" != x ; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE$TIMESTAMP) $VERSION # # 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' # Linker flags that can not go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # 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 } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } { test "$opt_mode" = link || test "$opt_mode" = relink; } && func_mode_link ${1+"$@"} # func_mode_uninstall arg... func_mode_uninstall () { $opt_debug 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) func_append RM " $arg"; rmforce=yes ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir="$func_dirname_result" if test "X$dir" = X.; then odir="$objdir" else odir="$dir/$objdir" fi func_basename "$file" name="$func_basename_result" test "$opt_mode" = uninstall && odir="$dir" # Remember odir for removal later, being careful to avoid duplicates if test "$opt_mode" = clean; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; 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 func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case "$opt_mode" in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" 'test "$rmforce" = yes || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test "$pic_object" != none; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test "$non_pic_object" != none; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test "$opt_mode" = clean ; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name" ; then func_append rmfiles " $odir/lt-${noexename}.c" fi fi fi ;; esac func_show_eval "$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 func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } { test "$opt_mode" = uninstall || test "$opt_mode" = clean; } && func_mode_uninstall ${1+"$@"} test -z "$opt_mode" && { help="$generic_help" func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode \`$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: # vi:sw=2 moserial-3.0.8/install-sh0000774000213200021320000003325611777333247012300 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2011-01-19.21; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. nl=' ' IFS=" "" $nl" # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit=${DOITPROG-} if test -z "$doit"; then doit_exec=exec else doit_exec=$doit fi # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_glob='?' initialize_posix_glob=' test "$posix_glob" != "?" || { if (set -f) 2>/dev/null; then posix_glob= else posix_glob=: fi } ' posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false no_target_directory= usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *' '* | *' '* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for `test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else # Prefer dirname, but fall back on a substitute if dirname fails. dstdir=` (dirname "$dst") 2>/dev/null || expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$dst" : 'X\(//\)[^/]' \| \ X"$dst" : 'X\(//\)$' \| \ X"$dst" : 'X\(/\)' \| . 2>/dev/null || echo X"$dst" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q' ` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0 if (umask $mkdir_umask && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writeable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. ls_ld_tmpdir=`ls -ld "$tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/d" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac eval "$initialize_posix_glob" oIFS=$IFS IFS=/ $posix_glob set -f set fnord $dstdir shift $posix_glob set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && eval "$initialize_posix_glob" && $posix_glob set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && $posix_glob set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: moserial-3.0.8/depcomp0000774000213200021320000004755611777333247011661 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2011-12-04.11; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010, # 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile" # Add `dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mechanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test "$stat" = 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/ \1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/ / G p }' >> "$depfile" rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: moserial-3.0.8/config.sub0000774000213200021320000010471611777333247012257 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-01-01' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software # can handle that machine. It does not imply ALL GNU software can. # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Please send patches to . Submit a context # diff and a properly formatted GNU 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. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | be32 | be64 \ | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | epiphany \ | fido | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 \ | ns16k | ns32k \ | open8 \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; m6811 | m68hc11 | m6812 | m68hc12 | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx?-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze) basic_machine=microblaze-xilinx ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i386-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; 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 ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; 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 ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -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* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -kaos*) os=-kaos ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: moserial-3.0.8/config.guess0000774000213200021320000012716111777333247012613 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, # 2011, 2012 Free Software Foundation, Inc. timestamp='2012-01-01' # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA # 02110-1301, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Per Bothner. Please send patches (context # diff format) to and include a 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. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(/sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; i*:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; 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 -q ld.so.1 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-gnu else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-gnueabi else echo ${UNAME_MACHINE}-unknown-linux-gnueabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-gnu exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:Linux:*:*) LIBC=gnu eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #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; } ;; or32:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; padre:Linux:*:*) echo sparc-unknown-linux-gnu exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown case $UNAME_PROCESSOR in i386) eval $set_cc_for_build if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then UNAME_PROCESSOR="x86_64" fi fi ;; unknown) UNAME_PROCESSOR=powerpc ;; esac echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-?:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; esac #echo '(No uname command or uname output not recognized.)' 1>&2 #echo "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" 1>&2 eval $set_cc_for_build cat >$dummy.c < # include #endif main () { #if defined (sony) #if defined (MIPSEB) /* BFD wants "bsd" instead of "newsos". Perhaps BFD should be changed, I don't know.... */ printf ("mips-sony-bsd\n"); exit (0); #else #include printf ("m68k-sony-newsos%s\n", #ifdef NEWSOS4 "4" #else "" #endif ); exit (0); #endif #endif #if defined (__arm) && defined (__acorn) && defined (__unix) printf ("arm-acorn-riscix\n"); exit (0); #endif #if defined (hp300) && !defined (hpux) printf ("m68k-hp-bsd\n"); exit (0); #endif #if defined (NeXT) #if !defined (__ARCHITECTURE__) #define __ARCHITECTURE__ "m68k" #endif int version; version=`(hostinfo | sed -n 's/.*NeXT Mach \([0-9]*\).*/\1/p') 2>/dev/null`; if (version < 4) printf ("%s-next-nextstep%d\n", __ARCHITECTURE__, version); else printf ("%s-next-openstep%d\n", __ARCHITECTURE__, version); exit (0); #endif #if defined (MULTIMAX) || defined (n16) #if defined (UMAXV) printf ("ns32k-encore-sysv\n"); exit (0); #else #if defined (CMU) printf ("ns32k-encore-mach\n"); exit (0); #else printf ("ns32k-encore-bsd\n"); exit (0); #endif #endif #endif #if defined (__386BSD__) printf ("i386-pc-bsd\n"); exit (0); #endif #if defined (sequent) #if defined (i386) printf ("i386-sequent-dynix\n"); exit (0); #endif #if defined (ns32000) printf ("ns32k-sequent-dynix\n"); exit (0); #endif #endif #if defined (_SEQUENT_) struct utsname un; uname(&un); if (strncmp(un.version, "V2", 2) == 0) { printf ("i386-sequent-ptx2\n"); exit (0); } if (strncmp(un.version, "V1", 2) == 0) { /* XXX is V1 correct? */ printf ("i386-sequent-ptx1\n"); exit (0); } printf ("i386-sequent-ptx\n"); exit (0); #endif #if defined (vax) # if !defined (ultrix) # include # if defined (BSD) # if BSD == 43 printf ("vax-dec-bsd4.3\n"); exit (0); # else # if BSD == 199006 printf ("vax-dec-bsd4.3reno\n"); exit (0); # else printf ("vax-dec-bsd\n"); exit (0); # endif # endif # else printf ("vax-dec-bsd\n"); exit (0); # endif # else printf ("vax-dec-ultrix\n"); exit (0); # endif #endif #if defined (alliant) && defined (i860) printf ("i860-alliant-bsd\n"); exit (0); #endif exit (1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } # Apollos put the system type in the environment. test -d /usr/apollo && { echo ${ISP}-apollo-${SYSTYPE}; exit; } # Convex versions that predate uname can use getsysinfo(1) if [ -x /usr/convex/getsysinfo ] then case `getsysinfo -f cpu_type` in c1*) echo c1-convex-bsd exit ;; c2*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; c34*) echo c34-convex-bsd exit ;; c38*) echo c38-convex-bsd exit ;; c4*) echo c4-convex-bsd exit ;; esac fi cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: moserial-3.0.8/compile0000774000213200021320000001533711777333247011652 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-01-04.17; # UTC # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009, 2010, 2012 Free # Software Foundation, Inc. # Written by Tom Tromey . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l*) lib=${1#-l} found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes set x "$@" "$dir/$lib.dll.lib" break fi if test -f "$dir/$lib.lib"; then found=yes set x "$@" "$dir/$lib.lib" break fi done IFS=$save_IFS test "$found" != yes && set x "$@" "$lib.lib" shift ;; -L*) func_file_conv "${1#-L}" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: moserial-3.0.8/NEWS0000674000213200021320000000774312064106002010750 00000000000000Version 3.0.8 ------------- * Fixes segmentation fault on HexTextBuffer.vala Version 3.0.7 ------------- * Fixes to support compilation with vala 0.12, 0.14, and now 0.16. Version 3.0.6 ------------- * Fixes compilation with vala 0.14, but maintain 0.12 compatibility Version 3.0.5 ------------- * support ttyACM device names Version 3.0.4 ------------- * Fixed non-functional recording timeout spinbutton Version 3.0.3 ------------- * fixed over-active file writing in record mode Version 3.0.2 ------------- * support BSD device names * better recent-file handling/filtering Version 3.0.1 ------------- * fixed broken install Version 3.0.0 ------------- * updated for vala 0.12.x * migrated to gtk3 * migrated from libglade to gtk-builder * minor fixes and doc updates * Basic UI and functionality is mostly unchanged Version 2.32.1 -------------- * Build fixes for current vala: - Profile.vala: proper string-to-char conversion - InputParser.vala: make error as public as the function - MainWindow.vala: don't define and pass unused out parameters Version 2.32.0 -------------- * Build fixes for current vala: - replaced Action with less ambiguous Gtk.Action - added missing catch statments for exceptions - updated signal connect/disconnect syntax - updated constructors to new syntax - fixed runtime warnings in rz/szwrapper * Updated translations: - Spanish (es) - Brazilian Portuguese (pt_BR) - Slovenian (sl) - Danish (da) - Simplified Chinese (zh_CN) - Galician (gl) Version 2.30.0 -------------- * Fixed glade file so icons + text labels appear in toolbar * Updated translations: - Chinese (zh_CN) - Korean (ko) - Norwegian Bokmål (nb) - Galician (gl) - French (fr) Version 2.29.0 -------------- * Shortened some tooltips (bug 609067) * Updated translations: - Czech (cs) - Danish (da) - German (de) - Slovenian (sl) - Spanish (es) Version 2.28.3 -------------- * build fixes for ever-shifting vala Version 2.28.2 -------------- * Config.vapi was missing from the tar files * Updated GPLv3 boilerplate text Version 2.28.1 -------------- * Added copyright notices * Added a man page * Updated translations: - Czech (cs) - German (de) - Slovenian (sl) Version 2.28.0 -------------- * Minor vala fixes for compile issues, crashes Version 2.27.5 -------------- * Fixed bug 588022 - Fixes to compile with Vala 0.7.x Version 2.27.4 -------------- * Fixed bug 591473. Re-populate port list every time the settings dialog is opened. Version 2.27.3 -------------- * The correct gtk requirement is 2.14.0 Version 2.27.2 -------------- * Fixed a typo in the 921600 baud rate * Added 1M and 2M baud rates, suitable for the Arduino board Updated translations: - French (fr) Version 2.26.1 -------------- * Actually make i18n work (bug 583046) Updated translations: - German (de) - Spanish (es) - Brazilian Portuguese (pt_BR) Updated docs: - German (de) Version 2.26.0 -------------- * Call this 2.26.0, to align with gnome versioning. * Added ESC as a termination character. * Pressing the escape key now scrolls all text boxes to their end, and moves the focus to the entry box. Version 1.0.8 ------------- * Added a recent files chooser submenu. * Show recording filename in window title. * Added support for /dev/rfcomm ports. New translation: Spanish (es) Updated docs: Swedish (sv) Version 1.0.7 ------------- * Make the entrybox grab the focus when the user presses Escape. * Added link to our new bugzilla product. Updated translations: German (de) Version 1.0.6 ------------- * Re-added missing disconnect and stop-recording button labels * Fixed some nuisance compiler warnings Version 1.0.5 ------------- * Fixed HEX input entry. * Validate all characters shown in the text views. * Switch to HEX views when HEX input mode is set. Version 1.0.4 ------------- * First release from gnome repos. * HIG fixes in the Settings and Preferences dialogs. Updated translations: Swedish (sv) moserial-3.0.8/INSTALL0000674000213200021320000003633211724215655011317 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without warranty of any kind. Basic Installation ================== Briefly, the shell commands `./configure; make; make install' should configure, build, and install this package. The following more-detailed instructions are generic; see the `README' file for instructions specific to this package. Some packages provide this `INSTALL' file but do not implement all of the features documented below. The lack of an optional feature in a given package is not necessarily a bug. More recommendations for GNU packages can be found in *note Makefile Conventions: (standards)Makefile Conventions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. Caching is disabled by default to prevent problems with accidental use of stale cache files. If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. Running `configure' might take a while. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package, generally using the just-built uninstalled binaries. 4. Type `make install' to install the programs and any data files and documentation. When installing into a prefix owned by root, it is recommended that the package be configured and built as a regular user, and only the `make install' phase executed with root privileges. 5. Optionally, type `make installcheck' to repeat any self-tests, but this time using the binaries in their final installed location. This target does not install anything. Running this target as a regular user, particularly if the prior `make install' required root privileges, verifies that the installation completed correctly. 6. 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. 7. Often, you can also type `make uninstall' to remove the installed files again. In practice, not all packages have tested that uninstallation works correctly, even though it is required by the GNU Coding Standards. 8. Some packages, particularly those that use Automake, provide `make distcheck', which can by used by developers to test that all other targets like `make install' and `make uninstall' work correctly. This target is generally not run by end users. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c99 CFLAGS=-g LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you can use GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. This is known as a "VPATH" build. With a non-GNU `make', it is safer to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. On MacOS X 10.5 and later systems, you can create libraries and executables that work on multiple system types--known as "fat" or "universal" binaries--by specifying multiple `-arch' options to the compiler but only a single `-arch' option to the preprocessor. Like this: ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ CPP="gcc -E" CXXCPP="g++ -E" This is not guaranteed to produce working output in all cases, you may have to build one architecture at a time and combine the results using the `lipo' tool if you have problems. Installation Names ================== By default, `make install' installs the package's commands under `/usr/local/bin', include files under `/usr/local/include', etc. You can specify an installation prefix other than `/usr/local' by giving `configure' the option `--prefix=PREFIX', where PREFIX must be an absolute file name. You can specify separate installation prefixes for architecture-specific files and architecture-independent files. If you pass the option `--exec-prefix=PREFIX' to `configure', the package uses PREFIX as the prefix for installing programs and libraries. Documentation and other data files still use the regular prefix. In addition, if you use an unusual directory layout you can give options like `--bindir=DIR' to specify different values for particular kinds of files. Run `configure --help' for a list of the directories you can set and what kinds of files go in them. In general, the default for these options is expressed in terms of `${prefix}', so that specifying just `--prefix' will affect all of the other directory specifications that were not explicitly provided. The most portable way to affect installation locations is to pass the correct locations to `configure'; however, many packages provide one or both of the following shortcuts of passing variable assignments to the `make install' command line to change installation locations without having to reconfigure or recompile. The first method involves providing an override variable for each affected directory. For example, `make install prefix=/alternate/directory' will choose an alternate location for all directory configuration variables that were expressed in terms of `${prefix}'. Any directories that were specified during `configure', but not in terms of `${prefix}', must each be overridden at install time for the entire installation to be relocated. The approach of makefile variable overrides for each directory variable is required by the GNU Coding Standards, and ideally causes no recompilation. However, some platforms have known limitations with the semantics of shared libraries that end up requiring recompilation when using this method, particularly noticeable in packages that use GNU Libtool. The second method involves providing the `DESTDIR' variable. For example, `make install DESTDIR=/alternate/directory' will prepend `/alternate/directory' before all installation names. The approach of `DESTDIR' overrides is not required by the GNU Coding Standards, and does not work on platforms that have drive letters. On the other hand, it does better at avoiding recompilation issues, and works well even when some directory options were not specified in terms of `${prefix}' at `configure' time. Optional Features ================= 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'. 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. Some packages offer the ability to configure how verbose the execution of `make' will be. For these packages, running `./configure --enable-silent-rules' sets the default to minimal output, which can be overridden with `make V=1'; while running `./configure --disable-silent-rules' sets the default to verbose, which can be overridden with `make V=0'. Particular systems ================== On HP-UX, the default C compiler is not ANSI C compatible. If GNU CC is not installed, it is recommended to use the following options in order to use an ANSI C compiler: ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" and if that doesn't work, install pre-built binaries of GCC for HP-UX. On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot parse its `' header file. The option `-nodtk' can be used as a workaround. If GNU CC is not installed, it is therefore recommended to try ./configure CC="cc" and if that doesn't work, try ./configure CC="cc -nodtk" On Solaris, don't put `/usr/ucb' early in your `PATH'. This directory contains several dysfunctional programs; working variants of these programs are available in `/usr/bin'. So, if you need `/usr/ucb' in your `PATH', put it _after_ `/usr/bin'. On Haiku, software installed for all users goes in `/boot/common', not `/usr/local'. It is recommended to use the following options: ./configure --prefix=/boot/common Specifying the System Type ========================== There may be some features `configure' cannot figure out automatically, but needs to determine by the type of machine the package will run on. Usually, assuming the package is built to be run on the _same_ architectures, `configure' can figure that out, but if it prints a message saying it cannot guess the machine type, give it the `--build=TYPE' option. TYPE can either be a short name for the system type, such as `sun4', or a canonical name which has the form: CPU-COMPANY-SYSTEM where SYSTEM can have one of these forms: OS KERNEL-OS See the file `config.sub' for the possible values of each field. If `config.sub' isn't included in this package, then this package doesn't need to know the machine type. If you are _building_ compiler tools for cross-compiling, you should use the option `--target=TYPE' to select the type of system they will produce code for. If you want to _use_ a cross compiler, that generates code for a platform different from the build platform, you should specify the "host" platform (i.e., that on which the generated programs will eventually be run) with `--host=TYPE'. Sharing Defaults ================ If you want to set default values for `configure' scripts to share, you can create a site shell script called `config.site' that gives default values for variables like `CC', `cache_file', and `prefix'. `configure' looks for `PREFIX/share/config.site' if it exists, then `PREFIX/etc/config.site' if it exists. Or, you can set the `CONFIG_SITE' environment variable to the location of the site script. A warning: not all `configure' scripts look for a site script. Defining Variables ================== Variables not defined in a site shell script can be set in the environment passed to `configure'. However, some packages may run configure again during the build, and the customized values of these variables may be lost. In order to avoid this problem, you should set them in the `configure' command line, using `VAR=value'. For example: ./configure CC=/usr/local2/bin/gcc causes the specified `gcc' to be used as the C compiler (unless it is overridden in the site shell script). Unfortunately, this technique does not work for `CONFIG_SHELL' due to an Autoconf bug. Until the bug is fixed you can use this workaround: CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of all of the options to `configure', and exit. `--help=short' `--help=recursive' Print a summary of the options unique to this package's `configure', and exit. The `short' variant lists options used only in the top level, while the `recursive' variant lists options also present in any nested packages. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `--prefix=DIR' Use DIR as the installation prefix. *note Installation Names:: for more details, including other options available for fine-tuning the installation locations. `--no-create' `-n' Run the configure checks, but stop before creating any output files. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. moserial-3.0.8/ChangeLog0000664000213200021320000024627012064144710012032 00000000000000commit 629ba457857652be14243329bd6cd847db8fe928 Author: Michael J. Chudobiak Date: Tue Dec 18 14:50:26 2012 -0500 always append new hex output to end of textbuffer, not at cursor pos src/HexTextBuffer.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit cc2f43159235a94e8c15245f7ff67120b2b525db Author: Michael J. Chudobiak Date: Tue Dec 18 10:30:37 2012 -0500 pre-release version bump NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 4d613acc2cd4dd44d3056842e22ea09f9b02eeb1 Author: Michael J. Chudobiak Date: Tue Dec 18 10:28:32 2012 -0500 fix bug 687230 - Segmentation fault on HexTextBuffer.vala src/HexTextBuffer.vala | 89 +++++++++++++++++++++++++++++++++----------------- 1 file changed, 59 insertions(+), 30 deletions(-) commit 32b6e42f66a8acf507c76126f65e9651875126c2 Author: Piotr Drąg Date: Tue Sep 4 19:25:13 2012 +0200 Updated Polish translation po/pl.po | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit c0dd1ef2768e277e0bd4def1abe83130a8359cde Author: Piotr Drąg Date: Thu Jul 12 00:34:59 2012 +0200 Added Polish translation po/LINGUAS | 1 + po/pl.po | 560 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 561 insertions(+) commit 9b998d565a1c773e766668b9d5d54644f7c2fc10 Author: Rodolphe Pelloux-Prayer Date: Wed Jul 4 13:32:30 2012 +0200 Fix -Werror=format-security errors. src/MainWindow.vala | 8 ++++---- src/Profile.vala | 4 ++-- src/Rzwrapper.vala | 2 +- src/Szwrapper.vala | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit f6eab92a77b34add3f4f601605b11cbb23267da1 Author: Konstantinos Chortis Date: Thu Jun 14 01:30:48 2012 +0300 Updated Greek translation po/LINGUAS | 1 + po/el.po | 521 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 522 insertions(+) commit 607354dbf665ef2f9f3bc92f5ac8e586180230b2 Author: Michael J. Chudobiak Date: Wed Jun 13 13:30:00 2012 -0400 updated copyright date in about dialog src/MainWindow.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f3ee4142627b2011425ca5e3333c5282cf5a97d Author: Michael J. Chudobiak Date: Wed Jun 13 13:23:10 2012 -0400 pre-release version bump NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 64be24c32e585a46f6fe9d75663110760eaa61e2 Author: Michael J. Chudobiak Date: Wed Jun 13 13:18:43 2012 -0400 make last commit work with both vala 0.12 and 0.16 src/HexTextBuffer.vala | 36 ++++++++++++++++++++++++++++++++++++ src/MainWindow.vala | 4 ++++ 2 files changed, 40 insertions(+) commit 31d487d1a463fa0160ef140b8f9bc8a11b61228c Author: Bastien Nocera Date: Wed Jun 13 12:46:11 2012 +0100 Fix compile-time errors TextIter were causing errors: Cannot pass value to reference or output parameter https://bugzilla.gnome.org/show_bug.cgi?id=678016 src/HexTextBuffer.vala | 18 +++++++++--------- src/MainWindow.vala | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) commit dbe13051678ed4f3424c41e7ae8e096dbbf8fdad Author: Michael J. Chudobiak Date: Wed Jun 13 12:43:58 2012 -0400 make last commit work with both vala 0.12 and 0.16 src/MoUtils.vala | 4 ++++ 1 file changed, 4 insertions(+) commit 672d3b0916f34ca76e70d09cd8339008bf94c10e Author: Bastien Nocera Date: Wed Jun 13 12:15:11 2012 +0100 Fix deprecation warning src/MoUtils.vala:42.39-42.71: warning: GLib.FILE_ATTRIBUTE_STANDARD_SIZE has been deprecated since vala-0.16. Use FileAttribute.STANDARD_SIZE https://bugzilla.gnome.org/show_bug.cgi?id=678004 src/MoUtils.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ecc773efefff3a401d0ed3b471b998703842047 Author: Bastien Nocera Date: Wed Jun 13 12:13:39 2012 +0100 Fix compilation with newer versions of GLib GIO now contains a GMenuItem object type. src/MainWindow.vala:300.17-300.24: error: `MenuItem' is an ambiguous reference between `GLib.MenuItem' and `Gtk.MenuItem' MenuItem recentFileItem = (Gtk.MenuItem)builder.get_object("menubar_open_recent"); ^^^^^^^^ https://bugzilla.gnome.org/show_bug.cgi?id=678003 src/MainWindow.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6ba0ab96a25b8c9cadb0b36ec9ed99732c125667 Author: Joe Hansen Date: Wed Apr 25 09:54:01 2012 +0200 Updated Danish translation po/da.po | 224 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 112 insertions(+), 112 deletions(-) commit 5abaa4c2cec857189ca5e30da333cf0d36c58002 Author: Joe Hansen Date: Mon Apr 23 14:26:03 2012 +0200 Updated Danish translation po/da.po | 697 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 301 insertions(+), 396 deletions(-) commit c9a9196547a8e098380191c6139d6f944e89d815 Author: Daniel Șerbănescu Date: Sat Apr 21 13:11:12 2012 +0200 Updated Romanian Translation po/LINGUAS | 1 + po/ro.po | 743 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 744 insertions(+) commit b0cf60be94fa5525817b2579e2e859e9e59dd6d8 Author: Fran Diéguez Date: Sat Mar 24 22:34:15 2012 +0100 Updated Galician translations Signed-off-by: Fran Diéguez po/gl.po | 967 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 516 insertions(+), 451 deletions(-) commit 79fb47a05f857fa55dda702faaa7fa41b2a827e3 Author: Michael J. Chudobiak Date: Wed Mar 14 12:45:12 2012 -0400 point out the lrzsz dependency in the README file README | 5 +++++ 1 file changed, 5 insertions(+) commit 98655419ad3f83c1190f6b68f288daa0333ac756 Author: Michael J. Chudobiak Date: Fri Mar 2 14:18:49 2012 -0500 pre-release version bump NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 084d920e3f47eca961d2fb6df07a67d257376205 Author: Michael J. Chudobiak Date: Fri Mar 2 14:14:13 2012 -0500 Fix build with vala 0.14, but maintain 0.12 compatibility, bug 671223 src/SerialConnection.vala | 10 ++++++++++ 1 file changed, 10 insertions(+) commit c7fee289cd3dead8078fadf7e187be65271b0140 Author: Michael J. Chudobiak Date: Fri Feb 10 11:23:04 2012 -0500 hide non-existent recent files src/MainWindow.vala | 1 + 1 file changed, 1 insertion(+) commit dba2c20223f52ad5e34e6720ed14db46d0aab4c1 Author: Michael J. Chudobiak Date: Tue Jan 24 08:59:36 2012 -0500 pre-release version bump, change about dialog url label NEWS | 5 +++++ configure.ac | 2 +- src/MainWindow.vala | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) commit 5cab401e8d5b6940883eb5ddcc02e239b4757c93 Author: Michael J. Chudobiak Date: Tue Jan 24 08:25:50 2012 -0500 allow use of ttyACM ports src/SettingsDialog.vala | 1 + 1 file changed, 1 insertion(+) commit 85bb8115dbeb01119ec04c18cab7a843992086a1 Author: Michael J. Chudobiak Date: Fri Jan 20 15:30:23 2012 -0500 pre-release version bump NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit c0b2944741b7f1f3a8d14a7d6b4c85a501c433d2 Author: Michael J. Chudobiak Date: Fri Jan 20 15:25:50 2012 -0500 Fixed non-functional recording timeout spinbutton data/glade/moserial.ui | 1 + src/PreferencesDialog.vala | 5 +++++ 2 files changed, 6 insertions(+) commit 578c2580e7e968faeb800042cf737cf1e7c677b3 Author: Michael J. Chudobiak Date: Wed Jan 18 14:35:04 2012 -0500 Fixed over-active file writing in record mode, pre-rel version bump NEWS | 5 +++++ configure.ac | 2 +- src/MainWindow.vala | 2 +- src/SerialConnection.vala | 15 +++++++++++---- src/SerialStreamRecorder.vala | 17 ++++++++++++++--- 5 files changed, 32 insertions(+), 9 deletions(-) commit 3ff62f386a72bbbdc16c7d0093cc4aef9936683b Author: Jiro Matsuzawa Date: Wed Jan 11 22:52:55 2012 +0900 Updated Japanese translation po/ja.po | 221 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 111 insertions(+), 110 deletions(-) commit 535b59250752284d703f64309f3028d15514586c Author: Takeshi AIHANA Date: Sun Oct 9 19:09:57 2011 +0900 Updated Japanese translation. po/ja.po | 956 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 509 insertions(+), 447 deletions(-) commit 24765338c48d0c48f8f07a2bbeff3b815b05886f Author: Michael J. Chudobiak Date: Wed Oct 5 10:45:02 2011 -0400 updated NEWS NEWS | 6 ++++++ 1 file changed, 6 insertions(+) commit a147d2be228f82aca06e4dd91f2ef9cda87b4cc6 Author: Michael J. Chudobiak Date: Wed Oct 5 10:43:59 2011 -0400 pre-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d7b912092ebcd55bdfea7a1cc0f8b427c4c5a3c6 Author: Michael J. Chudobiak Date: Wed Oct 5 10:42:47 2011 -0400 Revert "increase delay in checking for screen updates, to avoid data loss" This reverts commit e3f40dbec8c563f81f364ce071e910d15ad02090. src/SerialConnection.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e1950bde2f0b1c530935483a8e659a0c5b985dc4 Author: Michael J. Chudobiak Date: Wed Oct 5 10:38:25 2011 -0400 use groups to show only moserial config files in the recent menu src/MainWindow.vala | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 6fbeb3dea48770a320785b92ebcf0bafd85675f6 Author: Jasper Lievisse Adriaanse Date: Tue Sep 27 20:41:38 2011 +0200 Add a few device nodes for (Open)BSD. https://bugzilla.gnome.org/show_bug.cgi?id=660276 src/SettingsDialog.vala | 2 ++ 1 file changed, 2 insertions(+) commit bbac01b1f8e78ab26b6f9f71d823fb6bcfc2ad51 Author: Michael J. Chudobiak Date: Thu Sep 8 14:56:29 2011 -0400 call Gtk.main_iteration_do correctly (don't block) src/SerialConnection.vala | 2 +- src/Szwrapper.vala | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit e3f40dbec8c563f81f364ce071e910d15ad02090 Author: Michael J. Chudobiak Date: Thu Sep 8 13:13:10 2011 -0400 increase delay in checking for screen updates, to avoid data loss src/SerialConnection.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 061af3b6af31478985071440d434f3093e65e361 Author: Michael J. Chudobiak Date: Thu Sep 1 09:32:18 2011 -0400 updated NEWS NEWS | 5 +++++ 1 file changed, 5 insertions(+) commit 189c3c0877ad898ace3eb4d0e9e82e63fb211a09 Author: Michael J. Chudobiak Date: Thu Sep 1 09:30:57 2011 -0400 pre-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c28290c4ea8f37eeb5e5ca40bc75aab676d847e Author: Michael J. Chudobiak Date: Thu Sep 1 09:27:02 2011 -0400 remove reference to deleted figure doc/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 35fcba084e9281996751542fe78485d27dc3e651 Author: Michael J. Chudobiak Date: Mon Aug 29 13:10:51 2011 -0400 minor simplifications for compatibility with vala 0.13.x src/MainWindow.vala | 2 +- src/SerialStreamRecorder.vala | 2 +- src/SettingsDialog.vala | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 69a5a9b6cd17baf27c3f56013651bac061da4fb2 Author: Andrej Žnidaršič Date: Sat Aug 27 22:49:51 2011 +0200 Updated Slovenian translation po/sl.po | 767 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 410 insertions(+), 357 deletions(-) commit d17703c77e61b8f503c3e01b1e27140bf18c4796 Author: Michael J. Chudobiak Date: Fri Aug 26 14:30:48 2011 -0400 updated NEWS NEWS | 9 +++++++++ 1 file changed, 9 insertions(+) commit 37750325e35eda3e76701f1cdf936b934860ed25 Author: Michael J. Chudobiak Date: Fri Aug 26 12:22:54 2011 -0400 bring back the menu accelerators data/glade/moserial.ui | 16 ++++++++++++---- src/MainWindow.vala | 4 ++++ 2 files changed, 16 insertions(+), 4 deletions(-) commit b77db54955ca516bfef8f88fafc5f2c221608b72 Author: Michael J. Chudobiak Date: Thu Aug 25 10:01:19 2011 -0400 pause to process gtk/gdk events while receiving data src/SerialConnection.vala | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e26b7e8b855efb6031cea377eb8e1532b361863a Author: Marek Černocký Date: Thu Aug 25 07:55:54 2011 +0200 Updated Czech translation doc/cs/cs.po | 187 +++++++++++++++++++++++++++-------------------------------- 1 file changed, 87 insertions(+), 100 deletions(-) commit ef7a8ff8b8f1b2d515e2f74004c692af336e2db1 Author: Marek Černocký Date: Thu Aug 25 07:48:40 2011 +0200 Updated Czech translation po/cs.po | 750 +++++++++++++++++++++++++-------------------------------------- 1 file changed, 294 insertions(+), 456 deletions(-) commit 69f7082ce78d9a8ca584c7c2fbc279273767b90a Author: Mario Blättermann Date: Tue Aug 23 20:22:31 2011 +0200 [l10n] Updated German translation po/de.po | 748 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 409 insertions(+), 339 deletions(-) commit 78e7e8f6194696b2c314c77375280bfbd22e8be2 Author: Daniel Mustieles Date: Sat Aug 20 11:30:09 2011 +0200 Updated Spanish translation doc/es/es.po | 210 ++++++++------- po/es.po | 854 ++++++++++++++++++++++++++++++++--------------------------- 2 files changed, 581 insertions(+), 483 deletions(-) commit fd2f84d4f6ed397a19cf17319b647f8a2186a82e Author: Claude Paroz Date: Fri Aug 19 21:39:09 2011 +0200 Updated French translations doc/fr/fr.po | 204 ++++++++-------- po/fr.po | 750 +++++++++++++++++++++++------------------------------------ 2 files changed, 398 insertions(+), 556 deletions(-) commit 7b24f3b3354b8a5de1843db004d5ffbbe8835e42 Author: Claude Paroz Date: Fri Aug 19 21:00:45 2011 +0200 Remove markup from translatable strings Fixes bug #656932 data/glade/moserial.ui | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 0f7fd5d6078ad21a305c2e5b23b04c4f3338af44 Author: Claude Paroz Date: Fri Aug 19 20:32:27 2011 +0200 Added prefix before .ui file in POTFILES.in po/POTFILES.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8255a320a3669f0372ff4719087a77773e38e1d0 Author: Michael J. Chudobiak Date: Fri Aug 19 13:00:56 2011 -0400 clarify vala version requirements README | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 368f98af2751b3491e855bc504ecfde8685ecb0d Author: Michael J. Chudobiak Date: Fri Aug 19 12:57:26 2011 -0400 pre-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a0d50ff9998025840bd788b12c80eb288c8b65b Author: Michael J. Chudobiak Date: Fri Aug 19 12:56:41 2011 -0400 refer correctly to enum definitions src/SettingsDialog.vala | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 4452c5e8aa99d381f7773d178852d40dba01106b Author: Michael J. Chudobiak Date: Fri Aug 19 12:51:24 2011 -0400 minor tooltip clarification src/PreferencesDialog.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b2d660a7faf913a52d99b35e9e4a82ff4daea6b Author: Michael J. Chudobiak Date: Fri Aug 19 12:48:20 2011 -0400 tidy up casts and warnings from glade to gtk-builder move data/glade/moserial.ui | 2311 ++++++++++++++++++++++++++---------------------- src/MainWindow.vala | 41 +- 2 files changed, 1273 insertions(+), 1079 deletions(-) commit c81d5b55f0bc4312306b284682b98ae8937a3f84 Author: Michael J. Chudobiak Date: Fri Aug 19 12:21:08 2011 -0400 finished libglade to gtk-builder migration data/glade/Makefile.am | 5 +- data/glade/moserial.glade | 1662 --------------------------------------------- data/glade/moserial.ui | 310 +++++---- po/POTFILES.in | 11 +- po/POTFILES.skip | 28 +- 5 files changed, 207 insertions(+), 1809 deletions(-) commit ded8242efa19c1893d3d5e0e5ccf7ab64592fc94 Author: Michael J. Chudobiak Date: Fri Aug 19 11:40:28 2011 -0400 move more combo box item definitions out of glade and into the code data/glade/moserial.glade | 10 ------ data/glade/moserial.ui | 72 ------------------------------------------- src/ReceiveChooserDialog.vala | 5 ++- src/RecordDialog.vala | 6 +++- src/Rzwrapper.vala | 4 +++ src/SendChooserDialog.vala | 5 ++- src/SerialStreamRecorder.vala | 7 ++++- src/Szwrapper.vala | 5 +++ 8 files changed, 28 insertions(+), 86 deletions(-) commit 598d00416b7f7ca9536236b1142206ae176a09d5 Author: Michael J. Chudobiak Date: Fri Aug 19 11:19:36 2011 -0400 first attempt at gtk3 migration Makefile.am | 2 +- configure.ac | 4 +- data/glade/moserial.glade | 49 +------- data/glade/moserial.ui | 279 +++------------------------------------------- src/MainWindow.vala | 44 ++++---- src/MoUtils.vala | 15 +++ src/SerialConnection.vala | 43 ++----- src/Settings.vala | 20 ++++ src/SettingsDialog.vala | 53 ++++++--- 9 files changed, 123 insertions(+), 386 deletions(-) commit 16e130bd891afe9d3a6a2b3b40b5e82318428087 Author: Mario Blättermann Date: Fri Aug 19 10:37:22 2011 +0200 [l10n] Updated German doc translation doc/de/de.po | 220 ++++++++++++++++++++++++++++++----------------------------- 1 file changed, 112 insertions(+), 108 deletions(-) commit 0038b062c78874697b9fceb9d24f416ee064a240 Author: Mario Blättermann Date: Fri Aug 19 10:32:32 2011 +0200 [l10n] Updated German translation po/de.po | 340 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 151 insertions(+), 189 deletions(-) commit b94b84200ebff30b34db23d342ec10c47ce949bb Author: Michael J. Chudobiak Date: Thu Aug 18 09:01:43 2011 -0400 remove check for gconf, it is not used any more configure.ac | 1 - 1 file changed, 1 deletion(-) commit c6fec6d070993d139b3f5be0eb3b8c307909fc8d Author: Michael J. Chudobiak Date: Thu Aug 18 08:40:22 2011 -0400 migrate tooltips from the glade file into code, for gtk_builder migration data/glade/moserial.glade | 14 -------------- data/glade/moserial.ui | 14 -------------- src/MainWindow.vala | 11 ++++++++++- src/PreferencesDialog.vala | 5 +++++ src/SettingsDialog.vala | 8 ++++++++ 5 files changed, 23 insertions(+), 29 deletions(-) commit b92f672ca01870fd8bf08009f285f156d7014111 Author: Michael J. Chudobiak Date: Wed Aug 17 14:10:10 2011 -0400 update README, remove vala version check README | 16 +++++++++------- configure.ac | 1 - 2 files changed, 9 insertions(+), 8 deletions(-) commit d917a9e81e9a2559a6ea29365c7d43226606e8fb Author: Michael J. Chudobiak Date: Wed Aug 17 14:02:15 2011 -0400 add note to README about stropts.h build problem README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit cdb9d1a94f38ea4cebe420c43244f095bf83d45c Author: Michael J. Chudobiak Date: Wed Aug 17 12:53:21 2011 -0400 bump vala requirement to 0.12.0 configure.ac | 1 + src/Profile.vala | 4 ---- src/SerialStreamRecorder.vala | 4 ---- 3 files changed, 1 insertion(+), 8 deletions(-) commit 207f1e074d81bb2a272c7623360db7a5c786d431 Author: Michael J. Chudobiak Date: Wed Aug 17 10:34:27 2011 -0400 fix invisible menu items data/glade/moserial.glade | 45 +++++++++++++++++++++++++++++++++++---------- data/glade/moserial.ui | 11 +++++++---- 2 files changed, 42 insertions(+), 14 deletions(-) commit c1702ac81488a9b3e0a3cf28e85e8f2ddc948d87 Author: Michael J. Chudobiak Date: Wed Aug 17 10:18:41 2011 -0400 apply font settings to text entry box too src/MainWindow.vala | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 0a538598e90a34028dac4821097532540c341a23 Author: Michael J. Chudobiak Date: Wed Aug 17 10:14:24 2011 -0400 remove obsolete comment src/MainWindow.vala | 1 - 1 file changed, 1 deletion(-) commit efc68ce3b434912ff4ff2f391c3d84b22daf693f Author: Michael J. Chudobiak Date: Wed Aug 17 10:11:59 2011 -0400 use string.index_of instead of string.str src/Rzwrapper.vala | 4 ++-- src/Szwrapper.vala | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 65135e057a8d493a3bff8278142ad5c7eefe13f1 Author: Michael J. Chudobiak Date: Wed Aug 17 10:07:28 2011 -0400 use int.parse() instead of string.to_int() src/SettingsDialog.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ea10275f08714c4f45f0bcbf6798e7af073ed843 Author: Michael J. Chudobiak Date: Wed Aug 17 10:03:56 2011 -0400 migrate from gconf to gsettings Makefile.am | 2 +- src/Preferences.vala | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) commit 9abab954e9361beb0c1bc8e8ab9a68ec202ca859 Author: Michael J. Chudobiak Date: Wed Aug 17 09:40:19 2011 -0400 remove deprecated hide_all function, use hide instead src/PreferencesDialog.vala | 2 +- src/ReceiveProgressDialog.vala | 2 +- src/SendProgressDialog.vala | 2 +- src/SettingsDialog.vala | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) commit d1096aef53ac94a2b96af1a24a293b15f25e23f8 Author: Michael J. Chudobiak Date: Wed Aug 17 08:30:55 2011 -0400 bump version back slightly - more work required before any release configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba30c590884f58b5fb68c1eafbbeb0f7118d42c4 Author: Michael J. Chudobiak Date: Wed Aug 17 08:28:06 2011 -0400 Ran the glade file through glade 3.6.7, to prepare for move to gtkbuilder To fully move to the gtkbuilder format, we have to fix the comboboxes and tooltips. data/glade/moserial.glade | 4286 ++++++++++++++++++--------------------------- data/glade/moserial.ui | 1565 +++++------------ 2 files changed, 2061 insertions(+), 3790 deletions(-) commit 1891b00007f23ad7d59b799bed09fb36ce7308a3 Author: Daniel Mustieles Date: Wed Aug 17 01:36:37 2011 +0200 Updated Spanish translation po/es.po | 217 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 118 insertions(+), 99 deletions(-) commit 645ca2e1d94914b159c4576eddf7c423e215d53f Author: Michael J. Chudobiak Date: Tue Aug 16 16:10:24 2011 -0400 remove deprecated gtk stock icon names src/MainWindow.vala | 6 +++--- src/ReceiveChooserDialog.vala | 2 +- src/RecordDialog.vala | 2 +- src/SendChooserDialog.vala | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 8df9febed51c2613fbed62cfd4cadff982d6fcf5 Author: Michael J. Chudobiak Date: Tue Aug 16 15:40:49 2011 -0400 Pre-release version bump to 3.0.0 and misc doc updates configure.ac | 2 +- doc/C/figures/authorizations.png | Bin 148427 -> 0 bytes doc/C/moserial.xml | 25 ++++--------------------- src/MainWindow.vala | 2 +- 4 files changed, 6 insertions(+), 23 deletions(-) commit 48fede4a96ceef6ef5d541478df7dd93f68e2417 Author: Michael J. Chudobiak Date: Tue Aug 16 15:24:20 2011 -0400 updates to work with vala 0.12 Removes the custom posix.vapi file, and uses the posix and linux packages that are now stock vala items. Makefile.am | 3 +- data/glade/moserial.glade | 4 +- data/glade/moserial.ui | 6 + src/Profile.vala | 4 + src/SerialConnection.vala | 127 +++---- src/SerialStreamRecorder.vala | 6 +- src/posix.vapi | 749 ------------------------------------------ 7 files changed, 84 insertions(+), 815 deletions(-) commit 4ae8dc929ef43c1e7cb3303f560c72d11a51de8f Author: Takeshi AIHANA Date: Sat May 21 15:04:47 2011 +0900 Added Japanese translation. po/LINGUAS | 1 + po/ja.po | 629 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 630 insertions(+) commit eac95ace4f1996aa4a1b0abb8e01c731fe28eb02 Author: Michael J. Chudobiak Date: Thu May 19 11:19:37 2011 -0400 post-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b3cb0acd8061bc8227e6b1f30e13f84101da8cb4 Author: Michael J. Chudobiak Date: Thu May 19 11:16:09 2011 -0400 updated NEWS NEWS | 8 ++++++++ 1 file changed, 8 insertions(+) commit c7c0eab719de332c9cd85047680759ffa6941991 Author: Michael J. Chudobiak Date: Thu May 19 10:49:35 2011 -0400 minor fix, proper string-to-char conversion src/Profile.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 046ce1dca989e38da264cffe89b368a8fb4e6d15 Author: Michael J. Chudobiak Date: Thu May 19 10:45:50 2011 -0400 minor fix, make error as public as the function src/InputParser.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 608042b8e8327432b72b7be799bce6f32e72a2e7 Author: Michael J. Chudobiak Date: Thu May 19 10:29:49 2011 -0400 minor fix, don't define and pass unused out parameters src/MainWindow.vala | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit ee87146fc4eea0cc5ad3378aff03f68d01bb22d7 Author: Claude Paroz Date: Tue Mar 22 10:46:39 2011 +0100 Updated French manual translation doc/fr/fr.po | 93 +++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 55 insertions(+), 38 deletions(-) commit 4b76f269da05c13c4c99dc2be03bab75e2b16937 Author: Claude Paroz Date: Tue Mar 22 10:17:24 2011 +0100 Add French translation of manual Contributed by Julien Hardelin and Claude Paroz doc/Makefile.am | 2 +- doc/fr/fr.po | 788 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 789 insertions(+), 1 deletion(-) commit 00f0476fec5893144ff82d57827a808bccf952b5 Author: Olav Vitters Date: Tue Mar 8 22:29:31 2011 +0100 DOAP: fix download location moserial.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bde1f04b9808dacd0175ff7d09b0961522918c9b Author: Kjartan Maraas Date: Thu Feb 24 11:45:23 2011 +0100 Added Norwegian bokmål translation po/nb.po | 121 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 54 deletions(-) commit 1f587a9a333809a93b127808d201ef3752a1a704 Author: Daniel Mustieles Date: Mon Feb 21 19:42:36 2011 +0100 Updated Spanish translation doc/es/es.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit b5adfaede6225977fbbee1a6fd1d48a94091849e Author: Michael J. Chudobiak Date: Tue Feb 15 09:10:21 2011 -0500 post-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2f76e833d786382e2a6e0ac911fba5139d50b61 Author: Michael J. Chudobiak Date: Tue Feb 15 09:04:40 2011 -0500 updated NEWS NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 700a8a182555a3e70b1d713019012bd901fb8286 Author: Michael J. Chudobiak Date: Mon Feb 14 13:01:34 2011 -0500 replace Action with less ambiguous Gtk.Action https://bugs.launchpad.net/ubuntu/+source/moserial/+bug/713931 src/MainWindow.vala | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit b0189c525e8eaf8f03c8a15f6ed523c300096a29 Author: Marlo Date: Mon Feb 14 12:45:03 2011 -0500 fix runtime warnings in rz/szwrapper src/Rzwrapper.vala | 3 ++- src/Szwrapper.vala | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 975a597327fcf312bc26b2b2bab5181f58952f49 Author: Marlo Date: Mon Feb 14 09:52:46 2011 -0500 add missing catch statments for exceptions src/MainWindow.vala | 21 ++++++++++++++++++--- src/Rzwrapper.vala | 10 ++++++++++ src/Szwrapper.vala | 9 +++++++++ 3 files changed, 37 insertions(+), 3 deletions(-) commit 561a439602e13c3d830a985c9566122051f1c8d7 Author: Marlo Date: Mon Feb 14 09:52:24 2011 -0500 update signal connect/disconnect syntax src/AutoScroll.vala | 20 +++++----- src/MainWindow.vala | 86 +++++++++++++++++++++--------------------- src/PreferencesDialog.vala | 14 +++---- src/ReceiveChooserDialog.vala | 4 +- src/ReceiveProgressDialog.vala | 4 +- src/RecordDialog.vala | 4 +- src/SendChooserDialog.vala | 4 +- src/SendProgressDialog.vala | 4 +- src/SettingsDialog.vala | 6 +-- src/XmodemFilenameDialog.vala | 4 +- 10 files changed, 75 insertions(+), 75 deletions(-) commit 5815d9e91bc3430f14e680bc6590aadec585f452 Author: Marlo Date: Mon Feb 14 09:51:57 2011 -0500 update constructors to new syntax src/MainWindow.vala | 3 +-- src/Preferences.vala | 16 ++++++++-------- src/PreferencesDialog.vala | 2 +- src/ReceiveChooserDialog.vala | 2 +- src/ReceiveProgressDialog.vala | 2 +- src/RecordDialog.vala | 2 +- src/Rzwrapper.vala | 7 +++---- src/SendChooserDialog.vala | 2 +- src/SendProgressDialog.vala | 2 +- src/Settings.vala | 17 +++++++++-------- src/SettingsDialog.vala | 2 +- src/Szwrapper.vala | 6 +++--- src/XmodemFilenameDialog.vala | 2 +- 13 files changed, 32 insertions(+), 33 deletions(-) commit 775f8764652be9e74e3a542a6ee84e4ff33e1fac Author: Marlo Date: Mon Feb 14 09:51:32 2011 -0500 fix posix.vapi warnings src/posix.vapi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 99ffbc658c0bb75fdc86b36c5f49ca090160a1e3 Author: Michael J. Chudobiak Date: Mon Feb 14 09:49:32 2011 -0500 version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fadf5f01790b069fdc5df60f10134e6aa790fe20 Author: Daniel Mustieles Date: Sat Feb 12 13:22:27 2011 +0100 Updated Spanish translation doc/es/es.po | 84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 80 insertions(+), 4 deletions(-) commit f33db50c146520f40ba15b94233e47005697fd0b Author: Daniel Mustieles Date: Sat Feb 12 10:00:52 2011 +0100 Updated Spanish translation po/es.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f2320006cad06ba357d285639f3d8844553007f8 Author: Daniel Mustieles Date: Wed Feb 9 19:19:52 2011 +0100 Updated Spanish translation doc/es/es.po | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 64 insertions(+), 4 deletions(-) commit a464eafa928e8c906dc9c0fd6fbf1124ec756866 Author: Daniel Mustieles Date: Tue Feb 8 21:05:40 2011 +0100 Updated Spanish translation doc/es/es.po | 383 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 316 insertions(+), 67 deletions(-) commit 082a2c60b9fb58f889b4563d9bdbca82845a580e Author: Daniel Mustieles Date: Tue Feb 8 21:05:16 2011 +0100 Updated Spanish translation po/es.po | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 05c6182c99450afafedccba7ba24783c04e971a6 Author: Joe Hansen Date: Sun Jan 2 11:53:38 2011 +0100 Updated Danish translation po/da.po | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 7eaadd547fce3e0c39169ae280ee406941910392 Author: Flamarion Jorge Date: Tue Nov 9 15:34:52 2010 -0200 Updated Brazilian Portuguese translation po/pt_BR.po | 448 +++++++++++++++++++++++++++++------------------------------- 1 file changed, 213 insertions(+), 235 deletions(-) commit 6cfcd8a99f8c088fbba00047976bf9b489fff79b Author: Matej Urbančič Date: Fri Oct 22 19:27:41 2010 +0200 Added sl for Slovenian translation doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ed091259ab66ef533347b4da31f2802b7b1b64a Author: Matej Urbančič Date: Fri Oct 22 19:27:18 2010 +0200 Updated Slovenian translation doc/sl/sl.po | 381 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 381 insertions(+) commit fe4e69b4f638a48d0b6f10c10efdab3de26d592f Author: Joe Hansen Date: Mon Sep 27 00:49:58 2010 +0200 Updated Danish translation po/da.po | 110 +++++++-------------------------------------------------------- 1 file changed, 11 insertions(+), 99 deletions(-) commit 8d66f29f21bb700c0b38de20adadc238df78243f Author: Aron Xu Date: Sat Aug 28 09:11:56 2010 +0800 Fix a small problem in translator-credit string of zh_CN.po po/zh_CN.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 34d6e6035fce022c1cb7cbf0e84105c7112d78e0 Author: Aron Xu Date: Sat Aug 28 09:11:07 2010 +0800 Update Simplified Chinese translation. po/zh_CN.po | 70 +++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 11 deletions(-) commit 79d2c6102ca9a2a9c67b9eb04616a485a67e7ef0 Author: Matej Urbančič Date: Tue Jun 29 14:57:51 2010 +0200 Updated Slovenian translation po/sl.po | 132 +++++++++++++++------------------------------------------------ 1 file changed, 30 insertions(+), 102 deletions(-) commit b8b10d5fad991ab47c09bc0f901451a5adc3a866 Author: Fran Diéguez Date: Sun Jun 20 02:36:14 2010 +0200 Update Galician translations po/gl.po | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 8f65a0c07bda5ca1f7b8e673e3381478033c15c4 Author: Olav Vitters Date: Sun Apr 18 12:20:25 2010 +0200 Fix doap file moserial.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8338b6359985c7ff90e275b2e3589246905b5a5 Author: Michael J. Chudobiak Date: Tue Mar 30 09:45:08 2010 -0400 2.30.0 release NEWS | 10 ++++++++++ configure.ac | 2 +- data/glade/moserial.glade | 16 ++++++++-------- data/glade/moserial.ui | 16 ++++++++-------- 4 files changed, 27 insertions(+), 17 deletions(-) commit 55045e01097b2ae5d913e5c851027f45b7ff15b4 Author: 微尘 Date: Mon Mar 29 14:33:51 2010 +0800 Added Simplified Chinese translation. po/zh_CN.po | 577 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 577 insertions(+) commit 0c7261ce6debb8337b0bcfaec9aad38dd2c96f75 Author: 微尘 Date: Mon Mar 29 14:33:22 2010 +0800 Added Simplified Chinese translation. po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit fa0ba0d152daa3f412632ee6a8da5a9da528a1ba Author: Homin Lee Date: Sat Mar 20 21:14:26 2010 +0900 Added Korean translation po/LINGUAS | 1 + po/ko.po | 611 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 612 insertions(+) commit e6b9685799790bd9231b1ae10a7a7e17883d4fed Author: Kjartan Maraas Date: Sun Mar 14 12:54:12 2010 +0100 Add Norwegian language entry. po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit 2a326e66007258aa1739908f50518fb1126a655c Author: Kjartan Maraas Date: Sun Mar 14 12:54:01 2010 +0100 Added Norwegian bokmål translation. po/nb.po | 579 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 579 insertions(+) commit e35e757371eb74d149dc4982eb64982b96d5ce17 Author: Fran Diéguez Date: Sat Mar 13 21:27:04 2010 +0100 Add Galician translation po/LINGUAS | 1 + po/gl.po | 638 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 639 insertions(+) commit 8e660a5a60584dfcfea329a36c0c9687a6b2e5db Author: Bruno Brouard Date: Wed Mar 10 22:35:47 2010 +0100 Updated French translation po/fr.po | 383 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 199 insertions(+), 184 deletions(-) commit e8705931b7f0d4b9dc0698d62847cdd9e48edac2 Author: Michael J. Chudobiak Date: Mon Mar 8 15:29:06 2010 -0500 Update NEWS and version for 2.29.0 NEWS | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 2eec17d0fcacd45b21b062d93c9b1da259ca8362 Author: Michael J. Chudobiak Date: Mon Mar 8 15:02:44 2010 -0500 make signals explicity public to fix build problems src/ReceiveChooserDialog.vala | 2 +- src/ReceiveProgressDialog.vala | 2 +- src/Rzwrapper.vala | 4 ++-- src/SendChooserDialog.vala | 2 +- src/SendProgressDialog.vala | 2 +- src/SerialConnection.vala | 2 +- src/Szwrapper.vala | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) commit d4ae419e61dc436d12324f3f58a76ac915c10075 Author: Marek Černocký Date: Tue Feb 23 15:22:56 2010 +0100 Add Czech translation doc/Makefile.am | 2 +- doc/cs/cs.po | 779 +++++++++++++++++++++++++++++++++ doc/cs/figures/authorizations.png | Bin 0 -> 129226 bytes doc/cs/figures/connect.png | Bin 0 -> 1542 bytes doc/cs/figures/disconnect.png | Bin 0 -> 1857 bytes doc/cs/figures/main-toolbar.png | Bin 0 -> 9470 bytes doc/cs/figures/outgoing.png | Bin 0 -> 2851 bytes doc/cs/figures/port-setup.png | Bin 0 -> 32053 bytes doc/cs/figures/preferences.png | Bin 0 -> 27642 bytes doc/cs/figures/receive-file-dialog.png | Bin 0 -> 109799 bytes doc/cs/figures/receive-file.png | Bin 0 -> 2449 bytes doc/cs/figures/receive-progress.png | Bin 0 -> 14724 bytes doc/cs/figures/received-tabs.png | Bin 0 -> 2042 bytes doc/cs/figures/record-dialog.png | Bin 0 -> 22828 bytes doc/cs/figures/record.png | Bin 0 -> 2130 bytes doc/cs/figures/send-file-dialog.png | Bin 0 -> 85503 bytes doc/cs/figures/send-file.png | Bin 0 -> 2238 bytes doc/cs/figures/send-progress.png | Bin 0 -> 14936 bytes doc/cs/figures/sent-tabs.png | Bin 0 -> 2188 bytes doc/cs/figures/statusbar.png | Bin 0 -> 3153 bytes doc/cs/figures/stop-recording.png | Bin 0 -> 2066 bytes 21 files changed, 780 insertions(+), 1 deletion(-) commit b905d2565e09e06e71844337cdfc4ee87e9e0372 Author: Mario Blättermann Date: Wed Feb 17 11:31:56 2010 +0100 Updated German translation po/de.po | 378 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 200 insertions(+), 178 deletions(-) commit e61cf8abb28611baadf3e38dd016784d725ca383 Author: Jorge González Date: Mon Feb 15 11:41:06 2010 +0100 Updated Spanish translation po/es.po | 388 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 206 insertions(+), 182 deletions(-) commit 98d6b5f82b754a5e921868ce2adaff8a4ee1d6c1 Author: Joe Hansen Date: Sun Feb 14 17:02:21 2010 +0100 Updated Danish translation po/da.po | 758 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 758 insertions(+) commit d3dee6a539b736a427b08344aa8507a822927fbe Author: Kenneth Nielsen Date: Sun Feb 14 17:02:21 2010 +0100 Added da to list of languages po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit 862dcef69bd9ac0d0fb5062440d19ed609fb7d7c Author: Andrej Žnidaršič Date: Fri Feb 12 13:42:14 2010 +0100 Updated Slovenian translation po/sl.po | 325 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 190 insertions(+), 135 deletions(-) commit 5f8b434b61aaad6a8538c59a5f3a0c6441d2a3c7 Author: Marek Černocký Date: Tue Feb 9 19:36:04 2010 +0100 Update Czech translation po/cs.po | 372 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 195 insertions(+), 177 deletions(-) commit 9ee90495a5b3ddc7e5c7ac9a928212d732acb836 Author: Michael J. Chudobiak Date: Fri Feb 5 09:20:59 2010 -0500 Shortened some tooltips (bug 609067), added missing icons (609068) NEWS | 1 + configure.ac | 2 +- data/glade/moserial.glade | 4238 ++++++++++++++++++++++++++++----------------- data/glade/moserial.ui | 1586 +++++++++++++---- 4 files changed, 3830 insertions(+), 1997 deletions(-) commit 6cf80736339080ff148920d75386d74921d9878c Author: Michael J. Chudobiak Date: Fri Feb 5 08:57:39 2010 -0500 Revert "Shortened some tooltips (bug 609067), added missing icons (609068)" This reverts commit aad55782b50a69857e5d5e86adfca457327ea61e. Make a stable release, then mess with strings. NEWS | 1 - data/glade/moserial.glade | 4238 +++++++++++++++++---------------------------- data/glade/moserial.ui | 1586 ++++------------- 3 files changed, 1996 insertions(+), 3829 deletions(-) commit aad55782b50a69857e5d5e86adfca457327ea61e Author: Michael J. Chudobiak Date: Fri Feb 5 08:34:18 2010 -0500 Shortened some tooltips (bug 609067), added missing icons (609068) NEWS | 1 + data/glade/moserial.glade | 4238 ++++++++++++++++++++++++++++----------------- data/glade/moserial.ui | 1586 +++++++++++++---- 3 files changed, 3829 insertions(+), 1996 deletions(-) commit 0436d726eadcb5ece9b3b1449341301fed2ef1fa Author: Michael J. Chudobiak Date: Thu Feb 4 08:37:41 2010 -0500 Add src/posix.vapi to the tar files Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 4a8ef619d84e014f1ed05914720267b35bba6633 Author: Michael J. Chudobiak Date: Thu Feb 4 08:31:39 2010 -0500 Fixed GPLv3 license text, added Config.vapi to distro tar files Makefile.am | 1 + NEWS | 5 +++++ src/AutoScroll.vala | 11 ++++++----- src/DefaultPaths.vala | 11 ++++++----- src/HexTextBuffer.vala | 11 ++++++----- src/InputParser.vala | 11 ++++++----- src/Main.vala | 11 ++++++----- src/MainWindow.vala | 11 ++++++----- src/MoUtils.vala | 11 ++++++----- src/Preferences.vala | 11 ++++++----- src/PreferencesDialog.vala | 11 ++++++----- src/Profile.vala | 11 ++++++----- src/ReceiveChooserDialog.vala | 11 ++++++----- src/ReceiveProgressDialog.vala | 11 ++++++----- src/RecordDialog.vala | 11 ++++++----- src/Rzwrapper.vala | 11 ++++++----- src/SendChooserDialog.vala | 11 ++++++----- src/SendProgressDialog.vala | 11 ++++++----- src/SerialConnection.vala | 11 ++++++----- src/SerialStreamRecorder.vala | 11 ++++++----- src/Settings.vala | 11 ++++++----- src/SettingsDialog.vala | 11 ++++++----- src/Szwrapper.vala | 11 ++++++----- src/XmodemFilenameDialog.vala | 11 ++++++----- 24 files changed, 138 insertions(+), 110 deletions(-) commit 19bded4199469abdb6818e182178a33627981469 Author: mjclab Date: Wed Feb 3 14:45:10 2010 -0500 Minor correction to man page data/moserial.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 271c184aba2ae06dcc098b6788fad6c7da403c79 Author: Michael J. Chudobiak Date: Wed Feb 3 14:20:36 2010 -0500 build tweaks suggested by the autotools autoupdate program configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 204e9042b665aad45dc7e9ce26d7606ba8c8d2dd Author: Michael J. Chudobiak Date: Wed Feb 3 14:13:26 2010 -0500 post-release version bump configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cded8a500f114f460cc7b907cc1db5c17bd6e7a0 Author: Michael J. Chudobiak Date: Wed Feb 3 14:04:52 2010 -0500 Added the man page file data/moserial.1 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 8d8fe4cf2acf4e77ff0cf4740b3a4445e176f107 Author: Michael J. Chudobiak Date: Wed Feb 3 14:02:43 2010 -0500 version bump, added copyright notices, added man page NEWS | 9 +++++++++ configure.ac | 2 +- data/Makefile.am | 6 +++++- src/AutoScroll.vala | 18 ++++++++++++++++++ src/DefaultPaths.vala | 18 ++++++++++++++++++ src/HexTextBuffer.vala | 18 ++++++++++++++++++ src/InputParser.vala | 18 ++++++++++++++++++ src/Main.vala | 18 ++++++++++++++++++ src/MainWindow.vala | 20 +++++++++++++++++++- src/MoUtils.vala | 18 ++++++++++++++++++ src/Preferences.vala | 18 ++++++++++++++++++ src/PreferencesDialog.vala | 18 ++++++++++++++++++ src/Profile.vala | 18 ++++++++++++++++++ src/ReceiveChooserDialog.vala | 18 ++++++++++++++++++ src/ReceiveProgressDialog.vala | 18 ++++++++++++++++++ src/RecordDialog.vala | 18 ++++++++++++++++++ src/Rzwrapper.vala | 18 ++++++++++++++++++ src/SendChooserDialog.vala | 18 ++++++++++++++++++ src/SendProgressDialog.vala | 18 ++++++++++++++++++ src/SerialConnection.vala | 18 ++++++++++++++++++ src/SerialStreamRecorder.vala | 18 ++++++++++++++++++ src/Settings.vala | 18 ++++++++++++++++++ src/SettingsDialog.vala | 18 ++++++++++++++++++ src/Szwrapper.vala | 18 ++++++++++++++++++ src/XmodemFilenameDialog.vala | 18 ++++++++++++++++++ 25 files changed, 412 insertions(+), 3 deletions(-) commit 6556f133d2e056fe5535abfe31b1ddd5f5827bc7 Author: Andrej Žnidaršič Date: Wed Jan 27 11:59:44 2010 +0100 Updated Slovenian translation po/sl.po | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 97c38dbbbe8ecf429ebd870d0cef783252941d9a Author: Matej Urbančič Date: Sat Jan 23 19:51:45 2010 +0100 Added sl for Slovenian translation po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit 8464f65b0a2fafce49be4afeb74871b258ff8967 Author: Andrej Žnidaršič Date: Sat Jan 23 19:51:38 2010 +0100 Updated Slovenian translation po/sl.po | 614 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 614 insertions(+) commit b48bd316205e5f922cddafe0d69637669d0d8f88 Author: Marek Černocký Date: Wed Oct 28 17:09:02 2009 +0100 Add Czech translation po/LINGUAS | 1 + po/cs.po | 703 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 704 insertions(+) commit ce91b7e1c942e99f1f1054c85612dfb0fe919af6 Author: Mario Blättermann Date: Fri Oct 16 17:59:38 2009 +0200 Updated German translation po/de.po | 294 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 144 insertions(+), 150 deletions(-) commit 5f6b65583e5788e478bbcbff1504094728ec1ea9 Author: Michael J. Chudobiak Date: Thu Sep 17 08:30:35 2009 -0400 Stable 2.28.0 release NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 3cb5939df7973bdb8b799408c996da931bbe5156 Author: Marlodavampire Date: Thu Sep 17 08:18:42 2009 -0400 Fixed crash on Fedora 11 src/Rzwrapper.vala | 2 +- src/Szwrapper.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b82c6fc1bac8d87fb2eb8b034d68dec26e46270a Author: mjclab Date: Fri Sep 11 15:31:48 2009 -0400 Fixed bug 588022, Valac compile errors with Debian squeeze .gitignore | 4 + gnome-doc-utils.make | 578 ---------------------------------------------- po/Makefile.in.in | 217 ----------------- src/SerialConnection.vala | 2 +- 4 files changed, 5 insertions(+), 796 deletions(-) commit 8e64b1aba2e850698bfb1a2f31cc76d7b0e6ed05 Author: Michael J. Chudobiak Date: Wed Aug 19 07:59:04 2009 -0400 Skip header files in make distcheck for vala 0.7.x, bug 588022 Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 839a2d98c074d756655cbd0d6d736dc9ec5b9c58 Author: Michael J. Chudobiak Date: Mon Aug 17 08:46:26 2009 -0400 Post-release version bump to 2.27.6 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 83e1f3019371ff944544a7e169be2a2d64beca1e Author: Marlodavampire Date: Mon Aug 17 08:23:12 2009 -0400 Fixed bug 588022 - Fixes to compile with Vala 0.7.x NEWS | 7 ++++++- src/MainWindow.vala | 6 +++--- src/PreferencesDialog.vala | 6 +++--- src/ReceiveChooserDialog.vala | 6 +++--- src/ReceiveProgressDialog.vala | 2 +- src/RecordDialog.vala | 6 +++--- src/Rzwrapper.vala | 4 ++-- src/SendChooserDialog.vala | 6 +++--- src/SendProgressDialog.vala | 2 +- src/SerialConnection.vala | 2 +- src/Szwrapper.vala | 4 ++-- src/XmodemFilenameDialog.vala | 4 ++-- 12 files changed, 30 insertions(+), 25 deletions(-) commit 7982f06d338444c77088552f170ab820eb0053d3 Author: Jorge González Date: Fri Aug 14 15:57:33 2009 +0200 Updated Spanish translation po/es.po | 106 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 50 insertions(+), 56 deletions(-) commit da7677bb3c3012e84336a4aa5cb3c63b9e578a56 Author: mjclab Date: Tue Aug 11 15:10:53 2009 -0400 Post-release version bump to 2.27.5 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7523c56cb64251d5d66bfb90c5b49cbed095ef32 Author: mjclab Date: Tue Aug 11 15:01:31 2009 -0400 Update NEWS NEWS | 6 ++++++ 1 file changed, 6 insertions(+) commit d6ab3994a9693eaf6dbdef61a7df92b7259da88b Author: mjclab Date: Tue Aug 11 14:58:16 2009 -0400 Re-populate port list every time the settings dialog is opened src/SettingsDialog.vala | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit ae0116ebd74d77ad2b1278a65c1e79ac8181e7f6 Author: David Planella Date: Fri Jun 26 21:44:32 2009 +0200 Added Catalan code to LINGUAS po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit 5d958ded211eab949db54b74605a04fa16064888 Author: David Planella Date: Fri Jun 26 21:41:54 2009 +0200 Added Catalan translation po/ca.po | 734 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 734 insertions(+) commit bda270ec0858b0a76f83a1c67252639c569ca92f Author: Michael J. Chudobiak Date: Wed Jun 24 08:11:24 2009 -0400 Fixed a compile issue gnome-doc-utils.make | 14 +++++++++----- po/Makefile.in.in | 4 ++-- src/SettingsDialog.vala | 12 ++++++------ 3 files changed, 17 insertions(+), 13 deletions(-) commit 9f7f211852472432b079126b35842b66713e7b47 Author: Jorge Gonzalez Date: Sun Jun 7 23:29:54 2009 +0200 Added initial Spanish translation doc/es/es.po | 417 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 417 insertions(+) commit 977e8a7b5eea2536ad7ae3c9702feb78bf048fe8 Author: Jorge Gonzalez Date: Sun Jun 7 23:29:47 2009 +0200 Added es to DOC_LINGUAS2 doc/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 81025f5d847160a3d04747cfd9998ebc5e676304 Author: Michael J. Chudobiak Date: Mon Jun 1 10:50:54 2009 -0400 Post-release bump to 2.27.4 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61819ea20de9b0cd27341c8c604ced2e91e32fac Author: Michael J. Chudobiak Date: Mon Jun 1 10:46:57 2009 -0400 Fix the last NEWS entry NEWS | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 17595530035e4502e489eb893e8c3781de07d4ac Author: Michael J. Chudobiak Date: Mon Jun 1 10:42:46 2009 -0400 Fix the gtk library requirement NEWS | 1 + configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit a2688b39f98c44adb5da3469bfd50dfc121481f7 Author: Michael J. Chudobiak Date: Fri May 29 10:27:06 2009 -0400 Post-release version bump to 2.27.3 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e43745bd8293edc677338323761a3db6f0049315 Author: Michael J. Chudobiak Date: Fri May 29 10:23:57 2009 -0400 Update version in NEWS file NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4289ed64c1d5cf52361019822d4b3cfacb1cafbf Author: Michael J. Chudobiak Date: Fri May 29 10:20:48 2009 -0400 Bump version to 2.27.2 NEWS | 10 ++++++++++ configure.ac | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) commit 518de7ca264c0dfab3f6e9367240b22a69d8b4f2 Author: Michael J. Chudobiak Date: Fri May 29 10:04:51 2009 -0400 Post-branch version bump to 2.27.0 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 77041849f7dd2b551082ff9e7a57297b3c0faa8e Author: Cortland Setlow Date: Fri May 29 09:41:27 2009 -0400 Added 1M and 2M baud rates; fix typo in 900kbaud rate name data/glade/moserial.ui | 8 +++++++- src/SerialConnection.vala | 6 ++++++ src/posix.vapi | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) commit 9e5715dac17aaecf6674913722b1935efd8b791d Author: Claude Paroz Date: Sat May 23 14:58:35 2009 +0200 Added French translation by Laurent Coudeur and Claude Paroz po/LINGUAS | 1 + po/fr.po | 708 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 709 insertions(+) commit fbb9a1681a0531f2e47f710948dee82f9768003c Author: Michael J. Chudobiak Date: Mon May 18 12:18:40 2009 -0400 Post-release version bump to 2.26.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2ca7583f8ae0bc6b9a87ee4bc6eb7b6400810424 Author: Michael J. Chudobiak Date: Mon May 18 12:13:26 2009 -0400 Update NEWS for 2.26.1 release NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 361c11ba95cd524d976d8b3464963248c0777b6d Author: Jonh Wendell Date: Mon May 18 12:08:36 2009 -0400 Added .gitignore file .gitignore | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 703c1deb0ed0fc4e4fd059afa60af920f1beb60c Author: Jonh Wendell Date: Mon May 18 12:03:43 2009 -0400 Actually make i18n work Makefile.am | 2 +- src/Config.vapi | 5 +++++ src/Main.vala | 8 +++++++- 3 files changed, 13 insertions(+), 2 deletions(-) commit 717534591d79777e1ed4b145cd80fe37bfdf166e Author: Jonh Wendell Date: Mon May 18 12:01:21 2009 -0400 Unmark some strings for translation data/glade/moserial.glade | 30 +++++++++++++++--------------- data/glade/moserial.ui | 26 +++++++++++++------------- 2 files changed, 28 insertions(+), 28 deletions(-) commit 1baf8ef22c5b28a1a689104e865a015f67a599a7 Author: Jonh Wendell Date: Mon May 18 10:39:25 2009 -0300 Added Brazilian Portuguese translation po/LINGUAS: Added pt_BR to the list po/pt_BR.po: New translation, by Flamarion Jorge and myself. po/LINGUAS | 1 + po/pt_BR.po | 740 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 741 insertions(+) commit 0eda8095207c825b50f790425402dd52accdb1c2 Author: Mario Blättermann Date: Thu Apr 23 12:33:05 2009 +0200 Updated German translation doc/ChangeLog | 4 ++ doc/de/de.po | 158 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 158 insertions(+), 4 deletions(-) commit 87078b79f462f13d26fd9b94cde617d7cbf3a715 Author: Mario Blättermann Date: Mon Apr 20 22:33:03 2009 +0200 Added German doc translation doc/ChangeLog | 5 + doc/Makefile.am | 2 +- doc/de/de.po | 651 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 657 insertions(+), 1 deletion(-) commit b6de972a9e01d604c1ca3b68f56f83e36f1a2a6b Author: Michael J. Chudobiak Date: Fri Apr 17 15:17:19 2009 -0400 Add more info to the doap file. moserial.doap | 2 ++ 1 file changed, 2 insertions(+) commit 5bd96d680da9d7016d5b9554368c212c08b0e042 Author: Michael J. Chudobiak Date: Fri Apr 17 15:13:45 2009 -0400 Generate ChangeLog automatically during make dist Also, move the old ChangeLog to ChangeLog.pre-git, and add the empty m4 directory (with a .gitignore file in it to make git happy about an empty directory). ChangeLog | 1669 ----------------------------------------------------- ChangeLog.pre-git | 1669 +++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 16 + 3 files changed, 1685 insertions(+), 1669 deletions(-) commit 7e2a189c42e1e28ac25f3822d642e789517fbe8d Author: Michael J. Chudobiak Date: Fri Apr 17 11:28:15 2009 -0400 Uncomment the useful bits of the doap file moserial.doap | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) commit 6ea47a12a37d8ecc63be4db642aa036f182a7a0c Author: Michael J. Chudobiak Date: Fri Apr 17 11:20:51 2009 -0400 Added doap file moserial.doap | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit d82149addfc0ab905199361c3f5e09bff76f9f7b Author: Jorge Gonzalez Gonzalez Date: Sun Apr 12 16:06:30 2009 +0000 Updated Spanish translation by Robi Sottini svn path=/trunk/; revision=42 po/ChangeLog | 4 + po/es.po | 345 +++++++++++++++++++++++++++++++++++------------------------ 2 files changed, 209 insertions(+), 140 deletions(-) commit bda0506dba1b7d8d75c42f5f8eeb47e1b244328a Author: Michael J. Chudobiak Date: Tue Apr 7 13:02:17 2009 +0000 Post-release version bump to 2.26.1. 2009-04-07 Michael J. Chudobiak * configure.ac: Post-release version bump to 2.26.1. svn path=/trunk/; revision=41 ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 7f5845aac0e4ef701af88f176144bffb7d115d19 Author: Michael J. Chudobiak Date: Tue Apr 7 12:57:37 2009 +0000 Call this 2.26.0, to align with gnome versioning. 2009-04-07 Michael J. Chudobiak * NEWS: * configure.ac: * doc/C/moserial.xml: Call this 2.26.0, to align with gnome versioning. svn path=/trunk/; revision=39 ChangeLog | 7 +++++++ NEWS | 5 +++-- configure.ac | 2 +- doc/C/moserial.xml | 6 +++--- 4 files changed, 14 insertions(+), 6 deletions(-) commit c8bb4385ef86858b43e4dfcb6e79c8a4a40fd8a2 Author: Michael J. Chudobiak Date: Tue Apr 7 12:53:52 2009 +0000 Added ESC as a termination character. 2009-04-07 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/SerialConnection.vala: Added ESC as a termination character. svn path=/trunk/; revision=38 ChangeLog | 7 + NEWS | 7 + data/glade/moserial.glade | 343 +++++++++++++++++----------------- data/glade/moserial.ui | 461 +++++++++++++++++++++++----------------------- src/SerialConnection.vala | 6 +- 5 files changed, 423 insertions(+), 401 deletions(-) commit 7d5f184cd5c4b34be68d94a210552991116a827d Author: Michael J. Chudobiak Date: Fri Apr 3 17:23:36 2009 +0000 Remove the Escape key definition out from glade and put it in the code. 2009-04-03 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: * src/MainWindow.vala: Remove the Escape key definition out from glade and put it in the code. Also, scroll all text boxes to the bottom after pressing escape. svn path=/trunk/; revision=37 ChangeLog | 9 + data/glade/moserial.glade | 345 +++++++++++++++++----------------- data/glade/moserial.ui | 461 +++++++++++++++++++++++----------------------- src/MainWindow.vala | 31 +++- 4 files changed, 437 insertions(+), 409 deletions(-) commit 9d8f9b09c2890e9b6022a51b95038b445ffd9ec1 Author: Michael J. Chudobiak Date: Fri Mar 20 18:24:49 2009 +0000 Post-release version bump to 1.0.9. svn path=/trunk/; revision=36 ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 2a17c5facd697aa16b2161aad1098005e2f45d6b Author: Michael J. Chudobiak Date: Fri Mar 20 18:21:01 2009 +0000 Version 1.0.8 ------------- Version 1.0.8 ------------- * Added a recent files chooser submenu. * Show recording filename in window title. * Added support for /dev/rfcomm ports. New translation: Spanish (es) Updated docs: Swedish (sv) svn path=/trunk/; revision=34 ChangeLog | 6 ++++++ NEWS | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 32ec42b2017de5eded89293308d7a54b87ae565f Author: Michael J. Chudobiak Date: Fri Mar 20 14:30:45 2009 +0000 Update window title correctly after recording timeout. 2009-03-20 Michael J. Chudobiak * src/MainWindow.vala: Update window title correctly after recording timeout. svn path=/trunk/; revision=33 ChangeLog | 5 +++++ src/MainWindow.vala | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit ad05e18f9cade6418d475fd23ca3be7633866b23 Author: Michael J. Chudobiak Date: Fri Mar 20 14:22:06 2009 +0000 Show recording filename in window title. 2009-03-20 Michael J. Chudobiak * src/MainWindow.vala: Show recording filename in window title. svn path=/trunk/; revision=32 ChangeLog | 5 +++++ src/MainWindow.vala | 21 ++++++++++++++++++++- 2 files changed, 25 insertions(+), 1 deletion(-) commit 44a8dbd988eaf2a476637080cf2675a736e4a82a Author: Jorge Gonzalez Gonzalez Date: Thu Mar 19 12:14:17 2009 +0000 Added Spanish translation svn path=/trunk/; revision=31 po/ChangeLog | 5 + po/LINGUAS | 1 + po/es.po | 670 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 676 insertions(+) commit 9dbbfe3978316ba38891ddeb8d4fe8aa7c30b2d8 Author: Michael J. Chudobiak Date: Wed Mar 18 17:12:27 2009 +0000 Removed an obsolete comment. 2009-03-18 Michael J. Chudobiak * src/MainWindow.vala: Removed an obsolete comment. svn path=/trunk/; revision=30 ChangeLog | 5 +++++ src/MainWindow.vala | 3 --- 2 files changed, 5 insertions(+), 3 deletions(-) commit d636a2e1088637db7975f0578b48c2bd7bf4ea0d Author: Michael J. Chudobiak Date: Wed Mar 18 14:10:37 2009 +0000 Added support for /dev/rfcomm ports. 2009-03-18 Michael J. Chudobiak * doc/C/moserial.xml: * src/SettingsDialog.vala: Added support for /dev/rfcomm ports. svn path=/trunk/; revision=29 ChangeLog | 6 ++++++ doc/C/moserial.xml | 5 +++-- src/SettingsDialog.vala | 28 +++++++++++++--------------- 3 files changed, 22 insertions(+), 17 deletions(-) commit 22f79b809600c934d0f8fa7921bf3f8ccc402089 Author: Michael J. Chudobiak Date: Wed Mar 18 12:14:20 2009 +0000 Remove another pointless warning. 2009-03-18 Michael J. Chudobiak * src/MainWindow.vala: Remove another pointless warning. svn path=/trunk/; revision=28 ChangeLog | 5 +++++ src/MainWindow.vala | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) commit 863cad87e71307c16c361df051ec79a04b1fbc6e Author: Michael J. Chudobiak Date: Wed Mar 18 12:09:42 2009 +0000 Renamed doConnect to connectButtonClick to avoid confusion with another 2009-03-18 Michael J. Chudobiak * src/MainWindow.vala: Renamed doConnect to connectButtonClick to avoid confusion with another function of the same name. Removed one pointless warning. Check connection status before showing record dialog. svn path=/trunk/; revision=27 ChangeLog | 10 ++++++++++ src/MainWindow.vala | 9 ++++++--- 2 files changed, 16 insertions(+), 3 deletions(-) commit 12c7c59b6b8041e4a576aa9c7ebf3497b598d866 Author: Michael J. Chudobiak Date: Tue Mar 17 15:16:17 2009 +0000 Improved formatting of the special keys docs. 2009-03-17 Michael J. Chudobiak * doc/C/moserial.xml: Improved formatting of the special keys docs. svn path=/trunk/; revision=26 ChangeLog | 5 ++++ doc/C/moserial.xml | 80 +++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 69 insertions(+), 16 deletions(-) commit 4cbc3e4c0c347021835a8e30f27cd6a382fc0e00 Author: Michael J. Chudobiak Date: Tue Mar 17 13:06:03 2009 +0000 Added a recent files submenu. 2009-03-17 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added a recent files submenu. * src/Main.vala: Mangle command-line filename argument appropriately. * src/MainWindow.vala: Added recent files support. Refactored profile loading, to reduce duplicated code. svn path=/trunk/; revision=25 ChangeLog | 13 ++ NEWS | 7 + data/glade/moserial.glade | 351 +++++++++++++++++----------------- data/glade/moserial.ui | 469 +++++++++++++++++++++++----------------------- src/Main.vala | 2 + src/MainWindow.vala | 75 +++++--- 6 files changed, 490 insertions(+), 427 deletions(-) commit 3eda638c32063b75cb3a269e89b2ae0f13f1deb5 Author: Daniel Nylander Date: Mon Mar 16 22:04:46 2009 +0000 Added Swedish translation. Added sv * sv/sv.po: Added Swedish translation. * Makefile.am: Added sv svn path=/trunk/; revision=24 doc/ChangeLog | 4 + doc/Makefile.am | 2 +- doc/sv/sv.po | 340 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 345 insertions(+), 1 deletion(-) commit 50404b6a957731b6da8809490fe8da94325de4fc Author: Michael J. Chudobiak Date: Mon Mar 16 20:28:34 2009 +0000 Post-release version bump to 1.0.8. 2009-03-16 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.8. svn path=/trunk/; revision=23 ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 4e2154b2fc2df072fde1fed80259892e0f52f10f Author: Michael J. Chudobiak Date: Mon Mar 16 20:24:54 2009 +0000 [ moserial 1.0.7 released ] 2009-03-16 Michael J. Chudobiak [ moserial 1.0.7 released ] * configure.ac: Added the link to our new bugzilla product. svn path=/trunk/; revision=21 ChangeLog | 7 +++++++ NEWS | 8 ++++++++ configure.ac | 2 +- 3 files changed, 16 insertions(+), 1 deletion(-) commit deab398d71e78046f4c97ad1e5cd3d35a899153b Author: Michael J. Chudobiak Date: Mon Mar 16 17:49:57 2009 +0000 Document special keys. 2009-03-16 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Document special keys. * doc/C/moserial.xml: Make the entrybox grab the focus when the user presses Escape. svn path=/trunk/; revision=20 ChangeLog | 9 + data/glade/moserial.glade | 345 +++++++++++++++++----------------- data/glade/moserial.ui | 461 +++++++++++++++++++++++----------------------- doc/C/moserial.xml | 21 +++ 4 files changed, 434 insertions(+), 402 deletions(-) commit 4c9e7b3e150df0d8796a4b78e45609f100d2eb46 Author: Hendrik Brandt Date: Fri Mar 13 22:58:00 2009 +0000 Added German translation. 2009-03-13 Hendrik Brandt * de.po: Added German translation. svn path=/trunk/; revision=19 po/ChangeLog | 4 + po/LINGUAS | 1 + po/de.po | 741 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 746 insertions(+) commit f8344d60ccc74a5b173089574b12d609cfcdfe5e Author: Michael J. Chudobiak Date: Fri Mar 13 14:54:06 2009 +0000 Fixed small typo in docs. 2009-03-13 Michael J. Chudobiak * doc/C/moserial.xml: Fixed small typo in docs. svn path=/trunk/; revision=18 ChangeLog | 5 +++++ doc/C/moserial.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit aff54a92cff747f768107039c2ffee91d76f1e49 Author: Michael J. Chudobiak Date: Fri Mar 13 14:49:46 2009 +0000 Added some tooltips to clarify the handshaking options. 2009-03-13 Michael J. Chudobiak * data/glade/moserial.glade: * data/glade/moserial.ui: Added some tooltips to clarify the handshaking options. svn path=/trunk/; revision=17 ChangeLog | 6 + data/glade/moserial.glade | 342 +++++++++++++++++----------------- data/glade/moserial.ui | 458 +++++++++++++++++++++++----------------------- 3 files changed, 408 insertions(+), 398 deletions(-) commit a058721de1daa5b708bb63047c7bb3d5fd0131b6 Author: Michael J. Chudobiak Date: Fri Mar 13 14:40:50 2009 +0000 Post-release version bump to 1.0.7. 2009-03-13 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.7. svn path=/trunk/; revision=16 ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 53206b84d94e156208004d2966fadd0c3fefdfb6 Author: Michael J. Chudobiak Date: Fri Mar 13 14:40:01 2009 +0000 [ moserial 1.0.6 released ] 2009-03-13 Michael J. Chudobiak [ moserial 1.0.6 released ] * data/glade/moserial.glade: * data/glade/moserial.ui: Re-added missing disconnect and stop-recording button labels * src/Main.vala: * src/MainWindow.vala: * src/SerialConnection.vala: Fixed some nuisance compiler warnings, by renaming variables that conflicted with inherited field names. svn path=/trunk/; revision=15 ChangeLog | 14 ++ NEWS | 6 + data/glade/moserial.glade | 354 +++++++++++++++++++--------------- data/glade/moserial.ui | 470 +++++++++++++++++++++++++--------------------- src/Main.vala | 2 +- src/MainWindow.vala | 66 +++---- src/SerialConnection.vala | 4 +- 7 files changed, 512 insertions(+), 404 deletions(-) commit 11f81c60178abe30dc7e34049886c3d985661e3f Author: Michael J. Chudobiak Date: Thu Mar 12 18:50:37 2009 +0000 Post-release version bump to 1.0.6. 2009-03-12 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.6. svn path=/trunk/; revision=14 ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit a1a4b683f851d639ba43a20438185e72457d046f Author: Michael J. Chudobiak Date: Thu Mar 12 15:29:12 2009 +0000 Updated NEWS. svn path=/trunk/; revision=13 NEWS | 7 +++++++ 1 file changed, 7 insertions(+) commit 33a7503524d77bdf557f3ab2a997ef12aab22771 Author: Michael J. Chudobiak Date: Thu Mar 12 15:26:40 2009 +0000 [ moserial 1.0.5 released ] 2009-03-12 Michael J. Chudobiak [ moserial 1.0.5 released ] * src/MainWindow.vala: Switch outgoing view to HEX when send mode is HEX. svn path=/trunk/; revision=12 ChangeLog | 7 +++++++ src/MainWindow.vala | 14 ++++++++++++++ 2 files changed, 21 insertions(+) commit 3348b263227a4a728262eda39c9a067c69612890 Author: Michael J. Chudobiak Date: Thu Mar 12 15:14:40 2009 +0000 Validate all characters appended to text buffers. 2009-03-12 Michael J. Chudobiak * src/MainWindow.vala: Validate all characters appended to text buffers. svn path=/trunk/; revision=11 ChangeLog | 5 +++++ src/MainWindow.vala | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) commit 6f0b16575fa72736c576383b5373b130c18df47f Author: Michael J. Chudobiak Date: Thu Mar 12 14:45:44 2009 +0000 Fixed HEX entry. 2009-03-12 Michael J. Chudobiak * src/InputParser.vala: Fixed HEX entry. svn path=/trunk/; revision=10 ChangeLog | 5 +++++ src/InputParser.vala | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit c5476e9f1e6931f14353ec1633e96a72f81d0920 Author: Michael J. Chudobiak Date: Mon Mar 9 13:19:10 2009 +0000 Post-release version bump to 1.0.5. 2009-03-09 Michael J. Chudobiak * configure.ac: Post-release version bump to 1.0.5. svn path=/trunk/; revision=9 ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 7087d0c6f387770076ae102860131eca0df05202 Author: Michael J. Chudobiak Date: Mon Mar 9 12:45:52 2009 +0000 moserial 1.0.4 released svn path=/trunk/; revision=8 ChangeLog | 2 ++ 1 file changed, 2 insertions(+) commit 889132081d073c0477a94c01bc92226a049e3791 Author: Michael J. Chudobiak Date: Mon Mar 9 12:45:15 2009 +0000 Make Settings and Preferences dialogs HIG compliant by changing stock 2009-03-09 Michael J. Chudobiak * NEWS: * data/glade/moserial.glade: * data/glade/moserial.ui: * src/PreferencesDialog.vala: * src/SettingsDialog.vala: Make Settings and Preferences dialogs HIG compliant by changing stock buttons and ordering from Apply/Discard to Cancel/OK. svn path=/trunk/; revision=7 ChangeLog | 10 + NEWS | 7 + data/glade/moserial.glade | 469 ++++++++++++--------------------- data/glade/moserial.ui | 593 ++++++++++++++++-------------------------- doc/C/figures/port-setup.png | Bin 37665 -> 39471 bytes doc/C/figures/preferences.png | Bin 33832 -> 34650 bytes src/PreferencesDialog.vala | 16 +- src/SettingsDialog.vala | 16 +- 8 files changed, 423 insertions(+), 688 deletions(-) commit b9128e3dc5f11e4a1002fe6cdb4a47fbf12a596f Author: Daniel Nylander Date: Sun Mar 8 19:39:54 2009 +0000 sv.po: Updated Swedish translation svn path=/trunk/; revision=6 po/LINGUAS | 1 + 1 file changed, 1 insertion(+) commit ce67f8fab8645a59a529aa234b52c312cd3d73bd Author: Daniel Nylander Date: Sun Mar 8 19:39:45 2009 +0000 sv.po: Updated Swedish translation svn path=/trunk/; revision=5 po/ChangeLog | 3 + po/sv.po | 639 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 642 insertions(+) commit 99990d865d892208be253cd0002433a8ee44af27 Author: Michael J. Chudobiak Date: Fri Mar 6 20:31:52 2009 +0000 Point the About hyperlink to the gnome page. 2009-03-06 Michael J. Chudobiak * src/MainWindow.vala: Point the About hyperlink to the gnome page. svn path=/trunk/; revision=4 ChangeLog | 5 +++++ src/MainWindow.vala | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 085dbd9a59cad6ce3586d9cd12aca08ef0e8385e Author: Michael J. Chudobiak Date: Fri Mar 6 18:49:52 2009 +0000 Document the timeout feature. 2009-03-06 Michael J. Chudobiak * doc/C/moserial.xml: Document the timeout feature. svn path=/trunk/; revision=3 ChangeLog | 5 +++++ doc/C/figures/preferences.png | Bin 27927 -> 33832 bytes doc/C/moserial.xml | 11 +++++++++-- 3 files changed, 14 insertions(+), 2 deletions(-) commit 3c31dd1f74fa7f86ddbf18610e20433db954f6e4 Author: Michael J. Chudobiak Date: Fri Mar 6 18:32:35 2009 +0000 Initial commit. Copied from SourceForge svn repo. svn path=/trunk/; revision=2 AUTHORS | 2 + COPYING | 674 +++++++++++ ChangeLog | 1476 +++++++++++++++++++++++++ MAINTAINERS | 3 + Makefile.am | 84 ++ autogen.sh | 9 + configure.ac | 50 + data/Makefile.am | 14 + data/glade/Makefile.am | 8 + data/glade/moserial.glade | 1745 +++++++++++++++++++++++++++++ data/glade/moserial.ui | 1968 +++++++++++++++++++++++++++++++++ data/icons/48x48/Makefile.am | 1 + data/icons/48x48/apps/Makefile.am | 9 + data/icons/48x48/apps/moserial.png | Bin 0 -> 2853 bytes data/icons/Makefile.am | 14 + data/moserial.desktop.in | 11 + doc/C/figures/authorizations.png | Bin 0 -> 148427 bytes doc/C/figures/connect.png | Bin 0 -> 2680 bytes doc/C/figures/disconnect.png | Bin 0 -> 3207 bytes doc/C/figures/main-toolbar.png | Bin 0 -> 10280 bytes doc/C/figures/outgoing.png | Bin 0 -> 6859 bytes doc/C/figures/port-setup.png | Bin 0 -> 37665 bytes doc/C/figures/preferences.png | Bin 0 -> 27927 bytes doc/C/figures/receive-file-dialog.png | Bin 0 -> 80288 bytes doc/C/figures/receive-file.png | Bin 0 -> 2814 bytes doc/C/figures/receive-progress.png | Bin 0 -> 15711 bytes doc/C/figures/received-tabs.png | Bin 0 -> 5877 bytes doc/C/figures/record-dialog.png | Bin 0 -> 28635 bytes doc/C/figures/record.png | Bin 0 -> 2772 bytes doc/C/figures/send-file-dialog.png | Bin 0 -> 74219 bytes doc/C/figures/send-file.png | Bin 0 -> 2329 bytes doc/C/figures/send-progress.png | Bin 0 -> 14805 bytes doc/C/figures/sent-tabs.png | Bin 0 -> 4458 bytes doc/C/figures/statusbar.png | Bin 0 -> 8619 bytes doc/C/figures/stop-recording.png | Bin 0 -> 4403 bytes doc/C/legal.xml | 76 ++ doc/C/moserial.xml | 427 +++++++ doc/Makefile.am | 26 + doc/moserial.omf.in | 11 + gnome-doc-utils.make | 574 ++++++++++ omf.make | 61 + po/LINGUAS | 2 + po/Makefile.in.in | 217 ++++ po/POTFILES.in | 14 + po/POTFILES.skip | 11 + src/AutoScroll.vala | 28 + src/Config.vapi | 6 + src/DefaultPaths.vala | 47 + src/HexTextBuffer.vala | 104 ++ src/InputParser.vala | 121 ++ src/Main.vala | 42 + src/MainWindow.vala | 809 ++++++++++++++ src/MoUtils.vala | 81 ++ src/Preferences.vala | 105 ++ src/PreferencesDialog.vala | 129 +++ src/Profile.vala | 94 ++ src/ReceiveChooserDialog.vala | 46 + src/ReceiveProgressDialog.vala | 41 + src/RecordDialog.vala | 67 ++ src/Rzwrapper.vala | 212 ++++ src/SendChooserDialog.vala | 45 + src/SendProgressDialog.vala | 41 + src/SerialConnection.vala | 277 +++++ src/SerialStreamRecorder.vala | 71 ++ src/Settings.vala | 115 ++ src/SettingsDialog.vala | 190 ++++ src/Szwrapper.vala | 205 ++++ src/XmodemFilenameDialog.vala | 32 + src/posix.vapi | 746 +++++++++++++ xmldocs.make | 101 ++ 70 files changed, 11242 insertions(+) moserial-3.0.8/COPYING0000674000213200021320000010451311724215622011310 00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . moserial-3.0.8/AUTHORS0000674000213200021320000000011111724215622011312 00000000000000Michael J. Chudobiak Marlodavampire (rentacoder.com) moserial-3.0.8/configure0000774000213200021320000161467312064106161012173 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.68 for moserial 3.0.8. # # Report bugs to . # # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software # Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which # is contrary to our usage. Disable this feature. alias -g '\${1+\"\$@\"}'='\"\$@\"' setopt NO_GLOB_SUBST else case \`(set -o) 2>/dev/null\` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 test \$(( 1 + 1 )) = 2 || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV export CONFIG_SHELL case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: http://bugzilla.gnome.org/enter_bug.cgi?product=moserial $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits as_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='moserial' PACKAGE_TARNAME='moserial' PACKAGE_VERSION='3.0.8' PACKAGE_STRING='moserial 3.0.8' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=moserial' PACKAGE_URL='' ac_unique_file="Makefile.am" # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS MOSERIAL_LIBS MOSERIAL_CFLAGS ALL_LINGUAS INTLTOOL_PERL MSGMERGE INTLTOOL_POLICY_RULE INTLTOOL_SERVICE_RULE INTLTOOL_THEME_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_CAVES_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_XML_RULE INTLTOOL_KBD_RULE INTLTOOL_XAM_RULE INTLTOOL_UI_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_SHEET_RULE INTLTOOL_SERVER_RULE INTLTOOL_PONG_RULE INTLTOOL_OAF_RULE INTLTOOL_PROP_RULE INTLTOOL_KEYS_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_DESKTOP_RULE intltool__v_merge_options_0 intltool__v_merge_options_ INTLTOOL_V_MERGE_OPTIONS INTLTOOL__v_MERGE_0 INTLTOOL__v_MERGE_ INTLTOOL_V_MERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE MKINSTALLDIRS POSUB POFILES PO_IN_DATADIR_FALSE PO_IN_DATADIR_TRUE INTLLIBS INSTOBJEXT GMOFILES DATADIRNAME CATOBJEXT CATALOGS XGETTEXT GMSGFMT MSGFMT_OPTS MSGFMT USE_NLS GETTEXT_PACKAGE HAVE_GNOME_DOC_UTILS_FALSE HAVE_GNOME_DOC_UTILS_TRUE DISTCHECK_CONFIGURE_FLAGS ENABLE_SK_FALSE ENABLE_SK_TRUE DOC_USER_FORMATS OMF_DIR HELP_DIR PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG AM_DEFAULT_VERBOSITY VALAC CPP OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP EGREP GREP SED host_os host_vendor host_cpu host build_os build_vendor build_cpu build LIBTOOL am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC MAINT MAINTAINER_MODE_FALSE MAINTAINER_MODE_TRUE am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_maintainer_mode enable_dependency_tracking enable_static enable_shared with_pic enable_fast_install with_gnu_ld with_sysroot enable_libtool_lock with_help_dir with_omf_dir with_help_formats enable_scrollkeeper enable_nls ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR MOSERIAL_CFLAGS MOSERIAL_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used" >&2 elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures moserial 3.0.8 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/moserial] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of moserial 3.0.8:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-scrollkeeper do not make updates to the scrollkeeper database --disable-nls do not use Native Language Support Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot=DIR Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-help-dir=DIR path to help docs --with-omf-dir=DIR path to OMF files --with-help-formats=FORMATS list of formats Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path MOSERIAL_CFLAGS C compiler flags for MOSERIAL, overriding pkg-config MOSERIAL_LIBS linker flags for MOSERIAL, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF moserial configure 3.0.8 generated by GNU Autoconf 2.68 Copyright (C) 2010 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || $as_test_x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## ----------------------------------------------------------------------- ## ## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=moserial ## ## ----------------------------------------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by moserial $as_me 3.0.8, which was generated by GNU Autoconf 2.68. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append 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 as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > 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 cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## 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" am__api_version='1.11' ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } mkdir_p="$MKDIR_P" case $mkdir_p in [\\/$]* | ?:[\\/]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='moserial' VERSION='3.0.8' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then : enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 $as_echo "$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi if test "x$CC" != xcc; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 $as_echo_n "checking whether cc understands -c and -o together... " >&6; } fi set dummy $CC; ac_cc=`$as_echo "$2" | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # We do the test twice because some compilers refuse to overwrite an # existing .o file with -o, though they will create one. ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then eval ac_cv_prog_cc_${ac_cc}_c_o=yes if test "x$CC" != xcc; then # Test first that cc exists at all. if { ac_try='cc -c conftest.$ac_ext >&5' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' rm -f conftest2.* if { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -f conftest2.$ac_objext && { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # cc works too. : else # cc exists but doesn't like -o. eval ac_cv_prog_cc_${ac_cc}_c_o=no fi fi fi else eval ac_cv_prog_cc_${ac_cc}_c_o=no fi rm -f core conftest* fi if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h fi # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o if test "$am_t" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=no fi case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.2' macro_revision='1.3337' ltmain="$ac_aux_dir/ltmain.sh" # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case "$ECHO" in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } 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. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 $as_echo "$xsi_shell" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } lt_shell_append=no ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 $as_echo "$lt_shell_append" >&6; } if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test "$GCC" != yes; then reload_cmds=false fi ;; darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 $as_echo "${with_sysroot}" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext 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 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD="${LD-ld}_sol2" fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[012]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC="$CC" 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 # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test x"$lt_cv_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test x"$lt_cv_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test "$hard_links" = no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='${wl}--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' link_all_deplibs=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi export_dynamic_flag_spec='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_="/usr/lib:/lib" fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test "$lt_cv_ld_force_load" = "yes"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test x"$lt_cv_prog_compiler__b" = xyes; then archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS="$save_LDFLAGS" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test "$lt_cv_irix_exported_symbol" = yes; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='${wl}-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; *) lt_sed_strip_eq="s,=/,/,g" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([A-Za-z]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Add ABI-specific directories to the system library path. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existent directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test "$hardcode_action" = relink || test "$inherit_rpath" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen="shl_load" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen="dlopen" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report which library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ac_config_commands="$ac_config_commands libtool" # Only expand once: # Extract the first word of "valac", so it can be a program name with args. set dummy valac; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_VALAC+:} false; then : $as_echo_n "(cached) " >&6 else case $VALAC in [\\/]* | ?:[\\/]*) ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac" ;; esac fi VALAC=$ac_cv_path_VALAC if test -n "$VALAC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5 $as_echo "$VALAC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi gdu_cv_version_required=0.3.2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking gnome-doc-utils >= $gdu_cv_version_required" >&5 $as_echo_n "checking gnome-doc-utils >= $gdu_cv_version_required... " >&6; } if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-doc-utils >= \$gdu_cv_version_required\""; } >&5 ($PKG_CONFIG --exists --print-errors "gnome-doc-utils >= $gdu_cv_version_required") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then gdu_cv_have_gdu=yes else gdu_cv_have_gdu=no fi if test "$gdu_cv_have_gdu" = "yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } : else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? "gnome-doc-utils >= $gdu_cv_version_required not found" "$LINENO" 5 fi # Check whether --with-help-dir was given. if test "${with_help_dir+set}" = set; then : withval=$with_help_dir; else with_help_dir='${datadir}/gnome/help' fi HELP_DIR="$with_help_dir" # Check whether --with-omf-dir was given. if test "${with_omf_dir+set}" = set; then : withval=$with_omf_dir; else with_omf_dir='${datadir}/omf' fi OMF_DIR="$with_omf_dir" # Check whether --with-help-formats was given. if test "${with_help_formats+set}" = set; then : withval=$with_help_formats; else with_help_formats='' fi DOC_USER_FORMATS="$with_help_formats" # Check whether --enable-scrollkeeper was given. if test "${enable_scrollkeeper+set}" = set; then : enableval=$enable_scrollkeeper; else enable_scrollkeeper=yes fi if test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"; then ENABLE_SK_TRUE= ENABLE_SK_FALSE='#' else ENABLE_SK_TRUE='#' ENABLE_SK_FALSE= fi DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS" if test "$gdu_cv_have_gdu" = "yes"; then HAVE_GNOME_DOC_UTILS_TRUE= HAVE_GNOME_DOC_UTILS_FALSE='#' else HAVE_GNOME_DOC_UTILS_TRUE='#' HAVE_GNOME_DOC_UTILS_FALSE= fi GETTEXT_PACKAGE=moserial cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF for ac_header in locale.h do : ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" if test "x$ac_cv_header_locale_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_LOCALE_H 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 $as_echo_n "checking for LC_MESSAGES... " >&6; } if ${am_cv_val_LC_MESSAGES+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : am_cv_val_LC_MESSAGES=yes else am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 $as_echo "$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" if test "x$ac_cv_header_libintl_h" = xyes; then : gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 $as_echo_n "checking for ngettext in libc... " >&6; } if ${gt_cv_func_ngettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_ngettext_libc=yes else gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 $as_echo "$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 $as_echo_n "checking for dgettext in libc... " >&6; } if ${gt_cv_func_dgettext_libc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : gt_cv_func_dgettext_libc=yes else gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 $as_echo "$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; } if ${ac_cv_lib_intl_bindtextdomain+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char bindtextdomain (); int main () { return bindtextdomain (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_bindtextdomain=yes else ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 $as_echo_n "checking for dgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dgettext (); int main () { return dgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dgettext=yes else ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 $as_echo "$ac_cv_lib_intl_dgettext" >&6; } if test "x$ac_cv_lib_intl_dgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 $as_echo "" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 $as_echo_n "checking for ngettext in -lintl... " >&6; } if ${ac_cv_lib_intl_ngettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char ngettext (); int main () { return ngettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_ngettext=yes else ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 $as_echo "$ac_cv_lib_intl_ngettext" >&6; } if test "x$ac_cv_lib_intl_ngettext" = xyes; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 $as_echo_n "checking for dcgettext in -lintl... " >&6; } if ${ac_cv_lib_intl_dcgettext+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Override any GCC internal prototype to avoid an error. Use char because int might match the return type of a GCC builtin and then its argument prototype would still apply. */ #ifdef __cplusplus extern "C" #endif char dcgettext (); int main () { return dcgettext (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_intl_dcgettext=yes else ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; } if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv else : fi else : fi fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset for ac_func in bind_textdomain_codeset do : ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_BIND_TEXTDOMAIN_CODESET 1 _ACEOF fi done LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then $as_echo "#define HAVE_GETTEXT 1" >>confdefs.h # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case "$MSGFMT" in /*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then ac_cv_path_MSGFMT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" ;; esac fi MSGFMT="$ac_cv_path_MSGFMT" if test "$MSGFMT" != "no"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do : ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" if test "x$ac_cv_func_dcgettext" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DCGETTEXT 1 _ACEOF fi done MSGFMT_OPTS= { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 $as_echo_n "checking if msgfmt accepts -c... " >&6; } cat >conftest.foo <<_ACEOF msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" _ACEOF if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } echo "$as_me: failed input was:" >&5 sed 's/^/| /' conftest.foo >&5 fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case "$XGETTEXT" in /*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in $PATH; do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then ac_cv_path_XGETTEXT="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" ;; esac fi XGETTEXT="$ac_cv_path_XGETTEXT" if test "$XGETTEXT" != ":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : CATOBJEXT=.gmo DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : CATOBJEXT=.gmo DATADIRNAME=share else CATOBJEXT=.mo DATADIRNAME=lib fi ;; *-*-openbsd*) CATOBJEXT=.mo DATADIRNAME=share ;; *) CATOBJEXT=.mo DATADIRNAME=lib ;; esac fi rm -f core 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 $as_echo "#define ENABLE_NLS 1" >>confdefs.h fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } XGETTEXT=":" fi fi # We need to process the po/ directory. POSUB=po ac_config_commands="$ac_config_commands default-1" for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 $as_echo_n "checking for catalogs to be installed... " >&6; } NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 $as_echo "$LINGUAS" >&6; } fi if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 $as_echo_n "checking whether NLS is requested... " >&6; } # Check whether --enable-nls was given. if test "${enable_nls+set}" = set; then : enableval=$enable_nls; USE_NLS=$enableval else USE_NLS=yes fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 $as_echo "$USE_NLS" >&6; } case "$am__api_version" in 1.01234) as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "0.35.0"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5 $as_echo_n "checking for intltool >= 0.35.0... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 $as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5 fi # Extract the first word of "intltool-update", so it can be a program name with args. set dummy intltool-update; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_UPDATE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE if test -n "$INTLTOOL_UPDATE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 $as_echo "$INTLTOOL_UPDATE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-merge", so it can be a program name with args. set dummy intltool-merge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_MERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE if test -n "$INTLTOOL_MERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 $as_echo "$INTLTOOL_MERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "intltool-extract", so it can be a program name with args. set dummy intltool-extract; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_EXTRACT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT if test -n "$INTLTOOL_EXTRACT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 $as_echo "$INTLTOOL_EXTRACT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' # Check the gettext tools to make sure they are GNU # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_XGETTEXT+:} false; then : $as_echo_n "(cached) " >&6 else case $XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi XGETTEXT=$ac_cv_path_XGETTEXT if test -n "$XGETTEXT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 $as_echo "$XGETTEXT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGMERGE+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGMERGE=$ac_cv_path_MSGMERGE if test -n "$MSGMERGE"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 $as_echo "$MSGMERGE" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_MSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi MSGFMT=$ac_cv_path_MSGFMT if test -n "$MSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 $as_echo "$MSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi # Extract the first word of "gmsgfmt", so it can be a program name with args. set dummy gmsgfmt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_GMSGFMT+:} false; then : $as_echo_n "(cached) " >&6 else case $GMSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 $as_echo "$GMSGFMT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 fi # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_INTLTOOL_PERL+:} false; then : $as_echo_n "(cached) " >&6 else case $INTLTOOL_PERL in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL if test -n "$INTLTOOL_PERL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 $as_echo "$INTLTOOL_PERL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$INTLTOOL_PERL"; then as_fn_error $? "perl not found" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 $as_echo_n "checking for perl >= 5.8.1... " >&6; } $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 $as_echo "$IT_PERL_VERSION" >&6; } fi if test "x" != "xno-xml"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 $as_echo_n "checking for XML::Parser... " >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } else as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : DATADIRNAME=share else case $host in *-*-solaris*) ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi GLIB_REQUIRED=2.12.0 GTK_REQUIRED=3.0.0 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MOSERIAL" >&5 $as_echo_n "checking for MOSERIAL... " >&6; } if test -n "$MOSERIAL_CFLAGS"; then pkg_cv_MOSERIAL_CFLAGS="$MOSERIAL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED gio-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MOSERIAL_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$MOSERIAL_LIBS"; then pkg_cv_MOSERIAL_LIBS="$MOSERIAL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED gobject-2.0 >= \$GLIB_REQUIRED gtk+-3.0 >= \$GTK_REQUIRED gio-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_MOSERIAL_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0" 2>/dev/null` else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then MOSERIAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0" 2>&1` else MOSERIAL_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$MOSERIAL_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0) were not met: $MOSERIAL_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables MOSERIAL_CFLAGS and MOSERIAL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables MOSERIAL_CFLAGS and MOSERIAL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else MOSERIAL_CFLAGS=$pkg_cv_MOSERIAL_CFLAGS MOSERIAL_LIBS=$pkg_cv_MOSERIAL_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi ac_config_files="$ac_config_files Makefile po/Makefile.in data/Makefile data/glade/Makefile data/icons/Makefile data/icons/48x48/Makefile data/icons/48x48/apps/Makefile doc/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_SK_TRUE}" && test -z "${ENABLE_SK_FALSE}"; then as_fn_error $? "conditional \"ENABLE_SK\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GNOME_DOC_UTILS_TRUE}" && test -z "${HAVE_GNOME_DOC_UTILS_FALSE}"; then as_fn_error $? "conditional \"HAVE_GNOME_DOC_UTILS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi ac_config_commands="$ac_config_commands po/stamp-it" : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## M4sh Initialization. ## ## -------------------- ## # Be more Bourne compatible DUALCASE=1; export DUALCASE # for MKS sh if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : emulate sh NULLCMD=: # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in #( *posix*) : set -o posix ;; #( *) : ;; esac fi as_nl=' ' export as_nl # Printing a long string crashes Solaris 7 /usr/bin/printf. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='printf %s\n' as_echo_n='printf %s' else if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' as_echo_n='/usr/ucb/echo -n' else as_echo_body='eval expr "X$1" : "X\\(.*\\)"' as_echo_n_body='eval arg=$1; case $arg in #( *"$as_nl"*) expr "X$arg" : "X\\(.*\\)$as_nl"; arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; esac; expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" ' export as_echo_n_body as_echo_n='sh -c $as_echo_n_body as_echo' fi export as_echo_body as_echo='sh -c $as_echo_body as_echo' fi # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then PATH_SEPARATOR=: (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || PATH_SEPARATOR=';' } fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. as_myself= case $0 in #(( *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 exit 1 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || $as_echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # 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 ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir 2>/dev/null fi if (echo >conf$$.file) 2>/dev/null; then if ln -s conf$$.file conf$$ 2>/dev/null; then as_ln_s='ln -s' # ... but there are two gotchas: # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. # In both cases, we have to default to `cp -p'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -p' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -p' fi else as_ln_s='cp -p' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( *) as_qdir=$as_dir;; esac as_dirs="'$as_qdir' $as_dirs" as_dir=`$as_dirname -- "$as_dir" || $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_dir" : 'X\(//\)[^/]' \| \ X"$as_dir" : 'X\(//\)$' \| \ X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_dir" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` test -d "$as_dir" && break done test -z "$as_dirs" || eval "mkdir $as_dirs" } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in #( -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Save the log message, to keep $0 and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by moserial $as_me 3.0.8, which was generated by GNU Autoconf 2.68. Invocation command line was CONFIG_FILES = $CONFIG_FILES CONFIG_HEADERS = $CONFIG_HEADERS CONFIG_LINKS = $CONFIG_LINKS CONFIG_COMMANDS = $CONFIG_COMMANDS $ $0 $@ on `(hostname || uname -n) 2>/dev/null | sed 1q` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, then exit -q, --quiet, --silent do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ moserial config.status 3.0.8 configured by $0, generated by GNU Autoconf 2.68, with options \\"\$ac_cs_config\\" Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." ac_pwd='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # The default lists apply if the user does not specify any file. ac_need_defaults=: while test $# != 0 do case $1 in --*=?*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; --*=) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; esac case $ac_option in # Handling of the options. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) ac_cs_recheck=: ;; --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) $as_echo "$ac_cs_version"; exit ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append CONFIG_FILES " '$ac_optarg'" ac_need_defaults=false;; --header | --heade | --head | --hea ) $ac_shift case $ac_optarg in *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; esac as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --help | --hel | -h ) $as_echo "$ac_cs_usage"; exit ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil | --si | --s) ac_cs_silent=: ;; # This is an error. -*) as_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append ac_config_targets " $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX $as_echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ nm_file_list_spec \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ DSYMUTIL \ NMEDIT \ LIPO \ OTOOL \ OTOOL64 \ shrext_cmds \ export_dynamic_flag_spec \ whole_archive_flag_spec \ compiler_needs_object \ with_gnu_ld \ allow_undefined_flag \ no_undefined_flag \ hardcode_libdir_flag_spec \ hardcode_libdir_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in reload_cmds \ old_postinstall_cmds \ old_postuninstall_cmds \ old_archive_cmds \ extract_expsyms_cmds \ old_archive_from_new_cmds \ old_archive_from_expsyms_cmds \ archive_cmds \ archive_expsym_cmds \ module_cmds \ module_expsym_cmds \ export_symbols_cmds \ prelink_cmds \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ sys_lib_dlsearch_path_spec; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' xsi_shell='$xsi_shell' lt_shell_append='$lt_shell_append' # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; "data/glade/Makefile") CONFIG_FILES="$CONFIG_FILES data/glade/Makefile" ;; "data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;; "data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;; "data/icons/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/apps/Makefile" ;; "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # Set up the scripts for CONFIG_FILES section. # No need to generate them if there are no CONFIG_FILES. # This happens for instance with `./config.status config.h'. if test -n "$CONFIG_FILES"; then ac_cr=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then ac_cs_awk_cr='\\r' else ac_cs_awk_cr=$ac_cr fi echo 'BEGIN {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && for (key in S) S_is_set[key] = 1 FS = "" } { line = $ 0 nfields = split(line, field, "@") substed = 0 len = length(field[1]) for (i = 2; i < nfields; i++) { key = field[i] keylen = length(key) if (S_is_set[key]) { value = S[key] line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) len += length(value) + length(field[++i]) substed = 1 } else len += 1 + keylen } print line } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" else cat fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 fi # test -n "$CONFIG_FILES" # Set up the scripts for CONFIG_HEADERS section. # No need to generate them if there are no CONFIG_HEADERS. # This happens for instance with `./config.status Makefile'. if test -n "$CONFIG_HEADERS"; then cat >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { line = \$ 0 split(line, arg, " ") if (arg[1] == "#") { defundef = arg[2] mac1 = arg[3] } else { defundef = substr(arg[1], 2) mac1 = arg[2] } split(mac1, mac2, "(") #) macro = mac2[1] prefix = substr(line, 1, index(line, defundef) - 1) if (D_is_set[macro]) { # Preserve the white space surrounding the "#". print prefix "define", macro P[macro] D[macro] next } else { # Replace #undef with comments. This is necessary, for example, # in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. if (defundef == "undef") { print "/*", prefix defundef, macro, "*/" next } } } { print } _ACAWK _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 fi # test -n "$CONFIG_HEADERS" eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" shift for ac_tag do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$ac_tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append ac_file_inputs " '$ac_f'" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input='Generated from '` $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' `' by configure.' if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 $as_echo "$as_me: creating $ac_file" >&6;} fi # Neutralize special characters interpreted by sed in replacement strings. case $configure_input in #( *\&* | *\|* | *\\* ) ac_sed_conf_input=`$as_echo "$configure_input" | sed 's/[\\\\&|]/\\\\&/g'`;; #( *) ac_sed_conf_input=$configure_input;; esac case $ac_tag in *:-:* | *:-) cat >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; esac ;; esac ac_dir=`$as_dirname -- "$ac_file" || $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_file" : 'X\(//\)[^/]' \| \ X"$ac_file" : 'X\(//\)$' \| \ X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir="$ac_dir"; as_fn_mkdir_p ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` case $ac_top_builddir_sub in "") ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; esac ;; esac ac_abs_top_builddir=$ac_pwd ac_abs_builddir=$ac_pwd$ac_dir_suffix # for backward compatibility: ac_top_builddir=$ac_top_build_prefix case $srcdir in .) # We are building in place. ac_srcdir=. ac_top_srcdir=$ac_top_builddir_sub ac_abs_top_srcdir=$ac_pwd ;; [\\/]* | ?:[\\/]* ) # Absolute name. ac_srcdir=$srcdir$ac_dir_suffix; ac_top_srcdir=$srcdir ac_abs_top_srcdir=$srcdir ;; *) # Relative name. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix ac_top_srcdir=$ac_top_build_prefix$srcdir ac_abs_top_srcdir=$ac_pwd/$srcdir ;; esac ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix case $ac_mode in :F) # # CONFIG_FILE # case $INSTALL in [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; esac ac_MKDIR_P=$MKDIR_P case $MKDIR_P in [\\/$]* | ?:[\\/]* ) ;; */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; esac _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # If the template does not know about datarootdir, expand it. # FIXME: This hack should be removed a few years after 2.60. ac_datarootdir_hack=; ac_datarootdir_seen= ac_sed_dataroot=' /datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p' case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s|@configure_input@|$ac_sed_conf_input|;t t s&@top_builddir@&$ac_top_builddir_sub&;t t s&@top_build_prefix@&$ac_top_build_prefix&;t t s&@srcdir@&$ac_srcdir&;t t s&@abs_srcdir@&$ac_abs_srcdir&;t t s&@top_srcdir@&$ac_top_srcdir&;t t s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t s&@builddir@&$ac_builddir&;t t s&@abs_builddir@&$ac_abs_builddir&;t t s&@abs_top_builddir@&$ac_abs_top_builddir&;t t s&@INSTALL@&$ac_INSTALL&;t t s&@MKDIR_P@&$ac_MKDIR_P&;t t $ac_datarootdir_hack " eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&5 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined" >&2;} rm -f "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 fi # Compute "$ac_file"'s index in $config_headers. _am_arg="$ac_file" _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$_am_arg" : 'X\(//\)[^/]' \| \ X"$_am_arg" : 'X\(//\)$' \| \ X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$_am_arg" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'`/stamp-h$_am_stamp_count ;; :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 $as_echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || { # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` as_dir=$dirpart/$fdir; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool 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. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # The names of the tagged configurations supported by this script. available_tags="" # ### BEGIN LIBTOOL CONFIG # Whether or not to build static libraries. build_old_libs=$enable_static # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # What type of objects to build. pic_mode=$pic_mode # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="\$SED -e 1s/^X//" # A grep program that handles long lines. GREP=$lt_GREP # An ERE matcher. EGREP=$lt_EGREP # A literal string matcher. FGREP=$lt_FGREP # A BSD- or MS-compatible name lister. NM=$lt_NM # Whether we need soft or hard links. LN_S=$lt_LN_S # What is the maximum length of a command? max_cmd_len=$max_cmd_len # Object file suffix (normally "o"). objext=$ac_objext # Executable file suffix (normally ""). exeext=$exeext # whether the shell understands "unset". lt_unset=$lt_unset # turn spaces into newlines. SP2NL=$lt_lt_SP2NL # turn newlines into spaces. NL2SP=$lt_lt_NL2SP # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # An object symbol dumper. OBJDUMP=$lt_OBJDUMP # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method = "file_magic". file_magic_cmd=$lt_file_magic_cmd # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # A symbol stripping program. STRIP=$lt_STRIP # Commands used to install an old-style archive. RANLIB=$lt_RANLIB old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # A C compiler. LTCC=$lt_CC # LTCC compiler flags. LTCFLAGS=$lt_CFLAGS # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # Transform the output of nm in a C name address pair when lib prefix is needed. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and in which our libraries should be installed. lt_sysroot=$lt_sysroot # The name of the directory that contains temporary libtool files. objdir=$objdir # Used to examine libraries when file_magic_cmd begins with "file". MAGIC_CMD=$MAGIC_CMD # Must we lock files when doing compilation? need_locks=$lt_need_locks # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # Tool to manipulate archived DWARF debug symbol files on Mac OS X. DSYMUTIL=$lt_DSYMUTIL # Tool to change global to local symbols on Mac OS X. NMEDIT=$lt_NMEDIT # Tool to manipulate fat objects and archives on Mac OS X. LIPO=$lt_LIPO # ldd/readelf like tool for Mach-O binaries on Mac OS X. OTOOL=$lt_OTOOL # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. OTOOL64=$lt_OTOOL64 # Old archive suffix (normally "a"). libext=$libext # Shared library suffix (normally ".so"). shrext_cmds=$lt_shrext_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Variables whose values should be saved in libtool wrapper scripts and # restored at link time. variables_saved_for_relink=$lt_variables_saved_for_relink # Do we need the "lib" prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Library versioning type. version_type=$version_type # Shared library runtime path variable. runpath_var=$runpath_var # Shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # Command to use after installation of a shared archive. postinstall_cmds=$lt_postinstall_cmds # Command to use after uninstallation of a shared archive. postuninstall_cmds=$lt_postuninstall_cmds # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # As "finish_cmds", except a single script fragment to be evaled but # not shown. finish_eval=$lt_finish_eval # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Compile-time system search path for libraries. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # The linker used to build libraries. LD=$lt_LD # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # Commands used to build an old-style archive. old_archive_cmds=$lt_old_archive_cmds # A language specific compiler. CC=$lt_compiler # Is the compiler the GNU compiler? with_gcc=$GCC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Whether the compiler copes with passing no objects directly. compiler_needs_object=$lt_compiler_needs_object # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds # Commands used to build a loadable module if different from building # a shared archive. module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Whether we are building with GNU ld or not. with_gnu_ld=$lt_with_gnu_ld # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that enforces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # Whether we need a single "-rpath" flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary. hardcode_direct=$hardcode_direct # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes # DIR into the resulting binary and the resulting library dependency is # "absolute",i.e impossible to change by setting \${shlibpath_var} if the # library is relocated. hardcode_direct_absolute=$hardcode_direct_absolute # Set to "yes" if using the -LDIR flag during linking hardcodes DIR # into the resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR # into the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to "yes" if building a shared library automatically hardcodes DIR # into the library and all subsequent libraries and executables linked # against it. hardcode_automatic=$hardcode_automatic # Set to yes if linker adds runtime paths of dependent libraries # to runtime path list. inherit_rpath=$inherit_rpath # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Set to "yes" if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # Commands necessary for linking programs (against libraries) with templates. prelink_cmds=$lt_prelink_cmds # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_cmds # Specify filename containing input files. file_list_spec=$lt_file_list_spec # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac ltmain="$ac_aux_dir/ltmain.sh" # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) if test x"$xsi_shell" = xyes; then sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ func_dirname ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_basename ()$/,/^} # func_basename /c\ func_basename ()\ {\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ func_dirname_and_basename ()\ {\ \ case ${1} in\ \ */*) func_dirname_result="${1%/*}${2}" ;;\ \ * ) func_dirname_result="${3}" ;;\ \ esac\ \ func_basename_result="${1##*/}"\ } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ func_stripname ()\ {\ \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ \ # positional parameters, so assign one to ordinary parameter first.\ \ func_stripname_result=${3}\ \ func_stripname_result=${func_stripname_result#"${1}"}\ \ func_stripname_result=${func_stripname_result%"${2}"}\ } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ func_split_long_opt ()\ {\ \ func_split_long_opt_name=${1%%=*}\ \ func_split_long_opt_arg=${1#*=}\ } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ func_split_short_opt ()\ {\ \ func_split_short_opt_arg=${1#??}\ \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ func_lo2o ()\ {\ \ case ${1} in\ \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ \ *) func_lo2o_result=${1} ;;\ \ esac\ } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_xform ()$/,/^} # func_xform /c\ func_xform ()\ {\ func_xform_result=${1%.*}.lo\ } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_arith ()$/,/^} # func_arith /c\ func_arith ()\ {\ func_arith_result=$(( $* ))\ } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_len ()$/,/^} # func_len /c\ func_len ()\ {\ func_len_result=${#1}\ } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$lt_shell_append" = xyes; then sed -e '/^func_append ()$/,/^} # func_append /c\ func_append ()\ {\ eval "${1}+=\\${2}"\ } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ func_append_quoted ()\ {\ \ func_quote_for_eval "${2}"\ \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} fi mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 fi rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" >"po/stamp-it.tmp" sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.in" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # 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 || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi moserial-3.0.8/config.h.in0000674000213200021320000000436512064106172012301 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Package name for gettext */ #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 to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Define to the sub-directory in which libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Define to 1 if your C compiler doesn't accept -c and -o together. */ #undef NO_MINUS_C_MINUS_O /* 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 home page for this package. */ #undef PACKAGE_URL /* 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 moserial-3.0.8/Makefile.in0000674000213200021320000011144112064106160012312 00000000000000# Makefile.in generated by automake 1.11.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ VPATH = @srcdir@ am__make_dryrun = \ { \ am__dry=no; \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ *) \ for am__flg in $$MAKEFLAGS; do \ case $$am__flg in \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ done;; \ esac; \ test $$am__dry = yes; \ } pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = moserial$(EXEEXT) subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \ compile config.guess config.sub depcomp install-sh ltmain.sh \ missing mkinstalldirs ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = CONFIG_CLEAN_VPATH_FILES = am__installdirs = "$(DESTDIR)$(bindir)" PROGRAMS = $(bin_PROGRAMS) am__dirstamp = $(am__leading_dot)dirstamp am__objects_1 = am__objects_2 = src/MainWindow.$(OBJEXT) src/Main.$(OBJEXT) \ src/SettingsDialog.$(OBJEXT) src/Settings.$(OBJEXT) \ src/SendProgressDialog.$(OBJEXT) \ src/ReceiveChooserDialog.$(OBJEXT) \ src/ReceiveProgressDialog.$(OBJEXT) src/RecordDialog.$(OBJEXT) \ src/PreferencesDialog.$(OBJEXT) src/SerialConnection.$(OBJEXT) \ src/HexTextBuffer.$(OBJEXT) src/SerialStreamRecorder.$(OBJEXT) \ src/InputParser.$(OBJEXT) src/Rzwrapper.$(OBJEXT) \ src/XmodemFilenameDialog.$(OBJEXT) \ src/SendChooserDialog.$(OBJEXT) src/Szwrapper.$(OBJEXT) \ src/AutoScroll.$(OBJEXT) src/Preferences.$(OBJEXT) \ src/Profile.$(OBJEXT) src/DefaultPaths.$(OBJEXT) \ src/MoUtils.$(OBJEXT) $(am__objects_1) am_moserial_OBJECTS = $(am__objects_2) $(am__objects_1) moserial_OBJECTS = $(am_moserial_OBJECTS) am__DEPENDENCIES_1 = moserial_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles am__mv = mv -f COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ SOURCES = $(moserial_SOURCES) DIST_SOURCES = $(moserial_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-dvi-recursive install-exec-recursive \ install-html-recursive install-info-recursive \ install-pdf-recursive install-ps-recursive install-recursive \ installcheck-recursive installdirs-recursive pdf-recursive \ ps-recursive uninstall-recursive am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ distclean-recursive maintainer-clean-recursive AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ distdir dist dist-all distcheck ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__relativize = \ dir0=`pwd`; \ sed_first='s,^\([^/]*\)/.*$$,\1,'; \ sed_rest='s,^[^/]*/*,,'; \ sed_last='s,^.*/\([^/]*\)$$,\1,'; \ sed_butlast='s,/*[^/]*$$,,'; \ while test -n "$$dir1"; do \ first=`echo "$$dir1" | sed -e "$$sed_first"`; \ if test "$$first" != "."; then \ if test "$$first" = ".."; then \ dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ else \ first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ if test "$$first2" = "$$first"; then \ dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ else \ dir2="../$$dir2"; \ fi; \ dir0="$$dir0"/"$$first"; \ fi; \ fi; \ dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ done; \ reldir="$$dir2" DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 GZIP_ENV = --best am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper DLLTOOL = @DLLTOOL@ DOC_USER_FORMATS = @DOC_USER_FORMATS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FGREP = @FGREP@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ HELP_DIR = @HELP_DIR@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_V_MERGE = @INTLTOOL_V_MERGE@ INTLTOOL_V_MERGE_OPTIONS = @INTLTOOL_V_MERGE_OPTIONS@ INTLTOOL__v_MERGE_ = @INTLTOOL__v_MERGE_@ INTLTOOL__v_MERGE_0 = @INTLTOOL__v_MERGE_0@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ MKINSTALLDIRS = @MKINSTALLDIRS@ MOSERIAL_CFLAGS = @MOSERIAL_CFLAGS@ MOSERIAL_LIBS = @MOSERIAL_LIBS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ MSGMERGE = @MSGMERGE@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OMF_DIR = @OMF_DIR@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ RANLIB = @RANLIB@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VALAC = @VALAC@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ intltool__v_merge_options_ = @intltool__v_merge_options_@ intltool__v_merge_options_0 = @intltool__v_merge_options_0@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ NULL = AUTOMAKE_OPTIONS = subdir-objects SUBDIRS = \ data \ doc \ po \ $(NULL) gladedir = $(datadir)/moserial/glade INCLUDES = -DMOSERIAL_GLADEDIR=\""$(gladedir)"\" -DPACKAGE_LOCALEDIR=\""$(datadir)/locale"\" AM_CPPFLAGS = \ $(MOSERIAL_CFLAGS) \ -include $(CONFIG_HEADER) \ $(NULL) BUILT_SOURCES = src/moserial.vala.stamp moserial_VALASOURCES = \ src/MainWindow.vala \ src/Main.vala \ src/SettingsDialog.vala \ src/Settings.vala \ src/SendProgressDialog.vala \ src/ReceiveChooserDialog.vala \ src/ReceiveProgressDialog.vala \ src/RecordDialog.vala \ src/PreferencesDialog.vala \ src/SerialConnection.vala \ src/HexTextBuffer.vala \ src/SerialStreamRecorder.vala \ src/InputParser.vala \ src/Rzwrapper.vala \ src/XmodemFilenameDialog.vala \ src/SendChooserDialog.vala \ src/Szwrapper.vala \ src/AutoScroll.vala \ src/Preferences.vala \ src/Profile.vala \ src/DefaultPaths.vala \ src/MoUtils.vala \ $(NULL) moserial_SOURCES = \ $(moserial_VALASOURCES:.vala=.c) \ $(NULL) moserial_LDADD = \ $(MOSERIAL_LIBS) \ $(NULL) distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out' distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' | grep -v 'omf' | grep -v 'figures' EXTRA_DIST = \ intltool-extract.in \ intltool-update.in \ intltool-merge.in \ $(moserial_VALASOURCES) \ src/Config.vapi \ src/moserial.vala.stamp \ omf.make \ xmldocs.make \ gnome-doc-utils.make \ MAINTAINERS \ ChangeLog.pre-git \ $(NULL) CLEANFILES = \ ChangeLog DISTCLEANFILES = \ intltool-extract \ intltool-update \ intltool-merge \ po/.intltool-merge-cache \ gnome-doc-utils.make \ $(NULL) all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: .SUFFIXES: .c .lo .o .obj am--refresh: Makefile @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) $(am__cd) $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) $(am__aclocal_m4_deps): config.h: stamp-h1 @if test ! -f $@; then rm -f stamp-h1; else :; fi @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ for p in $$list; do echo "$$p $$p"; done | \ sed 's/$(EXEEXT)$$//' | \ while read p p1; do if test -f $$p || test -f $$p1; \ then echo "$$p"; echo "$$p"; else :; fi; \ done | \ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ sed 'N;N;N;s,\n, ,g' | \ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ if ($$2 == $$4) files[d] = files[d] " " $$1; \ else { print "f", $$3 "/" $$4, $$1; } } \ END { for (d in files) print "f", d, files[d] }' | \ while read type dir files; do \ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ test -z "$$files" || { \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ } \ ; done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ files=`for p in $$list; do echo "$$p"; done | \ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ -e 's/$$/$(EXEEXT)/' `; \ test -n "$$list" || exit 0; \ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(bindir)" && rm -f $$files clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ echo " rm -f" $$list; \ rm -f $$list || exit $$?; \ test -n "$(EXEEXT)" || exit 0; \ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list src/$(am__dirstamp): @$(MKDIR_P) src @: > src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) src/$(DEPDIR) @: > src/$(DEPDIR)/$(am__dirstamp) src/MainWindow.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/Main.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) src/SettingsDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/Settings.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/SendProgressDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/ReceiveChooserDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/ReceiveProgressDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/RecordDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/PreferencesDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/SerialConnection.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/HexTextBuffer.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/SerialStreamRecorder.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/InputParser.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/Rzwrapper.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/XmodemFilenameDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/SendChooserDialog.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/Szwrapper.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/AutoScroll.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/Preferences.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/Profile.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/DefaultPaths.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) src/MoUtils.$(OBJEXT): src/$(am__dirstamp) \ src/$(DEPDIR)/$(am__dirstamp) moserial$(EXEEXT): $(moserial_OBJECTS) $(moserial_DEPENDENCIES) $(EXTRA_moserial_DEPENDENCIES) @rm -f moserial$(EXEEXT) $(LINK) $(moserial_OBJECTS) $(moserial_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f src/AutoScroll.$(OBJEXT) -rm -f src/DefaultPaths.$(OBJEXT) -rm -f src/HexTextBuffer.$(OBJEXT) -rm -f src/InputParser.$(OBJEXT) -rm -f src/Main.$(OBJEXT) -rm -f src/MainWindow.$(OBJEXT) -rm -f src/MoUtils.$(OBJEXT) -rm -f src/Preferences.$(OBJEXT) -rm -f src/PreferencesDialog.$(OBJEXT) -rm -f src/Profile.$(OBJEXT) -rm -f src/ReceiveChooserDialog.$(OBJEXT) -rm -f src/ReceiveProgressDialog.$(OBJEXT) -rm -f src/RecordDialog.$(OBJEXT) -rm -f src/Rzwrapper.$(OBJEXT) -rm -f src/SendChooserDialog.$(OBJEXT) -rm -f src/SendProgressDialog.$(OBJEXT) -rm -f src/SerialConnection.$(OBJEXT) -rm -f src/SerialStreamRecorder.$(OBJEXT) -rm -f src/Settings.$(OBJEXT) -rm -f src/SettingsDialog.$(OBJEXT) -rm -f src/Szwrapper.$(OBJEXT) -rm -f src/XmodemFilenameDialog.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/AutoScroll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/DefaultPaths.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/HexTextBuffer.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/InputParser.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/Main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/MainWindow.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/MoUtils.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/Preferences.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/PreferencesDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/Profile.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/ReceiveChooserDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/ReceiveProgressDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/RecordDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/Rzwrapper.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/SendChooserDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/SendProgressDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/SerialConnection.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/SerialStreamRecorder.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/Settings.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/SettingsDialog.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/Szwrapper.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/XmodemFilenameDialog.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool config.lt # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ 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; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" $(RECURSIVE_CLEAN_TARGETS): @fail= failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) set x; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ shift; \ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ if test $$# -gt 0; then \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ "$$@" $$unique; \ else \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$unique; \ fi; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in files) print i; }; }'`; \ test -z "$(CTAGS_ARGS)$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && $(am__cd) $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) "$$here" distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) test -d "$(distdir)" || mkdir "$(distdir)" @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ list='$(DISTFILES)'; \ dist_files=`for file in $$list; do echo $$file; done | \ sed -e "s|^$$srcdirstrip/||;t" \ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ case $$dist_files in \ */*) $(MKDIR_P) `echo "$$dist_files" | \ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ sort -u` ;; \ esac; \ for file in $$dist_files; do \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ if test -d $$d/$$file; then \ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ if test -d "$(distdir)/$$file"; then \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ fi; \ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ else \ test -f "$(distdir)/$$file" \ || cp -p $$d/$$file "$(distdir)/$$file" \ || exit 1; \ fi; \ done @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ $(am__make_dryrun) \ || test -d "$(distdir)/$$subdir" \ || $(MKDIR_P) "$(distdir)/$$subdir" \ || exit 1; \ dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ $(am__relativize); \ new_distdir=$$reldir; \ dir1=$$subdir; dir2="$(top_distdir)"; \ $(am__relativize); \ new_top_distdir=$$reldir; \ echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ ($(am__cd) $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$new_top_distdir" \ distdir="$$new_distdir" \ am__remove_distdir=: \ am__skip_length_check=: \ am__skip_mode_fix=: \ distdir) \ || exit 1; \ fi; \ done -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r "$(distdir)" dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__remove_distdir) dist-lzma: distdir tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma $(am__remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.lzma*) \ lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ *.tar.lz*) \ lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ *.tar.xz*) \ xz -dc $(distdir).tar.xz | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod u+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) test -d $(distdir)/_build || exit 0; \ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && am__cwd=`pwd` \ && $(am__cd) $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ && cd "$$am__cwd" \ || exit 1 $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' distuninstallcheck: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-recursive all-am: Makefile $(PROGRAMS) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) -rm -f src/$(DEPDIR)/$(am__dirstamp) -rm -f src/$(am__dirstamp) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) clean: clean-recursive clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf src/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive html-am: info: info-recursive info-am: install-data-am: install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-binPROGRAMS install-html: install-html-recursive install-html-am: install-info: install-info-recursive install-info-am: install-man: install-pdf: install-pdf-recursive install-pdf-am: install-ps: install-ps-recursive install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -rf src/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-binPROGRAMS .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \ ctags-recursive install install-am install-strip \ tags-recursive .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ all all-am am--refresh check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags ctags-recursive dist \ dist-all dist-bzip2 dist-gzip dist-lzip dist-lzma dist-shar \ dist-tarZ dist-xz dist-zip distcheck distclean \ distclean-compile distclean-generic distclean-hdr \ distclean-libtool distclean-tags distcleancheck distdir \ distuninstallcheck dvi dvi-am html html-am info info-am \ install install-am install-binPROGRAMS install-data \ install-data-am install-dvi install-dvi-am install-exec \ install-exec-am install-html install-html-am install-info \ install-info-am install-man install-pdf install-pdf-am \ install-ps install-ps-am install-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am \ uninstall-binPROGRAMS src/moserial.vala.stamp: $(moserial_VALASOURCES) $(VALAC) -C --pkg gtk+-3.0 --pkg gdk-3.0 --pkg gio-2.0 --pkg Config --pkg posix --pkg linux --vapidir src/ --basedir $(top_srcdir) $^ touch $@ # Build ChangeLog from GIT history ChangeLog: @if test -d $(top_srcdir)/.git; then \ GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \ fi dist: ChangeLog .PHONY: ChangeLog # 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: moserial-3.0.8/Makefile.am0000674000213200021320000000420311724215622012304 00000000000000NULL = AUTOMAKE_OPTIONS = subdir-objects SUBDIRS = \ data \ doc \ po \ $(NULL) gladedir = $(datadir)/moserial/glade INCLUDES = -DMOSERIAL_GLADEDIR=\""$(gladedir)"\" -DPACKAGE_LOCALEDIR=\""$(datadir)/locale"\" AM_CPPFLAGS = \ $(MOSERIAL_CFLAGS) \ -include $(CONFIG_HEADER) \ $(NULL) BUILT_SOURCES = src/moserial.vala.stamp bin_PROGRAMS = moserial moserial_VALASOURCES = \ src/MainWindow.vala \ src/Main.vala \ src/SettingsDialog.vala \ src/Settings.vala \ src/SendProgressDialog.vala \ src/ReceiveChooserDialog.vala \ src/ReceiveProgressDialog.vala \ src/RecordDialog.vala \ src/PreferencesDialog.vala \ src/SerialConnection.vala \ src/HexTextBuffer.vala \ src/SerialStreamRecorder.vala \ src/InputParser.vala \ src/Rzwrapper.vala \ src/XmodemFilenameDialog.vala \ src/SendChooserDialog.vala \ src/Szwrapper.vala \ src/AutoScroll.vala \ src/Preferences.vala \ src/Profile.vala \ src/DefaultPaths.vala \ src/MoUtils.vala \ $(NULL) moserial_SOURCES = \ $(moserial_VALASOURCES:.vala=.c) \ $(NULL) src/moserial.vala.stamp: $(moserial_VALASOURCES) $(VALAC) -C --pkg gtk+-3.0 --pkg gdk-3.0 --pkg gio-2.0 --pkg Config --pkg posix --pkg linux --vapidir src/ --basedir $(top_srcdir) $^ touch $@ moserial_LDADD = \ $(MOSERIAL_LIBS) \ $(NULL) distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out' distuninstallcheck_listfiles = find . -type f -print | grep -v '^\./var/scrollkeeper' | grep -v 'omf' | grep -v 'figures' EXTRA_DIST = \ intltool-extract.in \ intltool-update.in \ intltool-merge.in \ $(moserial_VALASOURCES) \ src/Config.vapi \ src/moserial.vala.stamp \ omf.make \ xmldocs.make \ gnome-doc-utils.make \ MAINTAINERS \ ChangeLog.pre-git \ $(NULL) CLEANFILES = \ ChangeLog DISTCLEANFILES = \ intltool-extract \ intltool-update \ intltool-merge \ po/.intltool-merge-cache \ gnome-doc-utils.make \ $(NULL) DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper # Build ChangeLog from GIT history ChangeLog: @if test -d $(top_srcdir)/.git; then \ GIT_DIR="$(top_srcdir)/.git" git log --stat > $@; \ fi dist: ChangeLog .PHONY: ChangeLog moserial-3.0.8/aclocal.m40000674000213200021320000134630312064106157012123 00000000000000# generated automatically by aclocal 1.11.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, # Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],, [m4_warning([this file was generated for autoconf 2.68. You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically `autoreconf'.])]) # Copyright (C) 1995-2002 Free Software Foundation, Inc. # Copyright (C) 2001-2003,2004 Red Hat, Inc. # # This file is free software, distributed under the terms of the GNU # General Public License. As a special exception to the GNU General # Public License, this file may be distributed as part of a program # that contains a configuration script generated by Autoconf, under # the same distribution terms as the rest of that program. # # This file can be copied and used freely without restrictions. It can # be used in projects which are not available under the GNU Public License # but which still want to provide support for the GNU gettext functionality. # # Macro to add for using GNU gettext. # Ulrich Drepper , 1995, 1996 # # Modified to never use included libintl. # Owen Taylor , 12/15/1998 # # Major rework to remove unused code # Owen Taylor , 12/11/2002 # # Added better handling of ALL_LINGUAS from GNU gettext version # written by Bruno Haible, Owen Taylor 5/30/3002 # # Modified to require ngettext # Matthias Clasen 08/06/2004 # # We need this here as well, since someone might use autoconf-2.5x # to configure GLib then an older version to configure a package # using AM_GLIB_GNU_GETTEXT AC_PREREQ(2.53) dnl dnl We go to great lengths to make sure that aclocal won't dnl try to pull in the installed version of these macros dnl when running aclocal in the glib directory. dnl m4_copy([AC_DEFUN],[glib_DEFUN]) m4_copy([AC_REQUIRE],[glib_REQUIRE]) dnl dnl At the end, if we're not within glib, we'll define the public dnl definitions in terms of our private definitions. dnl # GLIB_LC_MESSAGES #-------------------- glib_DEFUN([GLIB_LC_MESSAGES], [AC_CHECK_HEADERS([locale.h]) if test $ac_cv_header_locale_h = yes; then AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES, [AC_TRY_LINK([#include ], [return LC_MESSAGES], am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)]) if test $am_cv_val_LC_MESSAGES = yes; then AC_DEFINE(HAVE_LC_MESSAGES, 1, [Define if your file defines LC_MESSAGES.]) fi fi]) # GLIB_PATH_PROG_WITH_TEST #---------------------------- dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR, dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]]) glib_DEFUN([GLIB_PATH_PROG_WITH_TEST], [# Extract the first word of "$2", so it can be a program name with args. set dummy $2; ac_word=[$]2 AC_MSG_CHECKING([for $ac_word]) AC_CACHE_VAL(ac_cv_path_$1, [case "[$]$1" in /*) ac_cv_path_$1="[$]$1" # Let the user override the test with a path. ;; *) IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" for ac_dir in ifelse([$5], , $PATH, [$5]); do test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$ac_word; then if [$3]; then ac_cv_path_$1="$ac_dir/$ac_word" break fi fi done IFS="$ac_save_ifs" dnl If no 4th arg is given, leave the cache variable unset, dnl so AC_PATH_PROGS will keep looking. ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4" ])dnl ;; esac])dnl $1="$ac_cv_path_$1" if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then AC_MSG_RESULT([$]$1) else AC_MSG_RESULT(no) fi AC_SUBST($1)dnl ]) # GLIB_WITH_NLS #----------------- glib_DEFUN([GLIB_WITH_NLS], dnl NLS is obligatory [USE_NLS=yes AC_SUBST(USE_NLS) gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= AC_CHECK_HEADER(libintl.h, [gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc, [AC_TRY_LINK([ #include ], [return !ngettext ("","", 1)], gt_cv_func_ngettext_libc=yes, gt_cv_func_ngettext_libc=no) ]) if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc, [AC_TRY_LINK([ #include ], [return !dgettext ("","")], gt_cv_func_dgettext_libc=yes, gt_cv_func_dgettext_libc=no) ]) fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then AC_CHECK_FUNCS(bind_textdomain_codeset) fi # # If we don't have everything we want, check in libintl # if test "$gt_cv_func_dgettext_libc" != "yes" \ || test "$gt_cv_func_ngettext_libc" != "yes" \ || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then AC_CHECK_LIB(intl, bindtextdomain, [AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dgettext, gt_cv_func_dgettext_libintl=yes)])]) if test "$gt_cv_func_dgettext_libintl" != "yes" ; then AC_MSG_CHECKING([if -liconv is needed to use gettext]) AC_MSG_RESULT([]) AC_CHECK_LIB(intl, ngettext, [AC_CHECK_LIB(intl, dcgettext, [gt_cv_func_dgettext_libintl=yes libintl_extra_libs=-liconv], :,-liconv)], :,-liconv) fi # # If we found libintl, then check in it for bind_textdomain_codeset(); # we'll prefer libc if neither have bind_textdomain_codeset(), # and both have dgettext and ngettext # if test "$gt_cv_func_dgettext_libintl" = "yes" ; then glib_save_LIBS="$LIBS" LIBS="$LIBS -lintl $libintl_extra_libs" unset ac_cv_func_bind_textdomain_codeset AC_CHECK_FUNCS(bind_textdomain_codeset) LIBS="$glib_save_LIBS" if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then gt_cv_func_dgettext_libc=no else if test "$gt_cv_func_dgettext_libc" = "yes" \ && test "$gt_cv_func_ngettext_libc" = "yes"; then gt_cv_func_dgettext_libintl=no fi fi fi fi if test "$gt_cv_func_dgettext_libc" = "yes" \ || test "$gt_cv_func_dgettext_libintl" = "yes"; then gt_cv_have_gettext=yes fi if test "$gt_cv_func_dgettext_libintl" = "yes"; then INTLLIBS="-lintl $libintl_extra_libs" fi if test "$gt_cv_have_gettext" = "yes"; then AC_DEFINE(HAVE_GETTEXT,1, [Define if the GNU gettext() function is already present or preinstalled.]) GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" AC_CHECK_FUNCS(dcgettext) MSGFMT_OPTS= AC_MSG_CHECKING([if msgfmt accepts -c]) GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[ msgid "" msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Project-Id-Version: test 1.0\n" "PO-Revision-Date: 2007-02-15 12:01+0100\n" "Last-Translator: test \n" "Language-Team: C \n" "MIME-Version: 1.0\n" "Content-Transfer-Encoding: 8bit\n" ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])]) AC_SUBST(MSGFMT_OPTS) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext, [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :) AC_TRY_LINK(, [extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr], [CATOBJEXT=.gmo DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share and dnl and CATOBJEXT=.gmo in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [CATOBJEXT=.gmo DATADIRNAME=share], [CATOBJEXT=.mo DATADIRNAME=lib]) ;; *-*-openbsd*) CATOBJEXT=.mo DATADIRNAME=share ;; *) 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.ac. for lang in $ALL_LINGUAS; do GMOFILES="$GMOFILES $lang.gmo" POFILES="$POFILES $lang.po" done dnl Make all variables we use known to autoconf. AC_SUBST(CATALOGS) AC_SUBST(CATOBJEXT) AC_SUBST(DATADIRNAME) AC_SUBST(GMOFILES) AC_SUBST(INSTOBJEXT) AC_SUBST(INTLLIBS) AC_SUBST(PO_IN_DATADIR_TRUE) AC_SUBST(PO_IN_DATADIR_FALSE) AC_SUBST(POFILES) AC_SUBST(POSUB) ]) # AM_GLIB_GNU_GETTEXT # ------------------- # Do checks necessary for use of gettext. If a suitable implementation # of gettext is found in either in libintl or in the C library, # it will set INTLLIBS to the libraries needed for use of gettext # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST() # on various variables needed by the Makefile.in.in installed by # glib-gettextize. dnl glib_DEFUN([GLIB_GNU_GETTEXT], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_HEADER_STDC])dnl GLIB_LC_MESSAGES GLIB_WITH_NLS if test "$gt_cv_have_gettext" = "yes"; then if test "x$ALL_LINGUAS" = "x"; then LINGUAS= else AC_MSG_CHECKING(for catalogs to be installed) NEW_LINGUAS= for presentlang in $ALL_LINGUAS; do useit=no if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then desiredlanguages="$LINGUAS" else desiredlanguages="$ALL_LINGUAS" fi for desiredlang in $desiredlanguages; do # Use the presentlang catalog if desiredlang is # a. equal to presentlang, or # b. a variant of presentlang (because in this case, # presentlang can be used as a fallback for messages # which are not translated in the desiredlang catalog). case "$desiredlang" in "$presentlang"*) useit=yes;; esac done if test $useit = yes; then NEW_LINGUAS="$NEW_LINGUAS $presentlang" fi done LINGUAS=$NEW_LINGUAS AC_MSG_RESULT($LINGUAS) fi dnl Construct list of names of catalog files to be constructed. if test -n "$LINGUAS"; then for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done fi fi dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly dnl find the mkinstalldirs script in another subdir but ($top_srcdir). dnl Try to locate is. MKINSTALLDIRS= if test -n "$ac_aux_dir"; then MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" fi if test -z "$MKINSTALLDIRS"; then MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" fi AC_SUBST(MKINSTALLDIRS) dnl Generate list of files to be processed by xgettext which will dnl be included in po/Makefile. test -d po || mkdir po if test "x$srcdir" != "x."; then if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then posrcprefix="$srcdir/" else posrcprefix="../$srcdir/" fi else posrcprefix="../" fi rm -f po/POTFILES sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ < $srcdir/po/POTFILES.in > po/POTFILES ]) # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE) # ------------------------------- # Define VARIABLE to the location where catalog files will # be installed by po/Makefile. glib_DEFUN([GLIB_DEFINE_LOCALEDIR], [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl glib_save_prefix="$prefix" glib_save_exec_prefix="$exec_prefix" glib_save_datarootdir="$datarootdir" test "x$prefix" = xNONE && prefix=$ac_default_prefix test "x$exec_prefix" = xNONE && exec_prefix=$prefix datarootdir=`eval echo "${datarootdir}"` if test "x$CATOBJEXT" = "x.mo" ; then localedir=`eval echo "${libdir}/locale"` else localedir=`eval echo "${datadir}/locale"` fi prefix="$glib_save_prefix" exec_prefix="$glib_save_exec_prefix" datarootdir="$glib_save_datarootdir" AC_DEFINE_UNQUOTED($1, "$localedir", [Define the location where the catalogs will be installed]) ]) dnl dnl Now the definitions that aclocal will find dnl ifdef(glib_configure_ac,[],[ AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)]) AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)]) ])dnl # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL]) # # Create a temporary file with TEST-FILE as its contents and pass the # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with # 0 and perform ACTION-IF-FAIL for any other exit status. AC_DEFUN([GLIB_RUN_PROG], [cat >conftest.foo <<_ACEOF $2 _ACEOF if AC_RUN_LOG([$1 conftest.foo]); then m4_ifval([$3], [$3], [:]) m4_ifvaln([$4], [else $4])dnl echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD fi]) dnl Do not call GNOME_DOC_DEFINES directly. It is split out from dnl GNOME_DOC_INIT to allow gnome-doc-utils to bootstrap off itself. AC_DEFUN([GNOME_DOC_DEFINES], [ AC_ARG_WITH([help-dir], AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),, [with_help_dir='${datadir}/gnome/help']) HELP_DIR="$with_help_dir" AC_SUBST(HELP_DIR) AC_ARG_WITH([omf-dir], AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),, [with_omf_dir='${datadir}/omf']) OMF_DIR="$with_omf_dir" AC_SUBST(OMF_DIR) AC_ARG_WITH([help-formats], AC_HELP_STRING([--with-help-formats=FORMATS], [list of formats]),, [with_help_formats='']) DOC_USER_FORMATS="$with_help_formats" AC_SUBST(DOC_USER_FORMATS) AC_ARG_ENABLE([scrollkeeper], [AC_HELP_STRING([--disable-scrollkeeper], [do not make updates to the scrollkeeper database])],, enable_scrollkeeper=yes) AM_CONDITIONAL([ENABLE_SK],[test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"]) dnl disable scrollkeeper automatically for distcheck DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS" AC_SUBST(DISTCHECK_CONFIGURE_FLAGS) AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"]) ]) # GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND]) # AC_DEFUN([GNOME_DOC_INIT], [AC_REQUIRE([AC_PROG_LN_S])dnl if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1]) AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required]) PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required], [gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no]) if test "$gdu_cv_have_gdu" = "yes"; then AC_MSG_RESULT([yes]) ifelse([$2],,[:],[$2]) else AC_MSG_RESULT([no]) ifelse([$3],,[AC_MSG_ERROR([gnome-doc-utils >= $gdu_cv_version_required not found])],[$3]) fi GNOME_DOC_DEFINES ]) dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml]) # serial 42 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [ AC_PREREQ([2.50])dnl AC_REQUIRE([AM_NLS])dnl case "$am__api_version" in 1.[01234]) AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool]) ;; *) ;; esac INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` if test -n "$1"; then AC_MSG_CHECKING([for intltool >= $1]) AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found]) test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.]) fi AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update]) AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge]) AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract]) if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.]) fi if test -z "$AM_DEFAULT_VERBOSITY"; then AM_DEFAULT_VERBOSITY=1 fi AC_SUBST([AM_DEFAULT_VERBOSITY]) INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' INTLTOOL__v_MERGE_0='@echo " ITMRG " [$]@;' AC_SUBST(INTLTOOL_V_MERGE) AC_SUBST(INTLTOOL__v_MERGE_) AC_SUBST(INTLTOOL__v_MERGE_0) INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' intltool__v_merge_options_0='-q' AC_SUBST(INTLTOOL_V_MERGE_OPTIONS) AC_SUBST(intltool__v_merge_options_) AC_SUBST(intltool__v_merge_options_0) INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< [$]@' INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< [$]@' else INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.[$][$]RANDOM && mkdir [$][$]_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u [$][$]_it_tmp_dir $< [$]@ && rmdir [$][$]_it_tmp_dir' fi INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@' _IT_SUBST(INTLTOOL_DESKTOP_RULE) _IT_SUBST(INTLTOOL_DIRECTORY_RULE) _IT_SUBST(INTLTOOL_KEYS_RULE) _IT_SUBST(INTLTOOL_PROP_RULE) _IT_SUBST(INTLTOOL_OAF_RULE) _IT_SUBST(INTLTOOL_PONG_RULE) _IT_SUBST(INTLTOOL_SERVER_RULE) _IT_SUBST(INTLTOOL_SHEET_RULE) _IT_SUBST(INTLTOOL_SOUNDLIST_RULE) _IT_SUBST(INTLTOOL_UI_RULE) _IT_SUBST(INTLTOOL_XAM_RULE) _IT_SUBST(INTLTOOL_KBD_RULE) _IT_SUBST(INTLTOOL_XML_RULE) _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE) _IT_SUBST(INTLTOOL_CAVES_RULE) _IT_SUBST(INTLTOOL_SCHEMAS_RULE) _IT_SUBST(INTLTOOL_THEME_RULE) _IT_SUBST(INTLTOOL_SERVICE_RULE) _IT_SUBST(INTLTOOL_POLICY_RULE) # Check the gettext tools to make sure they are GNU AC_PATH_PROG(XGETTEXT, xgettext) AC_PATH_PROG(MSGMERGE, msgmerge) AC_PATH_PROG(MSGFMT, msgfmt) AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT) if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then AC_MSG_ERROR([GNU gettext tools not found; required for intltool]) fi AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found]) fi AC_MSG_CHECKING([for perl >= 5.8.1]) $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 if test $? -ne 0; then AC_MSG_ERROR([perl 5.8.1 is required for intltool]) else IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` AC_MSG_RESULT([$IT_PERL_VERSION]) fi if test "x$2" != "xno-xml"; then AC_MSG_CHECKING([for XML::Parser]) if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then AC_MSG_RESULT([ok]) else AC_MSG_ERROR([XML::Parser perl module is required for intltool]) fi fi # Substitute ALL_LINGUAS so we can use it in po/Makefile AC_SUBST(ALL_LINGUAS) # Set DATADIRNAME correctly if it is not set yet # (copied from glib-gettext.m4) if test -z "$DATADIRNAME"; then AC_LINK_IFELSE( [AC_LANG_PROGRAM([[]], [[extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr]])], [DATADIRNAME=share], [case $host in *-*-solaris*) dnl On Solaris, if bind_textdomain_codeset is in libc, dnl GNU format message catalog is always supported, dnl since both are added to the libc all together. dnl Hence, we'd like to go with DATADIRNAME=share dnl in this case. AC_CHECK_FUNC(bind_textdomain_codeset, [DATADIRNAME=share], [DATADIRNAME=lib]) ;; *) [DATADIRNAME=lib] ;; esac]) fi AC_SUBST(DATADIRNAME) IT_PO_SUBDIR([po]) ]) # IT_PO_SUBDIR(DIRNAME) # --------------------- # All po subdirs have to be declared with this macro; the subdir "po" is # declared by IT_PROG_INTLTOOL. # AC_DEFUN([IT_PO_SUBDIR], [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS. dnl dnl The following CONFIG_COMMANDS should be executed at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.]) fi rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp" >"$1/stamp-it.tmp" [sed '/^#/d s/^[[].*] *// /^[ ]*$/d '"s|^| $ac_top_srcdir/|" \ "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES" ] [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.in" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # _IT_SUBST(VARIABLE) # ------------------- # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST # AC_DEFUN([_IT_SUBST], [ AC_SUBST([$1]) m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) ] ) # deprecated macros AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL]) # A hint is needed for aclocal from Automake <= 1.9.4: # AC_DEFUN([AC_PROG_INTLTOOL], ...) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. m4_define([_LT_COPYING], [dnl # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, # 2006, 2007, 2008, 2009, 2010, 2011 Free Software # Foundation, Inc. # Written by Gordon Matzigkeit, 1996 # # This file is part of GNU Libtool. # # GNU Libtool 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. # # As a special exception to the GNU General Public License, # if you distribute this file as part of a program or library that # is built using GNU Libtool, you may include this file under the # same distribution terms that you use for the rest of that program. # # GNU Libtool 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 GNU Libtool; see the file COPYING. If not, a copy # can be downloaded from http://www.gnu.org/licenses/gpl.html, or # obtained by writing to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ]) # serial 57 LT_INIT # LT_PREREQ(VERSION) # ------------------ # Complain and exit if this libtool version is less that VERSION. m4_defun([LT_PREREQ], [m4_if(m4_version_compare(m4_defn([LT_PACKAGE_VERSION]), [$1]), -1, [m4_default([$3], [m4_fatal([Libtool version $1 or higher is required], 63)])], [$2])]) # _LT_CHECK_BUILDDIR # ------------------ # Complain if the absolute build directory name contains unusual characters m4_defun([_LT_CHECK_BUILDDIR], [case `pwd` in *\ * | *\ *) AC_MSG_WARN([Libtool does not cope well with whitespace in `pwd`]) ;; esac ]) # LT_INIT([OPTIONS]) # ------------------ AC_DEFUN([LT_INIT], [AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl AC_BEFORE([$0], [LT_LANG])dnl AC_BEFORE([$0], [LT_OUTPUT])dnl AC_BEFORE([$0], [LTDL_INIT])dnl m4_require([_LT_CHECK_BUILDDIR])dnl dnl Autoconf doesn't catch unexpanded LT_ macros by default: m4_pattern_forbid([^_?LT_[A-Z_]+$])dnl m4_pattern_allow([^(_LT_EOF|LT_DLGLOBAL|LT_DLLAZY_OR_NOW|LT_MULTI_MODULE)$])dnl dnl aclocal doesn't pull ltoptions.m4, ltsugar.m4, or ltversion.m4 dnl unless we require an AC_DEFUNed macro: AC_REQUIRE([LTOPTIONS_VERSION])dnl AC_REQUIRE([LTSUGAR_VERSION])dnl AC_REQUIRE([LTVERSION_VERSION])dnl AC_REQUIRE([LTOBSOLETE_VERSION])dnl m4_require([_LT_PROG_LTMAIN])dnl _LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}]) dnl Parse OPTIONS _LT_SET_OPTIONS([$0], [$1]) # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ltmain" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl _LT_SETUP # Only expand once: m4_define([LT_INIT]) ])# LT_INIT # Old names: AU_ALIAS([AC_PROG_LIBTOOL], [LT_INIT]) AU_ALIAS([AM_PROG_LIBTOOL], [LT_INIT]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PROG_LIBTOOL], []) dnl AC_DEFUN([AM_PROG_LIBTOOL], []) # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. m4_defun([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` ]) # _LT_FILEUTILS_DEFAULTS # ---------------------- # It is okay to use these file commands and assume they have been set # sensibly after `m4_require([_LT_FILEUTILS_DEFAULTS])'. m4_defun([_LT_FILEUTILS_DEFAULTS], [: ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} ])# _LT_FILEUTILS_DEFAULTS # _LT_SETUP # --------- m4_defun([_LT_SETUP], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl _LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl dnl _LT_DECL([], [host_alias], [0], [The host system])dnl _LT_DECL([], [host], [0])dnl _LT_DECL([], [host_os], [0])dnl dnl _LT_DECL([], [build_alias], [0], [The build system])dnl _LT_DECL([], [build], [0])dnl _LT_DECL([], [build_os], [0])dnl dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl dnl AC_REQUIRE([AC_PROG_LN_S])dnl test -z "$LN_S" && LN_S="ln -s" _LT_DECL([], [LN_S], [1], [Whether we need soft or hard links])dnl dnl AC_REQUIRE([LT_CMD_MAX_LEN])dnl _LT_DECL([objext], [ac_objext], [0], [Object file suffix (normally "o")])dnl _LT_DECL([], [exeext], [0], [Executable file suffix (normally "")])dnl dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl m4_require([_LT_PATH_CONVERSION_FUNCTIONS])dnl m4_require([_LT_CMD_RELOAD])dnl m4_require([_LT_CHECK_MAGIC_METHOD])dnl m4_require([_LT_CHECK_SHAREDLIB_FROM_LINKLIB])dnl m4_require([_LT_CMD_OLD_ARCHIVE])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_WITH_SYSROOT])dnl _LT_CONFIG_LIBTOOL_INIT([ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi ]) if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi _LT_CHECK_OBJDIR m4_require([_LT_TAG_COMPILER])dnl case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld="$lt_cv_prog_gnu_ld" old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then _LT_PATH_MAGIC fi ;; esac # Use C for the default configuration in the libtool script LT_SUPPORTED_TAG([CC]) _LT_LANG_C_CONFIG _LT_LANG_DEFAULT_CONFIG _LT_CONFIG_COMMANDS ])# _LT_SETUP # _LT_PREPARE_SED_QUOTE_VARS # -------------------------- # Define a few sed substitution that help us do robust quoting. m4_defun([_LT_PREPARE_SED_QUOTE_VARS], [# Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\([["`$\\]]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([["`\\]]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ]) # _LT_PROG_LTMAIN # --------------- # Note that this code is called both from `configure', and `config.status' # now that we use AC_CONFIG_COMMANDS to generate libtool. Notably, # `config.status' has no value for ac_aux_dir unless we are using Automake, # so we pass a copy along to make sure it has a sensible value anyway. m4_defun([_LT_PROG_LTMAIN], [m4_ifdef([AC_REQUIRE_AUX_FILE], [AC_REQUIRE_AUX_FILE([ltmain.sh])])dnl _LT_CONFIG_LIBTOOL_INIT([ac_aux_dir='$ac_aux_dir']) ltmain="$ac_aux_dir/ltmain.sh" ])# _LT_PROG_LTMAIN # So that we can recreate a full libtool script including additional # tags, we accumulate the chunks of code to send to AC_CONFIG_COMMANDS # in macros and then make a single call at the end using the `libtool' # label. # _LT_CONFIG_LIBTOOL_INIT([INIT-COMMANDS]) # ---------------------------------------- # Register INIT-COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL_INIT], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_INIT], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_INIT]) # _LT_CONFIG_LIBTOOL([COMMANDS]) # ------------------------------ # Register COMMANDS to be passed to AC_CONFIG_COMMANDS later. m4_define([_LT_CONFIG_LIBTOOL], [m4_ifval([$1], [m4_append([_LT_OUTPUT_LIBTOOL_COMMANDS], [$1 ])])]) # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS]) # _LT_CONFIG_SAVE_COMMANDS([COMMANDS], [INIT_COMMANDS]) # ----------------------------------------------------- m4_defun([_LT_CONFIG_SAVE_COMMANDS], [_LT_CONFIG_LIBTOOL([$1]) _LT_CONFIG_LIBTOOL_INIT([$2]) ]) # _LT_FORMAT_COMMENT([COMMENT]) # ----------------------------- # Add leading comment marks to the start of each line, and a trailing # full-stop to the whole comment if one is not present already. m4_define([_LT_FORMAT_COMMENT], [m4_ifval([$1], [ m4_bpatsubst([m4_bpatsubst([$1], [^ *], [# ])], [['`$\]], [\\\&])]m4_bmatch([$1], [[!?.]$], [], [.]) )]) # _LT_DECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION], [IS-TAGGED?]) # ------------------------------------------------------------------- # CONFIGNAME is the name given to the value in the libtool script. # VARNAME is the (base) name used in the configure script. # VALUE may be 0, 1 or 2 for a computed quote escaped value based on # VARNAME. Any other value will be used directly. m4_define([_LT_DECL], [lt_if_append_uniq([lt_decl_varnames], [$2], [, ], [lt_dict_add_subkey([lt_decl_dict], [$2], [libtool_name], [m4_ifval([$1], [$1], [$2])]) lt_dict_add_subkey([lt_decl_dict], [$2], [value], [$3]) m4_ifval([$4], [lt_dict_add_subkey([lt_decl_dict], [$2], [description], [$4])]) lt_dict_add_subkey([lt_decl_dict], [$2], [tagged?], [m4_ifval([$5], [yes], [no])])]) ]) # _LT_TAGDECL([CONFIGNAME], VARNAME, VALUE, [DESCRIPTION]) # -------------------------------------------------------- m4_define([_LT_TAGDECL], [_LT_DECL([$1], [$2], [$3], [$4], [yes])]) # lt_decl_tag_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_tag_varnames], [_lt_decl_filter([tagged?], [yes], $@)]) # _lt_decl_filter(SUBKEY, VALUE, [SEPARATOR], [VARNAME1..]) # --------------------------------------------------------- m4_define([_lt_decl_filter], [m4_case([$#], [0], [m4_fatal([$0: too few arguments: $#])], [1], [m4_fatal([$0: too few arguments: $#: $1])], [2], [lt_dict_filter([lt_decl_dict], [$1], [$2], [], lt_decl_varnames)], [3], [lt_dict_filter([lt_decl_dict], [$1], [$2], [$3], lt_decl_varnames)], [lt_dict_filter([lt_decl_dict], $@)])[]dnl ]) # lt_decl_quote_varnames([SEPARATOR], [VARNAME1...]) # -------------------------------------------------- m4_define([lt_decl_quote_varnames], [_lt_decl_filter([value], [1], $@)]) # lt_decl_dquote_varnames([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_dquote_varnames], [_lt_decl_filter([value], [2], $@)]) # lt_decl_varnames_tagged([SEPARATOR], [VARNAME1...]) # --------------------------------------------------- m4_define([lt_decl_varnames_tagged], [m4_assert([$# <= 2])dnl _$0(m4_quote(m4_default([$1], [[, ]])), m4_ifval([$2], [[$2]], [m4_dquote(lt_decl_tag_varnames)]), m4_split(m4_normalize(m4_quote(_LT_TAGS)), [ ]))]) m4_define([_lt_decl_varnames_tagged], [m4_ifval([$3], [lt_combine([$1], [$2], [_], $3)])]) # lt_decl_all_varnames([SEPARATOR], [VARNAME1...]) # ------------------------------------------------ m4_define([lt_decl_all_varnames], [_$0(m4_quote(m4_default([$1], [[, ]])), m4_if([$2], [], m4_quote(lt_decl_varnames), m4_quote(m4_shift($@))))[]dnl ]) m4_define([_lt_decl_all_varnames], [lt_join($@, lt_decl_varnames_tagged([$1], lt_decl_tag_varnames([[, ]], m4_shift($@))))dnl ]) # _LT_CONFIG_STATUS_DECLARE([VARNAME]) # ------------------------------------ # Quote a variable value, and forward it to `config.status' so that its # declaration there will have the same value as in `configure'. VARNAME # must have a single quote delimited value for this to work. m4_define([_LT_CONFIG_STATUS_DECLARE], [$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`']) # _LT_CONFIG_STATUS_DECLARATIONS # ------------------------------ # We delimit libtool config variables with single quotes, so when # we write them to config.status, we have to be sure to quote all # embedded single quotes properly. In configure, this macro expands # each variable declared with _LT_DECL (and _LT_TAGDECL) into: # # ='`$ECHO "$" | $SED "$delay_single_quote_subst"`' m4_defun([_LT_CONFIG_STATUS_DECLARATIONS], [m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames), [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAGS # ---------------- # Output comment and list of tags supported by the script m4_defun([_LT_LIBTOOL_TAGS], [_LT_FORMAT_COMMENT([The names of the tagged configurations supported by this script])dnl available_tags="_LT_TAGS"dnl ]) # _LT_LIBTOOL_DECLARE(VARNAME, [TAG]) # ----------------------------------- # Extract the dictionary values for VARNAME (optionally with TAG) and # expand to a commented shell variable setting: # # # Some comment about what VAR is for. # visible_name=$lt_internal_name m4_define([_LT_LIBTOOL_DECLARE], [_LT_FORMAT_COMMENT(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [description])))[]dnl m4_pushdef([_libtool_name], m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [libtool_name])))[]dnl m4_case(m4_quote(lt_dict_fetch([lt_decl_dict], [$1], [value])), [0], [_libtool_name=[$]$1], [1], [_libtool_name=$lt_[]$1], [2], [_libtool_name=$lt_[]$1], [_libtool_name=lt_dict_fetch([lt_decl_dict], [$1], [value])])[]dnl m4_ifval([$2], [_$2])[]m4_popdef([_libtool_name])[]dnl ]) # _LT_LIBTOOL_CONFIG_VARS # ----------------------- # Produce commented declarations of non-tagged libtool config variables # suitable for insertion in the LIBTOOL CONFIG section of the `libtool' # script. Tagged libtool config variables (even for the LIBTOOL CONFIG # section) are produced by _LT_LIBTOOL_TAG_VARS. m4_defun([_LT_LIBTOOL_CONFIG_VARS], [m4_foreach([_lt_var], m4_quote(_lt_decl_filter([tagged?], [no], [], lt_decl_varnames)), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var)])])]) # _LT_LIBTOOL_TAG_VARS(TAG) # ------------------------- m4_define([_LT_LIBTOOL_TAG_VARS], [m4_foreach([_lt_var], m4_quote(lt_decl_tag_varnames), [m4_n([_LT_LIBTOOL_DECLARE(_lt_var, [$1])])])]) # _LT_TAGVAR(VARNAME, [TAGNAME]) # ------------------------------ m4_define([_LT_TAGVAR], [m4_ifval([$2], [$1_$2], [$1])]) # _LT_CONFIG_COMMANDS # ------------------- # Send accumulated output to $CONFIG_STATUS. Thanks to the lists of # variables for single and double quote escaping we saved from calls # to _LT_DECL, we can put quote escaped variables declarations # into `config.status', and then the shell code to quote escape them in # for loops in `config.status'. Finally, any additional code accumulated # from calls to _LT_CONFIG_LIBTOOL_INIT is expanded. m4_defun([_LT_CONFIG_COMMANDS], [AC_PROVIDE_IFELSE([LT_OUTPUT], dnl If the libtool generation code has been placed in $CONFIG_LT, dnl instead of duplicating it all over again into config.status, dnl then we will have config.status run $CONFIG_LT later, so it dnl needs to know what name is stored there: [AC_CONFIG_COMMANDS([libtool], [$SHELL $CONFIG_LT || AS_EXIT(1)], [CONFIG_LT='$CONFIG_LT'])], dnl If the libtool generation code is destined for config.status, dnl expand the accumulated commands and init code now: [AC_CONFIG_COMMANDS([libtool], [_LT_OUTPUT_LIBTOOL_COMMANDS], [_LT_OUTPUT_LIBTOOL_COMMANDS_INIT])]) ])#_LT_CONFIG_COMMANDS # Initialize. m4_define([_LT_OUTPUT_LIBTOOL_COMMANDS_INIT], [ # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH sed_quote_subst='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' _LT_CONFIG_STATUS_DECLARATIONS LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$[]1 _LTECHO_EOF' } # Quote evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_quote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done # Double-quote double-evaled strings. for var in lt_decl_all_varnames([[ \ ]], lt_decl_dquote_varnames); do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[[\\\\\\\`\\"\\\$]]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done _LT_OUTPUT_LIBTOOL_INIT ]) # _LT_GENERATED_FILE_INIT(FILE, [COMMENT]) # ------------------------------------ # Generate a child script FILE with all initialization necessary to # reuse the environment learned by the parent script, and make the # file executable. If COMMENT is supplied, it is inserted after the # `#!' sequence but before initialization text begins. After this # macro, additional text can be appended to FILE to form the body of # the child script. The macro ends with non-zero status if the # file could not be fully written (such as if the disk is full). m4_ifdef([AS_INIT_GENERATED], [m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])], [m4_defun([_LT_GENERATED_FILE_INIT], [m4_require([AS_PREPARE])]dnl [m4_pushdef([AS_MESSAGE_LOG_FD])]dnl [lt_write_fail=0 cat >$1 <<_ASEOF || lt_write_fail=1 #! $SHELL # Generated by $as_me. $2 SHELL=\${CONFIG_SHELL-$SHELL} export SHELL _ASEOF cat >>$1 <<\_ASEOF || lt_write_fail=1 AS_SHELL_SANITIZE _AS_PREPARE exec AS_MESSAGE_FD>&1 _ASEOF test $lt_write_fail = 0 && chmod +x $1[]dnl m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT # LT_OUTPUT # --------- # This macro allows early generation of the libtool script (before # AC_OUTPUT is called), incase it is used in configure for compilation # tests. AC_DEFUN([LT_OUTPUT], [: ${CONFIG_LT=./config.lt} AC_MSG_NOTICE([creating $CONFIG_LT]) _LT_GENERATED_FILE_INIT(["$CONFIG_LT"], [# Run this file to recreate a libtool stub with the current configuration.]) cat >>"$CONFIG_LT" <<\_LTEOF lt_cl_silent=false exec AS_MESSAGE_LOG_FD>>config.log { echo AS_BOX([Running $as_me.]) } >&AS_MESSAGE_LOG_FD lt_cl_help="\ \`$as_me' creates a local libtool stub from the current configuration, for use in further configure time tests before the real libtool is generated. Usage: $[0] [[OPTIONS]] -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 Report bugs to ." lt_cl_version="\ m4_ifset([AC_PACKAGE_NAME], [AC_PACKAGE_NAME ])config.lt[]dnl m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION]) configured by $[0], generated by m4_PACKAGE_STRING. Copyright (C) 2011 Free Software Foundation, Inc. This config.lt script is free software; the Free Software Foundation gives unlimited permision to copy, distribute and modify it." while test $[#] != 0 do case $[1] in --version | --v* | -V ) echo "$lt_cl_version"; exit 0 ;; --help | --h* | -h ) echo "$lt_cl_help"; exit 0 ;; --debug | --d* | -d ) debug=: ;; --quiet | --q* | --silent | --s* | -q ) lt_cl_silent=: ;; -*) AC_MSG_ERROR([unrecognized option: $[1] Try \`$[0] --help' for more information.]) ;; *) AC_MSG_ERROR([unrecognized argument: $[1] Try \`$[0] --help' for more information.]) ;; esac shift done if $lt_cl_silent; then exec AS_MESSAGE_FD>/dev/null fi _LTEOF cat >>"$CONFIG_LT" <<_LTEOF _LT_OUTPUT_LIBTOOL_COMMANDS_INIT _LTEOF cat >>"$CONFIG_LT" <<\_LTEOF AC_MSG_NOTICE([creating $ofile]) _LT_OUTPUT_LIBTOOL_COMMANDS AS_EXIT(0) _LTEOF chmod +x "$CONFIG_LT" # configure is writing to config.log, but config.lt does its own redirection, # appending to config.log, which fails on DOS, as config.log is still kept # open by configure. Here we exec the FD to /dev/null, effectively closing # config.log, so it can be properly (re)opened and appended to by config.lt. lt_cl_success=: test "$silent" = yes && lt_config_lt_args="$lt_config_lt_args --quiet" exec AS_MESSAGE_LOG_FD>/dev/null $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false exec AS_MESSAGE_LOG_FD>>config.log $lt_cl_success || AS_EXIT(1) ])# LT_OUTPUT # _LT_CONFIG(TAG) # --------------- # If TAG is the built-in tag, create an initial libtool script with a # default configuration from the untagged config vars. Otherwise add code # to config.status for appending the configuration named by TAG from the # matching tagged config vars. m4_defun([_LT_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_CONFIG_SAVE_COMMANDS([ m4_define([_LT_TAG], m4_if([$1], [], [C], [$1]))dnl m4_if(_LT_TAG, [C], [ # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi cfgfile="${ofile}T" trap "$RM \"$cfgfile\"; exit 1" 1 2 15 $RM "$cfgfile" cat <<_LT_EOF >> "$cfgfile" #! $SHELL # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # _LT_COPYING _LT_LIBTOOL_TAGS # ### BEGIN LIBTOOL CONFIG _LT_LIBTOOL_CONFIG_VARS _LT_LIBTOOL_TAG_VARS # ### END LIBTOOL CONFIG _LT_EOF case $host_os in aix3*) cat <<\_LT_EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi _LT_EOF ;; esac _LT_PROG_LTMAIN # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" \ || (rm -f "$cfgfile"; exit 1) _LT_PROG_REPLACE_SHELLFNS mv -f "$cfgfile" "$ofile" || (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ], [cat <<_LT_EOF >> "$ofile" dnl Unfortunately we have to use $1 here, since _LT_TAG is not expanded dnl in a comment (ie after a #). # ### BEGIN LIBTOOL TAG CONFIG: $1 _LT_LIBTOOL_TAG_VARS(_LT_TAG) # ### END LIBTOOL TAG CONFIG: $1 _LT_EOF ])dnl /m4_if ], [m4_if([$1], [], [ PACKAGE='$PACKAGE' VERSION='$VERSION' TIMESTAMP='$TIMESTAMP' RM='$RM' ofile='$ofile'], []) ])dnl /_LT_CONFIG_SAVE_COMMANDS ])# _LT_CONFIG # LT_SUPPORTED_TAG(TAG) # --------------------- # Trace this macro to discover what tags are supported by the libtool # --tag option, using: # autoconf --trace 'LT_SUPPORTED_TAG:$1' AC_DEFUN([LT_SUPPORTED_TAG], []) # C support is built-in for now m4_define([_LT_LANG_C_enabled], []) m4_define([_LT_TAGS], []) # LT_LANG(LANG) # ------------- # Enable libtool support for the given language if not already enabled. AC_DEFUN([LT_LANG], [AC_BEFORE([$0], [LT_OUTPUT])dnl m4_case([$1], [C], [_LT_LANG(C)], [C++], [_LT_LANG(CXX)], [Go], [_LT_LANG(GO)], [Java], [_LT_LANG(GCJ)], [Fortran 77], [_LT_LANG(F77)], [Fortran], [_LT_LANG(FC)], [Windows Resource], [_LT_LANG(RC)], [m4_ifdef([_LT_LANG_]$1[_CONFIG], [_LT_LANG($1)], [m4_fatal([$0: unsupported language: "$1"])])])dnl ])# LT_LANG # _LT_LANG(LANGNAME) # ------------------ m4_defun([_LT_LANG], [m4_ifdef([_LT_LANG_]$1[_enabled], [], [LT_SUPPORTED_TAG([$1])dnl m4_append([_LT_TAGS], [$1 ])dnl m4_define([_LT_LANG_]$1[_enabled], [])dnl _LT_LANG_$1_CONFIG($1)])dnl ])# _LT_LANG m4_ifndef([AC_PROG_GO], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_GO. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_GO], [AC_LANG_PUSH(Go)dnl AC_ARG_VAR([GOC], [Go compiler command])dnl AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl _AC_ARG_VAR_LDFLAGS()dnl AC_CHECK_TOOL(GOC, gccgo) if test -z "$GOC"; then if test -n "$ac_tool_prefix"; then AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo]) fi fi if test -z "$GOC"; then AC_CHECK_PROG(GOC, gccgo, gccgo, false) fi ])#m4_defun ])#m4_ifndef # _LT_LANG_DEFAULT_CONFIG # ----------------------- m4_defun([_LT_LANG_DEFAULT_CONFIG], [AC_PROVIDE_IFELSE([AC_PROG_CXX], [LT_LANG(CXX)], [m4_define([AC_PROG_CXX], defn([AC_PROG_CXX])[LT_LANG(CXX)])]) AC_PROVIDE_IFELSE([AC_PROG_F77], [LT_LANG(F77)], [m4_define([AC_PROG_F77], defn([AC_PROG_F77])[LT_LANG(F77)])]) AC_PROVIDE_IFELSE([AC_PROG_FC], [LT_LANG(FC)], [m4_define([AC_PROG_FC], defn([AC_PROG_FC])[LT_LANG(FC)])]) dnl The call to [A][M_PROG_GCJ] is quoted like that to stop aclocal dnl pulling things in needlessly. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [LT_LANG(GCJ)], [AC_PROVIDE_IFELSE([LT_PROG_GCJ], [LT_LANG(GCJ)], [m4_ifdef([AC_PROG_GCJ], [m4_define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([A][M_PROG_GCJ], [m4_define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[LT_LANG(GCJ)])]) m4_ifdef([LT_PROG_GCJ], [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])]) AC_PROVIDE_IFELSE([AC_PROG_GO], [LT_LANG(GO)], [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])]) AC_PROVIDE_IFELSE([LT_PROG_RC], [LT_LANG(RC)], [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])]) ])# _LT_LANG_DEFAULT_CONFIG # Obsolete macros: AU_DEFUN([AC_LIBTOOL_CXX], [LT_LANG(C++)]) AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)]) AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)]) AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)]) AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_CXX], []) dnl AC_DEFUN([AC_LIBTOOL_F77], []) dnl AC_DEFUN([AC_LIBTOOL_FC], []) dnl AC_DEFUN([AC_LIBTOOL_GCJ], []) dnl AC_DEFUN([AC_LIBTOOL_RC], []) # _LT_TAG_COMPILER # ---------------- m4_defun([_LT_TAG_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl _LT_DECL([LTCC], [CC], [1], [A C compiler])dnl _LT_DECL([LTCFLAGS], [CFLAGS], [1], [LTCC compiler flags])dnl _LT_TAGDECL([CC], [compiler], [1], [A language specific compiler])dnl _LT_TAGDECL([with_gcc], [GCC], [0], [Is the compiler the GNU compiler?])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_TAG_COMPILER # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. m4_defun([_LT_COMPILER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. m4_defun([_LT_LINKER_BOILERPLATE], [m4_require([_LT_DECL_SED])dnl ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ])# _LT_LINKER_BOILERPLATE # _LT_REQUIRED_DARWIN_CHECKS # ------------------------- m4_defun_once([_LT_REQUIRED_DARWIN_CHECKS],[ case $host_os in rhapsody* | darwin*) AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) AC_CHECK_TOOL([LIPO], [lipo], [:]) AC_CHECK_TOOL([OTOOL], [otool], [:]) AC_CHECK_TOOL([OTOOL64], [otool64], [:]) _LT_DECL([], [DSYMUTIL], [1], [Tool to manipulate archived DWARF debug symbol files on Mac OS X]) _LT_DECL([], [NMEDIT], [1], [Tool to change global to local symbols on Mac OS X]) _LT_DECL([], [LIPO], [1], [Tool to manipulate fat objects and archives on Mac OS X]) _LT_DECL([], [OTOOL], [1], [ldd/readelf like tool for Mach-O binaries on Mac OS X]) _LT_DECL([], [OTOOL64], [1], [ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4]) AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], [lt_cv_apple_cc_single_mod=no if test -z "${LT_MULTI_MODULE}"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test $_lt_result -eq 0; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -rf libconftest.dylib* rm -f conftest.* fi]) AC_CACHE_CHECK([for -exported_symbols_list linker flag], [lt_cv_ld_exported_symbols_list], [lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [lt_cv_ld_exported_symbols_list=yes], [lt_cv_ld_exported_symbols_list=no]) LDFLAGS="$save_LDFLAGS" ]) AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load], [lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&AS_MESSAGE_LOG_FD elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then lt_cv_ld_force_load=yes else cat conftest.err >&AS_MESSAGE_LOG_FD fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM ]) case $host_os in rhapsody* | darwin1.[[012]]) _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; 10.[[012]]*) _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test "$lt_cv_apple_cc_single_mod" = "yes"; then _lt_dar_single_mod='$single_module' fi if test "$lt_cv_ld_exported_symbols_list" = "yes"; then _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' fi if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac ]) # _LT_DARWIN_LINKER_FEATURES([TAG]) # --------------------------------- # Checks for linker and compiler features on darwin m4_defun([_LT_DARWIN_LINKER_FEATURES], [ m4_require([_LT_REQUIRED_DARWIN_CHECKS]) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported if test "$lt_cv_ld_force_load" = "yes"; then _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes], [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes]) else _LT_TAGVAR(whole_archive_flag_spec, $1)='' fi _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" case $cc_basename in ifort*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test "$_lt_dar_can_shared" = "yes"; then output_verbose_link_cmd=func_echo_all _LT_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" _LT_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" m4_if([$1], [CXX], [ if test "$lt_cv_apple_cc_single_mod" != "yes"; then _LT_TAGVAR(archive_cmds, $1)="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" _LT_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" fi ],[]) else _LT_TAGVAR(ld_shlibs, $1)=no fi ]) # _LT_SYS_MODULE_PATH_AIX([TAGNAME]) # ---------------------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. # Store the results from the different compilers for each TAGNAME. # Allow to override them for all tags through lt_cv_aix_libpath. m4_defun([_LT_SYS_MODULE_PATH_AIX], [m4_require([_LT_DECL_SED])dnl if test "${lt_cv_aix_libpath+set}" = set; then aix_libpath=$lt_cv_aix_libpath else AC_CACHE_VAL([_LT_TAGVAR([lt_cv_aix_libpath_], [$1])], [AC_LINK_IFELSE([AC_LANG_PROGRAM],[ lt_aix_libpath_sed='[ /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }]' _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi],[]) if test -z "$_LT_TAGVAR([lt_cv_aix_libpath_], [$1])"; then _LT_TAGVAR([lt_cv_aix_libpath_], [$1])="/usr/lib:/lib" fi ]) aix_libpath=$_LT_TAGVAR([lt_cv_aix_libpath_], [$1]) fi ])# _LT_SYS_MODULE_PATH_AIX # _LT_SHELL_INIT(ARG) # ------------------- m4_define([_LT_SHELL_INIT], [m4_divert_text([M4SH-INIT], [$1 ])])# _LT_SHELL_INIT # _LT_PROG_ECHO_BACKSLASH # ----------------------- # Find how we can fake an echo command that does not interpret backslash. # In particular, with Autoconf 2.60 or later we add some code to the start # of the generated configure script which will find a shell with a builtin # printf (which we can use as an echo command). m4_defun([_LT_PROG_ECHO_BACKSLASH], [ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO AC_MSG_CHECKING([how to print strings]) # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $[]1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } case "$ECHO" in printf*) AC_MSG_RESULT([printf]) ;; print*) AC_MSG_RESULT([print -r]) ;; *) AC_MSG_RESULT([cat]) ;; esac m4_ifdef([_AS_DETECT_SUGGESTED], [_AS_DETECT_SUGGESTED([ test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test "X`printf %s $ECHO`" = "X$ECHO" \ || test "X`print -r -- $ECHO`" = "X$ECHO" )])]) _LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts]) _LT_DECL([], [ECHO], [1], [An echo program that protects backslashes]) ])# _LT_PROG_ECHO_BACKSLASH # _LT_WITH_SYSROOT # ---------------- AC_DEFUN([_LT_WITH_SYSROOT], [AC_MSG_CHECKING([for sysroot]) AC_ARG_WITH([sysroot], [ --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified).], [], [with_sysroot=no]) dnl lt_sysroot will always be passed unquoted. We quote it here dnl in case the user passed a directory name. lt_sysroot= case ${with_sysroot} in #( yes) if test "$GCC" = yes; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) AC_MSG_RESULT([${with_sysroot}]) AC_MSG_ERROR([The sysroot must be an absolute path.]) ;; esac AC_MSG_RESULT([${lt_sysroot:-no}]) _LT_DECL([], [lt_sysroot], [0], [The root where to search for ]dnl [dependent libraries, and in which our libraries should be installed.])]) # _LT_ENABLE_LOCK # --------------- m4_defun([_LT_ENABLE_LOCK], [AC_ARG_ENABLE([libtool-lock], [AS_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_LINK_IFELSE([AC_LANG_PROGRAM([[]],[[]])],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; *-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD="${LD-ld}_sol2" fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" ])# _LT_ENABLE_LOCK # _LT_PROG_AR # ----------- m4_defun([_LT_PROG_AR], [AC_CHECK_TOOLS(AR, [ar], false) : ${AR=ar} : ${AR_FLAGS=cru} _LT_DECL([], [AR], [1], [The archiver]) _LT_DECL([], [AR_FLAGS], [1], [Flags to create an archive]) AC_CACHE_CHECK([for archiver @FILE support], [lt_cv_ar_at_file], [lt_cv_ar_at_file=no AC_COMPILE_IFELSE([AC_LANG_PROGRAM], [echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&AS_MESSAGE_LOG_FD' AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -eq 0; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a AC_TRY_EVAL([lt_ar_try]) if test "$ac_status" -ne 0; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a ]) ]) if test "x$lt_cv_ar_at_file" = xno; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi _LT_DECL([], [archiver_list_spec], [1], [How to feed a file listing to the archiver]) ])# _LT_PROG_AR # _LT_CMD_OLD_ARCHIVE # ------------------- m4_defun([_LT_CMD_OLD_ARCHIVE], [_LT_PROG_AR AC_CHECK_TOOL(STRIP, strip, :) test -z "$STRIP" && STRIP=: _LT_DECL([], [STRIP], [1], [A symbol stripping program]) AC_CHECK_TOOL(RANLIB, ranlib, :) test -z "$RANLIB" && RANLIB=: _LT_DECL([], [RANLIB], [1], [Commands used to install an old-style archive]) # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac _LT_DECL([], [old_postinstall_cmds], [2]) _LT_DECL([], [old_postuninstall_cmds], [2]) _LT_TAGDECL([], [old_archive_cmds], [2], [Commands used to build an old-style archive]) _LT_DECL([], [lock_old_archive_extraction], [0], [Whether to use a lock for old archive extraction]) ])# _LT_CMD_OLD_ARCHIVE # _LT_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([_LT_COMPILER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no m4_if([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $RM conftest* ]) if test x"[$]$2" = xyes; then m4_if([$5], , :, [$5]) else m4_if([$6], , :, [$6]) fi ])# _LT_COMPILER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_COMPILER_OPTION], [_LT_COMPILER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], []) # _LT_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------- # Check whether the given linker option works AC_DEFUN([_LT_LINKER_OPTION], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_SED])dnl AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $RM -r conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then m4_if([$4], , :, [$4]) else m4_if([$5], , :, [$5]) fi ])# _LT_LINKER_OPTION # Old name: AU_ALIAS([AC_LIBTOOL_LINKER_OPTION], [_LT_LINKER_OPTION]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], []) # LT_CMD_MAX_LEN #--------------- AC_DEFUN([LT_CMD_MAX_LEN], [AC_REQUIRE([AC_CANONICAL_HOST])dnl # find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8 ; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi max_cmd_len=$lt_cv_sys_max_cmd_len _LT_DECL([], [max_cmd_len], [0], [What is the maximum length of a command?]) ])# LT_CMD_MAX_LEN # Old name: AU_ALIAS([AC_LIBTOOL_SYS_MAX_CMD_LEN], [LT_CMD_MAX_LEN]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], []) # _LT_HEADER_DLFCN # ---------------- m4_defun([_LT_HEADER_DLFCN], [AC_CHECK_HEADERS([dlfcn.h], [], [], [AC_INCLUDES_DEFAULT])dnl ])# _LT_HEADER_DLFCN # _LT_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # ---------------------------------------------------------------- m4_defun([_LT_TRY_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF [#line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisbility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; }] _LT_EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_TRY_DLOPEN_SELF # LT_SYS_DLOPEN_SELF # ------------------ AC_DEFUN([LT_SYS_DLOPEN_SELF], [m4_require([_LT_HEADER_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi _LT_DECL([dlopen_support], [enable_dlopen], [0], [Whether dlopen is supported]) _LT_DECL([dlopen_self], [enable_dlopen_self], [0], [Whether dlopen of programs is supported]) _LT_DECL([dlopen_self_static], [enable_dlopen_self_static], [0], [Whether dlopen of statically linked programs is supported]) ])# LT_SYS_DLOPEN_SELF # Old name: AU_ALIAS([AC_LIBTOOL_DLOPEN_SELF], [LT_SYS_DLOPEN_SELF]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], []) # _LT_COMPILER_C_O([TAGNAME]) # --------------------------- # Check to see if options -c and -o are simultaneously supported by compiler. # This macro does not hard code the compiler like AC_PROG_CC_C_O. m4_defun([_LT_COMPILER_C_O], [m4_require([_LT_DECL_SED])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* ]) _LT_TAGDECL([compiler_c_o], [lt_cv_prog_compiler_c_o], [1], [Does compiler simultaneously support -c and -o options?]) ])# _LT_COMPILER_C_O # _LT_COMPILER_FILE_LOCKS([TAGNAME]) # ---------------------------------- # Check to see if we can do hard links to lock some files if needed m4_defun([_LT_COMPILER_FILE_LOCKS], [m4_require([_LT_ENABLE_LOCK])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl _LT_COMPILER_C_O([$1]) hard_links="nottested" if test "$_LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi _LT_DECL([], [need_locks], [1], [Must we lock files when doing compilation?]) ])# _LT_COMPILER_FILE_LOCKS # _LT_CHECK_OBJDIR # ---------------- m4_defun([_LT_CHECK_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir _LT_DECL([], [objdir], [0], [The name of the directory that contains temporary libtool files])dnl m4_pattern_allow([LT_OBJDIR])dnl AC_DEFINE_UNQUOTED(LT_OBJDIR, "$lt_cv_objdir/", [Define to the sub-directory in which libtool stores uninstalled libraries.]) ])# _LT_CHECK_OBJDIR # _LT_LINKER_HARDCODE_LIBPATH([TAGNAME]) # -------------------------------------- # Check hardcoding attributes. m4_defun([_LT_LINKER_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_TAGVAR(hardcode_action, $1)= if test -n "$_LT_TAGVAR(hardcode_libdir_flag_spec, $1)" || test -n "$_LT_TAGVAR(runpath_var, $1)" || test "X$_LT_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existent directories. if test "$_LT_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_TAGVAR(hardcode_action, $1)]) if test "$_LT_TAGVAR(hardcode_action, $1)" = relink || test "$_LT_TAGVAR(inherit_rpath, $1)" = yes; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi _LT_TAGDECL([], [hardcode_action], [0], [How to hardcode a shared library path into an executable]) ])# _LT_LINKER_HARDCODE_LIBPATH # _LT_CMD_STRIPLIB # ---------------- m4_defun([_LT_CMD_STRIPLIB], [m4_require([_LT_DECL_EGREP]) striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" old_striplib="$STRIP -S" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi _LT_DECL([], [old_striplib], [1], [Commands to strip libraries]) _LT_DECL([], [striplib], [1]) ])# _LT_CMD_STRIPLIB # _LT_SYS_DYNAMIC_LINKER([TAG]) # ----------------------------- # PORTME Fill in your ld.so characteristics m4_defun([_LT_SYS_DYNAMIC_LINKER], [AC_REQUIRE([AC_CANONICAL_HOST])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_OBJDUMP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CHECK_SHELL_FEATURES])dnl AC_MSG_CHECKING([dynamic linker characteristics]) m4_if([$1], [], [ if test "$GCC" = yes; then case $host_os in darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; *) lt_awk_arg="/^libraries:/" ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;; *) lt_sed_strip_eq="s,=/,/,g" ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" else test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS=" "; FS="/|\n";} { lt_foo=""; lt_count=0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo="/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[[lt_foo]]++; } if (lt_freq[[lt_foo]] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's,/\([[A-Za-z]]:\),\1,g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix[[4-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"]) ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' library_names_spec='${libname}.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([[a-zA-Z]]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec="$LIB" if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' m4_if([$1], [],[ sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"]) sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[23]].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=yes sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[[3-9]]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath], [lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \ LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\"" AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null], [lt_cv_shlibpath_overrides_runpath=yes])]) LDFLAGS=$save_LDFLAGS libdir=$save_libdir ]) shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Add ABI-specific directories to the system library path. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" fi if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" fi _LT_DECL([], [variables_saved_for_relink], [1], [Variables whose values should be saved in libtool wrapper scripts and restored at link time]) _LT_DECL([], [need_lib_prefix], [0], [Do we need the "lib" prefix for modules?]) _LT_DECL([], [need_version], [0], [Do we need a version for libraries?]) _LT_DECL([], [version_type], [0], [Library versioning type]) _LT_DECL([], [runpath_var], [0], [Shared library runtime path variable]) _LT_DECL([], [shlibpath_var], [0],[Shared library path variable]) _LT_DECL([], [shlibpath_overrides_runpath], [0], [Is shlibpath searched before the hard-coded library search path?]) _LT_DECL([], [libname_spec], [1], [Format of library name prefix]) _LT_DECL([], [library_names_spec], [1], [[List of archive names. First name is the real one, the rest are links. The last name is the one that the linker finds with -lNAME]]) _LT_DECL([], [soname_spec], [1], [[The coded name of the library, if different from the real name]]) _LT_DECL([], [install_override_mode], [1], [Permission mode override for installation of shared libraries]) _LT_DECL([], [postinstall_cmds], [2], [Command to use after installation of a shared archive]) _LT_DECL([], [postuninstall_cmds], [2], [Command to use after uninstallation of a shared archive]) _LT_DECL([], [finish_cmds], [2], [Commands used to finish a libtool library installation in a directory]) _LT_DECL([], [finish_eval], [1], [[As "finish_cmds", except a single script fragment to be evaled but not shown]]) _LT_DECL([], [hardcode_into_libs], [0], [Whether we should hardcode library paths into libraries]) _LT_DECL([], [sys_lib_search_path_spec], [2], [Compile-time system search path for libraries]) _LT_DECL([], [sys_lib_dlsearch_path_spec], [2], [Run-time system search path for libraries]) ])# _LT_SYS_DYNAMIC_LINKER # _LT_PATH_TOOL_PREFIX(TOOL) # -------------------------- # find a file program which can recognize shared library AC_DEFUN([_LT_PATH_TOOL_PREFIX], [m4_require([_LT_DECL_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="m4_if([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi _LT_DECL([], [MAGIC_CMD], [0], [Used to examine libraries when file_magic_cmd begins with "file"])dnl ])# _LT_PATH_TOOL_PREFIX # Old name: AU_ALIAS([AC_PATH_TOOL_PREFIX], [_LT_PATH_TOOL_PREFIX]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_PATH_TOOL_PREFIX], []) # _LT_PATH_MAGIC # -------------- # find a file program which can recognize a shared library m4_defun([_LT_PATH_MAGIC], [_LT_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then _LT_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# _LT_PATH_MAGIC # LT_PATH_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([LT_PATH_LD], [AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PROG_ECHO_BACKSLASH])dnl AC_ARG_WITH([gnu-ld], [AS_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no])dnl 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 $CC]) 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. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname 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(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[[3-9]]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[[\1]]\/[[\1]]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown _LT_DECL([], [deplibs_check_method], [1], [Method to check whether dependent libraries are shared objects]) _LT_DECL([], [file_magic_cmd], [1], [Command to use when deplibs_check_method = "file_magic"]) _LT_DECL([], [file_magic_glob], [1], [How to find potential files when deplibs_check_method = "file_magic"]) _LT_DECL([], [want_nocaseglob], [1], [Find potential files using nocaseglob when deplibs_check_method = "file_magic"]) ])# _LT_CHECK_MAGIC_METHOD # LT_PATH_NM # ---------- # find the pathname to a BSD- or MS-compatible name lister AC_DEFUN([LT_PATH_NM], [AC_REQUIRE([AC_PROG_CC])dnl AC_CACHE_CHECK([for BSD- or MS-compatible name lister (nm)], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done : ${lt_cv_path_NM=no} fi]) if test "$lt_cv_path_NM" != "no"; then NM="$lt_cv_path_NM" else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :) case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols" ;; *) DUMPBIN=: ;; esac fi AC_SUBST([DUMPBIN]) if test "$DUMPBIN" != ":"; then NM="$DUMPBIN" fi fi test -z "$NM" && NM=nm AC_SUBST([NM]) _LT_DECL([], [NM], [1], [A BSD- or MS-compatible name lister])dnl AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface], [lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&AS_MESSAGE_LOG_FD (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD) cat conftest.out >&AS_MESSAGE_LOG_FD if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest*]) ])# LT_PATH_NM # Old names: AU_ALIAS([AM_PROG_NM], [LT_PATH_NM]) AU_ALIAS([AC_PROG_NM], [LT_PATH_NM]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_PROG_NM], []) dnl AC_DEFUN([AC_PROG_NM], []) # _LT_CHECK_SHAREDLIB_FROM_LINKLIB # -------------------------------- # how to determine the name of the shared library # associated with a specific link library. # -- PORTME fill in with the dynamic library characteristics m4_defun([_LT_CHECK_SHAREDLIB_FROM_LINKLIB], [m4_require([_LT_DECL_EGREP]) m4_require([_LT_DECL_OBJDUMP]) m4_require([_LT_DECL_DLLTOOL]) AC_CACHE_CHECK([how to associate runtime and link libraries], lt_cv_sharedlib_from_linklib_cmd, [lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh # decide which to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd="$ECHO" ;; esac ]) sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO _LT_DECL([], [sharedlib_from_linklib_cmd], [1], [Command to associate shared and link libraries]) ])# _LT_CHECK_SHAREDLIB_FROM_LINKLIB # _LT_PATH_MANIFEST_TOOL # ---------------------- # locate the manifest tool m4_defun([_LT_PATH_MANIFEST_TOOL], [AC_CHECK_TOOL(MANIFEST_TOOL, mt, :) test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt AC_CACHE_CHECK([if $MANIFEST_TOOL is a manifest tool], [lt_cv_path_mainfest_tool], [lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&AS_MESSAGE_LOG_FD $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&AS_MESSAGE_LOG_FD if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest*]) if test "x$lt_cv_path_mainfest_tool" != xyes; then MANIFEST_TOOL=: fi _LT_DECL([], [MANIFEST_TOOL], [1], [Manifest tool])dnl ])# _LT_PATH_MANIFEST_TOOL # LT_LIB_M # -------- # check for math library AC_DEFUN([LT_LIB_M], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac AC_SUBST([LIBM]) ])# LT_LIB_M # Old name: AU_ALIAS([AC_CHECK_LIBM], [LT_LIB_M]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_CHECK_LIBM], []) # _LT_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------- m4_defun([_LT_COMPILER_NO_RTTI], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then case $cc_basename in nvcc*) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;; *) _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;; esac _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi _LT_TAGDECL([no_builtin_flag], [lt_prog_compiler_no_builtin_flag], [1], [Compiler flag to turn off builtin functions]) ])# _LT_COMPILER_NO_RTTI # _LT_CMD_GLOBAL_SYMBOLS # ---------------------- m4_defun([_LT_CMD_GLOBAL_SYMBOLS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([LT_PATH_NM])dnl AC_REQUIRE([LT_PATH_LD])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_TAG_COMPILER])dnl # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[[ABCDGISTW]]' ;; hpux*) if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p'" lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([[^ ]]*\)[[ ]]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \(lib[[^ ]]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"lib\2\", (void *) \&\2},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function # and D for any global variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK ['"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ " s[1]~/^[@?]/{print s[1], s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx]" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if AC_TRY_EVAL(ac_compile); then # Now try to grab the symbols. nlist=conftest.nm if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) /* DATA imports from DLLs on WIN32 con't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT@&t@_DLSYM_CONST #elif defined(__osf__) /* This system does not cope well with relocations in const data. */ # define LT@&t@_DLSYM_CONST #else # define LT@&t@_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT@&t@_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[[]] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[[@]]FILE' >/dev/null; then nm_file_list_spec='@' fi _LT_DECL([global_symbol_pipe], [lt_cv_sys_global_symbol_pipe], [1], [Take the output of nm and produce a listing of raw symbols and C names]) _LT_DECL([global_symbol_to_cdecl], [lt_cv_sys_global_symbol_to_cdecl], [1], [Transform the output of nm in a proper C declaration]) _LT_DECL([global_symbol_to_c_name_address], [lt_cv_sys_global_symbol_to_c_name_address], [1], [Transform the output of nm in a C name address pair]) _LT_DECL([global_symbol_to_c_name_address_lib_prefix], [lt_cv_sys_global_symbol_to_c_name_address_lib_prefix], [1], [Transform the output of nm in a C name address pair when lib prefix is needed]) _LT_DECL([], [nm_file_list_spec], [1], [Specify filename containing input files for $NM]) ]) # _LT_CMD_GLOBAL_SYMBOLS # _LT_COMPILER_PIC([TAGNAME]) # --------------------------- m4_defun([_LT_COMPILER_PIC], [m4_require([_LT_TAG_COMPILER])dnl _LT_TAGVAR(lt_prog_compiler_wl, $1)= _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)= m4_if([$1], [CXX], [ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix[[4-9]]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; mingw* | cygwin* | os2* | pw32* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; dgux*) case $cc_basename in ec++*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; ecpc* ) # old Intel C++ for x86_64 which still supported -KPIC. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; icpc* ) # Intel C++, used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC* | pgcpp*) # Portland Group C++ compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL 8.0, 9.0 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; esac ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd*) ;; *qnx* | *nto*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; vxworks*) ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. _LT_TAGVAR(lt_prog_compiler_static, $1)= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; interix[[3-9]]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker ' if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). m4_if([$1], [GCJ], [], [_LT_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) ;; hpux9* | hpux10* | hpux11*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in # old Intel for x86_64 which still supported -KPIC. ecc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; # Lahey Fortran 8.1. lf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared' _LT_TAGVAR(lt_prog_compiler_static, $1)='--static' ;; nagfor*) # NAG Fortran compiler _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,-Wl,,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='' ;; *Sun\ F* | *Sun*Fortran*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; *Intel*\ [[CF]]*Compiler*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; *Portland\ Group*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; esac ;; newsos6) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC -shared' ;; osf3* | osf4* | osf5*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; rdos*) _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])" ;; esac AC_CACHE_CHECK([for $compiler option to produce PIC], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)], [_LT_TAGVAR(lt_cv_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_prog_compiler_pic, $1)]) _LT_TAGVAR(lt_prog_compiler_pic, $1)=$_LT_TAGVAR(lt_cv_prog_compiler_pic, $1) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then _LT_COMPILER_OPTION([if $compiler PIC flag $_LT_TAGVAR(lt_prog_compiler_pic, $1) works], [_LT_TAGVAR(lt_cv_prog_compiler_pic_works, $1)], [$_LT_TAGVAR(lt_prog_compiler_pic, $1)@&t@m4_if([$1],[],[ -DPIC],[m4_if([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_TAGVAR(lt_prog_compiler_pic, $1)= _LT_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi _LT_TAGDECL([pic_flag], [lt_prog_compiler_pic], [1], [Additional compiler flags for building library objects]) _LT_TAGDECL([wl], [lt_prog_compiler_wl], [1], [How to pass a linker flag through the compiler]) # # Check to make sure the static flag actually works. # wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_TAGVAR(lt_prog_compiler_static, $1)\" _LT_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_TAGVAR(lt_cv_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_TAGVAR(lt_prog_compiler_static, $1)=]) _LT_TAGDECL([link_static_flag], [lt_prog_compiler_static], [1], [Compiler flag to prevent dynamic linking]) ])# _LT_COMPILER_PIC # _LT_LINKER_SHLIBS([TAGNAME]) # ---------------------------- # See if the linker supports building shared libraries. m4_defun([_LT_LINKER_SHLIBS], [AC_REQUIRE([LT_PATH_LD])dnl AC_REQUIRE([LT_PATH_NM])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_DECL_SED])dnl m4_require([_LT_CMD_GLOBAL_SYMBOLS])dnl m4_require([_LT_TAG_COMPILER])dnl AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) m4_if([$1], [CXX], [ _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] case $host_os in aix[[4-9]]*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global defined # symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw* | cegcc*) case $cc_basename in cl*) _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] ;; esac ;; *) _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ], [ runpath_var= _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_cmds, $1)= _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(old_archive_from_new_cmds, $1)= _LT_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_TAGVAR(thread_safe_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. dnl Note also adjust exclude_expsyms for C++ above. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_TAGVAR(ld_shlibs, $1)=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test "$with_gnu_ld" = yes; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;; *\ \(GNU\ Binutils\)\ [[3-9]]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test "$lt_use_gnu_ld_interface" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[[3-9]]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols' _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'] if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test "$host_os" = linux-dietlibc; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test "$tmp_diet" = no then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 _LT_TAGVAR(whole_archive_flag_spec, $1)= tmp_sharedflag='--shared' ;; xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac _LT_TAGVAR(archive_cmds, $1)='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi case $cc_basename in xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm # Also, AIX nm treats weak defined symbols like other global # defined symbols, whereas GNU nm marks them as "W". if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' else _LT_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='' ;; m68k) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac ;; bsdi[[45]]*) _LT_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes && test "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) m4_if($1, [], [ # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) _LT_LINKER_OPTION([if $CC understands -b], _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b], [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'], [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])], [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags']) ;; esac fi if test "$with_gnu_ld" = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. AC_CACHE_CHECK([whether the $host_os linker accepts -exported_symbol], [lt_cv_irix_exported_symbol], [save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" AC_LINK_IFELSE( [AC_LANG_SOURCE( [AC_LANG_CASE([C], [[int foo (void) { return 0; }]], [C++], [[int foo (void) { return 0; }]], [Fortran 77], [[ subroutine foo end]], [Fortran], [[ subroutine foo end]])])], [lt_cv_irix_exported_symbol=yes], [lt_cv_irix_exported_symbol=no]) LDFLAGS="$save_LDFLAGS"]) if test "$lt_cv_irix_exported_symbol" = yes; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' fi else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes _LT_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *nto* | *qnx*) ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; os2*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_TAGVAR(archive_cmds_need_lc, $1)='no' _LT_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_TAGVAR(no_undefined_flag, $1)=' -z defs' if test "$GCC" = yes; then wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' _LT_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='${wl}' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. GCC discards it without `$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test "$GCC" = yes; then _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' else _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' fi ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(ld_shlibs, $1)=no ;; esac if test x$host_vendor = xsni; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Blargedynsym' ;; esac fi fi ]) AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(with_gnu_ld, $1)=$with_gnu_ld _LT_DECL([], [libext], [0], [Old archive suffix (normally "a")])dnl _LT_DECL([], [shrext_cmds], [1], [Shared library suffix (normally ".so")])dnl _LT_DECL([], [extract_expsyms_cmds], [2], [The commands to extract the exported symbol list from a shared archive]) # # Do we need to explicitly link libc? # case "x$_LT_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_CACHE_CHECK([whether -lc should be explicitly linked in], [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1), [$RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1) _LT_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) then lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no else lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* ]) _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1) ;; esac fi ;; esac _LT_TAGDECL([build_libtool_need_lc], [archive_cmds_need_lc], [0], [Whether or not to add -lc for building shared libraries]) _LT_TAGDECL([allow_libtool_libs_with_static_runtimes], [enable_shared_with_static_runtimes], [0], [Whether or not to disallow shared libs when runtime libs are static]) _LT_TAGDECL([], [export_dynamic_flag_spec], [1], [Compiler flag to allow reflexive dlopens]) _LT_TAGDECL([], [whole_archive_flag_spec], [1], [Compiler flag to generate shared objects directly from archives]) _LT_TAGDECL([], [compiler_needs_object], [1], [Whether the compiler copes with passing no objects directly]) _LT_TAGDECL([], [old_archive_from_new_cmds], [2], [Create an old-style archive from a shared archive]) _LT_TAGDECL([], [old_archive_from_expsyms_cmds], [2], [Create a temporary old-style archive to link instead of a shared archive]) _LT_TAGDECL([], [archive_cmds], [2], [Commands used to build a shared archive]) _LT_TAGDECL([], [archive_expsym_cmds], [2]) _LT_TAGDECL([], [module_cmds], [2], [Commands used to build a loadable module if different from building a shared archive.]) _LT_TAGDECL([], [module_expsym_cmds], [2]) _LT_TAGDECL([], [with_gnu_ld], [1], [Whether we are building with GNU ld or not]) _LT_TAGDECL([], [allow_undefined_flag], [1], [Flag that allows shared libraries with undefined symbols to be built]) _LT_TAGDECL([], [no_undefined_flag], [1], [Flag that enforces no undefined symbols]) _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1], [Flag to hardcode $libdir into a binary during linking. This must work even if $libdir does not exist]) _LT_TAGDECL([], [hardcode_libdir_separator], [1], [Whether we need a single "-rpath" flag with a separated argument]) _LT_TAGDECL([], [hardcode_direct], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_direct_absolute], [0], [Set to "yes" if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the resulting binary and the resulting library dependency is "absolute", i.e impossible to change by setting ${shlibpath_var} if the library is relocated]) _LT_TAGDECL([], [hardcode_minus_L], [0], [Set to "yes" if using the -LDIR flag during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_shlibpath_var], [0], [Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into the resulting binary]) _LT_TAGDECL([], [hardcode_automatic], [0], [Set to "yes" if building a shared library automatically hardcodes DIR into the library and all subsequent libraries and executables linked against it]) _LT_TAGDECL([], [inherit_rpath], [0], [Set to yes if linker adds runtime paths of dependent libraries to runtime path list]) _LT_TAGDECL([], [link_all_deplibs], [0], [Whether libtool must link a program against all its dependency libraries]) _LT_TAGDECL([], [always_export_symbols], [0], [Set to "yes" if exported symbols are required]) _LT_TAGDECL([], [export_symbols_cmds], [2], [The commands to list exported symbols]) _LT_TAGDECL([], [exclude_expsyms], [1], [Symbols that should not be listed in the preloaded symbols]) _LT_TAGDECL([], [include_expsyms], [1], [Symbols that must always be exported]) _LT_TAGDECL([], [prelink_cmds], [2], [Commands necessary for linking programs (against libraries) with templates]) _LT_TAGDECL([], [postlink_cmds], [2], [Commands necessary for finishing linking programs]) _LT_TAGDECL([], [file_list_spec], [1], [Specify filename containing input files]) dnl FIXME: Not yet implemented dnl _LT_TAGDECL([], [thread_safe_flag_spec], [1], dnl [Compiler flag to generate thread safe objects]) ])# _LT_LINKER_SHLIBS # _LT_LANG_C_CONFIG([TAG]) # ------------------------ # Ensure that the configuration variables for a C compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_C_CONFIG], [m4_require([_LT_DECL_EGREP])dnl lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' _LT_TAG_COMPILER # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) LT_SYS_DLOPEN_SELF _LT_CMD_STRIPLIB # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_CONFIG($1) fi AC_LANG_POP CC="$lt_save_CC" ])# _LT_LANG_C_CONFIG # _LT_LANG_CXX_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a C++ compiler are suitably # defined. These variables are subsequently used by _LT_CONFIG to write # the compiler configuration to `libtool'. m4_defun([_LT_LANG_CXX_CONFIG], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl m4_require([_LT_DECL_EGREP])dnl m4_require([_LT_PATH_MANIFEST_TOOL])dnl if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP else _lt_caught_CXX_error=yes fi AC_LANG_PUSH(C++) _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(compiler_needs_object, $1)=no _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the CXX compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_caught_CXX_error" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} CFLAGS=$CXXFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then # We don't want -fno-exception when compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration LT_PATH_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_TAGVAR(archive_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | $GREP 'no-whole-archive' > /dev/null; then _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aix[[4-9]]*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_TAGVAR(archive_cmds, $1)='' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(file_list_spec, $1)='${wl}-f,' if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 _LT_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_TAGVAR(hardcode_minus_L, $1)=yes _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)= fi esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to # export. _LT_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty # executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. _LT_SYS_MODULE_PATH_AIX([$1]) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' if test "$with_gnu_ld" = yes; then # We only use this code for GNU lds that support --whole-archive. _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience' fi _LT_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared # libraries. _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then _LT_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32* | cegcc*) case $GXX,$cc_basename in ,cl* | no,cl*) # Native MSVC # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=yes _LT_TAGVAR(file_list_spec, $1)='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_TAGVAR(archive_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; else $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true' _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes # Don't use ranlib _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib' _LT_TAGVAR(postlink_cmds, $1)='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile="$lt_outputfile.exe" lt_tool_outputfile="$lt_tool_outputfile.exe" ;; esac~ func_to_tool_file "$lt_outputfile"~ if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # g++ # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols' _LT_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; darwin* | rhapsody*) _LT_DARWIN_LINKER_FEATURES($1) ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd2.*) # C++ shared libraries reported to be fairly broken before # switch to ELF _LT_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; haiku*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(link_all_deplibs, $1)=yes ;; hpux9*) _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then _LT_TAGVAR(archive_cmds, $1)='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) ;; *) _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix[[3-9]]*) _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' fi fi _LT_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: _LT_TAGVAR(inherit_rpath, $1)=yes ;; linux* | k*bsd*-gnu | kopensolaris*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc* | ecpc* ) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC* | pgcpp*) # Portland Group C++ compiler case `$CC -V` in *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*) _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ $RANLIB $oldlib' _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~ rm -rf $tpldir~ $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; *) # Version 6 and above use weak symbols _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' ;; xl* | mpixl* | bgxl*) # IBM XL 8.0 on PPC, with GNU ld _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test "x$supports_anon_versioning" = xyes; then _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' _LT_TAGVAR(compiler_needs_object, $1)=yes # Not sure whether something based on # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 # would be better. output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; esac ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd*) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; *nto* | *qnx*) _LT_TAGVAR(ld_shlibs, $1)=yes ;; openbsd2*) # C++ shared libraries are fairly broken _LT_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) if test -f /usr/libexec/ld.so; then _LT_TAGVAR(hardcode_direct, $1)=yes _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=yes _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd=func_echo_all else _LT_TAGVAR(ld_shlibs, $1)=no fi ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. case $host in osf3*) _LT_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; *) _LT_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; esac ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; cxx*) case $host in osf3*) _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' ;; *) _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ $RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' ;; esac _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' case $host in osf3*) _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' ;; esac _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands `-z linker_flag'. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; esac _LT_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='func_echo_all' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | $GREP -v '^2\.7' > /dev/null; then _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' fi _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' ;; esac fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R,$libdir' _LT_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_TAGVAR(link_all_deplibs, $1)=yes _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~ '"$_LT_TAGVAR(old_archive_cmds, $1)" _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~ '"$_LT_TAGVAR(reload_cmds, $1)" ;; *) _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_TAGVAR(ld_shlibs, $1)]) test "$_LT_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_TAGVAR(GCC, $1)="$GXX" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld fi # test "$_lt_caught_CXX_error" != yes AC_LANG_POP ])# _LT_LANG_CXX_CONFIG # _LT_FUNC_STRIPNAME_CNF # ---------------------- # func_stripname_cnf prefix suffix name # strip PREFIX and SUFFIX off of NAME. # PREFIX and SUFFIX must not contain globbing or regex special # characters, hashes, percent signs, but SUFFIX may contain a leading # dot (in which case that matches only a dot). # # This function is identical to the (non-XSI) version of func_stripname, # except this one can be used by m4 code that may be executed by configure, # rather than the libtool script. m4_defun([_LT_FUNC_STRIPNAME_CNF],[dnl AC_REQUIRE([_LT_DECL_SED]) AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH]) func_stripname_cnf () { case ${2} in .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; esac } # func_stripname_cnf ])# _LT_FUNC_STRIPNAME_CNF # _LT_SYS_HIDDEN_LIBDEPS([TAGNAME]) # --------------------------------- # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. m4_defun([_LT_SYS_HIDDEN_LIBDEPS], [m4_require([_LT_FILEUTILS_DEFAULTS])dnl AC_REQUIRE([_LT_FUNC_STRIPNAME_CNF])dnl # Dependencies to place before and after the object being linked: _LT_TAGVAR(predep_objects, $1)= _LT_TAGVAR(postdep_objects, $1)= _LT_TAGVAR(predeps, $1)= _LT_TAGVAR(postdeps, $1)= _LT_TAGVAR(compiler_lib_search_path, $1)= dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... m4_if([$1], [], [cat > conftest.$ac_ext <<_LT_EOF int a; void foo (void) { a = 0; } _LT_EOF ], [$1], [CXX], [cat > conftest.$ac_ext <<_LT_EOF class Foo { public: Foo (void) { a = 0; } private: int a; }; _LT_EOF ], [$1], [F77], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer*4 a a=0 return end _LT_EOF ], [$1], [FC], [cat > conftest.$ac_ext <<_LT_EOF subroutine foo implicit none integer a a=0 return end _LT_EOF ], [$1], [GCJ], [cat > conftest.$ac_ext <<_LT_EOF public class foo { private int a; public void bar (void) { a = 0; } }; _LT_EOF ], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF package foo func foo() { } _LT_EOF ]) _lt_libdeps_save_CFLAGS=$CFLAGS case "$CC $CFLAGS " in #( *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; esac dnl Parse the compiler output and extract the necessary dnl objects, libraries and library flags. if AC_TRY_EVAL(ac_compile); then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no for p in `eval "$output_verbose_link_cmd"`; do case ${prev}${p} in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" || test $p = "-R"; then prev=$p continue fi # Expand the sysroot to ease extracting the directories later. if test -z "$prev"; then case $p in -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; esac fi case $p in =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; esac if test "$pre_test_object_deps_done" = no; then case ${prev} in -L | -R) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$_LT_TAGVAR(compiler_lib_search_path, $1)"; then _LT_TAGVAR(compiler_lib_search_path, $1)="${prev}${p}" else _LT_TAGVAR(compiler_lib_search_path, $1)="${_LT_TAGVAR(compiler_lib_search_path, $1)} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$_LT_TAGVAR(postdeps, $1)"; then _LT_TAGVAR(postdeps, $1)="${prev}${p}" else _LT_TAGVAR(postdeps, $1)="${_LT_TAGVAR(postdeps, $1)} ${prev}${p}" fi fi prev= ;; *.lto.$objext) ;; # Ignore GCC LTO objects *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$_LT_TAGVAR(predep_objects, $1)"; then _LT_TAGVAR(predep_objects, $1)="$p" else _LT_TAGVAR(predep_objects, $1)="$_LT_TAGVAR(predep_objects, $1) $p" fi else if test -z "$_LT_TAGVAR(postdep_objects, $1)"; then _LT_TAGVAR(postdep_objects, $1)="$p" else _LT_TAGVAR(postdep_objects, $1)="$_LT_TAGVAR(postdep_objects, $1) $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling $1 test program" fi $RM -f confest.$objext CFLAGS=$_lt_libdeps_save_CFLAGS # PORTME: override above test on systems where it is broken m4_if([$1], [CXX], [case $host_os in interix[[3-9]]*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. _LT_TAGVAR(predep_objects,$1)= _LT_TAGVAR(postdep_objects,$1)= _LT_TAGVAR(postdeps,$1)= ;; linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; solaris*) case $cc_basename in CC* | sunCC*) # The more standards-conforming stlport4 library is # incompatible with the Cstd library. Avoid specifying # it if it's in CXXFLAGS. Ignore libCrun as # -library=stlport4 depends on it. case " $CXX $CXXFLAGS " in *" -library=stlport4 "*) solaris_use_stlport4=yes ;; esac # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. if test "$solaris_use_stlport4" != yes; then _LT_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' fi ;; esac ;; esac ]) case " $_LT_TAGVAR(postdeps, $1) " in *" -lc "*) _LT_TAGVAR(archive_cmds_need_lc, $1)=no ;; esac _LT_TAGVAR(compiler_lib_search_dirs, $1)= if test -n "${_LT_TAGVAR(compiler_lib_search_path, $1)}"; then _LT_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_TAGVAR(compiler_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` fi _LT_TAGDECL([], [compiler_lib_search_dirs], [1], [The directories searched by this compiler when creating a shared library]) _LT_TAGDECL([], [predep_objects], [1], [Dependencies to place before and after the objects being linked to create a shared library]) _LT_TAGDECL([], [postdep_objects], [1]) _LT_TAGDECL([], [predeps], [1]) _LT_TAGDECL([], [postdeps], [1]) _LT_TAGDECL([], [compiler_lib_search_path], [1], [The library search path used internally by the compiler when linking a shared library]) ])# _LT_SYS_HIDDEN_LIBDEPS # _LT_LANG_F77_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for a Fortran 77 compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_F77_CONFIG], [AC_LANG_PUSH(Fortran 77) if test -z "$F77" || test "X$F77" = "Xno"; then _lt_disable_F77=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the F77 compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_F77" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${F77-"f77"} CFLAGS=$FFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) GCC=$G77 if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$G77" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC="$lt_save_CC" CFLAGS="$lt_save_CFLAGS" fi # test "$_lt_disable_F77" != yes AC_LANG_POP ])# _LT_LANG_F77_CONFIG # _LT_LANG_FC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for a Fortran compiler are # suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_FC_CONFIG], [AC_LANG_PUSH(Fortran) if test -z "$FC" || test "X$FC" = "Xno"; then _lt_disable_FC=yes fi _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(allow_undefined_flag, $1)= _LT_TAGVAR(always_export_symbols, $1)=no _LT_TAGVAR(archive_expsym_cmds, $1)= _LT_TAGVAR(export_dynamic_flag_spec, $1)= _LT_TAGVAR(hardcode_direct, $1)=no _LT_TAGVAR(hardcode_direct_absolute, $1)=no _LT_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_TAGVAR(hardcode_libdir_separator, $1)= _LT_TAGVAR(hardcode_minus_L, $1)=no _LT_TAGVAR(hardcode_automatic, $1)=no _LT_TAGVAR(inherit_rpath, $1)=no _LT_TAGVAR(module_cmds, $1)= _LT_TAGVAR(module_expsym_cmds, $1)= _LT_TAGVAR(link_all_deplibs, $1)=unknown _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds _LT_TAGVAR(no_undefined_flag, $1)= _LT_TAGVAR(whole_archive_flag_spec, $1)= _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Source file extension for fc test sources. ac_ext=${ac_fc_srcext-f} # Object file extension for compiled fc test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # No sense in running all these tests if we already determined that # the FC compiler isn't working. Some variables (like enable_shared) # are currently assumed to apply to all compilers on this platform, # and will be corrupted by setting them based on a non-working compiler. if test "$_lt_disable_FC" != yes; then # Code to be used in simple compile tests lt_simple_compile_test_code="\ subroutine t return end " # Code to be used in simple link tests lt_simple_link_test_code="\ program t end " # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_GCC=$GCC lt_save_CFLAGS=$CFLAGS CC=${FC-"f95"} CFLAGS=$FCFLAGS compiler=$CC GCC=$ac_cv_fc_compiler_gnu _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) if test -n "$compiler"; then AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[[4-9]]*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) _LT_TAGVAR(GCC, $1)="$ac_cv_fc_compiler_gnu" _LT_TAGVAR(LD, $1)="$LD" ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... _LT_SYS_HIDDEN_LIBDEPS($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_SYS_DYNAMIC_LINKER($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi # test -n "$compiler" GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS fi # test "$_lt_disable_FC" != yes AC_LANG_POP ])# _LT_LANG_FC_CONFIG # _LT_LANG_GCJ_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Java Compiler compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GCJ_CONFIG], [AC_REQUIRE([LT_PROG_GCJ])dnl AC_LANG_SAVE # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[[]] argv) {}; }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GCJ-"gcj"} CFLAGS=$GCJFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" _LT_CC_BASENAME([$compiler]) # GCJ did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GCJ_CONFIG # _LT_LANG_GO_CONFIG([TAG]) # -------------------------- # Ensure that the configuration variables for the GNU Go compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_GO_CONFIG], [AC_REQUIRE([LT_PROG_GO])dnl AC_LANG_SAVE # Source file extension for Go test sources. ac_ext=go # Object file extension for compiled Go test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="package main; func main() { }" # Code to be used in simple link tests lt_simple_link_test_code='package main; func main() { }' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC=yes CC=${GOC-"gccgo"} CFLAGS=$GOFLAGS compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_TAGVAR(LD, $1)="$LD" _LT_CC_BASENAME([$compiler]) # Go did not exist at the time GCC didn't implicitly link libc in. _LT_TAGVAR(archive_cmds_need_lc, $1)=no _LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_TAGVAR(reload_flag, $1)=$reload_flag _LT_TAGVAR(reload_cmds, $1)=$reload_cmds if test -n "$compiler"; then _LT_COMPILER_NO_RTTI($1) _LT_COMPILER_PIC($1) _LT_COMPILER_C_O($1) _LT_COMPILER_FILE_LOCKS($1) _LT_LINKER_SHLIBS($1) _LT_LINKER_HARDCODE_LIBPATH($1) _LT_CONFIG($1) fi AC_LANG_RESTORE GCC=$lt_save_GCC CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_GO_CONFIG # _LT_LANG_RC_CONFIG([TAG]) # ------------------------- # Ensure that the configuration variables for the Windows resource compiler # are suitably defined. These variables are subsequently used by _LT_CONFIG # to write the compiler configuration to `libtool'. m4_defun([_LT_LANG_RC_CONFIG], [AC_REQUIRE([LT_PROG_RC])dnl AC_LANG_SAVE # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o _LT_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC="$CC" lt_save_CFLAGS=$CFLAGS lt_save_GCC=$GCC GCC= CC=${RC-"windres"} CFLAGS= compiler=$CC _LT_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes if test -n "$compiler"; then : _LT_CONFIG($1) fi GCC=$lt_save_GCC AC_LANG_RESTORE CC=$lt_save_CC CFLAGS=$lt_save_CFLAGS ])# _LT_LANG_RC_CONFIG # LT_PROG_GCJ # ----------- AC_DEFUN([LT_PROG_GCJ], [m4_ifdef([AC_PROG_GCJ], [AC_PROG_GCJ], [m4_ifdef([A][M_PROG_GCJ], [A][M_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj,) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS)])])[]dnl ]) # Old name: AU_ALIAS([LT_AC_PROG_GCJ], [LT_PROG_GCJ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_GCJ], []) # LT_PROG_GO # ---------- AC_DEFUN([LT_PROG_GO], [AC_CHECK_TOOL(GOC, gccgo,) ]) # LT_PROG_RC # ---------- AC_DEFUN([LT_PROG_RC], [AC_CHECK_TOOL(RC, windres,) ]) # Old name: AU_ALIAS([LT_AC_PROG_RC], [LT_PROG_RC]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_RC], []) # _LT_DECL_EGREP # -------------- # If we don't have a new enough Autoconf to choose the best grep # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_EGREP], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_REQUIRE([AC_PROG_FGREP])dnl test -z "$GREP" && GREP=grep _LT_DECL([], [GREP], [1], [A grep program that handles long lines]) _LT_DECL([], [EGREP], [1], [An ERE matcher]) _LT_DECL([], [FGREP], [1], [A literal string matcher]) dnl Non-bleeding-edge autoconf doesn't subst GREP, so do it here too AC_SUBST([GREP]) ]) # _LT_DECL_OBJDUMP # -------------- # If we don't have a new enough Autoconf to choose the best objdump # available, choose the one first in the user's PATH. m4_defun([_LT_DECL_OBJDUMP], [AC_CHECK_TOOL(OBJDUMP, objdump, false) test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [An object symbol dumper]) AC_SUBST([OBJDUMP]) ]) # _LT_DECL_DLLTOOL # ---------------- # Ensure DLLTOOL variable is set. m4_defun([_LT_DECL_DLLTOOL], [AC_CHECK_TOOL(DLLTOOL, dlltool, false) test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program]) AC_SUBST([DLLTOOL]) ]) # _LT_DECL_SED # ------------ # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. m4_defun([_LT_DECL_SED], [AC_PROG_SED test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" _LT_DECL([], [SED], [1], [A sed program that does not truncate output]) _LT_DECL([], [Xsed], ["\$SED -e 1s/^X//"], [Sed that helps us avoid accidentally triggering echo(1) options like -n]) ])# _LT_DECL_SED m4_ifndef([AC_PROG_SED], [ # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # m4_defun([AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done IFS=$as_save_IFS lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_SUBST([SED]) AC_MSG_RESULT([$SED]) ])#AC_PROG_SED ])#m4_ifndef # Old name: AU_ALIAS([LT_AC_PROG_SED], [AC_PROG_SED]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([LT_AC_PROG_SED], []) # _LT_CHECK_SHELL_FEATURES # ------------------------ # Find out whether the shell is Bourne or XSI compatible, # or has some other useful features. m4_defun([_LT_CHECK_SHELL_FEATURES], [AC_MSG_CHECKING([whether the shell understands some XSI constructs]) # Try some XSI features xsi_shell=no ( _lt_dummy="a/b/c" test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ = c,a/b,b/c, \ && eval 'test $(( 1 + 1 )) -eq 2 \ && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ && xsi_shell=yes AC_MSG_RESULT([$xsi_shell]) _LT_CONFIG_LIBTOOL_INIT([xsi_shell='$xsi_shell']) AC_MSG_CHECKING([whether the shell understands "+="]) lt_shell_append=no ( foo=bar; set foo baz; eval "$[1]+=\$[2]" && test "$foo" = barbaz ) \ >/dev/null 2>&1 \ && lt_shell_append=yes AC_MSG_RESULT([$lt_shell_append]) _LT_CONFIG_LIBTOOL_INIT([lt_shell_append='$lt_shell_append']) if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi _LT_DECL([], [lt_unset], [0], [whether the shell understands "unset"])dnl # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac _LT_DECL([SP2NL], [lt_SP2NL], [1], [turn spaces into newlines])dnl _LT_DECL([NL2SP], [lt_NL2SP], [1], [turn newlines into spaces])dnl ])# _LT_CHECK_SHELL_FEATURES # _LT_PROG_FUNCTION_REPLACE (FUNCNAME, REPLACEMENT-BODY) # ------------------------------------------------------ # In `$cfgfile', look for function FUNCNAME delimited by `^FUNCNAME ()$' and # '^} FUNCNAME ', and replace its body with REPLACEMENT-BODY. m4_defun([_LT_PROG_FUNCTION_REPLACE], [dnl { sed -e '/^$1 ()$/,/^} # $1 /c\ $1 ()\ {\ m4_bpatsubsts([$2], [$], [\\], [^\([ ]\)], [\\\1]) } # Extended-shell $1 implementation' "$cfgfile" > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: ]) # _LT_PROG_REPLACE_SHELLFNS # ------------------------- # Replace existing portable implementations of several shell functions with # equivalent extended shell implementations where those features are available.. m4_defun([_LT_PROG_REPLACE_SHELLFNS], [if test x"$xsi_shell" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_dirname], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_basename], [dnl func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_dirname_and_basename], [dnl case ${1} in */*) func_dirname_result="${1%/*}${2}" ;; * ) func_dirname_result="${3}" ;; esac func_basename_result="${1##*/}"]) _LT_PROG_FUNCTION_REPLACE([func_stripname], [dnl # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary parameter first. func_stripname_result=${3} func_stripname_result=${func_stripname_result#"${1}"} func_stripname_result=${func_stripname_result%"${2}"}]) _LT_PROG_FUNCTION_REPLACE([func_split_long_opt], [dnl func_split_long_opt_name=${1%%=*} func_split_long_opt_arg=${1#*=}]) _LT_PROG_FUNCTION_REPLACE([func_split_short_opt], [dnl func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"}]) _LT_PROG_FUNCTION_REPLACE([func_lo2o], [dnl case ${1} in *.lo) func_lo2o_result=${1%.lo}.${objext} ;; *) func_lo2o_result=${1} ;; esac]) _LT_PROG_FUNCTION_REPLACE([func_xform], [ func_xform_result=${1%.*}.lo]) _LT_PROG_FUNCTION_REPLACE([func_arith], [ func_arith_result=$(( $[*] ))]) _LT_PROG_FUNCTION_REPLACE([func_len], [ func_len_result=${#1}]) fi if test x"$lt_shell_append" = xyes; then _LT_PROG_FUNCTION_REPLACE([func_append], [ eval "${1}+=\\${2}"]) _LT_PROG_FUNCTION_REPLACE([func_append_quoted], [dnl func_quote_for_eval "${2}" dnl m4 expansion turns \\\\ into \\, and then the shell eval turns that into \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"]) # Save a `func_append' function call where possible by direct use of '+=' sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: else # Save a `func_append' function call even when '+=' is not available sed -e 's%func_append \([[a-zA-Z_]]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ && mv -f "$cfgfile.tmp" "$cfgfile" \ || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") test 0 -eq $? || _lt_function_replace_fail=: fi if test x"$_lt_function_replace_fail" = x":"; then AC_MSG_WARN([Unable to substitute extended shell functions in $ofile]) fi ]) # _LT_PATH_CONVERSION_FUNCTIONS # ----------------------------- # Determine which file name conversion functions should be used by # func_to_host_file (and, implicitly, by func_to_host_path). These are needed # for certain cross-compile configurations and native mingw. m4_defun([_LT_PATH_CONVERSION_FUNCTIONS], [AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_MSG_CHECKING([how to convert $build file names to $host format]) AC_CACHE_VAL(lt_cv_to_host_file_cmd, [case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac ]) to_host_file_cmd=$lt_cv_to_host_file_cmd AC_MSG_RESULT([$lt_cv_to_host_file_cmd]) _LT_DECL([to_host_file_cmd], [lt_cv_to_host_file_cmd], [0], [convert $build file names to $host format])dnl AC_MSG_CHECKING([how to convert $build file names to toolchain format]) AC_CACHE_VAL(lt_cv_to_tool_file_cmd, [#assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac ]) to_tool_file_cmd=$lt_cv_to_tool_file_cmd AC_MSG_RESULT([$lt_cv_to_tool_file_cmd]) _LT_DECL([to_tool_file_cmd], [lt_cv_to_tool_file_cmd], [0], [convert $build files to toolchain format])dnl ])# _LT_PATH_CONVERSION_FUNCTIONS # Helper functions for option handling. -*- Autoconf -*- # # Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation, # Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 7 ltoptions.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])]) # _LT_MANGLE_OPTION(MACRO-NAME, OPTION-NAME) # ------------------------------------------ m4_define([_LT_MANGLE_OPTION], [[_LT_OPTION_]m4_bpatsubst($1__$2, [[^a-zA-Z0-9_]], [_])]) # _LT_SET_OPTION(MACRO-NAME, OPTION-NAME) # --------------------------------------- # Set option OPTION-NAME for macro MACRO-NAME, and if there is a # matching handler defined, dispatch to it. Other OPTION-NAMEs are # saved as a flag. m4_define([_LT_SET_OPTION], [m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]), _LT_MANGLE_DEFUN([$1], [$2]), [m4_warning([Unknown $1 option `$2'])])[]dnl ]) # _LT_IF_OPTION(MACRO-NAME, OPTION-NAME, IF-SET, [IF-NOT-SET]) # ------------------------------------------------------------ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. m4_define([_LT_IF_OPTION], [m4_ifdef(_LT_MANGLE_OPTION([$1], [$2]), [$3], [$4])]) # _LT_UNLESS_OPTIONS(MACRO-NAME, OPTION-LIST, IF-NOT-SET) # ------------------------------------------------------- # Execute IF-NOT-SET unless all options in OPTION-LIST for MACRO-NAME # are set. m4_define([_LT_UNLESS_OPTIONS], [m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [m4_ifdef(_LT_MANGLE_OPTION([$1], _LT_Option), [m4_define([$0_found])])])[]dnl m4_ifdef([$0_found], [m4_undefine([$0_found])], [$3 ])[]dnl ]) # _LT_SET_OPTIONS(MACRO-NAME, OPTION-LIST) # ---------------------------------------- # OPTION-LIST is a space-separated list of Libtool options associated # with MACRO-NAME. If any OPTION has a matching handler declared with # LT_OPTION_DEFINE, dispatch to that macro; otherwise complain about # the unknown option and exit. m4_defun([_LT_SET_OPTIONS], [# Set options m4_foreach([_LT_Option], m4_split(m4_normalize([$2])), [_LT_SET_OPTION([$1], _LT_Option)]) m4_if([$1],[LT_INIT],[ dnl dnl Simply set some default values (i.e off) if boolean options were not dnl specified: _LT_UNLESS_OPTIONS([LT_INIT], [dlopen], [enable_dlopen=no ]) _LT_UNLESS_OPTIONS([LT_INIT], [win32-dll], [enable_win32_dll=no ]) dnl dnl If no reference was made to various pairs of opposing options, then dnl we run the default mode handler for the pair. For example, if neither dnl `shared' nor `disable-shared' was passed, we enable building of shared dnl archives by default: _LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED]) _LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC]) _LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC]) _LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install], [_LT_ENABLE_FAST_INSTALL]) ]) ])# _LT_SET_OPTIONS # _LT_MANGLE_DEFUN(MACRO-NAME, OPTION-NAME) # ----------------------------------------- m4_define([_LT_MANGLE_DEFUN], [[_LT_OPTION_DEFUN_]m4_bpatsubst(m4_toupper([$1__$2]), [[^A-Z0-9_]], [_])]) # LT_OPTION_DEFINE(MACRO-NAME, OPTION-NAME, CODE) # ----------------------------------------------- m4_define([LT_OPTION_DEFINE], [m4_define(_LT_MANGLE_DEFUN([$1], [$2]), [$3])[]dnl ])# LT_OPTION_DEFINE # dlopen # ------ LT_OPTION_DEFINE([LT_INIT], [dlopen], [enable_dlopen=yes ]) AU_DEFUN([AC_LIBTOOL_DLOPEN], [_LT_SET_OPTION([LT_INIT], [dlopen]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `dlopen' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_DLOPEN], []) # win32-dll # --------- # Declare package support for building win32 dll's. LT_OPTION_DEFINE([LT_INIT], [win32-dll], [enable_win32_dll=yes case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; esac test -z "$AS" && AS=as _LT_DECL([], [AS], [1], [Assembler program])dnl test -z "$DLLTOOL" && DLLTOOL=dlltool _LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl test -z "$OBJDUMP" && OBJDUMP=objdump _LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl ])# win32-dll AU_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_REQUIRE([AC_CANONICAL_HOST])dnl _LT_SET_OPTION([LT_INIT], [win32-dll]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `win32-dll' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], []) # _LT_ENABLE_SHARED([DEFAULT]) # ---------------------------- # implement the --enable-shared flag, and supports the `shared' and # `disable-shared' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_SHARED], [m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([shared], [AS_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]_LT_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]_LT_ENABLE_SHARED_DEFAULT) _LT_DECL([build_libtool_libs], [enable_shared], [0], [Whether or not to build shared libraries]) ])# _LT_ENABLE_SHARED LT_OPTION_DEFINE([LT_INIT], [shared], [_LT_ENABLE_SHARED([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-shared], [_LT_ENABLE_SHARED([no])]) # Old names: AC_DEFUN([AC_ENABLE_SHARED], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[shared]) ]) AC_DEFUN([AC_DISABLE_SHARED], [_LT_SET_OPTION([LT_INIT], [disable-shared]) ]) AU_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AU_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_SHARED], []) dnl AC_DEFUN([AM_DISABLE_SHARED], []) # _LT_ENABLE_STATIC([DEFAULT]) # ---------------------------- # implement the --enable-static flag, and support the `static' and # `disable-static' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_STATIC], [m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]_LT_ENABLE_STATIC_DEFAULT) _LT_DECL([build_old_libs], [enable_static], [0], [Whether or not to build static libraries]) ])# _LT_ENABLE_STATIC LT_OPTION_DEFINE([LT_INIT], [static], [_LT_ENABLE_STATIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-static], [_LT_ENABLE_STATIC([no])]) # Old names: AC_DEFUN([AC_ENABLE_STATIC], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[static]) ]) AC_DEFUN([AC_DISABLE_STATIC], [_LT_SET_OPTION([LT_INIT], [disable-static]) ]) AU_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AU_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AM_ENABLE_STATIC], []) dnl AC_DEFUN([AM_DISABLE_STATIC], []) # _LT_ENABLE_FAST_INSTALL([DEFAULT]) # ---------------------------------- # implement the --enable-fast-install flag, and support the `fast-install' # and `disable-fast-install' LT_INIT options. # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. m4_define([_LT_ENABLE_FAST_INSTALL], [m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl AC_ARG_ENABLE([fast-install], [AS_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]_LT_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT) _LT_DECL([fast_install], [enable_fast_install], [0], [Whether or not to optimize for fast installation])dnl ])# _LT_ENABLE_FAST_INSTALL LT_OPTION_DEFINE([LT_INIT], [fast-install], [_LT_ENABLE_FAST_INSTALL([yes])]) LT_OPTION_DEFINE([LT_INIT], [disable-fast-install], [_LT_ENABLE_FAST_INSTALL([no])]) # Old names: AU_DEFUN([AC_ENABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `fast-install' option into LT_INIT's first parameter.]) ]) AU_DEFUN([AC_DISABLE_FAST_INSTALL], [_LT_SET_OPTION([LT_INIT], [disable-fast-install]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `disable-fast-install' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], []) dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], []) # _LT_WITH_PIC([MODE]) # -------------------- # implement the --with-pic flag, and support the `pic-only' and `no-pic' # LT_INIT options. # MODE is either `yes' or `no'. If omitted, it defaults to `both'. m4_define([_LT_WITH_PIC], [AC_ARG_WITH([pic], [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for lt_pkg in $withval; do IFS="$lt_save_ifs" if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS="$lt_save_ifs" ;; esac], [pic_mode=default]) test -z "$pic_mode" && pic_mode=m4_default([$1], [default]) _LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl ])# _LT_WITH_PIC LT_OPTION_DEFINE([LT_INIT], [pic-only], [_LT_WITH_PIC([yes])]) LT_OPTION_DEFINE([LT_INIT], [no-pic], [_LT_WITH_PIC([no])]) # Old name: AU_DEFUN([AC_LIBTOOL_PICMODE], [_LT_SET_OPTION([LT_INIT], [pic-only]) AC_DIAGNOSE([obsolete], [$0: Remove this warning and the call to _LT_SET_OPTION when you put the `pic-only' option into LT_INIT's first parameter.]) ]) dnl aclocal-1.4 backwards compatibility: dnl AC_DEFUN([AC_LIBTOOL_PICMODE], []) m4_define([_LTDL_MODE], []) LT_OPTION_DEFINE([LTDL_INIT], [nonrecursive], [m4_define([_LTDL_MODE], [nonrecursive])]) LT_OPTION_DEFINE([LTDL_INIT], [recursive], [m4_define([_LTDL_MODE], [recursive])]) LT_OPTION_DEFINE([LTDL_INIT], [subproject], [m4_define([_LTDL_MODE], [subproject])]) m4_define([_LTDL_TYPE], []) LT_OPTION_DEFINE([LTDL_INIT], [installable], [m4_define([_LTDL_TYPE], [installable])]) LT_OPTION_DEFINE([LTDL_INIT], [convenience], [m4_define([_LTDL_TYPE], [convenience])]) # ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc. # Written by Gary V. Vaughan, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 6 ltsugar.m4 # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTSUGAR_VERSION], [m4_if([0.1])]) # lt_join(SEP, ARG1, [ARG2...]) # ----------------------------- # Produce ARG1SEPARG2...SEPARGn, omitting [] arguments and their # associated separator. # Needed until we can rely on m4_join from Autoconf 2.62, since all earlier # versions in m4sugar had bugs. m4_define([lt_join], [m4_if([$#], [1], [], [$#], [2], [[$2]], [m4_if([$2], [], [], [[$2]_])$0([$1], m4_shift(m4_shift($@)))])]) m4_define([_lt_join], [m4_if([$#$2], [2], [], [m4_if([$2], [], [], [[$1$2]])$0([$1], m4_shift(m4_shift($@)))])]) # lt_car(LIST) # lt_cdr(LIST) # ------------ # Manipulate m4 lists. # These macros are necessary as long as will still need to support # Autoconf-2.59 which quotes differently. m4_define([lt_car], [[$1]]) m4_define([lt_cdr], [m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])], [$#], 1, [], [m4_dquote(m4_shift($@))])]) m4_define([lt_unquote], $1) # lt_append(MACRO-NAME, STRING, [SEPARATOR]) # ------------------------------------------ # Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'. # Note that neither SEPARATOR nor STRING are expanded; they are appended # to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked). # No SEPARATOR is output if MACRO-NAME was previously undefined (different # than defined and empty). # # This macro is needed until we can rely on Autoconf 2.62, since earlier # versions of m4sugar mistakenly expanded SEPARATOR but not STRING. m4_define([lt_append], [m4_define([$1], m4_ifdef([$1], [m4_defn([$1])[$3]])[$2])]) # lt_combine(SEP, PREFIX-LIST, INFIX, SUFFIX1, [SUFFIX2...]) # ---------------------------------------------------------- # Produce a SEP delimited list of all paired combinations of elements of # PREFIX-LIST with SUFFIX1 through SUFFIXn. Each element of the list # has the form PREFIXmINFIXSUFFIXn. # Needed until we can rely on m4_combine added in Autoconf 2.62. m4_define([lt_combine], [m4_if(m4_eval([$# > 3]), [1], [m4_pushdef([_Lt_sep], [m4_define([_Lt_sep], m4_defn([lt_car]))])]]dnl [[m4_foreach([_Lt_prefix], [$2], [m4_foreach([_Lt_suffix], ]m4_dquote(m4_dquote(m4_shift(m4_shift(m4_shift($@)))))[, [_Lt_sep([$1])[]m4_defn([_Lt_prefix])[$3]m4_defn([_Lt_suffix])])])])]) # lt_if_append_uniq(MACRO-NAME, VARNAME, [SEPARATOR], [UNIQ], [NOT-UNIQ]) # ----------------------------------------------------------------------- # Iff MACRO-NAME does not yet contain VARNAME, then append it (delimited # by SEPARATOR if supplied) and expand UNIQ, else NOT-UNIQ. m4_define([lt_if_append_uniq], [m4_ifdef([$1], [m4_if(m4_index([$3]m4_defn([$1])[$3], [$3$2$3]), [-1], [lt_append([$1], [$2], [$3])$4], [$5])], [lt_append([$1], [$2], [$3])$4])]) # lt_dict_add(DICT, KEY, VALUE) # ----------------------------- m4_define([lt_dict_add], [m4_define([$1($2)], [$3])]) # lt_dict_add_subkey(DICT, KEY, SUBKEY, VALUE) # -------------------------------------------- m4_define([lt_dict_add_subkey], [m4_define([$1($2:$3)], [$4])]) # lt_dict_fetch(DICT, KEY, [SUBKEY]) # ---------------------------------- m4_define([lt_dict_fetch], [m4_ifval([$3], m4_ifdef([$1($2:$3)], [m4_defn([$1($2:$3)])]), m4_ifdef([$1($2)], [m4_defn([$1($2)])]))]) # lt_if_dict_fetch(DICT, KEY, [SUBKEY], VALUE, IF-TRUE, [IF-FALSE]) # ----------------------------------------------------------------- m4_define([lt_if_dict_fetch], [m4_if(lt_dict_fetch([$1], [$2], [$3]), [$4], [$5], [$6])]) # lt_dict_filter(DICT, [SUBKEY], VALUE, [SEPARATOR], KEY, [...]) # -------------------------------------------------------------- m4_define([lt_dict_filter], [m4_if([$5], [], [], [lt_join(m4_quote(m4_default([$4], [[, ]])), lt_unquote(m4_split(m4_normalize(m4_foreach(_Lt_key, lt_car([m4_shiftn(4, $@)]), [lt_if_dict_fetch([$1], _Lt_key, [$2], [$3], [_Lt_key ])])))))])[]dnl ]) # ltversion.m4 -- version numbers -*- Autoconf -*- # # Copyright (C) 2004 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004 # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # @configure_input@ # serial 3337 ltversion.m4 # This file is part of GNU Libtool m4_define([LT_PACKAGE_VERSION], [2.4.2]) m4_define([LT_PACKAGE_REVISION], [1.3337]) AC_DEFUN([LTVERSION_VERSION], [macro_version='2.4.2' macro_revision='1.3337' _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?]) _LT_DECL(, macro_revision, 0) ]) # lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*- # # Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc. # Written by Scott James Remnant, 2004. # # This file is free software; the Free Software Foundation gives # unlimited permission to copy and/or distribute it, with or without # modifications, as long as this notice is preserved. # serial 5 lt~obsolete.m4 # These exist entirely to fool aclocal when bootstrapping libtool. # # In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN) # which have later been changed to m4_define as they aren't part of the # exported API, or moved to Autoconf or Automake where they belong. # # The trouble is, aclocal is a bit thick. It'll see the old AC_DEFUN # in /usr/share/aclocal/libtool.m4 and remember it, then when it sees us # using a macro with the same name in our local m4/libtool.m4 it'll # pull the old libtool.m4 in (it doesn't see our shiny new m4_define # and doesn't know about Autoconf macros at all.) # # So we provide this file, which has a silly filename so it's always # included after everything else. This provides aclocal with the # AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything # because those macros already exist, or will be overwritten later. # We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6. # # Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here. # Yes, that means every name once taken will need to remain here until # we give up compatibility with versions before 1.7, at which point # we need to keep only those names which we still refer to. # This is to help aclocal find these macros, as it can't see m4_define. AC_DEFUN([LTOBSOLETE_VERSION], [m4_if([1])]) m4_ifndef([AC_LIBTOOL_LINKER_OPTION], [AC_DEFUN([AC_LIBTOOL_LINKER_OPTION])]) m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP])]) m4_ifndef([_LT_AC_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_AC_SHELL_INIT], [AC_DEFUN([_LT_AC_SHELL_INIT])]) m4_ifndef([_LT_AC_SYS_LIBPATH_AIX], [AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX])]) m4_ifndef([_LT_PROG_LTMAIN], [AC_DEFUN([_LT_PROG_LTMAIN])]) m4_ifndef([_LT_AC_TAGVAR], [AC_DEFUN([_LT_AC_TAGVAR])]) m4_ifndef([AC_LTDL_ENABLE_INSTALL], [AC_DEFUN([AC_LTDL_ENABLE_INSTALL])]) m4_ifndef([AC_LTDL_PREOPEN], [AC_DEFUN([AC_LTDL_PREOPEN])]) m4_ifndef([_LT_AC_SYS_COMPILER], [AC_DEFUN([_LT_AC_SYS_COMPILER])]) m4_ifndef([_LT_AC_LOCK], [AC_DEFUN([_LT_AC_LOCK])]) m4_ifndef([AC_LIBTOOL_SYS_OLD_ARCHIVE], [AC_DEFUN([AC_LIBTOOL_SYS_OLD_ARCHIVE])]) m4_ifndef([_LT_AC_TRY_DLOPEN_SELF], [AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF])]) m4_ifndef([AC_LIBTOOL_PROG_CC_C_O], [AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O])]) m4_ifndef([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS])]) m4_ifndef([AC_LIBTOOL_OBJDIR], [AC_DEFUN([AC_LIBTOOL_OBJDIR])]) m4_ifndef([AC_LTDL_OBJDIR], [AC_DEFUN([AC_LTDL_OBJDIR])]) m4_ifndef([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH])]) m4_ifndef([AC_LIBTOOL_SYS_LIB_STRIP], [AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP])]) m4_ifndef([AC_PATH_MAGIC], [AC_DEFUN([AC_PATH_MAGIC])]) m4_ifndef([AC_PROG_LD_GNU], [AC_DEFUN([AC_PROG_LD_GNU])]) m4_ifndef([AC_PROG_LD_RELOAD_FLAG], [AC_DEFUN([AC_PROG_LD_RELOAD_FLAG])]) m4_ifndef([AC_DEPLIBS_CHECK_METHOD], [AC_DEFUN([AC_DEPLIBS_CHECK_METHOD])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI])]) m4_ifndef([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE])]) m4_ifndef([AC_LIBTOOL_PROG_COMPILER_PIC], [AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC])]) m4_ifndef([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS])]) m4_ifndef([AC_LIBTOOL_POSTDEP_PREDEP], [AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP])]) m4_ifndef([LT_AC_PROG_EGREP], [AC_DEFUN([LT_AC_PROG_EGREP])]) m4_ifndef([LT_AC_PROG_SED], [AC_DEFUN([LT_AC_PROG_SED])]) m4_ifndef([_LT_CC_BASENAME], [AC_DEFUN([_LT_CC_BASENAME])]) m4_ifndef([_LT_COMPILER_BOILERPLATE], [AC_DEFUN([_LT_COMPILER_BOILERPLATE])]) m4_ifndef([_LT_LINKER_BOILERPLATE], [AC_DEFUN([_LT_LINKER_BOILERPLATE])]) m4_ifndef([_AC_PROG_LIBTOOL], [AC_DEFUN([_AC_PROG_LIBTOOL])]) m4_ifndef([AC_LIBTOOL_SETUP], [AC_DEFUN([AC_LIBTOOL_SETUP])]) m4_ifndef([_LT_AC_CHECK_DLFCN], [AC_DEFUN([_LT_AC_CHECK_DLFCN])]) m4_ifndef([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER])]) m4_ifndef([_LT_AC_TAGCONFIG], [AC_DEFUN([_LT_AC_TAGCONFIG])]) m4_ifndef([AC_DISABLE_FAST_INSTALL], [AC_DEFUN([AC_DISABLE_FAST_INSTALL])]) m4_ifndef([_LT_AC_LANG_CXX], [AC_DEFUN([_LT_AC_LANG_CXX])]) m4_ifndef([_LT_AC_LANG_F77], [AC_DEFUN([_LT_AC_LANG_F77])]) m4_ifndef([_LT_AC_LANG_GCJ], [AC_DEFUN([_LT_AC_LANG_GCJ])]) m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])]) m4_ifndef([_LT_AC_LANG_C_CONFIG], [AC_DEFUN([_LT_AC_LANG_C_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])]) m4_ifndef([_LT_AC_LANG_CXX_CONFIG], [AC_DEFUN([_LT_AC_LANG_CXX_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_F77_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG])]) m4_ifndef([_LT_AC_LANG_F77_CONFIG], [AC_DEFUN([_LT_AC_LANG_F77_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_GCJ_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG])]) m4_ifndef([_LT_AC_LANG_GCJ_CONFIG], [AC_DEFUN([_LT_AC_LANG_GCJ_CONFIG])]) m4_ifndef([AC_LIBTOOL_LANG_RC_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_RC_CONFIG])]) m4_ifndef([_LT_AC_LANG_RC_CONFIG], [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])]) m4_ifndef([AC_LIBTOOL_CONFIG], [AC_DEFUN([AC_LIBTOOL_CONFIG])]) m4_ifndef([_LT_AC_FILE_LTDLL_C], [AC_DEFUN([_LT_AC_FILE_LTDLL_C])]) m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])]) m4_ifndef([_LT_AC_PROG_CXXCPP], [AC_DEFUN([_LT_AC_PROG_CXXCPP])]) m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])]) m4_ifndef([_LT_PROG_ECHO_BACKSLASH], [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])]) m4_ifndef([_LT_PROG_F77], [AC_DEFUN([_LT_PROG_F77])]) m4_ifndef([_LT_PROG_FC], [AC_DEFUN([_LT_PROG_FC])]) m4_ifndef([_LT_PROG_CXX], [AC_DEFUN([_LT_PROG_CXX])]) # nls.m4 serial 5 (gettext-0.18) dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation, dnl Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. dnl dnl This file can can be used in projects which are not available under dnl the GNU General Public License or the GNU Library General Public dnl License but which still want to provide support for the GNU gettext dnl functionality. dnl Please note that the actual code of the GNU gettext library is covered dnl by the GNU Library General Public License, and the rest of the GNU dnl gettext package package is covered by the GNU General Public License. dnl They are *not* in the public domain. dnl Authors: dnl Ulrich Drepper , 1995-2000. dnl Bruno Haible , 2000-2003. AC_PREREQ([2.50]) AC_DEFUN([AM_NLS], [ AC_MSG_CHECKING([whether NLS is requested]) dnl Default is enabled NLS AC_ARG_ENABLE([nls], [ --disable-nls do not use Native Language Support], USE_NLS=$enableval, USE_NLS=yes) AC_MSG_RESULT([$USE_NLS]) AC_SUBST([USE_NLS]) ]) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # serial 1 (pkg-config-0.24) # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility]) AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path]) AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path]) if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG]) # only at the first occurence in configure.ac, so if the first place # it's called might be skipped (such as if it is within an "if", you # have to call PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_default([$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$$1"; then pkg_cv_[]$1="$$1" elif test -n "$PKG_CONFIG"; then PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then AC_MSG_RESULT([no]) _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1` else $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD m4_default([$4], [AC_MSG_ERROR( [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT]) ]) elif test $pkg_failed = untried; then AC_MSG_RESULT([no]) m4_default([$4], [AC_MSG_FAILURE( [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .]) ]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) $3 fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008, 2011 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. # (This private macro should not be called outside this file.) AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version='1.11' dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to dnl require some minimum version. Point them to the right macro. m4_if([$1], [1.11.6], [], [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl ]) # _AM_AUTOCONF_VERSION(VERSION) # ----------------------------- # aclocal traces this macro to find the Autoconf version. # This is a private macro too. Using m4_define simplifies # the logic in aclocal, which can simply ignore this definition. m4_define([_AM_AUTOCONF_VERSION], []) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. # This function is AC_REQUIREd by AM_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.11.6])dnl m4_ifndef([AC_AUTOCONF_VERSION], [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 9 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE])dnl AC_SUBST([$1_FALSE])dnl _AM_SUBST_NOTMAKE([$1_TRUE])dnl _AM_SUBST_NOTMAKE([$1_FALSE])dnl m4_define([_AM_COND_VALUE_$1], [$2])dnl if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009, # 2010, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], UPC, [depcc="$UPC" am_compiler_list=], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi am__universal=false m4_case([$1], [CC], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac], [CXX], [case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac]) for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok `-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH])dnl _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl AC_SUBST([am__nodep])dnl _AM_SUBST_NOTMAKE([am__nodep])dnl ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 5 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [{ # Autoconf 2.62 quotes --file arguments for eval, but not when files # are listed without --file. Let's play safe and only enable the eval # if we detect the quoting. case $CONFIG_FILES in *\'*) eval set x "$CONFIG_FILES" ;; *) set x $CONFIG_FILES ;; esac shift for mf do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # Grep'ing the whole file is not good either: AIX grep has a line # limit of 2048, but all sed's we know have understand at least 4000. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005, 2006, 2008, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 16 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.62])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl # test to see if srcdir already configured if test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT. m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,, [m4_fatal([AC_INIT should be called with package and version arguments])])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AC_REQUIRE([AM_PROG_INSTALL_SH])dnl AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl AC_PROVIDE_IFELSE([AC_PROG_OBJC], [_AM_DEPENDENCIES(OBJC)], [define([AC_PROG_OBJC], defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl ]) _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl dnl The `parallel-tests' driver may need to know about EXEEXT, so add the dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro dnl is hooked onto _AC_COMPILER_EXEEXT early, see below. AC_CONFIG_COMMANDS_PRE(dnl [m4_provide_if([_AM_COMPILER_EXEEXT], [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl ]) dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further dnl mangled by Autoconf and run in a shell conditional statement. m4_define([_AC_COMPILER_EXEEXT], m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_arg=$1 _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $_am_arg | $_am_arg:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005, 2008, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl if test x"${install_sh}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008, # 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_MAINTAINER_MODE([DEFAULT-MODE]) # ---------------------------------- # Control maintainer-specific portions of Makefiles. # Default is to disable them, unless `enable' is passed literally. # For symmetry, `disable' may be passed as well. Anyway, the user # can override the default with the --enable/--disable switch. AC_DEFUN([AM_MAINTAINER_MODE], [m4_case(m4_default([$1], [disable]), [enable], [m4_define([am_maintainer_other], [disable])], [disable], [m4_define([am_maintainer_other], [enable])], [m4_define([am_maintainer_other], [enable]) m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])]) AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode's default is 'disable' unless 'enable' is passed AC_ARG_ENABLE([maintainer-mode], [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful (and sometimes confusing) to the casual installer], [USE_MAINTAINER_MODE=$enableval], [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes])) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST([MAINT])dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from `make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Copyright (C) 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_PROG_CC_C_O # -------------- # Like AC_PROG_CC_C_O, but changed for automake. AC_DEFUN([AM_PROG_CC_C_O], [AC_REQUIRE([AC_PROG_CC_C_O])dnl AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([compile])dnl # FIXME: we rely on the cache variable name because # there is no other way. set dummy $CC am_cc=`echo $[2] | sed ['s/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/']` eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o if test "$am_t" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi dnl Make sure AC_PROG_CC is never called again, or it will override our dnl setting of CC. m4_define([AC_PROG_CC], [m4_fatal([AC_PROG_CC cannot be called after AM_PROG_CC_C_O])]) ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 6 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl AC_REQUIRE_AUX_FILE([missing])dnl if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005, 2006, 2011 Free Software Foundation, # Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_MKDIR_P # --------------- # Check for `mkdir -p'. AC_DEFUN([AM_PROG_MKDIR_P], [AC_PREREQ([2.60])dnl AC_REQUIRE([AC_PROG_MKDIR_P])dnl dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P, dnl while keeping a definition of mkdir_p for backward compatibility. dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile. dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of dnl Makefile.ins that do not define MKDIR_P, so we do our own dnl adjustment using top_builddir (which is defined more often than dnl MKDIR_P). AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl case $mkdir_p in [[\\/$]]* | ?:[[\\/]]*) ;; */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; esac ]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005, 2008, 2010 Free Software # Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # -------------------- # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ------------------------ # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 5 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[[\\\"\#\$\&\'\`$am_lf]]*) AC_MSG_ERROR([unsafe absolute working directory name]);; esac case $srcdir in *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*) AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);; esac # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005, 2011 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 1 # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_SUBST_NOTMAKE(VARIABLE) # --------------------------- # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. # This macro is traced by Automake. AC_DEFUN([_AM_SUBST_NOTMAKE]) # AM_SUBST_NOTMAKE(VARIABLE) # -------------------------- # Public sister of _AM_SUBST_NOTMAKE. AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005, 2012 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AC_SUBST([AMTAR], ['$${TAR-tar}']) m4_if([$1], [v7], [am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR moserial-3.0.8/configure.ac0000674000213200021320000000203612064106012012526 00000000000000AC_INIT([moserial],[3.0.8],[http://bugzilla.gnome.org/enter_bug.cgi?product=moserial]) AC_CONFIG_SRCDIR([Makefile.am]) AC_CONFIG_HEADERS(config.h) AM_INIT_AUTOMAKE([dist-bzip2]) AM_MAINTAINER_MODE AC_PROG_CC AM_PROG_CC_C_O AC_DISABLE_STATIC LT_INIT AC_PATH_PROG(VALAC, valac, valac) AC_SUBST(VALAC) AC_CONFIG_MACRO_DIR([m4]) GNOME_DOC_INIT AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext]) GETTEXT_PACKAGE=moserial AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE") AC_SUBST(GETTEXT_PACKAGE) AM_GLIB_GNU_GETTEXT IT_PROG_INTLTOOL([0.35.0]) AC_SUBST(CFLAGS) AC_SUBST(CPPFLAGS) AC_SUBST(LDFLAGS) GLIB_REQUIRED=2.12.0 GTK_REQUIRED=3.0.0 PKG_CHECK_MODULES(MOSERIAL, glib-2.0 >= $GLIB_REQUIRED gobject-2.0 >= $GLIB_REQUIRED gtk+-3.0 >= $GTK_REQUIRED gio-2.0) AC_SUBST(MOSERIAL_CFLAGS) AC_SUBST(MOSERIAL_LIBS) AC_CONFIG_FILES([ Makefile po/Makefile.in data/Makefile data/glade/Makefile data/icons/Makefile data/icons/48x48/Makefile data/icons/48x48/apps/Makefile doc/Makefile]) AC_OUTPUT moserial-3.0.8/README0000674000213200021320000000134711730145415011135 00000000000000Build issues ============ A. moserial 3.0.x requires vala 0.12.x to compile. Early and later versions of vala will cause problems. Patches to fix compilation against later versions of vala are super-welcome! B. If you see this error: src/SerialConnection.c:31:21: fatal error: stropts.h: No such file or directory then either: 1. sudo touch /usr/include/stropts.h or 2. patch your posix.vapi file as described at http://bugzilla.gnome.org/show_bug.cgi?id=656690#c3 C. moserial does not implement the xmodem, ymodem, or zmodem protocols directly. It relies on the standard rz and sz utilities to send and receive data. These utilities, part of the lrzsz package, must be installed on your system. moserial-3.0.8/src/0000775000213200021320000000000012064144711011115 500000000000000moserial-3.0.8/src/moserial.vala.stamp0000674000213200021320000000000012064144457014636 00000000000000moserial-3.0.8/src/Config.vapi0000674000213200021320000000054111724215622013126 00000000000000[CCode (cprefix="", lower_case_cprefix="", cheader_filename="config.h")] namespace Config { public const string VERSION; public const string MOSERIAL_GLADEDIR; public const string GETTEXT_PACKAGE; public const string PACKAGE_DATADIR; public const string PACKAGE_LOCALEDIR; public const string PACKAGE_NAME; public const string PACKAGE_VERSION; } moserial-3.0.8/src/MoUtils.vala0000674000213200021320000000750411766141326013314 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using GLib; using Gtk; public class MoUtils : GLib.Object { public static GLib.File newFile (string path) { string uri; if ("://" in path) uri = path; else uri = "file://%s".printf(path); return File.new_for_uri(uri); } public static bool fileExists (string path) { GLib.File file=newFile(path); return file.query_exists(null); } public static int64 fileSize (string path) { GLib.File file=newFile(path); try { #if VALA_0_16 GLib.FileInfo info=file.query_info(FileAttribute.STANDARD_SIZE,0,null); #else GLib.FileInfo info=file.query_info(GLib.FILE_ATTRIBUTE_STANDARD_SIZE,0,null); #endif return info.get_size(); } catch (GLib.Error e) { warning("%s", e.message); } return 0; } public static string getParentFolder (string path) { GLib.File file=newFile(path); GLib.File parent=file.get_parent(); return parent.get_parse_name(); } public static string? getKeyString (Profile profile, string group, string key) { string? result=null; try { result = profile.keyFile.get_string(group, key); } catch (GLib.KeyFileError e) { stdout.printf("%s\n", e.message); } return result; } public static int getKeyInteger (Profile profile, string group, string key, int default_val) { int result=default_val; try { result = profile.keyFile.get_integer(group, key); } catch (GLib.KeyFileError e) { stdout.printf("%s\n", e.message); } return result; } public static bool getKeyBoolean (Profile profile, string group, string key, bool default_val) { bool result=default_val; try { result = profile.keyFile.get_boolean(group, key); } catch (GLib.KeyFileError e) { stdout.printf("%s\n", e.message); } return result; } public static string? getLastMessage (string? messages) { string? message=null; string? escaped=messages.escape(""); escaped=InputParser.statusReplace(escaped); string[] splitMessages; splitMessages = escaped.split("\\n", 20); for(int x=0; x 5) message=splitMessages[x]; } return message; } public static void populateComboBox (ComboBox Combo, string[] val_array) { ListStore Model = new ListStore(1, typeof( string )); foreach (string val_item in val_array) { TreeIter iter; Model.append(out iter); Model.set(iter,0,val_item); } Combo.set_model(Model); CellRenderer Cell = new CellRendererText(); Combo.pack_start( Cell, true ); Combo.set_attributes( Cell, "text", 0 ); } } moserial-3.0.8/src/DefaultPaths.vala0000674000213200021320000000504111724215622014271 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using GLib; public class DefaultPaths : GLib.Object { public string? recordTo { get; set; } public string? receiveTo {get; set; } public string? sendFrom {get; set; } public DefaultPaths (string? RecordTo, string? ReceiveTo, string? SendFrom) { this.recordTo=RecordTo; this.receiveTo=ReceiveTo; this.sendFrom=SendFrom; } public void saveToProfile(Profile profile) { if (recordTo != null) profile.keyFile.set_string("paths", "last_record_path", recordTo); if (receiveTo != null) profile.keyFile.set_string("paths", "last_receive_path", receiveTo); if (sendFrom != null) profile.keyFile.set_string("paths", "last_send_path", sendFrom); } public static DefaultPaths loadFromProfile(Profile profile) { string? RecordTo = null; string? ReceiveTo = null; string? SendFrom = null; RecordTo = getPath (profile, "paths", "last_record_path"); ReceiveTo = getPath (profile, "paths", "last_receive_path"); SendFrom = getPath (profile, "paths", "last_send_path"); return new DefaultPaths (RecordTo, ReceiveTo, SendFrom); } public static string? getPath (Profile profile, string group, string key) { string? path = null; try { path = profile.keyFile.get_string(group, key); if (!MoUtils.fileExists(path)) return null; } catch (GLib.KeyFileError e) { //stdout.printf("%s\n", e.message); } return path; } } moserial-3.0.8/src/Profile.vala0000674000213200021320000001067411777333064013326 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class Profile : GLib.Object { public KeyFile keyFile; construct { keyFile = new KeyFile(); } public void saveWindowSize(int w, int h) { if (w>0) keyFile.set_integer("window", "width", w); if (h>0) keyFile.set_integer("window", "height", h); } public void saveWindowPanedPosition(int pos) { keyFile.set_integer("window", "paned_pos", pos); } public int getWindowPanedPosition() { try { return keyFile.get_integer("window", "paned_pos"); } catch (GLib.KeyFileError e) { return -1; } } public int getWindowWidth() { try { return keyFile.get_integer("window", "width"); } catch (GLib.KeyFileError e) { return -1; } } public int getWindowHeight() { try { return keyFile.get_integer("window", "height"); } catch (GLib.KeyFileError e) { return -1; } } public bool load(string? filename, Gtk.Window window) { string f; bool default_profile=false; if (filename==null) { default_profile=true; f="%s/moserial.conf".printf(GLib.Environment.get_user_config_dir()); } else f=filename; try { keyFile.load_from_file(f, GLib.KeyFileFlags.NONE); return true; } catch (GLib.KeyFileError e) { stdout.printf("%s\n", e.message); /* try loading the non-broken parts of the profile - return true */ return true; } catch (GLib.FileError e) { if (!default_profile) { var errorDialog = new MessageDialog (window, DialogFlags.DESTROY_WITH_PARENT, MessageType.ERROR, ButtonsType.CLOSE, "%s: %s\n%s", _("Error: Could not open file"), filename, e.message); errorDialog.run(); errorDialog.destroy(); } return false; } } public void toString() { size_t s; stdout.printf("%s\n", keyFile.to_data(out s)); } public void save(string? filename, Gtk.Window window) { GLib.File? file; FileOutputStream? fos; string f; bool default_profile=false; if (filename==null) { default_profile=true; f="%s/moserial.conf".printf(GLib.Environment.get_user_config_dir()); } else f=filename; file = File.new_for_path(f); try { size_t s; string data; fos = file.replace(null, false, GLib.FileCreateFlags.NONE, null); data = keyFile.to_data(out s); fos.write(data.data, null); } catch (GLib.Error e) { stdout.printf("profile.save error: %s\n", e.message); if (!default_profile) { var errorDialog = new MessageDialog (window, DialogFlags.DESTROY_WITH_PARENT, MessageType.ERROR, ButtonsType.CLOSE, "%s: %s\n%s", _("Error: Could not open file"), filename, e.message); errorDialog.run(); errorDialog.destroy(); } } } } moserial-3.0.8/src/Preferences.vala0000674000213200021320000001155411724215623014155 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using GLib; public class Preferences : GLib.Object { public static bool DEFAULT_USE_SYSTEM_MONOSPACE_FONT=true; public static string DEFAULT_FONT="Monospace 10"; public static string DEFAULT_FONT_COLOR="black"; public static string DEFAULT_BACKGROUND_COLOR="white"; public static string DEFAULT_HIGHLIGHT_COLOR="#2020ff"; public static bool DEFAULT_RECORD_LAUNCH=true; public bool useSystemMonospaceFont {get; construct;} public string? font {get; construct;} public string? fontColor {get; construct;} public string? backgroundColor {get; construct;} public string? highlightColor {get; construct;} public bool recordLaunch {get; construct;} public bool enableTimeout {get; construct;} public int timeout {get; construct;} public Preferences (bool useSystemMonospaceFont, string? font, string? fontColor,string? backgroundColor,string? highlightColor, bool recordLaunch, bool enableTimeout, int timeout) { GLib.Object(useSystemMonospaceFont: useSystemMonospaceFont, font: font, recordLaunch: recordLaunch, fontColor: fontColor, backgroundColor: backgroundColor, highlightColor: highlightColor, enableTimeout: enableTimeout, timeout: timeout); } construct { if(font==null) font=DEFAULT_FONT; if(fontColor==null) fontColor=DEFAULT_FONT_COLOR; if(backgroundColor==null) backgroundColor=DEFAULT_BACKGROUND_COLOR; if(highlightColor==null) highlightColor=DEFAULT_HIGHLIGHT_COLOR; } public static string getSystemDefaultMonospaceFont() { var settings = new GLib.Settings ("org.gnome.desktop.interface"); string value = settings.get_string ("monospace-font-name"); if (value == "") { warning(_("Unable to retrieve system font setting")); value = DEFAULT_FONT; } return value; } public static Gdk.Color getGdkColor(string color) { Gdk.Color c; Gdk.Color.parse(color, out c); return c; } public void toString() { stdout.printf("useSystemMonospaceFont: "); if(useSystemMonospaceFont) stdout.printf("true\n"); else stdout.printf("false\n"); stdout.printf("font: %s\n", font); stdout.printf("fontColor: %s\n", fontColor); stdout.printf("backgroundColor: %s\n", backgroundColor); stdout.printf("highlightColor: %s\n", highlightColor); stdout.printf("recordLaunch: "); if(recordLaunch) stdout.printf("true\n"); else stdout.printf("false\n"); } public void saveToProfile(Profile profile) { profile.keyFile.set_boolean("preferences", "use_system_monospace_font", useSystemMonospaceFont); profile.keyFile.set_string("preferences", "font", font); profile.keyFile.set_string("preferences", "font_color", fontColor); profile.keyFile.set_string("preferences", "background_color", backgroundColor); profile.keyFile.set_string("preferences", "highlight_color", highlightColor); profile.keyFile.set_boolean("preferences", "record_launch", recordLaunch); profile.keyFile.set_boolean("preferences", "enable_timeout", enableTimeout); profile.keyFile.set_integer("preferences", "timeout", timeout); } public static Preferences loadFromProfile(Profile profile) { bool useSystemMonospaceFont; string? font=null; string? fontColor=null; string? backgroundColor=null; string? highlightColor=null; bool recordLaunch; bool enableTimeout; int timeout; useSystemMonospaceFont = MoUtils.getKeyBoolean(profile, "preferences", "use_system_monospace_font", Preferences.DEFAULT_USE_SYSTEM_MONOSPACE_FONT); font = MoUtils.getKeyString(profile, "preferences", "font"); fontColor = MoUtils.getKeyString(profile, "preferences", "font_color"); backgroundColor = MoUtils.getKeyString(profile, "preferences", "background_color"); highlightColor = MoUtils.getKeyString(profile, "preferences", "highlight_color"); recordLaunch = MoUtils.getKeyBoolean(profile, "preferences", "record_launch", true); enableTimeout = MoUtils.getKeyBoolean(profile, "preferences", "enable_timeout", false); timeout = MoUtils.getKeyInteger(profile, "preferences", "timeout", 30); return new Preferences (useSystemMonospaceFont, font, fontColor, backgroundColor, highlightColor, recordLaunch, enableTimeout, timeout); } } moserial-3.0.8/src/AutoScroll.vala0000674000213200021320000000377211724215622014005 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.AutoScroll : GLib.Object { public static void scroll (Gtk.Adjustment va) { va.value=va.upper-va.page_size; } public static void doAutoScroll (Gtk.Adjustment va) { if (va.value==va.upper-va.page_size) va.changed.connect(scroll); else va.changed.disconnect(scroll); } public static void setup(Gtk.Adjustment incomingAsciiVerticalAdjuster, Gtk.Adjustment incomingHexVerticalAdjuster, Gtk.Adjustment outgoingAsciiVerticalAdjuster, Gtk.Adjustment outgoingHexVerticalAdjuster) { incomingAsciiVerticalAdjuster.changed.connect(scroll); incomingAsciiVerticalAdjuster.value_changed.connect(doAutoScroll); incomingHexVerticalAdjuster.changed.connect(scroll); incomingHexVerticalAdjuster.value_changed.connect(doAutoScroll); outgoingAsciiVerticalAdjuster.changed.connect(scroll); outgoingAsciiVerticalAdjuster.value_changed.connect(doAutoScroll); outgoingHexVerticalAdjuster.changed.connect(scroll); outgoingHexVerticalAdjuster.value_changed.connect(doAutoScroll); } } moserial-3.0.8/src/Szwrapper.vala0000674000213200021320000001567211777333064013726 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ //Class for communicating with the sz program public class moserial.Szwrapper: GLib.Object { public enum Protocol {XMODEM, YMODEM, ZMODEM, RAW, NULL} public const string[] ProtocolStrings = { GLib.N_("Xmodem"), GLib.N_("Ymodem"), GLib.N_("Zmodem"), GLib.N_("None (straight binary)") }; public Protocol protocol {get; construct;} public SerialConnection? sc {get; construct;} private IOChannel IOChannelInput; private IOChannel IOChannelOutput; private IOChannel IOChannelError; //int inputChannelId; uint outputChannelId; uint errorChannelId; private GLib.Pid pid; public signal void transferComplete(); public signal void updateStatus(string newStatus); public bool running=false; public string filename {get; construct;} public Szwrapper(Protocol? protocol, SerialConnection? sc, string? filename) { Protocol pro = protocol; GLib.Object(protocol: pro, sc: sc, filename: filename); } construct { if(protocol==Protocol.NULL || filename==null) { running=false; } else { string[] argv; if(protocol == Protocol.RAW) { argv = new string[2]; argv[0] = "cat"; argv[1] = filename; } else { argv = new string[4]; argv[0] = "sz"; switch(protocol) { case Protocol.XMODEM: argv[1] = "--xmodem"; break; case Protocol.YMODEM: argv[1] = "--ymodem"; break; case Protocol.ZMODEM: default: argv[1] = "--zmodem"; break; } argv[2] = "-vv"; argv[3] = filename; } int output; int error; int input; //size_t bytesRead=0; //char[1000] m_buf = new char[1000]; try{ Process.spawn_async_with_pipes(null, argv, null, SpawnFlags.SEARCH_PATH, null, out pid, out input, out output, out error); IOChannelOutput = new GLib.IOChannel.unix_new(output); IOChannelInput = new GLib.IOChannel.unix_new(input); IOChannelError = new GLib.IOChannel.unix_new(error); IOChannelOutput.set_encoding(null); IOChannelOutput.set_flags(GLib.IOFlags.NONBLOCK); IOChannelError.set_encoding(null); IOChannelError.set_flags(GLib.IOFlags.NONBLOCK); IOChannelInput.set_encoding(null); //IOChannelInput.set_flags(GLib.IOFlags.NONBLOCK); outputChannelId = IOChannelOutput.add_watch(GLib.IOCondition.IN, this.readBytes); errorChannelId = IOChannelError.add_watch(GLib.IOCondition.IN, this.readError); running=true; } catch(GLib.SpawnError e) { running=false; stdout.printf("spawn error: %s\n", e.message); var errorDialog = new Gtk.MessageDialog (null, Gtk.DialogFlags.DESTROY_WITH_PARENT, Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, "%s", e.message); errorDialog.run(); errorDialog.destroy(); } catch (GLib.IOChannelError e){ stdout.printf("readError() %s\n", e.message); } } } public void writeChar(uchar byte) { if(running) { size_t bytesWritten; char[] b = new char[1]; b[0] = (char)byte; try { if(running) IOChannelInput.write_chars(b, out bytesWritten); if(running) IOChannelInput.flush(); } catch(GLib.IOChannelError e) { shutdown(); stdout.printf("writeChar() %s\n", e.message); } catch(GLib.ConvertError e) { stdout.printf("%s\n", e.message); } } } private bool readError(GLib.IOChannel source, GLib.IOCondition condition) { while(Gtk.events_pending() || Gdk.events_pending()) Gtk.main_iteration_do(false); if(running) { char[] m_buf = new char[1000]; string messages=""; string message=""; size_t bytesRead=0; if(!(condition == IOCondition.IN)) return true; try { source.read_chars(m_buf, out bytesRead); } catch (ConvertError e) { stdout.printf("%s\n", e.message); } catch (GLib.IOChannelError e){ stdout.printf("readError() %s\n", e.message); } for (int x=0; x= 0) { GLib.Timeout.add(2000, shutdown_timeout); //Wait 2 seconds for for the final remote packet to get ackd //shutdown(); } if(messages.index_of ("Transfer incomplete", 0) >= 0) { shutdown(); } return true; } else return false; } public void transferCanceled(GLib.Object o) { //send cancel string to remote client and rz if(running) { updateStatus(_("canceled")); if(protocol==Protocol.XMODEM || protocol==Protocol.YMODEM || protocol==Protocol.ZMODEM) { for(int x=0;x<20;x++) { if(protocol==Protocol.ZMODEM) { sc.sendByte('X'&037); writeChar('X'&037); } else sc.sendByte(0x18); } } if(protocol==Protocol.XMODEM || protocol==Protocol.YMODEM || protocol==Protocol.RAW) shutdown(); } } private bool shutdown_timeout() { shutdown(); return false; } private void shutdown() { if(running) { running=false; GLib.Source.remove(outputChannelId); GLib.Source.remove(errorChannelId); Process.close_pid(pid); transferComplete(); } } private bool readBytes(GLib.IOChannel source, GLib.IOCondition condition) { while(Gtk.events_pending() || Gdk.events_pending()) Gtk.main_iteration_do(false); if(running) { char[] m_buf = new char[1024]; size_t bytesRead=0; if(!(condition == IOCondition.IN)) return true; try { source.read_chars(m_buf, out bytesRead); } catch (ConvertError e) { stdout.printf("%s\n", e.message); } catch (GLib.IOChannelError e){ stdout.printf("readError() %s\n", e.message); } sc.sendBytes(m_buf, bytesRead); return true; } else return false; } } moserial-3.0.8/src/SendChooserDialog.vala0000674000213200021320000000441511724215623015246 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.SendChooserDialog : GLib.Object { public Builder builder {get; construct;} private FileChooserDialog dialog; public ComboBox protocolCombo; public signal void startTransfer(); public string filename; public SendChooserDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (FileChooserDialog)builder.get_object("send_chooser_dialog"); protocolCombo = (ComboBox)builder.get_object("send_chooser_protocol"); MoUtils.populateComboBox (protocolCombo, Szwrapper.ProtocolStrings); dialog.delete_event.connect(hide); dialog.add_buttons(Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL, Gtk.Stock.OK, Gtk.ResponseType.ACCEPT, null); protocolCombo.set_active(Szwrapper.Protocol.ZMODEM); dialog.response.connect(response); } public void show(string? folder) { if ((folder != null) && MoUtils.fileExists(folder)) dialog.set_current_folder(folder); dialog.run(); } public bool hide() { dialog.hide(); return true; } private void response(Widget w, int r){ if(r == Gtk.ResponseType.CANCEL) { hide(); } else if(r == Gtk.ResponseType.ACCEPT) { hide(); filename = dialog.get_filename(); startTransfer(); } else { // } } } moserial-3.0.8/src/XmodemFilenameDialog.vala0000674000213200021320000000312711724215623015723 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.XmodemFilenameDialog : GLib.Object { public Builder builder {get; construct;} private Dialog dialog; private Gtk.Entry xmodemFilename; public string filename; public XmodemFilenameDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (Dialog)builder.get_object("xmodem_filename_dialog"); xmodemFilename = (Gtk.Entry)builder.get_object("xmodem_filename"); dialog.delete_event.connect(hide); dialog.response.connect(response); } public void show() { dialog.run(); } public bool hide() { dialog.hide(); return true; } private void response(Widget w, int r){ filename = xmodemFilename.get_text(); hide(); if(filename=="") filename="xmodem.file"; } } moserial-3.0.8/src/Rzwrapper.vala0000674000213200021320000001541611777333064013721 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ //Class for communicating with the rz program public class moserial.Rzwrapper: GLib.Object { public enum Protocol {XMODEM, YMODEM, ZMODEM, NULL} public const string[] ProtocolStrings = { GLib.N_("Xmodem"), GLib.N_("Ymodem"), GLib.N_("Zmodem") }; public Protocol protocol {get; construct;} public SerialConnection? sc {get; construct;} private IOChannel IOChannelInput; private IOChannel IOChannelOutput; private IOChannel IOChannelError; //int inputChannelId; uint outputChannelId; uint errorChannelId; private GLib.Pid pid; public signal void transferComplete(); public signal void updateStatus(string newStatus); public bool running=false; public string? path {get; construct;} public string filename {get; construct;} public Rzwrapper(Protocol? protocol, SerialConnection? sc, string? p, string? filename) { Protocol pro = protocol; GLib.Object(protocol: pro, sc: sc, path: p, filename: filename); } construct { if(protocol==Protocol.NULL || path==null) { running=false; } else { string[] argv; if(protocol==Protocol.XMODEM) argv = new string[4]; else argv = new string[3]; argv[0] = "rz"; switch(protocol) { case Protocol.XMODEM: argv[1] = "--xmodem"; break; case Protocol.YMODEM: argv[1] = "--ymodem"; break; case Protocol.ZMODEM: default: argv[1] = "--zmodem"; break; } argv[2] = "-vv"; if(protocol==Protocol.XMODEM) argv[3]=filename; int output; int error; int input; //size_t bytesRead=0; //char[1000] m_buf = new char[1000]; try{ Process.spawn_async_with_pipes(path, argv, null, SpawnFlags.SEARCH_PATH, null, out pid, out input, out output, out error); IOChannelOutput = new GLib.IOChannel.unix_new(output); IOChannelInput = new GLib.IOChannel.unix_new(input); IOChannelError = new GLib.IOChannel.unix_new(error); IOChannelOutput.set_encoding(null); IOChannelOutput.set_flags(GLib.IOFlags.NONBLOCK); IOChannelError.set_encoding(null); IOChannelError.set_flags(GLib.IOFlags.NONBLOCK); IOChannelInput.set_encoding(null); //IOChannelInput.set_flags(GLib.IOFlags.NONBLOCK); outputChannelId = IOChannelOutput.add_watch(GLib.IOCondition.IN, this.readBytes); errorChannelId = IOChannelError.add_watch(GLib.IOCondition.IN, this.readError); running=true; } catch(GLib.SpawnError e) { running=false; stdout.printf("spawn error: %s\n", e.message); var errorDialog = new Gtk.MessageDialog (null, Gtk.DialogFlags.DESTROY_WITH_PARENT, Gtk.MessageType.ERROR, Gtk.ButtonsType.CLOSE, "%s", e.message); errorDialog.run(); errorDialog.destroy(); } catch (GLib.IOChannelError e){ stdout.printf("readError() %s\n", e.message); } } } public void writeChar(uchar byte) { if(running) { size_t bytesWritten; char[] b = new char[1]; b[0] = (char)byte; try { if(running) IOChannelInput.write_chars(b, out bytesWritten); //if(running) // IOChannelInput.flush(); } catch(GLib.IOChannelError e) { shutdown(); stdout.printf("writeChar() %s\n", e.message); } catch(GLib.ConvertError e) { stdout.printf("%s\n", e.message); } } } public void flush() { if(running) { try { if(running) IOChannelInput.flush(); } catch(GLib.IOChannelError e) { shutdown(); stdout.printf("flush() %s\n", e.message); } } } private bool readError(GLib.IOChannel source, GLib.IOCondition condition) { if(running) { char[] m_buf = new char[1000]; string message=""; string messages=""; size_t bytesRead=0; if(!(condition == IOCondition.IN)) return true; try { source.read_chars(m_buf, out bytesRead); } catch (ConvertError e) { stdout.printf("readError() %s\n", e.message); } catch (GLib.IOChannelError e){ stdout.printf("readError() %s\n", e.message); } for (int x=0; x= 0) { shutdown(); } if(messages.index_of ("Transfer incomplete", 0) >= 0) { shutdown(); } return true; } else return false; } public void transferCanceled(GLib.Object o) { //send cancel string to remote client and rz if(running) { updateStatus("canceled"); for(int x=0;x<20;x++) { if(protocol==Protocol.ZMODEM) { sc.sendByte('X'&037); writeChar('X'&037); } else sc.sendByte(0x18); } GLib.Timeout.add(2000, shutdown_timeout); } } private bool shutdown_timeout() { shutdown(); return false; } private void shutdown() { if(running) { running=false; GLib.Source.remove(outputChannelId); GLib.Source.remove(errorChannelId); Process.close_pid(pid); transferComplete(); } } private bool readBytes(GLib.IOChannel source, GLib.IOCondition condition) { if(running) { char[] m_buf = new char[1000]; size_t bytesRead=0; if(!(condition == IOCondition.IN)) return true; try { source.read_chars(m_buf, out bytesRead); } catch (ConvertError e) { stdout.printf("readBytes() %s\n", e.message); } catch (GLib.IOChannelError e){ stdout.printf("readError() %s\n", e.message); } for (int x=0; x. */ public errordomain HexParseError { INVALID_INPUT; } public class InputParser : GLib.Object { /* We need this due to some strange Vala bug stopping us using string.replace in two different classes should look into it and possibly file a bug */ public static string statusReplace(string oldString) { return oldString.replace("\\r", "\\n"); } public static uchar[] parseHex(string s) throws HexParseError { long len = s.length; uchar[] r=new uchar[(len+1)/2]; for(int x=0; x<(len+1)/2; x++) { unichar c; int i; int temp; c=s.get_char(); if(len>1) { i=xtoi(c)*16; if(i<0) throw new HexParseError.INVALID_INPUT(_("Invalid Input")); s=s.next_char(); c=s.get_char(); temp=xtoi(c); if(temp<0) throw new HexParseError.INVALID_INPUT(_("Invalid Input")); i=i+temp; } else { i=xtoi(c); if(i<0) throw new HexParseError.INVALID_INPUT(_("Invalid Input")); } s=s.next_char(); r[x]=(uchar)i; } return r; } // There should be bindings to something in vala that can do this but there dosen't seem to be yet 2009-01-31 private static char xtoi(unichar c) { char i=-1; switch(c){ case '0': i=0; break; case '1': i=1; break; case '2': i=2; break; case '3': i=3; break; case '4': i=4; break; case '5': i=5; break; case '6': i=6; break; case '7': i=7; break; case '8': i=8; break; case '9': i=9; break; case 'a': i=10; break; case 'b': i=11; break; case 'c': i=12; break; case 'd': i=13; break; case 'e': i=14; break; case 'f': i=15; break; case 'A': i=10; break; case 'B': i=11; break; case 'C': i=12; break; case 'D': i=13; break; case 'E': i=14; break; case 'F': i=15; break; } return i; } } moserial-3.0.8/src/SerialStreamRecorder.vala0000674000213200021320000000541111724215623015770 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.SerialStreamRecorder { private GLib.File? file; private string uri; private bool isOpen=false; private FileOutputStream? fos; public enum Direction { INCOMING, OUTGOING, BOTH } public const string[] DirectionStrings = { GLib.N_("Incoming"), GLib.N_("Outgoing"), GLib.N_("Incoming and Outgoing") }; private Direction direction; public void open (string filename, Direction direction) throws GLib.Error { try { file = File.new_for_path(filename); fos = file.replace(null, false, GLib.FileCreateFlags.NONE, null); isOpen=true; uri = file.get_uri(); this.direction=direction; } catch(GLib.Error e) { isOpen=false; file=null; fos=null; throw e; } } private void write(uchar data) { if(isOpen) { uchar[] o = new uchar[1]; o[0]=data; try { fos.write(o, null); } catch(GLib.Error e) { stdout.printf(_("error: %s\n"), e.message); } } } private void write_array(uchar[] data) { if(isOpen) { try { fos.write(data, null); } catch(GLib.Error e) { stdout.printf(_("error: %s\n"), e.message); } } } public void writeOutgoing(uchar data) { if(isOpen && (direction==Direction.OUTGOING || direction==Direction.BOTH)) write(data); } public void writeIncoming(uchar[] data) { if(isOpen && (direction==Direction.INCOMING || direction==Direction.BOTH)) write_array(data); } public void close (bool launch){ if(isOpen) { try { fos.flush(null); fos.close(null); } catch(GLib.Error e) { stdout.printf(_("error: %s\n"), e.message); // Error closing the file? } /* TODO: allow this feature to be enabled / disabled */ if(launch && (MoUtils.fileSize(uri)>0)) { try { show_uri(null, uri, Gdk.CURRENT_TIME); } catch (GLib.Error e) { warning(_("Unable to launch %s: %s"), uri, e.message); } } fos=null; file = null; isOpen=false; } } } moserial-3.0.8/src/HexTextBuffer.vala0000664000213200021320000001625312064144371014436 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; using GLib; public class moserial.HexTextBuffer : TextBuffer { private TextMark nextHexMark; private TextMark nextCharMark; private TextTag addressTag; private TextTag oddTag; private int hexBytes; construct { setup(); addressTag = this.create_tag("hex_address", "foreground", "#2020ff", null); oddTag = this.create_tag("hex_odd", "foreground", "#2020ff", null); } public void applyPreferences(Preferences preferences) { addressTag.foreground=preferences.highlightColor; oddTag.foreground=preferences.highlightColor; } public void clear() { this.delete_mark(nextHexMark); this.delete_mark(nextCharMark); this.set_text("", 0); setup(); } private void setup() { TextIter nextHexIter; TextIter nextCharIter; this.get_end_iter(out nextHexIter); nextHexMark = new TextMark("nextHex", true); this.add_mark(nextHexMark, nextHexIter); nextCharIter=nextHexIter; nextCharMark = new TextMark("nextChar", true); this.add_mark(nextCharMark, nextCharIter); hexBytes=0; } public void add(uchar data) { TextIter nextHexIter; TextIter nextCharIter; string incomingHexBuffer = ""; // Every insert or delete operation invalidates TextIters and they must be recovered. if((hexBytes % 16)==0 ){ // Mark start TextIter startIter; this.get_iter_at_mark(out nextCharIter, nextCharMark); TextMark startMark = new TextMark("startMark", true); this.add_mark(startMark, nextCharIter); // Insert offset info (hexBytes) #if VALA_0_16 this.insert(ref nextCharIter, "\n%08x".printf(hexBytes), 9); #else this.insert(nextCharIter, "\n%08x".printf(hexBytes), 9); #endif this.get_end_iter (out nextCharIter); // Format offset info this.get_iter_at_mark(out startIter, startMark); this.apply_tag_by_name("hex_address", startIter, nextCharIter); this.delete_mark(startMark); // Blank space #if VALA_0_16 this.insert(ref nextCharIter, " ", 1); #else this.insert(nextCharIter, " ", 1); #endif this.get_end_iter (out nextCharIter); // Save current position in nextHexMark this.delete_mark(nextHexMark); nextHexIter = nextCharIter; nextHexMark = new TextMark("nextHex", true); this.add_mark(nextHexMark, nextHexIter); // Put 51 blank spaces #if VALA_0_16 this.insert(ref nextCharIter, " ", 51); #else this.insert(nextCharIter, " ", 51); #endif this.get_end_iter (out nextCharIter); // Save current nextCharMark this.delete_mark(nextCharMark); nextCharMark = new TextMark("nextChar", true); this.add_mark(nextCharMark, nextCharIter); } else if((hexBytes % 8)==0) { // Every 8 characters put a separation of 2 spaces this.get_iter_at_mark(out nextHexIter, nextHexMark); #if VALA_0_16 this.insert(ref nextHexIter, " ", 2); #else this.insert(nextHexIter, " ", 2); #endif this.get_iter_at_mark(out nextHexIter, nextHexMark); nextHexIter.forward_chars(2); // Save current nextHexMark this.delete_mark(nextHexMark); nextHexMark = new TextMark("nextHex", true); this.add_mark(nextHexMark, nextHexIter); // Remove space to align chars TextIter tempIter; tempIter = nextHexIter; tempIter.forward_chars(2); #if VALA_0_16 this.delete(ref nextHexIter, ref tempIter); #else this.delete(nextHexIter, tempIter); #endif } // Put hex data at nextHexMark this.get_iter_at_mark(out nextHexIter, nextHexMark); incomingHexBuffer += "%02X ".printf(data); #if VALA_0_16 this.insert(ref nextHexIter, incomingHexBuffer, (int)incomingHexBuffer.length); #else this.insert(nextHexIter, incomingHexBuffer, (int)incomingHexBuffer.length); #endif this.get_iter_at_mark(out nextHexIter, nextHexMark); nextHexIter.forward_chars(incomingHexBuffer.length); // Save current nextHexMark this.delete_mark(nextHexMark); nextHexMark = new TextMark("nextHex", true); this.add_mark(nextHexMark, nextHexIter); // Remove space to align chars TextIter tempIter; tempIter = nextHexIter; tempIter.forward_chars(3); #if VALA_0_16 this.delete(ref nextHexIter, ref tempIter); #else this.delete(nextHexIter, tempIter); #endif incomingHexBuffer = ""; hexBytes++; // Place character at nextCharMark this.get_iter_at_mark(out nextCharIter, nextCharMark); unichar c = "%c".printf(data).get_char(); string s = "%c".printf(data); if (s.validate() && c.isprint()) { #if VALA_0_16 this.insert(ref nextCharIter, s, (int)s.length); #else this.insert(nextCharIter, s, (int)s.length); #endif this.get_iter_at_mark(out nextCharIter, nextCharMark); nextCharIter.forward_chars(s.length); } else { #if VALA_0_16 this.insert(ref nextCharIter, ".", 1); #else this.insert(nextCharIter, ".", 1); #endif this.get_iter_at_mark(out nextCharIter, nextCharMark); nextCharIter.forward_chars(1); } // Save current nextCharMark this.delete_mark(nextCharMark); nextCharMark = new TextMark("nextChar", true); this.add_mark(nextCharMark, nextCharIter); } } moserial-3.0.8/src/SerialConnection.vala0000674000213200021320000002463611724215640015157 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Posix; using Linux; public class moserial.SerialConnection : GLib.Object { private bool connected; public ulong tx=0; public ulong rx=0; public ulong nonprintable=0; public bool forced_hex_view=false; public bool lastRxCharWasCR=false; public string echoReference=""; public string echoCompare=""; private Posix.termios newtio; private Posix.termios restoretio; private int m_fd=-1; private GLib.IOChannel IOChannelFd; public signal void newData(uchar[] data, int size); private int flags=0; public enum LineEnd{ CRLF, CR, LF, TAB, ESC, NONE } public const string[] LineEndStrings = { GLib.N_("CR+LF end"), GLib.N_("CR end"), GLib.N_("LF end"), GLib.N_("TAB end"), GLib.N_("ESC end"), GLib.N_("No end") }; public const string[] LineEndValues = {"\r\n", "\r", "\n", "\t", "\x1b", ""}; public const int max_buf_size = 128; uint? sourceId; bool localEcho; public bool doConnect (Settings settings) { if (settings.accessMode==Settings.AccessMode.READWRITE) flags=Posix.O_RDWR; else if (settings.accessMode==Settings.AccessMode.READONLY) flags=Posix.O_RDONLY; else flags=Posix.O_WRONLY; m_fd = Posix.open(settings.device, flags | Posix.O_NONBLOCK); if (m_fd<0) { m_fd=-1; // TODO display error in gui return false; } Posix.tcflush(m_fd, Posix.TCIOFLUSH); // int n = Posix.File.fcntl(m_fd, Posix.File.FDFlag.GETFL); // Posix.File.fcntl_with_arg(m_fd, Posix.File.FDFlag.SETFL, n & ~Posix.File.FileStatus.NDELAY); #if VALA_0_14 tcgetattr(m_fd, out restoretio); #else tcgetattr(m_fd, restoretio); #endif applySettings(settings); tcsetattr(m_fd, Posix.TCSANOW, newtio); connected=true; IOChannelFd = new GLib.IOChannel.unix_new(m_fd); sourceId = IOChannelFd.add_watch(GLib.IOCondition.IN, this.readBytes); localEcho=settings.localEcho; return true; } public void sendByte(uchar byte) { if(connected) { uchar[] b = new uchar[1]; b[0]=byte; size_t x = Posix.write(m_fd, b, 1); //Posix.tcdrain(m_fd); tx=tx+x; } } public void sendBytes(char[] bytes, size_t size) { if(connected) { size_t x = Posix.write(m_fd, bytes, size); Posix.tcdrain(m_fd); tx=tx+x; } } public void doDisconnect () { if(connected) { GLib.Source.remove(sourceId); sourceId = null; try { IOChannelFd.shutdown(true); } catch (GLib.IOChannelError e){ warning("%s", e.message); } IOChannelFd=null; connected=false; forced_hex_view=false; lastRxCharWasCR=false; tx=rx=nonprintable=0; echoReference=""; echoCompare=""; tcsetattr(m_fd, Posix.TCSANOW, newtio); Posix.close(m_fd); } } private bool readBytes(GLib.IOChannel source, GLib.IOCondition condition) { uchar[] m_buf = new uchar[max_buf_size]; int bytesRead=(int)Posix.read(m_fd, m_buf, max_buf_size); rx += (ulong) bytesRead; while(Gtk.events_pending() || Gdk.events_pending()) Gtk.main_iteration_do(false); if (bytesRead<0) return false; uchar[] sized_buf = new uchar[bytesRead]; for (int x=0; x 0) r = _("TX: %lu, RX: %lu (%lu unprintable)").printf(tx, rx, nonprintable); else r = _("TX: %lu, RX: %lu").printf(tx, rx); return r; } } moserial-3.0.8/src/PreferencesDialog.vala0000674000213200021320000001453411724215623015276 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.PreferencesDialog : GLib.Object { public Builder builder {get; construct;} private Dialog dialog; private Button cancelButton; private Button okButton; private CheckButton systemFont; private FontButton fontButton; private ColorButton fontColorButton; private ColorButton backgroundColorButton; private ColorButton highlightColorButton; private CheckButton recordLaunch; private CheckButton enableTimeout; private SpinButton timeout; public signal void updatePreferences(Preferences preferences); public PreferencesDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (Dialog)builder.get_object("preferences_dialog"); okButton = (Button)builder.get_object("preferences_ok"); cancelButton = (Button)builder.get_object("preferences_cancel"); systemFont = (CheckButton)builder.get_object("preferences_use_system_font"); fontButton = (FontButton)builder.get_object("preferences_font_button"); fontColorButton = (ColorButton)builder.get_object("preferences_font_color_button"); backgroundColorButton = (ColorButton)builder.get_object("preferences_background_color_button"); highlightColorButton = (ColorButton)builder.get_object("preferences_highlight_color_button"); recordLaunch = (CheckButton)builder.get_object("preferences_record_launch"); recordLaunch.set_tooltip_text (_("If this option is enabled, a recorded file will be opened immediately after it is saved, using the default application for the file type. The default application is defined by the desktop environment.")); enableTimeout = (CheckButton)builder.get_object("preferences_record_enable_timeout"); enableTimeout.set_tooltip_text (_("If this option is enabled, recording will be automatically stopped after an adjustable period of inactivity after receiving some data. Moserial will wait indefinitely to record the first data byte before activating the inactivity timer.")); timeout = (SpinButton)builder.get_object("preferences_record_timeout"); timeout.adjustment.lower = 0; timeout.adjustment.upper = 600; timeout.adjustment.step_increment = 1; timeout.adjustment.page_increment = 60; systemFont.toggled.connect(this.systemFontToggled); enableTimeout.toggled.connect(this.enableTimeoutToggled); okButton.clicked.connect(ok); cancelButton.clicked.connect(cancel); dialog.delete_event.connect(hide); } public void ok(Button button) { hide(); bool pSystemFont; string pFont; string pFontColor; string pBackgroundColor; string pHighlightColor; bool pRecordLaunch; bool pEnableTimeout; int pTimeout; if(systemFont.get_active()) pSystemFont=true; else pSystemFont=false; pFont=fontButton.get_font_name(); Gdk.Color c; fontColorButton.get_color(out c); pFontColor=c.to_string(); backgroundColorButton.get_color(out c); pBackgroundColor=c.to_string(); highlightColorButton.get_color(out c); pHighlightColor=c.to_string(); if(recordLaunch.get_active()) pRecordLaunch=true; else pRecordLaunch=false; if(enableTimeout.get_active()) pEnableTimeout=true; else pEnableTimeout=false; pTimeout=(int)timeout.get_value(); Preferences preferences=new Preferences(pSystemFont, pFont, pFontColor,pBackgroundColor,pHighlightColor, pRecordLaunch, pEnableTimeout, pTimeout); this.updatePreferences(preferences); } public void show(Preferences preferences, bool recording) { if(preferences.useSystemMonospaceFont) { fontButton.set_sensitive(false); systemFont.set_active(true); } else { fontButton.set_sensitive(true); systemFont.set_active(false); } fontButton.set_font_name(preferences.font); fontColorButton.set_color(Preferences.getGdkColor(preferences.fontColor)); backgroundColorButton.set_color(Preferences.getGdkColor(preferences.backgroundColor)); highlightColorButton.set_color(Preferences.getGdkColor(preferences.highlightColor)); if(preferences.recordLaunch) recordLaunch.set_active(true); else recordLaunch.set_active(false); if(preferences.enableTimeout) { enableTimeout.set_active(true); timeout.set_sensitive(true); } else { enableTimeout.set_active(false); timeout.set_sensitive(false); } if(recording) { enableTimeout.set_sensitive(false); timeout.set_sensitive(false); } else enableTimeout.set_sensitive(true); timeout.set_value(preferences.timeout); dialog.show_all(); } public void cancel(Widget w) { //currentPreferences=null; hide(); } public bool hide() { dialog.hide(); return true; } public void systemFontToggled(ToggleButton button) { if(button.get_active()) fontButton.set_sensitive(false); else fontButton.set_sensitive(true); } public void enableTimeoutToggled(ToggleButton button) { if(button.get_active()) timeout.set_sensitive(true); else timeout.set_sensitive(false); } } moserial-3.0.8/src/RecordDialog.vala0000674000213200021320000000615211724215623014250 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.RecordDialog : GLib.Object { public Builder builder {get; construct;} private FileChooserDialog dialog; private Button cancelButton; private ComboBox streamCombo; public string fileName { get; private set;} public signal void startRecording(string fileName, SerialStreamRecorder.Direction direction); public signal void stopRecording(); public SerialStreamRecorder.Direction direction; public RecordDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (FileChooserDialog)builder.get_object("record_dialog"); cancelButton = (Button)builder.get_object("record_cancel"); streamCombo = (ComboBox)builder.get_object("record_stream"); MoUtils.populateComboBox (streamCombo, SerialStreamRecorder.DirectionStrings); streamCombo.set_active(SerialStreamRecorder.Direction.INCOMING); dialog.delete_event.connect(hide); dialog.response.connect(response); dialog.add_buttons(Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL, Gtk.Stock.SAVE, Gtk.ResponseType.ACCEPT, null); dialog.set_do_overwrite_confirmation(true); dialog.set_local_only(false); fileName=null; } public void show(string? folder) { if ((folder != null) && MoUtils.fileExists(folder)) dialog.set_current_folder(folder); dialog.run(); } public bool hide() { dialog.hide(); return true; } private void response(Widget w, int r){ if(r == Gtk.ResponseType.CANCEL) { fileName=null; hide(); stopRecording(); } else if(r == Gtk.ResponseType.ACCEPT) { fileName=dialog.get_filename(); switch(streamCombo.get_active()) { case 0: default: direction=SerialStreamRecorder.Direction.INCOMING; break; case 1: direction=SerialStreamRecorder.Direction.OUTGOING; break; case 2: direction=SerialStreamRecorder.Direction.BOTH; break; } hide(); startRecording(this.fileName, direction); } else { stopRecording(); } } } moserial-3.0.8/src/ReceiveProgressDialog.vala0000674000213200021320000000413111724215623016134 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.ReceiveProgressDialog : GLib.Object { public Builder builder {get; construct;} private Dialog dialog; private Button cancelButton; private Gtk.Label status; private ProgressBar progressBar; public signal void transferCanceled(); public ReceiveProgressDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (Dialog)builder.get_object("receive_progress_dialog"); cancelButton = (Button)builder.get_object("receive_progress_cancel"); cancelButton.clicked.connect(this.cancel); status = (Gtk.Label)builder.get_object("receive_statusbox"); progressBar = (ProgressBar)builder.get_object("receive_progressbar"); dialog.delete_event.connect(hide); } public void show() { dialog.show_all(); status.set_text(""); } public bool hide() { dialog.hide(); return true; } public void updateStatus(GLib.Object o, string newStatus) { status.set_text(newStatus); progressBar.pulse(); } public void cancel(GLib.Object o) { //TODO: make canceling transfers actually work transferCanceled(); } } moserial-3.0.8/src/ReceiveChooserDialog.vala0000674000213200021320000000444211724215623015737 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.ReceiveChooserDialog : GLib.Object { public Builder builder {get; construct;} private FileChooserDialog dialog; public ComboBox protocolCombo; public signal void startTransfer(); public string path; public ReceiveChooserDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (FileChooserDialog)builder.get_object("receive_chooser_dialog"); protocolCombo = (ComboBox)builder.get_object("receive_chooser_protocol"); MoUtils.populateComboBox (protocolCombo, Rzwrapper.ProtocolStrings); dialog.delete_event.connect(hide); dialog.add_buttons(Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL, Gtk.Stock.OK, Gtk.ResponseType.ACCEPT, null); protocolCombo.set_active(Rzwrapper.Protocol.ZMODEM); dialog.response.connect(response); } public void show(string? folder) { if ((folder != null) && MoUtils.fileExists(folder)) dialog.set_current_folder(folder); dialog.run(); } public bool hide() { dialog.hide(); return true; } private void response(Widget w, int r){ if(r == Gtk.ResponseType.CANCEL) { hide(); } else if(r == Gtk.ResponseType.ACCEPT) { hide(); path = dialog.get_current_folder(); startTransfer(); } else { // } } } moserial-3.0.8/src/SendProgressDialog.vala0000674000213200021320000000414211724215623015445 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; public class moserial.SendProgressDialog : GLib.Object { public Builder builder {get; construct;} private Dialog dialog; private Button cancelButton; private Gtk.Label status; private ProgressBar progressBar; public signal void transferCanceled(); public SendProgressDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (Dialog)builder.get_object("send_progress_dialog"); cancelButton = (Button)builder.get_object("send_progress_cancel"); cancelButton.clicked.connect( this.cancel); status = (Gtk.Label)builder.get_object("send_statusbox"); progressBar = (ProgressBar)builder.get_object("send_progressbar"); dialog.delete_event.connect(hide); } public void show() { dialog.show_all(); status.set_text(_("Waiting for remote host")); } public bool hide() { dialog.hide(); return true; } public void updateStatus(GLib.Object o, string newStatus) { status.set_text(newStatus); progressBar.pulse(); } public void cancel(GLib.Object o) { //TODO: make canceling transfers actually work transferCanceled(); } } moserial-3.0.8/src/Settings.vala0000674000213200021320000001500011724215623013502 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using GLib; public class Settings : GLib.Object { public enum Parity {NONE, ODD, EVEN, MARK, SPACE} public const string[] ParityModeStrings = { GLib.N_("None"), GLib.N_("Odd"), GLib.N_("Even"), GLib.N_("Mark"), GLib.N_("Space") }; public enum Handshake {NONE, HARDWARE, SOFTWARE, BOTH} public enum AccessMode {READWRITE, READONLY, WRITEONLY} public const string[] AccessModeStrings = { GLib.N_("Read and Write"), GLib.N_("Read Only"), GLib.N_("Write Only") }; public const string[] DataBitItems = { "5", "6", "7", "8" }; public const string[] StopBitItems = { "1", "2" }; public const string[] BaudRateItems = { "300", "600", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "230400", "460800", "576000", "927600", "1000000", "2000000" }; public static string DEFAULT_DEVICEFILE = "/dev/ttyS0"; public static int DEFAULT_BAUDRATE = 1200; public static int DEFAULT_DATABITS = 8; public static int DEFAULT_STOPBITS = 1; public static Parity DEFAULT_PARITY = Parity.NONE; public static Handshake DEFAULT_HANDSHAKE = Handshake.HARDWARE; public static AccessMode DEFAULT_ACCESSMODE = AccessMode.READWRITE; public static bool DEFAULT_LOCAL_ECHO = false; public string? device {get; construct;} public int baudRate {get; construct;} public int dataBits {get; construct;} public int stopBits {get; construct;} public Parity parity {get; construct;} public Handshake handshake {get; construct;} public AccessMode accessMode {get; construct;} public bool localEcho {get; construct;} public Settings(string? device, int baudRate, int dataBits, int stopBits, Parity parity, Handshake handshake, AccessMode accessMode, bool localEcho) { GLib.Object (device: device, baudRate: baudRate, dataBits: dataBits, stopBits: stopBits, parity: parity, handshake: handshake, accessMode: accessMode, localEcho: localEcho); } construct { if (device==null) device = DEFAULT_DEVICEFILE; if (baudRate==0) baudRate = DEFAULT_BAUDRATE; if (dataBits==0) dataBits = DEFAULT_DATABITS; if (stopBits==0) stopBits = DEFAULT_STOPBITS; } public string parityToChar() { switch (parity) { case Parity.NONE: { /* TRANSLATORS: first letter of "None", a serial port parity setting */ return _("N"); } case Parity.ODD: { /* TRANSLATORS: first letter of "Odd", a serial port parity setting */ return _("O"); } case Parity.EVEN: { /* TRANSLATORS: first letter of "Even", a serial port parity setting */ return _("E"); } case Parity.MARK: { /* TRANSLATORS: first letter of "Mark", a serial port parity setting */ return _("M"); } case Parity.SPACE: { /* TRANSLATORS: first letter of "Space", a serial port parity setting */ return _("S"); } } return "?"; } public string getStatusbarString(bool open) { string r; r="%s".printf(device); if (open) r=r+" "+_("OPEN")+" "; else r=r+" "+_("CLOSED")+" "; r=r+"%i,%i%s%i".printf(baudRate, dataBits, parityToChar(), stopBits); return r; } public void saveToProfile(Profile profile) { profile.keyFile.set_string("port_settings", "device", device); profile.keyFile.set_integer("port_settings", "baud_rate", baudRate); profile.keyFile.set_integer("port_settings", "data_bits", dataBits); profile.keyFile.set_integer("port_settings", "stop_bits", stopBits); profile.keyFile.set_integer("port_settings", "parity", parity); profile.keyFile.set_integer("port_settings", "handshake", handshake); profile.keyFile.set_integer("port_settings", "access_mode", accessMode); profile.keyFile.set_boolean("port_settings", "local_echo", localEcho); } public static Settings loadFromProfile(Profile profile) { string? device=Settings.DEFAULT_DEVICEFILE; int baudRate; int dataBits; int stopBits; Parity parity; Handshake handshake; AccessMode accessMode; bool localEcho; device = MoUtils.getKeyString(profile, "port_settings", "device"); baudRate = MoUtils.getKeyInteger(profile, "port_settings", "baud_rate", Settings.DEFAULT_BAUDRATE); dataBits = MoUtils.getKeyInteger(profile, "port_settings", "data_bits", Settings.DEFAULT_DATABITS); stopBits = MoUtils.getKeyInteger(profile, "port_settings", "stop_bits", Settings.DEFAULT_STOPBITS); parity = (Settings.Parity)MoUtils.getKeyInteger(profile, "port_settings", "parity", Settings.DEFAULT_PARITY); handshake = (Settings.Handshake)MoUtils.getKeyInteger(profile, "port_settings", "handshake", Settings.DEFAULT_HANDSHAKE); accessMode = (Settings.AccessMode)MoUtils.getKeyInteger(profile, "port_settings", "access_mode", Settings.DEFAULT_ACCESSMODE); localEcho = MoUtils.getKeyBoolean(profile, "port_settings", "local_echo", Settings.DEFAULT_LOCAL_ECHO); return new Settings(device, baudRate, dataBits, stopBits, parity, handshake, accessMode, localEcho); } } moserial-3.0.8/src/SettingsDialog.vala0000674000213200021320000002301211724215623014624 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; using GLib; public class moserial.SettingsDialog : GLib.Object { // Does anyone have more than 32 serial ports? const int max_devices = 32; public Builder builder {get; construct;} private Settings currentSettings; private Dialog dialog; private Button cancelButton; private Button okButton; private Settings settings; private ComboBox deviceCombo; private ComboBox baudRateCombo; private ComboBox dataBitsCombo; private ComboBox stopBitsCombo; private ComboBox parityCombo; private CheckButton hardwareHandshake; private CheckButton softwareHandshake; private ComboBox accessModeCombo; private CheckButton localEcho; private ListStore deviceModel; public signal void updateSettings(Settings settings); public SettingsDialog(Builder builder) { GLib.Object(builder: builder); } construct { dialog = (Dialog)builder.get_object("settings_dialog"); cancelButton = (Button)builder.get_object("settings_cancel_button"); okButton = (Button)builder.get_object("settings_ok_button"); baudRateCombo = (ComboBox)builder.get_object("settings_baud_rate"); MoUtils.populateComboBox (baudRateCombo, Settings.BaudRateItems); dataBitsCombo = (ComboBox)builder.get_object("settings_data_bits"); MoUtils.populateComboBox (dataBitsCombo, Settings.DataBitItems); stopBitsCombo = (ComboBox)builder.get_object("settings_stop_bits"); MoUtils.populateComboBox (stopBitsCombo, Settings.StopBitItems); parityCombo = (ComboBox)builder.get_object("settings_parity"); MoUtils.populateComboBox (parityCombo, Settings.ParityModeStrings); hardwareHandshake = (CheckButton)builder.get_object("settings_hardware_handshake"); hardwareHandshake.set_tooltip_text (_("Also known as RTS/CTS handshaking")); softwareHandshake = (CheckButton)builder.get_object("settings_software_handshake"); softwareHandshake.set_tooltip_text (_("Also known as XON/XOFF handshaking")); accessModeCombo = (ComboBox)builder.get_object("settings_open_for"); MoUtils.populateComboBox (accessModeCombo, Settings.AccessModeStrings); localEcho = (CheckButton)builder.get_object("settings_local_echo"); localEcho.set_tooltip_text (_("Normally disabled")); dialog.delete_event.connect(hide); cancelButton.clicked.connect(this.cancel); okButton.clicked.connect(this.ok); deviceCombo = (ComboBox)builder.get_object("settings_device"); deviceModel = new ListStore(1, typeof( string )); deviceCombo.set_model(deviceModel); CellRenderer deviceCell = new CellRendererText(); deviceCombo.pack_start( deviceCell, false ); deviceCombo.set_attributes( deviceCell, "text", 0 ); } private void populateDevices(){ List deviceTypes = new List (); deviceTypes.append ("/dev/ttyS"); deviceTypes.append ("/dev/ttyUSB"); deviceTypes.append ("/dev/ttyACM"); deviceTypes.append ("/dev/rfcomm"); deviceTypes.append ("/dev/cuaU"); deviceTypes.append ("/dev/cua"); deviceModel.clear(); TreeIter iter; foreach (string devType in deviceTypes) { for (int i = 0; i < max_devices; i++) { string dev = "%s%d".printf(devType,i); if (FileUtils.test (dev, FileTest.EXISTS)) { deviceModel.append(out iter); deviceModel.set(iter, 0, dev); } } } } public void show(Settings settings) { populateDevices(); this.currentSettings = settings; loadSettings(); dialog.show_all(); } // Load the current settings into the dialog public void loadSettings() { TreeModel t; TreeIter ti; bool success; //Device t = deviceCombo.get_model(); success = t.get_iter_first(out ti); while (success) { Value str_data; t.get_value(ti, 0, out str_data); if (str_data.get_string()==currentSettings.device) deviceCombo.set_active_iter(ti); success = t.iter_next (ref ti); } //Baud Rate t = baudRateCombo.get_model(); success = t.get_iter_first(out ti); while (success) { Value str_data; t.get_value(ti, 0, out str_data); if (str_data.get_string()=="%i".printf(currentSettings.baudRate)) baudRateCombo.set_active_iter(ti); success = t.iter_next (ref ti); } //Data Bits t = dataBitsCombo.get_model(); success = t.get_iter_first(out ti); while (success) { Value str_data; t.get_value(ti, 0, out str_data); if (str_data.get_string()=="%i".printf(currentSettings.dataBits)) dataBitsCombo.set_active_iter(ti); success = t.iter_next (ref ti); } //Stop Bits t = stopBitsCombo.get_model(); success = t.get_iter_first(out ti); while (success) { Value str_data; t.get_value(ti, 0, out str_data); if (str_data.get_string()=="%i".printf(currentSettings.stopBits)) stopBitsCombo.set_active_iter(ti); success = t.iter_next (ref ti); } parityCombo.set_active((int)currentSettings.parity); accessModeCombo.set_active((int)currentSettings.accessMode); hardwareHandshake.set_active(false); softwareHandshake.set_active(false); if (currentSettings.handshake==Settings.Handshake.BOTH || currentSettings.handshake==Settings.Handshake.HARDWARE) hardwareHandshake.set_active(true); if (currentSettings.handshake==Settings.Handshake.BOTH || currentSettings.handshake==Settings.Handshake.SOFTWARE) softwareHandshake.set_active(true); if(currentSettings.localEcho) localEcho.set_active(true); else localEcho.set_active(false); } public bool hide () { dialog.hide (); return true; } public void cancel (Widget w) { currentSettings=null; dialog.hide (); } public void ok (Widget w) { string device; int baudRate; int dataBits; int stopBits; Settings.Parity parity; Settings.Handshake handshake; Settings.AccessMode accessMode; bool pLocalEcho; TreeModel t; TreeIter iter; bool success; t = deviceCombo.get_model(); success = deviceCombo.get_active_iter (out iter); if (success) { Value str_data; t.get_value(iter, 0, out str_data); device = str_data.get_string(); } else { device = Settings.DEFAULT_DEVICEFILE; } baudRate = int.parse (Settings.BaudRateItems[baudRateCombo.get_active()]); dataBits = int.parse (Settings.DataBitItems[dataBitsCombo.get_active()]); stopBits = int.parse (Settings.StopBitItems[stopBitsCombo.get_active()]); parity = (Settings.Parity)parityCombo.get_active(); accessMode = (Settings.AccessMode)accessModeCombo.get_active(); if (hardwareHandshake.get_active() && softwareHandshake.get_active()) handshake=Settings.Handshake.BOTH; else if (hardwareHandshake.get_active()) handshake=Settings.Handshake.HARDWARE; else if (softwareHandshake.get_active()) handshake=Settings.Handshake.SOFTWARE; else handshake=Settings.Handshake.NONE; pLocalEcho = localEcho.get_active(); settings = new Settings(device, baudRate, dataBits, stopBits, parity, handshake, accessMode, pLocalEcho); currentSettings = settings; this.updateSettings(currentSettings); dialog.hide (); } } moserial-3.0.8/src/Main.vala0000674000213200021320000000603411724215622012574 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; class moserial.Main : GLib.Object { static string profileFilename; const OptionEntry[] options = { { "profile", 'p', 0, OptionArg.FILENAME, out profileFilename, N_("Profile file to load"), "foo.conf" }, { null } }; public void run() { moserial.MainWindow mainWindow; Builder builder = new Builder(); try { builder.add_from_file(Config.MOSERIAL_GLADEDIR + "/moserial.ui"); } catch (Error e) { var msg = new MessageDialog (null, DialogFlags.MODAL, MessageType.ERROR, ButtonsType.CANCEL, _("Failed to load UI\n%s"), e.message); msg.run (); } if(!(profileFilename==null) && (!GLib.Path.is_absolute(profileFilename))) profileFilename=GLib.Path.build_filename(GLib.Environment.get_current_dir(), profileFilename); mainWindow = new moserial.MainWindow(builder, profileFilename); mainWindow.showWindow(); } public static int main (string[] args) { OptionContext context; Gtk.init (ref args); Intl.bindtextdomain(Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALEDIR); Intl.bind_textdomain_codeset(Config.GETTEXT_PACKAGE, "UTF-8"); Intl.textdomain(Config.GETTEXT_PACKAGE); context = new OptionContext(_("- moserial serial terminal")); context.add_main_entries (options, null); context.add_group (Gtk.get_option_group(true)); try { if (!context.parse (ref args)) { stdout.printf (_("Run '%s --help' to see a full list of available command line options.\n"), args[0]); } else { Main app = new Main(); app.run(); Gtk.main (); } } catch (GLib.OptionError e) { stdout.printf ("%s\n", e.message); stdout.printf (_("Run '%s --help' to see a full list of available command line options.\n"), args[0]); } return 0; } } moserial-3.0.8/src/MainWindow.vala0000674000213200021320000012166211777333155014003 00000000000000/* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ using Gtk; using Gdk; public class moserial.MainWindow : Gtk.Window //Have to extend Gtk.Winow to get signals working. Why? { const string[] authors = { "Michael J. Chudobiak ", "marlodavampire", null }; const string translators = N_("translator-credits"); const string[] license = { N_("moserial is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n"), N_("moserial is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n"), N_("You should have received a copy of the GNU General Public License along with this program. If not, see .") }; public Builder builder {get; construct; } private Gtk.Window gtkWindow; private SettingsDialog settingsDialog; private ToolButton settingsButton; private ToggleToolButton recordButton; private Settings currentSettings; private Preferences currentPreferences; private DefaultPaths currentPaths; private Statusbar statusbar; private Statusbar bytecountbar; private uint statusbarContext; private uint bytecountbarContext; private ToolButton send; private SendProgressDialog sendProgressDialog; private SendChooserDialog sendChooserDialog; private ToolButton receive; private ReceiveProgressDialog receiveProgressDialog; private ReceiveChooserDialog receiveChooserDialog; private RecordDialog recordDialog; private PreferencesDialog preferencesDialog; private SerialConnection serialConnection = new SerialConnection(); private TextView incomingHexTextView; private TextView incomingAsciiTextView; private TextView outgoingHexTextView; private TextView outgoingAsciiTextView; private ComboBox inputModeCombo; private enum inputModeValues { ASCII, HEX } private const string[] inputModeStrings = { GLib.N_("ASCII"), GLib.N_("HEX") }; private ComboBox lineEndModeCombo; private ToggleToolButton connectButton; private Label disconnectLabel; private Label connectLabel; private Label recordLabel; private Label stopRecordingLabel; private Paned paned; private Notebook incoming_notebook; private Notebook outgoing_notebook; private HexTextBuffer incomingHexTextBuffer; private HexTextBuffer outgoingHexTextBuffer; private TextBuffer incomingAsciiTextBuffer; private TextTag echoTag; private TextBuffer outgoingAsciiTextBuffer; private TextMark echoStartMark; private XmodemFilenameDialog xmodemFilenameDialog; private Gtk.Entry entry; private Button sendButton; private SerialStreamRecorder streamRecorder = new SerialStreamRecorder(); private bool recordDataReceived=false; private uint recordTimeoutID=0; private Rzwrapper rz; private Szwrapper? sz; private Profile profile; public string? startupProfileFilename{get; construct; } private string profileFilename=null; private bool profileChanged=false; private Gtk.ImageMenuItem cutMenuItem; private Gtk.ImageMenuItem copyMenuItem; private Adjustment va1; private Adjustment va2; private Adjustment va3; private Adjustment va4; private Gtk.AccelGroup ag; private const string recentGroup = "moserial-configs"; private Gtk.RecentData recentData; public MainWindow(Builder builder, string? profileFilename) { GLib.Object(builder: builder, startupProfileFilename: profileFilename); } construct { //setup window gtkWindow = (Gtk.Window)builder.get_object("window"); ag = (Gtk.AccelGroup)builder.get_object("accelgroup1"); gtkWindow.add_accel_group (ag); gtkWindow.destroy.connect(quitSave); gtkWindow.delete_event.connect(deleteSaveSize); gtkWindow.key_press_event.connect(keyPress); //load defaults profile=new Profile(); profile.load(null, gtkWindow); currentSettings=Settings.loadFromProfile(profile); int width = profile.getWindowWidth(); int height = profile.getWindowHeight(); int panedPosition = profile.getWindowPanedPosition(); if ((width>0) && (height>0)) gtkWindow.resize (width, height); //setup paned paned = (Paned)builder.get_object("vpaned"); if (panedPosition>=-1) paned.set_position(panedPosition); else paned.set_position(-1); //setup menu items Gtk.ImageMenuItem quit = (Gtk.ImageMenuItem)builder.get_object("menubar_quit"); quit.activate.connect(quitSizeSave); Gtk.ImageMenuItem saveAs = (Gtk.ImageMenuItem)builder.get_object("menubar_save_settings_as"); saveAs.activate.connect(saveProfileAs); Gtk.ImageMenuItem save = (Gtk.ImageMenuItem)builder.get_object("menubar_save_settings"); save.activate.connect(saveProfile); Gtk.ImageMenuItem open = (Gtk.ImageMenuItem)builder.get_object("menubar_open_settings"); open.activate.connect(loadProfile); copyMenuItem = (Gtk.ImageMenuItem)builder.get_object("menubar_copy"); copyMenuItem.activate.connect(this.copy); Gtk.MenuItem editMenuItem = (Gtk.MenuItem)builder.get_object("menubar_edit"); editMenuItem.activate.connect(this.editMenu); cutMenuItem = (Gtk.ImageMenuItem)builder.get_object("menubar_cut"); copyMenuItem.set_sensitive(false); cutMenuItem.set_sensitive(false); cutMenuItem.activate.connect(this.cut); Gtk.ImageMenuItem pasteMenuItem = (Gtk.ImageMenuItem)builder.get_object("menubar_paste"); pasteMenuItem.activate.connect(this.paste); Gtk.ImageMenuItem clearMenuItem = (Gtk.ImageMenuItem)builder.get_object("menubar_clear"); clearMenuItem.activate.connect(this.clear); //setup the Port Settings Dialog settingsDialog = new SettingsDialog(builder); settingsDialog.updateSettings.connect(this.updateSettings); settingsButton = (ToolButton)builder.get_object("toolbar_settings"); settingsButton.clicked.connect(this.showSettingsDialog); settingsButton.set_tooltip_text (_("Port configuration")); //setup the Help button ToolButton helpButton = (ToolButton)builder.get_object("toolbar_help"); helpButton.clicked.connect(showHelpButton); helpButton.set_tooltip_text (_("Read the manual")); //setup the statusbar statusbar = (Statusbar)builder.get_object("statusbar"); statusbarContext = statusbar.get_context_id("moserial port status"); statusbar.push(statusbarContext, currentSettings.getStatusbarString(false)); //setup the byte count bar bytecountbar = (Statusbar)builder.get_object("bytecountbar"); bytecountbarContext = statusbar.get_context_id("moserial byte counts"); bytecountbar.push(bytecountbarContext, _("TX: 0, RX: 0")); //setup the about dialog Gtk.ImageMenuItem about = (Gtk.ImageMenuItem)builder.get_object("menubar_about"); about.activate.connect(showAboutDialog); //setup send sendProgressDialog = new SendProgressDialog(builder); sendChooserDialog = new SendChooserDialog(builder); send = (ToolButton)builder.get_object("toolbar_send"); send.clicked.connect(doSendChooser); send.set_tooltip_text (_("Send a file")); sendChooserDialog.startTransfer.connect(this.doSend); sz = new Szwrapper(Szwrapper.Protocol.NULL, null, null); //setup receive receiveProgressDialog = new ReceiveProgressDialog(builder); receiveChooserDialog = new ReceiveChooserDialog(builder); receive = (ToolButton)builder.get_object("toolbar_receive"); receive.clicked.connect(doReceiveChooser); receive.set_tooltip_text (_("Receive a file")); receiveChooserDialog.startTransfer.connect(this.doReceive); xmodemFilenameDialog = new XmodemFilenameDialog(builder); rz = new Rzwrapper(Rzwrapper.Protocol.NULL, null, null, null); //setup recording recordDialog = new RecordDialog(builder); recordButton = (ToggleToolButton)builder.get_object("toolbar_logging"); recordButton.toggled.connect(this.record); recordButton.set_tooltip_text (_("Record sent and/or received data")); recordDialog.stopRecording.connect(this.stopRecording); recordDialog.startRecording.connect(this.startRecording); recordLabel = (Label)builder.get_object("record_label"); stopRecordingLabel = (Label)builder.get_object("stop_recording_label"); //setup preferences preferencesDialog = new PreferencesDialog(builder); preferencesDialog.updatePreferences.connect(this.updatePreferences); ToolButton preferences = (ToolButton)builder.get_object("toolbar_preferences"); preferences.clicked.connect(this.showPreferencesDialog); preferences.set_tooltip_text (_("Other preferences")); //setup connectbutton connectButton = (ToggleToolButton)builder.get_object("toolbar_connect"); connectButton.toggled.connect(this.connectButtonClick); connectButton.set_tooltip_text (_("Open/close port")); disconnectLabel = (Label)builder.get_object("disconnect_label"); connectLabel = (Label)builder.get_object("connect_label"); //setup help Gtk.ImageMenuItem contents = (Gtk.ImageMenuItem)builder.get_object("menubar_contents"); contents.activate.connect(showHelpAction); //setup incoming notebook incoming_notebook = (Notebook)builder.get_object("incoming_notebook"); //setup outgoing notebook outgoing_notebook = (Notebook)builder.get_object("outgoing_notebook"); //setup textBuffers; incomingHexTextBuffer = new HexTextBuffer(); incomingAsciiTextBuffer = new TextBuffer(new TextTagTable()); outgoingHexTextBuffer = new HexTextBuffer(); outgoingAsciiTextBuffer = new TextBuffer(new TextTagTable()); echoTag = incomingAsciiTextBuffer.create_tag("echo", null); incomingHexTextView = (TextView)builder.get_object("incoming_hex_textview"); incomingHexTextView.set_buffer(incomingHexTextBuffer); incomingAsciiTextView = (TextView)builder.get_object("incoming_ascii_textview"); incomingAsciiTextView.set_buffer(incomingAsciiTextBuffer); outgoingHexTextView = (TextView)builder.get_object("outgoing_hex_textview"); outgoingHexTextView.set_buffer(outgoingHexTextBuffer); outgoingAsciiTextView = (TextView)builder.get_object("outgoing_ascii_textview"); outgoingAsciiTextView.set_buffer(outgoingAsciiTextBuffer); //setup scrolling ScrolledWindow incomingAsciiScrolledWindow = (ScrolledWindow)builder.get_object("incoming_ascii_scrolledwindow"); va1 = incomingAsciiScrolledWindow.get_vadjustment(); ScrolledWindow incomingHexScrolledWindow = (ScrolledWindow)builder.get_object("incoming_hex_scrolledwindow"); va2 = incomingHexScrolledWindow.get_vadjustment(); ScrolledWindow outgoingAsciiScrolledWindow = (ScrolledWindow)builder.get_object("outgoing_ascii_scrolledwindow"); va3 = outgoingAsciiScrolledWindow.get_vadjustment(); ScrolledWindow outgoingHexScrolledWindow = (ScrolledWindow)builder.get_object("outgoing_hex_scrolledwindow"); va4 = outgoingHexScrolledWindow.get_vadjustment(); AutoScroll.setup(va1, va2, va3, va4); //setup entry sendButton = (Button)builder.get_object("send"); sendButton.clicked.connect(sendString); sendButton.set_tooltip_text (_("Send the outgoing data now.")); entry = (Gtk.Entry)builder.get_object("entry"); entry.activate.connect(sendString); entry.set_tooltip_text (_("Type outgoing data here. Press Enter or Send to send it.")); inputModeCombo = (ComboBox)builder.get_object("input_mode"); MoUtils.populateComboBox (inputModeCombo, inputModeStrings); inputModeCombo.set_active(inputModeValues.ASCII); inputModeCombo.changed.connect(inputModeChanged); lineEndModeCombo = (ComboBox)builder.get_object("termination_mode"); MoUtils.populateComboBox (lineEndModeCombo, serialConnection.LineEndStrings); lineEndModeCombo.set_active(SerialConnection.LineEnd.CRLF); //setup recent chooser recentData.groups = {recentGroup}; recentData.app_name = GLib.Environment.get_application_name(); recentData.app_exec = GLib.Environment.get_prgname() + " %u"; recentData.mime_type = "text/plain"; RecentManager recentManager = RecentManager.get_default (); RecentChooserMenu recentChooserMenu = new Gtk.RecentChooserMenu.for_manager(recentManager); recentChooserMenu.item_activated.connect(recentItemOpen); RecentFilter filter = new RecentFilter(); filter.add_group(recentGroup); recentChooserMenu.add_filter(filter); recentChooserMenu.set_show_numbers(true); recentChooserMenu.show_not_found = false; Gtk.MenuItem recentFileItem = (Gtk.MenuItem)builder.get_object("menubar_open_recent"); recentFileItem.set_submenu(recentChooserMenu); //load and apply preferences currentPreferences = Preferences.loadFromProfile(profile); updatePreferences(null, currentPreferences); profileChanged=false; if(!(startupProfileFilename==null)) loadProfileOnStartup(startupProfileFilename); currentPaths = DefaultPaths.loadFromProfile(profile); } private void applyProfile (string filename) { if (profile.load(filename, gtkWindow)) { profileFilename = filename; ensureDisconnected(); currentSettings = Settings.loadFromProfile(profile); currentPreferences = Preferences.loadFromProfile(profile); currentPaths = DefaultPaths.loadFromProfile(profile); updatePreferences(null, currentPreferences); statusbar.pop(statusbarContext); statusbar.push(statusbarContext, currentSettings.getStatusbarString(false)); setWindowTitle(null); profileChanged=false; RecentManager recentManager = RecentManager.get_default (); try { recentManager.add_full(GLib.Filename.to_uri(filename), recentData); } catch (GLib.ConvertError e) { stdout.printf("%s\n", e.message); } } } private void setWindowTitle (string? recordingFilename) { var builder = new StringBuilder(); builder.append("moserial"); if (profileFilename != null) { builder.append(" - "); builder.append(GLib.Path.get_basename(profileFilename)); } if (recordingFilename != null) { builder.append(" - "); builder.append(GLib.Path.get_basename(recordingFilename)); } gtkWindow.set_title(builder.str); } private void recentItemOpen(RecentChooser r) { try{ applyProfile(GLib.Filename.from_uri(r.get_current_uri())); } catch (GLib.ConvertError e) { stdout.printf("%s\n", e.message); } } private void insertBufferEnd (TextBuffer buf, string s) { TextIter iter; int i; var builder = new StringBuilder(); for (i=0;i 0) { GLib.Source.remove (recordTimeoutID); recordTimeoutID = 0; } } } public void stopRecording(moserial.RecordDialog dialog) { recordButton.set_active(false); //this generates recordButton.clicked signal } public void startRecording(moserial.RecordDialog dialog, string filename, moserial.SerialStreamRecorder.Direction direction) { try { streamRecorder.open(filename, direction); currentPaths.recordTo=MoUtils.getParentFolder(filename); if (!ensureConnected()) stopRecording(dialog); setWindowTitle(filename); } catch (GLib.Error e) { var errorDialog = new MessageDialog (gtkWindow, DialogFlags.DESTROY_WITH_PARENT, MessageType.ERROR, ButtonsType.CLOSE, "%s: %s\n%s", _("Error: Could not open file"), filename, e.message); errorDialog.run(); errorDialog.destroy(); stopRecording(dialog); } } public bool recordTimeout() { recordButton.set_active(false); return false; } public void showWindow() { gtkWindow.show_all(); } private void updateSettings(SettingsDialog d, Settings newSettings) { currentSettings = newSettings; statusbar.pop(statusbarContext); statusbar.push(statusbarContext, currentSettings.getStatusbarString(false)); profileChanged=true; } private void updatePreferences(PreferencesDialog? d, Preferences newPreferences) { currentPreferences = newPreferences; string font; if(currentPreferences.useSystemMonospaceFont) font=Preferences.getSystemDefaultMonospaceFont(); else font=currentPreferences.font; incomingAsciiTextView.modify_font(Pango.FontDescription.from_string(font)); incomingAsciiTextView.modify_text(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.fontColor)); incomingAsciiTextView.modify_base(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.backgroundColor)); echoTag.foreground=currentPreferences.highlightColor; incomingHexTextView.modify_font(Pango.FontDescription.from_string(font)); incomingHexTextView.modify_text(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.fontColor)); incomingHexTextView.modify_base(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.backgroundColor)); incomingHexTextBuffer.applyPreferences(currentPreferences); outgoingAsciiTextView.modify_font(Pango.FontDescription.from_string(font)); outgoingAsciiTextView.modify_text(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.fontColor)); outgoingAsciiTextView.modify_base(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.backgroundColor)); outgoingHexTextView.modify_font(Pango.FontDescription.from_string(font)); outgoingHexTextView.modify_text(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.fontColor)); outgoingHexTextView.modify_base(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.backgroundColor)); outgoingHexTextBuffer.applyPreferences(currentPreferences); entry.modify_font(Pango.FontDescription.from_string(font)); entry.modify_text(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.fontColor)); entry.modify_base(Gtk.StateType.NORMAL, Preferences.getGdkColor(currentPreferences.backgroundColor)); profileChanged=true; } private void showSettingsDialog(GLib.Object o) { settingsDialog.show(currentSettings); } private void showPreferencesDialog(GLib.Object o) { preferencesDialog.show(currentPreferences, recordButton.get_active()); } public bool ensureConnected () { if (!connectButton.get_active()) connectButton.set_active(true); return connectButton.get_active(); } public void ensureDisconnected () { if (connectButton.get_active()) connectButton.set_active(false); } private bool startConnection() { if (!(serialConnection.doConnect(currentSettings))) { connectButton.set_active(false); var dialog = new MessageDialog (gtkWindow, DialogFlags.DESTROY_WITH_PARENT, MessageType.ERROR, ButtonsType.CLOSE, "%s: %s", _("Error: Could not open device"), currentSettings.device); dialog.run(); dialog.destroy(); return false; } incomingHexTextBuffer.clear(); incomingAsciiTextBuffer.set_text("",0); outgoingHexTextBuffer.clear(); outgoingAsciiTextBuffer.set_text("",0); settingsButton.set_sensitive(false); statusbar.pop(statusbarContext); statusbar.push(statusbarContext, currentSettings.getStatusbarString(true)); serialConnection.newData.connect(this.updateIncoming); connectButton.set_label_widget(disconnectLabel); return true; } private void connectButtonClick(ToggleToolButton button) { if (button.get_active()) { startConnection(); } else { settingsButton.set_sensitive(true); serialConnection.doDisconnect(); serialConnection.newData.disconnect(this.updateIncoming); bytecountbar.pop(bytecountbarContext); bytecountbar.push(bytecountbarContext, serialConnection.getBytecountbarString()); //serialConnection = new SerialConnection(); statusbar.pop(statusbarContext); statusbar.push(statusbarContext, currentSettings.getStatusbarString(false)); button.set_label_widget(connectLabel); if (recordButton.get_active()) recordButton.set_active(false); } } private void updateIncoming(SerialConnection sc, uchar[] data, int size) { if (rz.running) { for (int x=0; x 0 && (sc.echoCompare.length == sc.echoReference.length)) { if (sc.echoCompare == sc.echoReference) { TextIter echoStartIter; TextIter echoStopIter; incomingAsciiTextBuffer.get_iter_at_mark (out echoStartIter, echoStartMark); incomingAsciiTextBuffer.get_end_iter(out echoStopIter); incomingAsciiTextBuffer.apply_tag_by_name("echo",echoStartIter,echoStopIter); } sc.echoCompare=""; sc.echoReference=""; } /* Auto-select hex view for binary data */ if ((sc.rx > 32) && (sc.nonprintable > 0) && (sc.rx / sc.nonprintable < 4) && !sc.forced_hex_view) { sc.forced_hex_view = true; incoming_notebook.set_current_page(1); } if(currentPreferences.enableTimeout && recordButton.get_active()) { if (recordTimeoutID > 0) GLib.Source.remove (recordTimeoutID); if (currentPreferences.timeout > 0) recordTimeoutID = GLib.Timeout.add_seconds(currentPreferences.timeout, recordTimeout); } recordDataReceived=true; bytecountbar.pop(bytecountbarContext); bytecountbar.push(bytecountbarContext, sc.getBytecountbarString()); } streamRecorder.writeIncoming(data); } } private void inputModeChanged (ComboBox inputModeCombo) { if (inputModeCombo.get_active()==inputModeValues.HEX) outgoing_notebook.set_current_page(1); else outgoing_notebook.set_current_page(0); } private void showHelpButton (ToolButton button) { showHelp (); } private void showHelpAction () { showHelp (); } private void showHelp () { try { show_uri(null, "ghelp:moserial", Gdk.CURRENT_TIME); } catch (GLib.Error e) { warning(_("Unable to display help file: %s"), e.message); } } private void showAboutDialog () { string license_trans = license[0] + "\n" + license[1] + "\n" + license[2]; show_about_dialog (gtkWindow, "version", Config.VERSION, "copyright", "Copyright © 2009-2012\nMichael J. Chudobiak\n", "comments", _("A serial terminal for the GNOME desktop, optimized for logging and file capture."), "authors", authors, "translator-credits", translators, "logo-icon-name", "moserial", "wrap-license", true, "license", license_trans, "website", "http://live.gnome.org/moserial", "website_label", "http://live.gnome.org/moserial", null); } private void quitSizeSave () { windowSizeSave(); quitSave(); } private bool deleteSaveSize() { windowSizeSave(); quitSave(); Gtk.main_quit(); return true; } private bool keyPress(Widget widget, EventKey key) { if (key.keyval == Gdk.keyval_from_name ("Escape")) { AutoScroll.scroll (va1); AutoScroll.scroll (va2); AutoScroll.scroll (va3); AutoScroll.scroll (va4); entry.grab_focus(); entry.set_position(-1); return true; } return false; } private void windowSizeSave () { int width = 0; int height = 0; int pos = paned.get_position(); gtkWindow.get_size (out width, out height); profile.saveWindowSize(width, height); profile.saveWindowPanedPosition(pos); } private void quitSave() { currentPreferences.saveToProfile(profile); currentSettings.saveToProfile(profile); currentPaths.saveToProfile(profile); if (profileFilename != null) { if (profileChanged) { var dialog = new MessageDialog (gtkWindow, DialogFlags.DESTROY_WITH_PARENT, MessageType.QUESTION, ButtonsType.YES_NO, "%s", _("You have changed your setting or preferences. Do you want to save these changes to the loaded profile?")); int response = dialog.run(); if(response == Gtk.ResponseType.YES) saveProfile(); dialog.destroy(); } else { /* Save the profile even if settings or preferences have not changed, to save the default file locations */ saveProfile(); } } profile.save(null, gtkWindow); Gtk.main_quit (); } private void saveProfile () { currentPreferences.saveToProfile(profile); currentSettings.saveToProfile(profile); currentPaths.saveToProfile(profile); if(profileFilename==null) saveProfileAs(); if(profileFilename==null) return; profile.save(profileFilename, gtkWindow); profileChanged=false; RecentManager recentManager = RecentManager.get_default (); try { recentManager.add_full (GLib.Filename.to_uri(profileFilename), recentData); } catch (GLib.ConvertError e) { stdout.printf("%s\n", e.message); } } private void saveProfileAs () { var dialog = new FileChooserDialog (null, gtkWindow, Gtk.FileChooserAction.SAVE); dialog.add_buttons(Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL, Gtk.Stock.SAVE, Gtk.ResponseType.ACCEPT, null); dialog.set_do_overwrite_confirmation(true); dialog.set_local_only(false); int response = dialog.run(); if(response == Gtk.ResponseType.ACCEPT) { profileFilename=dialog.get_filename(); } dialog.destroy(); if(response == Gtk.ResponseType.ACCEPT) saveProfile(); } private void loadProfileOnStartup(string profileFilename) { applyProfile(profileFilename); } private void loadProfile() { var dialog = new FileChooserDialog (null, gtkWindow, Gtk.FileChooserAction.OPEN); dialog.add_buttons(Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL, Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT, null); dialog.set_local_only(false); int response = dialog.run(); if(response == Gtk.ResponseType.ACCEPT) { applyProfile(dialog.get_filename()); } dialog.destroy(); } private void copy() { if(gtkWindow.get_focus()==(Gtk.Widget)outgoingAsciiTextView || gtkWindow.get_focus()==(Gtk.Widget)incomingAsciiTextView || gtkWindow.get_focus()==(Gtk.Widget)outgoingHexTextView || gtkWindow.get_focus()==(Gtk.Widget)incomingHexTextView) { TextView tv = (TextView)gtkWindow.get_focus(); tv.buffer.copy_clipboard(Gtk.Clipboard.get(Gdk.SELECTION_CLIPBOARD)); } else if(gtkWindow.get_focus()==(Gtk.Widget)entry) { entry.copy_clipboard(); } } private void cut() { if(gtkWindow.get_focus()==(Gtk.Widget)entry) { entry.cut_clipboard(); } } private void editMenu() { if(gtkWindow.get_focus()==(Gtk.Widget)outgoingAsciiTextView || gtkWindow.get_focus()==(Gtk.Widget)incomingAsciiTextView || gtkWindow.get_focus()==(Gtk.Widget)outgoingHexTextView || gtkWindow.get_focus()==(Gtk.Widget)incomingHexTextView) { cutMenuItem.set_sensitive(false); TextView tv = (TextView)gtkWindow.get_focus(); if(tv.buffer.has_selection) copyMenuItem.set_sensitive(true); else copyMenuItem.set_sensitive(false); } else if(gtkWindow.get_focus()==(Gtk.Widget)entry){ if(entry.get_selection_bounds(null, null)) { cutMenuItem.set_sensitive(true); copyMenuItem.set_sensitive(true); } else { cutMenuItem.set_sensitive(false); copyMenuItem.set_sensitive(false); } } else { cutMenuItem.set_sensitive(false); copyMenuItem.set_sensitive(false); } } private void paste() { entry.paste_clipboard(); if (!entry.has_focus) { entry.grab_focus(); entry.set_position(-1); } } private void clear() { incomingHexTextBuffer.clear(); incomingAsciiTextBuffer.set_text("",0); outgoingHexTextBuffer.clear(); outgoingAsciiTextBuffer.set_text("",0); entry.set_text(""); } } moserial-3.0.8/src/MoUtils.c0000674000213200021320000004263412064104644012610 00000000000000/* MoUtils.c generated by valac 0.16.1, the Vala compiler * generated from MoUtils.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #define TYPE_MO_UTILS (mo_utils_get_type ()) #define MO_UTILS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MO_UTILS, MoUtils)) #define MO_UTILS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MO_UTILS, MoUtilsClass)) #define IS_MO_UTILS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MO_UTILS)) #define IS_MO_UTILS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MO_UTILS)) #define MO_UTILS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MO_UTILS, MoUtilsClass)) typedef struct _MoUtils MoUtils; typedef struct _MoUtilsClass MoUtilsClass; typedef struct _MoUtilsPrivate MoUtilsPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define TYPE_PROFILE (profile_get_type ()) #define PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROFILE, Profile)) #define PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROFILE, ProfileClass)) #define IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROFILE)) #define IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROFILE)) #define PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROFILE, ProfileClass)) typedef struct _Profile Profile; typedef struct _ProfileClass ProfileClass; typedef struct _ProfilePrivate ProfilePrivate; struct _MoUtils { GObject parent_instance; MoUtilsPrivate * priv; }; struct _MoUtilsClass { GObjectClass parent_class; }; struct _Profile { GObject parent_instance; ProfilePrivate * priv; GKeyFile* keyFile; }; struct _ProfileClass { GObjectClass parent_class; }; static gpointer mo_utils_parent_class = NULL; GType mo_utils_get_type (void) G_GNUC_CONST; enum { MO_UTILS_DUMMY_PROPERTY }; GFile* mo_utils_newFile (const gchar* path); gboolean mo_utils_fileExists (const gchar* path); gint64 mo_utils_fileSize (const gchar* path); gchar* mo_utils_getParentFolder (const gchar* path); GType profile_get_type (void) G_GNUC_CONST; gchar* mo_utils_getKeyString (Profile* profile, const gchar* group, const gchar* key); gint mo_utils_getKeyInteger (Profile* profile, const gchar* group, const gchar* key, gint default_val); gboolean mo_utils_getKeyBoolean (Profile* profile, const gchar* group, const gchar* key, gboolean default_val); gchar* mo_utils_getLastMessage (const gchar* messages); gchar* input_parser_statusReplace (const gchar* oldString); void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1); MoUtils* mo_utils_new (void); MoUtils* mo_utils_construct (GType object_type); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; const gchar* _tmp0_; gchar* _tmp1_ = NULL; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (needle != NULL, FALSE); _tmp0_ = needle; _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); result = _tmp1_ != NULL; return result; } GFile* mo_utils_newFile (const gchar* path) { GFile* result = NULL; gchar* uri = NULL; const gchar* _tmp0_; gboolean _tmp1_ = FALSE; const gchar* _tmp6_; GFile* _tmp7_ = NULL; g_return_val_if_fail (path != NULL, NULL); _tmp0_ = path; _tmp1_ = string_contains (_tmp0_, "://"); if (_tmp1_) { const gchar* _tmp2_; gchar* _tmp3_; _tmp2_ = path; _tmp3_ = g_strdup (_tmp2_); _g_free0 (uri); uri = _tmp3_; } else { const gchar* _tmp4_; gchar* _tmp5_ = NULL; _tmp4_ = path; _tmp5_ = g_strdup_printf ("file://%s", _tmp4_); _g_free0 (uri); uri = _tmp5_; } _tmp6_ = uri; _tmp7_ = g_file_new_for_uri (_tmp6_); result = _tmp7_; _g_free0 (uri); return result; } gboolean mo_utils_fileExists (const gchar* path) { gboolean result = FALSE; const gchar* _tmp0_; GFile* _tmp1_ = NULL; GFile* file; gboolean _tmp2_ = FALSE; g_return_val_if_fail (path != NULL, FALSE); _tmp0_ = path; _tmp1_ = mo_utils_newFile (_tmp0_); file = _tmp1_; _tmp2_ = g_file_query_exists (file, NULL); result = _tmp2_; _g_object_unref0 (file); return result; } gint64 mo_utils_fileSize (const gchar* path) { gint64 result = 0LL; const gchar* _tmp0_; GFile* _tmp1_ = NULL; GFile* file; GError * _inner_error_ = NULL; g_return_val_if_fail (path != NULL, 0LL); _tmp0_ = path; _tmp1_ = mo_utils_newFile (_tmp0_); file = _tmp1_; { GFileInfo* _tmp2_ = NULL; GFileInfo* info; gint64 _tmp3_ = 0LL; _tmp2_ = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_SIZE, 0, NULL, &_inner_error_); info = _tmp2_; if (_inner_error_ != NULL) { goto __catch30_g_error; } _tmp3_ = g_file_info_get_size (info); result = _tmp3_; _g_object_unref0 (info); _g_object_unref0 (file); return result; } goto __finally30; __catch30_g_error: { GError* e = NULL; GError* _tmp4_; const gchar* _tmp5_; e = _inner_error_; _inner_error_ = NULL; _tmp4_ = e; _tmp5_ = _tmp4_->message; g_warning ("MoUtils.vala:49: %s", _tmp5_); _g_error_free0 (e); } __finally30: if (_inner_error_ != NULL) { _g_object_unref0 (file); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0LL; } result = (gint64) 0; _g_object_unref0 (file); return result; } gchar* mo_utils_getParentFolder (const gchar* path) { gchar* result = NULL; const gchar* _tmp0_; GFile* _tmp1_ = NULL; GFile* file; GFile* _tmp2_ = NULL; GFile* parent; gchar* _tmp3_ = NULL; g_return_val_if_fail (path != NULL, NULL); _tmp0_ = path; _tmp1_ = mo_utils_newFile (_tmp0_); file = _tmp1_; _tmp2_ = g_file_get_parent (file); parent = _tmp2_; _tmp3_ = g_file_get_parse_name (parent); result = _tmp3_; _g_object_unref0 (parent); _g_object_unref0 (file); return result; } gchar* mo_utils_getKeyString (Profile* profile, const gchar* group, const gchar* key) { gchar* result = NULL; gchar* _result_; GError * _inner_error_ = NULL; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (group != NULL, NULL); g_return_val_if_fail (key != NULL, NULL); _result_ = NULL; { Profile* _tmp0_; GKeyFile* _tmp1_; const gchar* _tmp2_; const gchar* _tmp3_; gchar* _tmp4_ = NULL; gchar* _tmp5_; _tmp0_ = profile; _tmp1_ = _tmp0_->keyFile; _tmp2_ = group; _tmp3_ = key; _tmp4_ = g_key_file_get_string (_tmp1_, _tmp2_, _tmp3_, &_inner_error_); _tmp5_ = _tmp4_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch31_g_key_file_error; } _g_free0 (_result_); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } _g_free0 (_result_); _result_ = _tmp5_; } goto __finally31; __catch31_g_key_file_error: { GError* e = NULL; FILE* _tmp6_; GError* _tmp7_; const gchar* _tmp8_; e = _inner_error_; _inner_error_ = NULL; _tmp6_ = stdout; _tmp7_ = e; _tmp8_ = _tmp7_->message; fprintf (_tmp6_, "%s\n", _tmp8_); _g_error_free0 (e); } __finally31: if (_inner_error_ != NULL) { _g_free0 (_result_); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } result = _result_; return result; } gint mo_utils_getKeyInteger (Profile* profile, const gchar* group, const gchar* key, gint default_val) { gint result = 0; gint _tmp0_; gint _result_; GError * _inner_error_ = NULL; g_return_val_if_fail (profile != NULL, 0); g_return_val_if_fail (group != NULL, 0); g_return_val_if_fail (key != NULL, 0); _tmp0_ = default_val; _result_ = _tmp0_; { Profile* _tmp1_; GKeyFile* _tmp2_; const gchar* _tmp3_; const gchar* _tmp4_; gint _tmp5_ = 0; gint _tmp6_; _tmp1_ = profile; _tmp2_ = _tmp1_->keyFile; _tmp3_ = group; _tmp4_ = key; _tmp5_ = g_key_file_get_integer (_tmp2_, _tmp3_, _tmp4_, &_inner_error_); _tmp6_ = _tmp5_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch32_g_key_file_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } _result_ = _tmp6_; } goto __finally32; __catch32_g_key_file_error: { GError* e = NULL; FILE* _tmp7_; GError* _tmp8_; const gchar* _tmp9_; e = _inner_error_; _inner_error_ = NULL; _tmp7_ = stdout; _tmp8_ = e; _tmp9_ = _tmp8_->message; fprintf (_tmp7_, "%s\n", _tmp9_); _g_error_free0 (e); } __finally32: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } result = _result_; return result; } gboolean mo_utils_getKeyBoolean (Profile* profile, const gchar* group, const gchar* key, gboolean default_val) { gboolean result = FALSE; gboolean _tmp0_; gboolean _result_; GError * _inner_error_ = NULL; g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (group != NULL, FALSE); g_return_val_if_fail (key != NULL, FALSE); _tmp0_ = default_val; _result_ = _tmp0_; { Profile* _tmp1_; GKeyFile* _tmp2_; const gchar* _tmp3_; const gchar* _tmp4_; gboolean _tmp5_ = FALSE; gboolean _tmp6_; _tmp1_ = profile; _tmp2_ = _tmp1_->keyFile; _tmp3_ = group; _tmp4_ = key; _tmp5_ = g_key_file_get_boolean (_tmp2_, _tmp3_, _tmp4_, &_inner_error_); _tmp6_ = _tmp5_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch33_g_key_file_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } _result_ = _tmp6_; } goto __finally33; __catch33_g_key_file_error: { GError* e = NULL; FILE* _tmp7_; GError* _tmp8_; const gchar* _tmp9_; e = _inner_error_; _inner_error_ = NULL; _tmp7_ = stdout; _tmp8_ = e; _tmp9_ = _tmp8_->message; fprintf (_tmp7_, "%s\n", _tmp9_); _g_error_free0 (e); } __finally33: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } result = _result_; return result; } gchar* mo_utils_getLastMessage (const gchar* messages) { gchar* result = NULL; gchar* message; const gchar* _tmp0_; gchar* _tmp1_ = NULL; gchar* escaped; const gchar* _tmp2_; gchar* _tmp3_ = NULL; gchar** splitMessages = NULL; gint splitMessages_length1 = 0; gint _splitMessages_size_ = 0; const gchar* _tmp4_; gchar** _tmp5_; gchar** _tmp6_ = NULL; message = NULL; _tmp0_ = messages; _tmp1_ = g_strescape (_tmp0_, ""); escaped = _tmp1_; _tmp2_ = escaped; _tmp3_ = input_parser_statusReplace (_tmp2_); _g_free0 (escaped); escaped = _tmp3_; _tmp4_ = escaped; _tmp6_ = _tmp5_ = g_strsplit (_tmp4_, "\\n", 20); splitMessages = (_vala_array_free (splitMessages, splitMessages_length1, (GDestroyNotify) g_free), NULL); splitMessages = _tmp6_; splitMessages_length1 = _vala_array_length (_tmp5_); _splitMessages_size_ = splitMessages_length1; { gint x; x = 0; { gboolean _tmp7_; _tmp7_ = TRUE; while (TRUE) { gboolean _tmp8_; gint _tmp10_; gchar** _tmp11_; gint _tmp11__length1; guint _tmp12_ = 0U; gchar** _tmp13_; gint _tmp13__length1; gint _tmp14_; const gchar* _tmp15_; gint _tmp16_; gint _tmp17_; _tmp8_ = _tmp7_; if (!_tmp8_) { gint _tmp9_; _tmp9_ = x; x = _tmp9_ + 1; } _tmp7_ = FALSE; _tmp10_ = x; _tmp11_ = splitMessages; _tmp11__length1 = splitMessages_length1; _tmp12_ = g_strv_length (_tmp11_); if (!(((guint) _tmp10_) < _tmp12_)) { break; } _tmp13_ = splitMessages; _tmp13__length1 = splitMessages_length1; _tmp14_ = x; _tmp15_ = _tmp13_[_tmp14_]; _tmp16_ = strlen (_tmp15_); _tmp17_ = _tmp16_; if (_tmp17_ > 5) { gchar** _tmp18_; gint _tmp18__length1; gint _tmp19_; const gchar* _tmp20_; gchar* _tmp21_; _tmp18_ = splitMessages; _tmp18__length1 = splitMessages_length1; _tmp19_ = x; _tmp20_ = _tmp18_[_tmp19_]; _tmp21_ = g_strdup (_tmp20_); _g_free0 (message); message = _tmp21_; } } } } result = message; splitMessages = (_vala_array_free (splitMessages, splitMessages_length1, (GDestroyNotify) g_free), NULL); _g_free0 (escaped); return result; } void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1) { GtkListStore* _tmp0_; GtkListStore* Model; gchar** _tmp1_; gint _tmp1__length1; GtkComboBox* _tmp8_; GtkListStore* _tmp9_; GtkCellRendererText* _tmp10_; GtkCellRenderer* _tmp11_; GtkCellRenderer* Cell; GtkComboBox* _tmp12_; GtkComboBox* _tmp13_; g_return_if_fail (Combo != NULL); _tmp0_ = gtk_list_store_new (1, G_TYPE_STRING); Model = _tmp0_; _tmp1_ = val_array; _tmp1__length1 = val_array_length1; { gchar** val_item_collection = NULL; gint val_item_collection_length1 = 0; gint _val_item_collection_size_ = 0; gint val_item_it = 0; val_item_collection = _tmp1_; val_item_collection_length1 = _tmp1__length1; for (val_item_it = 0; val_item_it < _tmp1__length1; val_item_it = val_item_it + 1) { gchar* _tmp2_; gchar* val_item = NULL; _tmp2_ = g_strdup (val_item_collection[val_item_it]); val_item = _tmp2_; { GtkTreeIter iter = {0}; GtkListStore* _tmp3_; GtkTreeIter _tmp4_ = {0}; GtkListStore* _tmp5_; GtkTreeIter _tmp6_; const gchar* _tmp7_; _tmp3_ = Model; gtk_list_store_append (_tmp3_, &_tmp4_); iter = _tmp4_; _tmp5_ = Model; _tmp6_ = iter; _tmp7_ = val_item; gtk_list_store_set (_tmp5_, &_tmp6_, 0, _tmp7_, -1); _g_free0 (val_item); } } } _tmp8_ = Combo; _tmp9_ = Model; gtk_combo_box_set_model (_tmp8_, (GtkTreeModel*) _tmp9_); _tmp10_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); _tmp11_ = (GtkCellRenderer*) g_object_ref_sink (_tmp10_); Cell = _tmp11_; _tmp12_ = Combo; gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp12_, Cell, TRUE); _tmp13_ = Combo; gtk_cell_layout_set_attributes ((GtkCellLayout*) _tmp13_, Cell, "text", 0, NULL); _g_object_unref0 (Cell); _g_object_unref0 (Model); } MoUtils* mo_utils_construct (GType object_type) { MoUtils * self = NULL; self = (MoUtils*) g_object_new (object_type, NULL); return self; } MoUtils* mo_utils_new (void) { return mo_utils_construct (TYPE_MO_UTILS); } static void mo_utils_class_init (MoUtilsClass * klass) { mo_utils_parent_class = g_type_class_peek_parent (klass); } static void mo_utils_instance_init (MoUtils * self) { } GType mo_utils_get_type (void) { static volatile gsize mo_utils_type_id__volatile = 0; if (g_once_init_enter (&mo_utils_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (MoUtilsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) mo_utils_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MoUtils), 0, (GInstanceInitFunc) mo_utils_instance_init, NULL }; GType mo_utils_type_id; mo_utils_type_id = g_type_register_static (G_TYPE_OBJECT, "MoUtils", &g_define_type_info, 0); g_once_init_leave (&mo_utils_type_id__volatile, mo_utils_type_id); } return mo_utils_type_id__volatile; } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; } moserial-3.0.8/src/DefaultPaths.c0000674000213200021320000003321612064104644013574 00000000000000/* DefaultPaths.c generated by valac 0.16.1, the Vala compiler * generated from DefaultPaths.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #define TYPE_DEFAULT_PATHS (default_paths_get_type ()) #define DEFAULT_PATHS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DEFAULT_PATHS, DefaultPaths)) #define DEFAULT_PATHS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DEFAULT_PATHS, DefaultPathsClass)) #define IS_DEFAULT_PATHS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DEFAULT_PATHS)) #define IS_DEFAULT_PATHS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DEFAULT_PATHS)) #define DEFAULT_PATHS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DEFAULT_PATHS, DefaultPathsClass)) typedef struct _DefaultPaths DefaultPaths; typedef struct _DefaultPathsClass DefaultPathsClass; typedef struct _DefaultPathsPrivate DefaultPathsPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) #define TYPE_PROFILE (profile_get_type ()) #define PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROFILE, Profile)) #define PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROFILE, ProfileClass)) #define IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROFILE)) #define IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROFILE)) #define PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROFILE, ProfileClass)) typedef struct _Profile Profile; typedef struct _ProfileClass ProfileClass; typedef struct _ProfilePrivate ProfilePrivate; #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) struct _DefaultPaths { GObject parent_instance; DefaultPathsPrivate * priv; }; struct _DefaultPathsClass { GObjectClass parent_class; }; struct _DefaultPathsPrivate { gchar* _recordTo; gchar* _receiveTo; gchar* _sendFrom; }; struct _Profile { GObject parent_instance; ProfilePrivate * priv; GKeyFile* keyFile; }; struct _ProfileClass { GObjectClass parent_class; }; static gpointer default_paths_parent_class = NULL; GType default_paths_get_type (void) G_GNUC_CONST; #define DEFAULT_PATHS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_DEFAULT_PATHS, DefaultPathsPrivate)) enum { DEFAULT_PATHS_DUMMY_PROPERTY, DEFAULT_PATHS_RECORD_TO, DEFAULT_PATHS_RECEIVE_TO, DEFAULT_PATHS_SEND_FROM }; DefaultPaths* default_paths_new (const gchar* RecordTo, const gchar* ReceiveTo, const gchar* SendFrom); DefaultPaths* default_paths_construct (GType object_type, const gchar* RecordTo, const gchar* ReceiveTo, const gchar* SendFrom); void default_paths_set_recordTo (DefaultPaths* self, const gchar* value); void default_paths_set_receiveTo (DefaultPaths* self, const gchar* value); void default_paths_set_sendFrom (DefaultPaths* self, const gchar* value); GType profile_get_type (void) G_GNUC_CONST; void default_paths_saveToProfile (DefaultPaths* self, Profile* profile); const gchar* default_paths_get_recordTo (DefaultPaths* self); const gchar* default_paths_get_receiveTo (DefaultPaths* self); const gchar* default_paths_get_sendFrom (DefaultPaths* self); DefaultPaths* default_paths_loadFromProfile (Profile* profile); gchar* default_paths_getPath (Profile* profile, const gchar* group, const gchar* key); gboolean mo_utils_fileExists (const gchar* path); static void default_paths_finalize (GObject* obj); static void _vala_default_paths_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_default_paths_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); DefaultPaths* default_paths_construct (GType object_type, const gchar* RecordTo, const gchar* ReceiveTo, const gchar* SendFrom) { DefaultPaths * self = NULL; const gchar* _tmp0_; const gchar* _tmp1_; const gchar* _tmp2_; self = (DefaultPaths*) g_object_new (object_type, NULL); _tmp0_ = RecordTo; default_paths_set_recordTo (self, _tmp0_); _tmp1_ = ReceiveTo; default_paths_set_receiveTo (self, _tmp1_); _tmp2_ = SendFrom; default_paths_set_sendFrom (self, _tmp2_); return self; } DefaultPaths* default_paths_new (const gchar* RecordTo, const gchar* ReceiveTo, const gchar* SendFrom) { return default_paths_construct (TYPE_DEFAULT_PATHS, RecordTo, ReceiveTo, SendFrom); } void default_paths_saveToProfile (DefaultPaths* self, Profile* profile) { const gchar* _tmp0_; const gchar* _tmp4_; const gchar* _tmp8_; g_return_if_fail (self != NULL); g_return_if_fail (profile != NULL); _tmp0_ = self->priv->_recordTo; if (_tmp0_ != NULL) { Profile* _tmp1_; GKeyFile* _tmp2_; const gchar* _tmp3_; _tmp1_ = profile; _tmp2_ = _tmp1_->keyFile; _tmp3_ = self->priv->_recordTo; g_key_file_set_string (_tmp2_, "paths", "last_record_path", _tmp3_); } _tmp4_ = self->priv->_receiveTo; if (_tmp4_ != NULL) { Profile* _tmp5_; GKeyFile* _tmp6_; const gchar* _tmp7_; _tmp5_ = profile; _tmp6_ = _tmp5_->keyFile; _tmp7_ = self->priv->_receiveTo; g_key_file_set_string (_tmp6_, "paths", "last_receive_path", _tmp7_); } _tmp8_ = self->priv->_sendFrom; if (_tmp8_ != NULL) { Profile* _tmp9_; GKeyFile* _tmp10_; const gchar* _tmp11_; _tmp9_ = profile; _tmp10_ = _tmp9_->keyFile; _tmp11_ = self->priv->_sendFrom; g_key_file_set_string (_tmp10_, "paths", "last_send_path", _tmp11_); } } DefaultPaths* default_paths_loadFromProfile (Profile* profile) { DefaultPaths* result = NULL; gchar* RecordTo; gchar* ReceiveTo; gchar* SendFrom; Profile* _tmp0_; gchar* _tmp1_ = NULL; Profile* _tmp2_; gchar* _tmp3_ = NULL; Profile* _tmp4_; gchar* _tmp5_ = NULL; const gchar* _tmp6_; const gchar* _tmp7_; const gchar* _tmp8_; DefaultPaths* _tmp9_; g_return_val_if_fail (profile != NULL, NULL); RecordTo = NULL; ReceiveTo = NULL; SendFrom = NULL; _tmp0_ = profile; _tmp1_ = default_paths_getPath (_tmp0_, "paths", "last_record_path"); _g_free0 (RecordTo); RecordTo = _tmp1_; _tmp2_ = profile; _tmp3_ = default_paths_getPath (_tmp2_, "paths", "last_receive_path"); _g_free0 (ReceiveTo); ReceiveTo = _tmp3_; _tmp4_ = profile; _tmp5_ = default_paths_getPath (_tmp4_, "paths", "last_send_path"); _g_free0 (SendFrom); SendFrom = _tmp5_; _tmp6_ = RecordTo; _tmp7_ = ReceiveTo; _tmp8_ = SendFrom; _tmp9_ = default_paths_new (_tmp6_, _tmp7_, _tmp8_); result = _tmp9_; _g_free0 (SendFrom); _g_free0 (ReceiveTo); _g_free0 (RecordTo); return result; } gchar* default_paths_getPath (Profile* profile, const gchar* group, const gchar* key) { gchar* result = NULL; gchar* path; GError * _inner_error_ = NULL; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (group != NULL, NULL); g_return_val_if_fail (key != NULL, NULL); path = NULL; { Profile* _tmp0_; GKeyFile* _tmp1_; const gchar* _tmp2_; const gchar* _tmp3_; gchar* _tmp4_ = NULL; gchar* _tmp5_; const gchar* _tmp6_; gboolean _tmp7_ = FALSE; _tmp0_ = profile; _tmp1_ = _tmp0_->keyFile; _tmp2_ = group; _tmp3_ = key; _tmp4_ = g_key_file_get_string (_tmp1_, _tmp2_, _tmp3_, &_inner_error_); _tmp5_ = _tmp4_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch29_g_key_file_error; } _g_free0 (path); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } _g_free0 (path); path = _tmp5_; _tmp6_ = path; _tmp7_ = mo_utils_fileExists (_tmp6_); if (!_tmp7_) { result = NULL; _g_free0 (path); return result; } } goto __finally29; __catch29_g_key_file_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; _g_error_free0 (e); } __finally29: if (_inner_error_ != NULL) { _g_free0 (path); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } result = path; return result; } const gchar* default_paths_get_recordTo (DefaultPaths* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_recordTo; result = _tmp0_; return result; } void default_paths_set_recordTo (DefaultPaths* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_recordTo); self->priv->_recordTo = _tmp1_; g_object_notify ((GObject *) self, "recordTo"); } const gchar* default_paths_get_receiveTo (DefaultPaths* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_receiveTo; result = _tmp0_; return result; } void default_paths_set_receiveTo (DefaultPaths* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_receiveTo); self->priv->_receiveTo = _tmp1_; g_object_notify ((GObject *) self, "receiveTo"); } const gchar* default_paths_get_sendFrom (DefaultPaths* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_sendFrom; result = _tmp0_; return result; } void default_paths_set_sendFrom (DefaultPaths* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_sendFrom); self->priv->_sendFrom = _tmp1_; g_object_notify ((GObject *) self, "sendFrom"); } static void default_paths_class_init (DefaultPathsClass * klass) { default_paths_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (DefaultPathsPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_default_paths_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_default_paths_set_property; G_OBJECT_CLASS (klass)->finalize = default_paths_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), DEFAULT_PATHS_RECORD_TO, g_param_spec_string ("recordTo", "recordTo", "recordTo", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), DEFAULT_PATHS_RECEIVE_TO, g_param_spec_string ("receiveTo", "receiveTo", "receiveTo", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); g_object_class_install_property (G_OBJECT_CLASS (klass), DEFAULT_PATHS_SEND_FROM, g_param_spec_string ("sendFrom", "sendFrom", "sendFrom", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE)); } static void default_paths_instance_init (DefaultPaths * self) { self->priv = DEFAULT_PATHS_GET_PRIVATE (self); } static void default_paths_finalize (GObject* obj) { DefaultPaths * self; self = DEFAULT_PATHS (obj); _g_free0 (self->priv->_recordTo); _g_free0 (self->priv->_receiveTo); _g_free0 (self->priv->_sendFrom); G_OBJECT_CLASS (default_paths_parent_class)->finalize (obj); } GType default_paths_get_type (void) { static volatile gsize default_paths_type_id__volatile = 0; if (g_once_init_enter (&default_paths_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (DefaultPathsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) default_paths_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DefaultPaths), 0, (GInstanceInitFunc) default_paths_instance_init, NULL }; GType default_paths_type_id; default_paths_type_id = g_type_register_static (G_TYPE_OBJECT, "DefaultPaths", &g_define_type_info, 0); g_once_init_leave (&default_paths_type_id__volatile, default_paths_type_id); } return default_paths_type_id__volatile; } static void _vala_default_paths_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { DefaultPaths * self; self = DEFAULT_PATHS (object); switch (property_id) { case DEFAULT_PATHS_RECORD_TO: g_value_set_string (value, default_paths_get_recordTo (self)); break; case DEFAULT_PATHS_RECEIVE_TO: g_value_set_string (value, default_paths_get_receiveTo (self)); break; case DEFAULT_PATHS_SEND_FROM: g_value_set_string (value, default_paths_get_sendFrom (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_default_paths_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { DefaultPaths * self; self = DEFAULT_PATHS (object); switch (property_id) { case DEFAULT_PATHS_RECORD_TO: default_paths_set_recordTo (self, g_value_get_string (value)); break; case DEFAULT_PATHS_RECEIVE_TO: default_paths_set_receiveTo (self, g_value_get_string (value)); break; case DEFAULT_PATHS_SEND_FROM: default_paths_set_sendFrom (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/Profile.c0000674000213200021320000004014512064104644012607 00000000000000/* Profile.c generated by valac 0.16.1, the Vala compiler * generated from Profile.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #define TYPE_PROFILE (profile_get_type ()) #define PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROFILE, Profile)) #define PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROFILE, ProfileClass)) #define IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROFILE)) #define IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROFILE)) #define PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROFILE, ProfileClass)) typedef struct _Profile Profile; typedef struct _ProfileClass ProfileClass; typedef struct _ProfilePrivate ProfilePrivate; #define _g_key_file_free0(var) ((var == NULL) ? NULL : (var = (g_key_file_free (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) struct _Profile { GObject parent_instance; ProfilePrivate * priv; GKeyFile* keyFile; }; struct _ProfileClass { GObjectClass parent_class; }; static gpointer profile_parent_class = NULL; GType profile_get_type (void) G_GNUC_CONST; enum { PROFILE_DUMMY_PROPERTY }; void profile_saveWindowSize (Profile* self, gint w, gint h); void profile_saveWindowPanedPosition (Profile* self, gint pos); gint profile_getWindowPanedPosition (Profile* self); gint profile_getWindowWidth (Profile* self); gint profile_getWindowHeight (Profile* self); gboolean profile_load (Profile* self, const gchar* filename, GtkWindow* window); void profile_toString (Profile* self); void profile_save (Profile* self, const gchar* filename, GtkWindow* window); Profile* profile_new (void); Profile* profile_construct (GType object_type); static GObject * profile_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void profile_finalize (GObject* obj); void profile_saveWindowSize (Profile* self, gint w, gint h) { gint _tmp0_; gint _tmp3_; g_return_if_fail (self != NULL); _tmp0_ = w; if (_tmp0_ > 0) { GKeyFile* _tmp1_; gint _tmp2_; _tmp1_ = self->keyFile; _tmp2_ = w; g_key_file_set_integer (_tmp1_, "window", "width", _tmp2_); } _tmp3_ = h; if (_tmp3_ > 0) { GKeyFile* _tmp4_; gint _tmp5_; _tmp4_ = self->keyFile; _tmp5_ = h; g_key_file_set_integer (_tmp4_, "window", "height", _tmp5_); } } void profile_saveWindowPanedPosition (Profile* self, gint pos) { GKeyFile* _tmp0_; gint _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = self->keyFile; _tmp1_ = pos; g_key_file_set_integer (_tmp0_, "window", "paned_pos", _tmp1_); } gint profile_getWindowPanedPosition (Profile* self) { gint result = 0; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, 0); { GKeyFile* _tmp0_; gint _tmp1_ = 0; gint _tmp2_; _tmp0_ = self->keyFile; _tmp1_ = g_key_file_get_integer (_tmp0_, "window", "paned_pos", &_inner_error_); _tmp2_ = _tmp1_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch24_g_key_file_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } result = _tmp2_; return result; } goto __finally24; __catch24_g_key_file_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; result = -1; _g_error_free0 (e); return result; } __finally24: g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } gint profile_getWindowWidth (Profile* self) { gint result = 0; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, 0); { GKeyFile* _tmp0_; gint _tmp1_ = 0; gint _tmp2_; _tmp0_ = self->keyFile; _tmp1_ = g_key_file_get_integer (_tmp0_, "window", "width", &_inner_error_); _tmp2_ = _tmp1_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch25_g_key_file_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } result = _tmp2_; return result; } goto __finally25; __catch25_g_key_file_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; result = -1; _g_error_free0 (e); return result; } __finally25: g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } gint profile_getWindowHeight (Profile* self) { gint result = 0; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, 0); { GKeyFile* _tmp0_; gint _tmp1_ = 0; gint _tmp2_; _tmp0_ = self->keyFile; _tmp1_ = g_key_file_get_integer (_tmp0_, "window", "height", &_inner_error_); _tmp2_ = _tmp1_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch26_g_key_file_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } result = _tmp2_; return result; } goto __finally26; __catch26_g_key_file_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; result = -1; _g_error_free0 (e); return result; } __finally26: g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } gboolean profile_load (Profile* self, const gchar* filename, GtkWindow* window) { gboolean result = FALSE; gchar* f = NULL; gboolean default_profile; const gchar* _tmp0_; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (window != NULL, FALSE); default_profile = FALSE; _tmp0_ = filename; if (_tmp0_ == NULL) { const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; default_profile = TRUE; _tmp1_ = g_get_user_config_dir (); _tmp2_ = g_strdup_printf ("%s/moserial.conf", _tmp1_); _g_free0 (f); f = _tmp2_; } else { const gchar* _tmp3_; gchar* _tmp4_; _tmp3_ = filename; _tmp4_ = g_strdup (_tmp3_); _g_free0 (f); f = _tmp4_; } { GKeyFile* _tmp5_; const gchar* _tmp6_; _tmp5_ = self->keyFile; _tmp6_ = f; g_key_file_load_from_file (_tmp5_, _tmp6_, G_KEY_FILE_NONE, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_KEY_FILE_ERROR) { goto __catch27_g_key_file_error; } if (_inner_error_->domain == G_FILE_ERROR) { goto __catch27_g_file_error; } _g_free0 (f); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } result = TRUE; _g_free0 (f); return result; } goto __finally27; __catch27_g_key_file_error: { GError* e = NULL; FILE* _tmp7_; GError* _tmp8_; const gchar* _tmp9_; e = _inner_error_; _inner_error_ = NULL; _tmp7_ = stdout; _tmp8_ = e; _tmp9_ = _tmp8_->message; fprintf (_tmp7_, "%s\n", _tmp9_); result = TRUE; _g_error_free0 (e); _g_free0 (f); return result; } goto __finally27; __catch27_g_file_error: { GError* e = NULL; gboolean _tmp10_; e = _inner_error_; _inner_error_ = NULL; _tmp10_ = default_profile; if (!_tmp10_) { GtkWindow* _tmp11_; const gchar* _tmp12_ = NULL; const gchar* _tmp13_; GError* _tmp14_; const gchar* _tmp15_; GtkMessageDialog* _tmp16_; GtkMessageDialog* _tmp17_; GtkMessageDialog* errorDialog; GtkMessageDialog* _tmp18_; GtkMessageDialog* _tmp19_; _tmp11_ = window; _tmp12_ = _ ("Error: Could not open file"); _tmp13_ = filename; _tmp14_ = e; _tmp15_ = _tmp14_->message; _tmp16_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp11_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s: %s\n%s", _tmp12_, _tmp13_, _tmp15_); _tmp17_ = g_object_ref_sink (_tmp16_); errorDialog = _tmp17_; _tmp18_ = errorDialog; gtk_dialog_run ((GtkDialog*) _tmp18_); _tmp19_ = errorDialog; gtk_widget_destroy ((GtkWidget*) _tmp19_); _g_object_unref0 (errorDialog); } result = FALSE; _g_error_free0 (e); _g_free0 (f); return result; } __finally27: _g_free0 (f); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } void profile_toString (Profile* self) { gsize s = 0UL; FILE* _tmp0_; GKeyFile* _tmp1_; gsize _tmp2_ = 0UL; gchar* _tmp3_ = NULL; gchar* _tmp4_; g_return_if_fail (self != NULL); _tmp0_ = stdout; _tmp1_ = self->keyFile; _tmp3_ = g_key_file_to_data (_tmp1_, &_tmp2_, NULL); s = _tmp2_; _tmp4_ = _tmp3_; fprintf (_tmp0_, "%s\n", _tmp4_); _g_free0 (_tmp4_); } static guint8* string_get_data (const gchar* self, int* result_length1) { guint8* result; guint8* res; gint res_length1; gint _res_size_; gint _tmp0_; gint _tmp1_; gint _tmp2_; guint8* _tmp3_; gint _tmp3__length1; guint8* _tmp4_; gint _tmp4__length1; g_return_val_if_fail (self != NULL, NULL); res = (guint8*) self; res_length1 = -1; _res_size_ = res_length1; _tmp0_ = strlen (self); _tmp1_ = _tmp0_; res_length1 = (gint) _tmp1_; _tmp2_ = res_length1; _tmp3_ = res; _tmp3__length1 = res_length1; _tmp4_ = _tmp3_; _tmp4__length1 = _tmp3__length1; if (result_length1) { *result_length1 = _tmp4__length1; } result = _tmp4_; return result; } void profile_save (Profile* self, const gchar* filename, GtkWindow* window) { GFile* file = NULL; GFileOutputStream* fos = NULL; gchar* f = NULL; gboolean default_profile; const gchar* _tmp0_; const gchar* _tmp5_; GFile* _tmp6_ = NULL; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (window != NULL); default_profile = FALSE; _tmp0_ = filename; if (_tmp0_ == NULL) { const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; default_profile = TRUE; _tmp1_ = g_get_user_config_dir (); _tmp2_ = g_strdup_printf ("%s/moserial.conf", _tmp1_); _g_free0 (f); f = _tmp2_; } else { const gchar* _tmp3_; gchar* _tmp4_; _tmp3_ = filename; _tmp4_ = g_strdup (_tmp3_); _g_free0 (f); f = _tmp4_; } _tmp5_ = f; _tmp6_ = g_file_new_for_path (_tmp5_); _g_object_unref0 (file); file = _tmp6_; { gsize s = 0UL; gchar* data = NULL; GFile* _tmp7_; GFileOutputStream* _tmp8_ = NULL; GFileOutputStream* _tmp9_; GKeyFile* _tmp10_; gsize _tmp11_ = 0UL; gchar* _tmp12_ = NULL; GFileOutputStream* _tmp13_; const gchar* _tmp14_; guint8* _tmp15_; gint _tmp15__length1; guint8* _tmp16_; gint _tmp16__length1; _tmp7_ = file; _tmp8_ = g_file_replace (_tmp7_, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &_inner_error_); _tmp9_ = _tmp8_; if (_inner_error_ != NULL) { _g_free0 (data); goto __catch28_g_error; } _g_object_unref0 (fos); fos = _tmp9_; _tmp10_ = self->keyFile; _tmp12_ = g_key_file_to_data (_tmp10_, &_tmp11_, NULL); s = _tmp11_; _g_free0 (data); data = _tmp12_; _tmp13_ = fos; _tmp14_ = data; _tmp15_ = string_get_data (_tmp14_, &_tmp15__length1); _tmp16_ = _tmp15_; _tmp16__length1 = _tmp15__length1; g_output_stream_write ((GOutputStream*) _tmp13_, _tmp16_, (gsize) _tmp16__length1, NULL, &_inner_error_); if (_inner_error_ != NULL) { _g_free0 (data); goto __catch28_g_error; } _g_free0 (data); } goto __finally28; __catch28_g_error: { GError* e = NULL; FILE* _tmp17_; GError* _tmp18_; const gchar* _tmp19_; gboolean _tmp20_; e = _inner_error_; _inner_error_ = NULL; _tmp17_ = stdout; _tmp18_ = e; _tmp19_ = _tmp18_->message; fprintf (_tmp17_, "profile.save error: %s\n", _tmp19_); _tmp20_ = default_profile; if (!_tmp20_) { GtkWindow* _tmp21_; const gchar* _tmp22_ = NULL; const gchar* _tmp23_; GError* _tmp24_; const gchar* _tmp25_; GtkMessageDialog* _tmp26_; GtkMessageDialog* _tmp27_; GtkMessageDialog* errorDialog; GtkMessageDialog* _tmp28_; GtkMessageDialog* _tmp29_; _tmp21_ = window; _tmp22_ = _ ("Error: Could not open file"); _tmp23_ = filename; _tmp24_ = e; _tmp25_ = _tmp24_->message; _tmp26_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp21_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s: %s\n%s", _tmp22_, _tmp23_, _tmp25_); _tmp27_ = g_object_ref_sink (_tmp26_); errorDialog = _tmp27_; _tmp28_ = errorDialog; gtk_dialog_run ((GtkDialog*) _tmp28_); _tmp29_ = errorDialog; gtk_widget_destroy ((GtkWidget*) _tmp29_); _g_object_unref0 (errorDialog); } _g_error_free0 (e); } __finally28: if (_inner_error_ != NULL) { _g_free0 (f); _g_object_unref0 (fos); _g_object_unref0 (file); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _g_free0 (f); _g_object_unref0 (fos); _g_object_unref0 (file); } Profile* profile_construct (GType object_type) { Profile * self = NULL; self = (Profile*) g_object_new (object_type, NULL); return self; } Profile* profile_new (void) { return profile_construct (TYPE_PROFILE); } static GObject * profile_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Profile * self; GKeyFile* _tmp0_; parent_class = G_OBJECT_CLASS (profile_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = PROFILE (obj); _tmp0_ = g_key_file_new (); _g_key_file_free0 (self->keyFile); self->keyFile = _tmp0_; return obj; } static void profile_class_init (ProfileClass * klass) { profile_parent_class = g_type_class_peek_parent (klass); G_OBJECT_CLASS (klass)->constructor = profile_constructor; G_OBJECT_CLASS (klass)->finalize = profile_finalize; } static void profile_instance_init (Profile * self) { } static void profile_finalize (GObject* obj) { Profile * self; self = PROFILE (obj); _g_key_file_free0 (self->keyFile); G_OBJECT_CLASS (profile_parent_class)->finalize (obj); } GType profile_get_type (void) { static volatile gsize profile_type_id__volatile = 0; if (g_once_init_enter (&profile_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (ProfileClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) profile_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Profile), 0, (GInstanceInitFunc) profile_instance_init, NULL }; GType profile_type_id; profile_type_id = g_type_register_static (G_TYPE_OBJECT, "Profile", &g_define_type_info, 0); g_once_init_leave (&profile_type_id__volatile, profile_type_id); } return profile_type_id__volatile; } moserial-3.0.8/src/Preferences.c0000674000213200021320000006345712064104644013463 00000000000000/* Preferences.c generated by valac 0.16.1, the Vala compiler * generated from Preferences.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #define TYPE_PREFERENCES (preferences_get_type ()) #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences)) #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass)) #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES)) #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES)) #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass)) typedef struct _Preferences Preferences; typedef struct _PreferencesClass PreferencesClass; typedef struct _PreferencesPrivate PreferencesPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define TYPE_PROFILE (profile_get_type ()) #define PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROFILE, Profile)) #define PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROFILE, ProfileClass)) #define IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROFILE)) #define IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROFILE)) #define PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROFILE, ProfileClass)) typedef struct _Profile Profile; typedef struct _ProfileClass ProfileClass; typedef struct _ProfilePrivate ProfilePrivate; struct _Preferences { GObject parent_instance; PreferencesPrivate * priv; }; struct _PreferencesClass { GObjectClass parent_class; }; struct _PreferencesPrivate { gboolean _useSystemMonospaceFont; gchar* _font; gchar* _fontColor; gchar* _backgroundColor; gchar* _highlightColor; gboolean _recordLaunch; gboolean _enableTimeout; gint _timeout; }; struct _Profile { GObject parent_instance; ProfilePrivate * priv; GKeyFile* keyFile; }; struct _ProfileClass { GObjectClass parent_class; }; static gpointer preferences_parent_class = NULL; extern gboolean preferences_DEFAULT_USE_SYSTEM_MONOSPACE_FONT; gboolean preferences_DEFAULT_USE_SYSTEM_MONOSPACE_FONT = TRUE; extern gchar* preferences_DEFAULT_FONT; gchar* preferences_DEFAULT_FONT = NULL; extern gchar* preferences_DEFAULT_FONT_COLOR; gchar* preferences_DEFAULT_FONT_COLOR = NULL; extern gchar* preferences_DEFAULT_BACKGROUND_COLOR; gchar* preferences_DEFAULT_BACKGROUND_COLOR = NULL; extern gchar* preferences_DEFAULT_HIGHLIGHT_COLOR; gchar* preferences_DEFAULT_HIGHLIGHT_COLOR = NULL; extern gboolean preferences_DEFAULT_RECORD_LAUNCH; gboolean preferences_DEFAULT_RECORD_LAUNCH = TRUE; GType preferences_get_type (void) G_GNUC_CONST; #define PREFERENCES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PREFERENCES, PreferencesPrivate)) enum { PREFERENCES_DUMMY_PROPERTY, PREFERENCES_USE_SYSTEM_MONOSPACE_FONT, PREFERENCES_FONT, PREFERENCES_FONT_COLOR, PREFERENCES_BACKGROUND_COLOR, PREFERENCES_HIGHLIGHT_COLOR, PREFERENCES_RECORD_LAUNCH, PREFERENCES_ENABLE_TIMEOUT, PREFERENCES_TIMEOUT }; Preferences* preferences_new (gboolean useSystemMonospaceFont, const gchar* font, const gchar* fontColor, const gchar* backgroundColor, const gchar* highlightColor, gboolean recordLaunch, gboolean enableTimeout, gint timeout); Preferences* preferences_construct (GType object_type, gboolean useSystemMonospaceFont, const gchar* font, const gchar* fontColor, const gchar* backgroundColor, const gchar* highlightColor, gboolean recordLaunch, gboolean enableTimeout, gint timeout); gchar* preferences_getSystemDefaultMonospaceFont (void); void preferences_getGdkColor (const gchar* color, GdkColor* result); void preferences_toString (Preferences* self); gboolean preferences_get_useSystemMonospaceFont (Preferences* self); const gchar* preferences_get_font (Preferences* self); const gchar* preferences_get_fontColor (Preferences* self); const gchar* preferences_get_backgroundColor (Preferences* self); const gchar* preferences_get_highlightColor (Preferences* self); gboolean preferences_get_recordLaunch (Preferences* self); GType profile_get_type (void) G_GNUC_CONST; void preferences_saveToProfile (Preferences* self, Profile* profile); gboolean preferences_get_enableTimeout (Preferences* self); gint preferences_get_timeout (Preferences* self); Preferences* preferences_loadFromProfile (Profile* profile); gboolean mo_utils_getKeyBoolean (Profile* profile, const gchar* group, const gchar* key, gboolean default_val); gchar* mo_utils_getKeyString (Profile* profile, const gchar* group, const gchar* key); gint mo_utils_getKeyInteger (Profile* profile, const gchar* group, const gchar* key, gint default_val); static void preferences_set_useSystemMonospaceFont (Preferences* self, gboolean value); static void preferences_set_font (Preferences* self, const gchar* value); static void preferences_set_fontColor (Preferences* self, const gchar* value); static void preferences_set_backgroundColor (Preferences* self, const gchar* value); static void preferences_set_highlightColor (Preferences* self, const gchar* value); static void preferences_set_recordLaunch (Preferences* self, gboolean value); static void preferences_set_enableTimeout (Preferences* self, gboolean value); static void preferences_set_timeout (Preferences* self, gint value); static GObject * preferences_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void preferences_finalize (GObject* obj); static void _vala_preferences_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_preferences_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); Preferences* preferences_construct (GType object_type, gboolean useSystemMonospaceFont, const gchar* font, const gchar* fontColor, const gchar* backgroundColor, const gchar* highlightColor, gboolean recordLaunch, gboolean enableTimeout, gint timeout) { Preferences * self = NULL; gboolean _tmp0_; const gchar* _tmp1_; gboolean _tmp2_; const gchar* _tmp3_; const gchar* _tmp4_; const gchar* _tmp5_; gboolean _tmp6_; gint _tmp7_; _tmp0_ = useSystemMonospaceFont; _tmp1_ = font; _tmp2_ = recordLaunch; _tmp3_ = fontColor; _tmp4_ = backgroundColor; _tmp5_ = highlightColor; _tmp6_ = enableTimeout; _tmp7_ = timeout; self = (Preferences*) g_object_new (object_type, "useSystemMonospaceFont", _tmp0_, "font", _tmp1_, "recordLaunch", _tmp2_, "fontColor", _tmp3_, "backgroundColor", _tmp4_, "highlightColor", _tmp5_, "enableTimeout", _tmp6_, "timeout", _tmp7_, NULL); return self; } Preferences* preferences_new (gboolean useSystemMonospaceFont, const gchar* font, const gchar* fontColor, const gchar* backgroundColor, const gchar* highlightColor, gboolean recordLaunch, gboolean enableTimeout, gint timeout) { return preferences_construct (TYPE_PREFERENCES, useSystemMonospaceFont, font, fontColor, backgroundColor, highlightColor, recordLaunch, enableTimeout, timeout); } gchar* preferences_getSystemDefaultMonospaceFont (void) { gchar* result = NULL; GSettings* _tmp0_; GSettings* settings; GSettings* _tmp1_; gchar* _tmp2_ = NULL; gchar* value; const gchar* _tmp3_; _tmp0_ = g_settings_new ("org.gnome.desktop.interface"); settings = _tmp0_; _tmp1_ = settings; _tmp2_ = g_settings_get_string (_tmp1_, "monospace-font-name"); value = _tmp2_; _tmp3_ = value; if (g_strcmp0 (_tmp3_, "") == 0) { const gchar* _tmp4_ = NULL; const gchar* _tmp5_; gchar* _tmp6_; _tmp4_ = _ ("Unable to retrieve system font setting"); g_warning ("Preferences.vala:65: %s", _tmp4_); _tmp5_ = preferences_DEFAULT_FONT; _tmp6_ = g_strdup (_tmp5_); _g_free0 (value); value = _tmp6_; } result = value; _g_object_unref0 (settings); return result; } void preferences_getGdkColor (const gchar* color, GdkColor* result) { GdkColor c = {0}; const gchar* _tmp0_; GdkColor _tmp1_ = {0}; g_return_if_fail (color != NULL); _tmp0_ = color; gdk_color_parse (_tmp0_, &_tmp1_); c = _tmp1_; *result = c; return; } void preferences_toString (Preferences* self) { FILE* _tmp0_; gboolean _tmp1_; FILE* _tmp4_; const gchar* _tmp5_; FILE* _tmp6_; const gchar* _tmp7_; FILE* _tmp8_; const gchar* _tmp9_; FILE* _tmp10_; const gchar* _tmp11_; FILE* _tmp12_; gboolean _tmp13_; g_return_if_fail (self != NULL); _tmp0_ = stdout; fprintf (_tmp0_, "useSystemMonospaceFont: "); _tmp1_ = self->priv->_useSystemMonospaceFont; if (_tmp1_) { FILE* _tmp2_; _tmp2_ = stdout; fprintf (_tmp2_, "true\n"); } else { FILE* _tmp3_; _tmp3_ = stdout; fprintf (_tmp3_, "false\n"); } _tmp4_ = stdout; _tmp5_ = self->priv->_font; fprintf (_tmp4_, "font: %s\n", _tmp5_); _tmp6_ = stdout; _tmp7_ = self->priv->_fontColor; fprintf (_tmp6_, "fontColor: %s\n", _tmp7_); _tmp8_ = stdout; _tmp9_ = self->priv->_backgroundColor; fprintf (_tmp8_, "backgroundColor: %s\n", _tmp9_); _tmp10_ = stdout; _tmp11_ = self->priv->_highlightColor; fprintf (_tmp10_, "highlightColor: %s\n", _tmp11_); _tmp12_ = stdout; fprintf (_tmp12_, "recordLaunch: "); _tmp13_ = self->priv->_recordLaunch; if (_tmp13_) { FILE* _tmp14_; _tmp14_ = stdout; fprintf (_tmp14_, "true\n"); } else { FILE* _tmp15_; _tmp15_ = stdout; fprintf (_tmp15_, "false\n"); } } void preferences_saveToProfile (Preferences* self, Profile* profile) { Profile* _tmp0_; GKeyFile* _tmp1_; gboolean _tmp2_; Profile* _tmp3_; GKeyFile* _tmp4_; const gchar* _tmp5_; Profile* _tmp6_; GKeyFile* _tmp7_; const gchar* _tmp8_; Profile* _tmp9_; GKeyFile* _tmp10_; const gchar* _tmp11_; Profile* _tmp12_; GKeyFile* _tmp13_; const gchar* _tmp14_; Profile* _tmp15_; GKeyFile* _tmp16_; gboolean _tmp17_; Profile* _tmp18_; GKeyFile* _tmp19_; gboolean _tmp20_; Profile* _tmp21_; GKeyFile* _tmp22_; gint _tmp23_; g_return_if_fail (self != NULL); g_return_if_fail (profile != NULL); _tmp0_ = profile; _tmp1_ = _tmp0_->keyFile; _tmp2_ = self->priv->_useSystemMonospaceFont; g_key_file_set_boolean (_tmp1_, "preferences", "use_system_monospace_font", _tmp2_); _tmp3_ = profile; _tmp4_ = _tmp3_->keyFile; _tmp5_ = self->priv->_font; g_key_file_set_string (_tmp4_, "preferences", "font", _tmp5_); _tmp6_ = profile; _tmp7_ = _tmp6_->keyFile; _tmp8_ = self->priv->_fontColor; g_key_file_set_string (_tmp7_, "preferences", "font_color", _tmp8_); _tmp9_ = profile; _tmp10_ = _tmp9_->keyFile; _tmp11_ = self->priv->_backgroundColor; g_key_file_set_string (_tmp10_, "preferences", "background_color", _tmp11_); _tmp12_ = profile; _tmp13_ = _tmp12_->keyFile; _tmp14_ = self->priv->_highlightColor; g_key_file_set_string (_tmp13_, "preferences", "highlight_color", _tmp14_); _tmp15_ = profile; _tmp16_ = _tmp15_->keyFile; _tmp17_ = self->priv->_recordLaunch; g_key_file_set_boolean (_tmp16_, "preferences", "record_launch", _tmp17_); _tmp18_ = profile; _tmp19_ = _tmp18_->keyFile; _tmp20_ = self->priv->_enableTimeout; g_key_file_set_boolean (_tmp19_, "preferences", "enable_timeout", _tmp20_); _tmp21_ = profile; _tmp22_ = _tmp21_->keyFile; _tmp23_ = self->priv->_timeout; g_key_file_set_integer (_tmp22_, "preferences", "timeout", _tmp23_); } Preferences* preferences_loadFromProfile (Profile* profile) { Preferences* result = NULL; gboolean useSystemMonospaceFont = FALSE; gchar* font; gchar* fontColor; gchar* backgroundColor; gchar* highlightColor; gboolean recordLaunch = FALSE; gboolean enableTimeout = FALSE; gint timeout = 0; Profile* _tmp0_; gboolean _tmp1_; gboolean _tmp2_ = FALSE; Profile* _tmp3_; gchar* _tmp4_ = NULL; Profile* _tmp5_; gchar* _tmp6_ = NULL; Profile* _tmp7_; gchar* _tmp8_ = NULL; Profile* _tmp9_; gchar* _tmp10_ = NULL; Profile* _tmp11_; gboolean _tmp12_ = FALSE; Profile* _tmp13_; gboolean _tmp14_ = FALSE; Profile* _tmp15_; gint _tmp16_ = 0; const gchar* _tmp17_; const gchar* _tmp18_; const gchar* _tmp19_; const gchar* _tmp20_; Preferences* _tmp21_; g_return_val_if_fail (profile != NULL, NULL); font = NULL; fontColor = NULL; backgroundColor = NULL; highlightColor = NULL; _tmp0_ = profile; _tmp1_ = preferences_DEFAULT_USE_SYSTEM_MONOSPACE_FONT; _tmp2_ = mo_utils_getKeyBoolean (_tmp0_, "preferences", "use_system_monospace_font", _tmp1_); useSystemMonospaceFont = _tmp2_; _tmp3_ = profile; _tmp4_ = mo_utils_getKeyString (_tmp3_, "preferences", "font"); _g_free0 (font); font = _tmp4_; _tmp5_ = profile; _tmp6_ = mo_utils_getKeyString (_tmp5_, "preferences", "font_color"); _g_free0 (fontColor); fontColor = _tmp6_; _tmp7_ = profile; _tmp8_ = mo_utils_getKeyString (_tmp7_, "preferences", "background_color"); _g_free0 (backgroundColor); backgroundColor = _tmp8_; _tmp9_ = profile; _tmp10_ = mo_utils_getKeyString (_tmp9_, "preferences", "highlight_color"); _g_free0 (highlightColor); highlightColor = _tmp10_; _tmp11_ = profile; _tmp12_ = mo_utils_getKeyBoolean (_tmp11_, "preferences", "record_launch", TRUE); recordLaunch = _tmp12_; _tmp13_ = profile; _tmp14_ = mo_utils_getKeyBoolean (_tmp13_, "preferences", "enable_timeout", FALSE); enableTimeout = _tmp14_; _tmp15_ = profile; _tmp16_ = mo_utils_getKeyInteger (_tmp15_, "preferences", "timeout", 30); timeout = _tmp16_; _tmp17_ = font; _tmp18_ = fontColor; _tmp19_ = backgroundColor; _tmp20_ = highlightColor; _tmp21_ = preferences_new (useSystemMonospaceFont, _tmp17_, _tmp18_, _tmp19_, _tmp20_, recordLaunch, enableTimeout, timeout); result = _tmp21_; _g_free0 (highlightColor); _g_free0 (backgroundColor); _g_free0 (fontColor); _g_free0 (font); return result; } gboolean preferences_get_useSystemMonospaceFont (Preferences* self) { gboolean result; gboolean _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->_useSystemMonospaceFont; result = _tmp0_; return result; } static void preferences_set_useSystemMonospaceFont (Preferences* self, gboolean value) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_useSystemMonospaceFont = _tmp0_; g_object_notify ((GObject *) self, "useSystemMonospaceFont"); } const gchar* preferences_get_font (Preferences* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_font; result = _tmp0_; return result; } static void preferences_set_font (Preferences* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_font); self->priv->_font = _tmp1_; g_object_notify ((GObject *) self, "font"); } const gchar* preferences_get_fontColor (Preferences* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_fontColor; result = _tmp0_; return result; } static void preferences_set_fontColor (Preferences* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_fontColor); self->priv->_fontColor = _tmp1_; g_object_notify ((GObject *) self, "fontColor"); } const gchar* preferences_get_backgroundColor (Preferences* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_backgroundColor; result = _tmp0_; return result; } static void preferences_set_backgroundColor (Preferences* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_backgroundColor); self->priv->_backgroundColor = _tmp1_; g_object_notify ((GObject *) self, "backgroundColor"); } const gchar* preferences_get_highlightColor (Preferences* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_highlightColor; result = _tmp0_; return result; } static void preferences_set_highlightColor (Preferences* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_highlightColor); self->priv->_highlightColor = _tmp1_; g_object_notify ((GObject *) self, "highlightColor"); } gboolean preferences_get_recordLaunch (Preferences* self) { gboolean result; gboolean _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->_recordLaunch; result = _tmp0_; return result; } static void preferences_set_recordLaunch (Preferences* self, gboolean value) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_recordLaunch = _tmp0_; g_object_notify ((GObject *) self, "recordLaunch"); } gboolean preferences_get_enableTimeout (Preferences* self) { gboolean result; gboolean _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->_enableTimeout; result = _tmp0_; return result; } static void preferences_set_enableTimeout (Preferences* self, gboolean value) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_enableTimeout = _tmp0_; g_object_notify ((GObject *) self, "enableTimeout"); } gint preferences_get_timeout (Preferences* self) { gint result; gint _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_timeout; result = _tmp0_; return result; } static void preferences_set_timeout (Preferences* self, gint value) { gint _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_timeout = _tmp0_; g_object_notify ((GObject *) self, "timeout"); } static GObject * preferences_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Preferences * self; const gchar* _tmp0_; const gchar* _tmp2_; const gchar* _tmp4_; const gchar* _tmp6_; parent_class = G_OBJECT_CLASS (preferences_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = PREFERENCES (obj); _tmp0_ = self->priv->_font; if (_tmp0_ == NULL) { const gchar* _tmp1_; _tmp1_ = preferences_DEFAULT_FONT; preferences_set_font (self, _tmp1_); } _tmp2_ = self->priv->_fontColor; if (_tmp2_ == NULL) { const gchar* _tmp3_; _tmp3_ = preferences_DEFAULT_FONT_COLOR; preferences_set_fontColor (self, _tmp3_); } _tmp4_ = self->priv->_backgroundColor; if (_tmp4_ == NULL) { const gchar* _tmp5_; _tmp5_ = preferences_DEFAULT_BACKGROUND_COLOR; preferences_set_backgroundColor (self, _tmp5_); } _tmp6_ = self->priv->_highlightColor; if (_tmp6_ == NULL) { const gchar* _tmp7_; _tmp7_ = preferences_DEFAULT_HIGHLIGHT_COLOR; preferences_set_highlightColor (self, _tmp7_); } return obj; } static void preferences_class_init (PreferencesClass * klass) { gchar* _tmp0_; gchar* _tmp1_; gchar* _tmp2_; gchar* _tmp3_; preferences_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (PreferencesPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_preferences_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_preferences_set_property; G_OBJECT_CLASS (klass)->constructor = preferences_constructor; G_OBJECT_CLASS (klass)->finalize = preferences_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_USE_SYSTEM_MONOSPACE_FONT, g_param_spec_boolean ("useSystemMonospaceFont", "useSystemMonospaceFont", "useSystemMonospaceFont", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_FONT, g_param_spec_string ("font", "font", "font", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_FONT_COLOR, g_param_spec_string ("fontColor", "fontColor", "fontColor", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_BACKGROUND_COLOR, g_param_spec_string ("backgroundColor", "backgroundColor", "backgroundColor", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_HIGHLIGHT_COLOR, g_param_spec_string ("highlightColor", "highlightColor", "highlightColor", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_RECORD_LAUNCH, g_param_spec_boolean ("recordLaunch", "recordLaunch", "recordLaunch", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_ENABLE_TIMEOUT, g_param_spec_boolean ("enableTimeout", "enableTimeout", "enableTimeout", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), PREFERENCES_TIMEOUT, g_param_spec_int ("timeout", "timeout", "timeout", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); _tmp0_ = g_strdup ("Monospace 10"); preferences_DEFAULT_FONT = _tmp0_; _tmp1_ = g_strdup ("black"); preferences_DEFAULT_FONT_COLOR = _tmp1_; _tmp2_ = g_strdup ("white"); preferences_DEFAULT_BACKGROUND_COLOR = _tmp2_; _tmp3_ = g_strdup ("#2020ff"); preferences_DEFAULT_HIGHLIGHT_COLOR = _tmp3_; } static void preferences_instance_init (Preferences * self) { self->priv = PREFERENCES_GET_PRIVATE (self); } static void preferences_finalize (GObject* obj) { Preferences * self; self = PREFERENCES (obj); _g_free0 (self->priv->_font); _g_free0 (self->priv->_fontColor); _g_free0 (self->priv->_backgroundColor); _g_free0 (self->priv->_highlightColor); G_OBJECT_CLASS (preferences_parent_class)->finalize (obj); } GType preferences_get_type (void) { static volatile gsize preferences_type_id__volatile = 0; if (g_once_init_enter (&preferences_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (PreferencesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) preferences_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Preferences), 0, (GInstanceInitFunc) preferences_instance_init, NULL }; GType preferences_type_id; preferences_type_id = g_type_register_static (G_TYPE_OBJECT, "Preferences", &g_define_type_info, 0); g_once_init_leave (&preferences_type_id__volatile, preferences_type_id); } return preferences_type_id__volatile; } static void _vala_preferences_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Preferences * self; self = PREFERENCES (object); switch (property_id) { case PREFERENCES_USE_SYSTEM_MONOSPACE_FONT: g_value_set_boolean (value, preferences_get_useSystemMonospaceFont (self)); break; case PREFERENCES_FONT: g_value_set_string (value, preferences_get_font (self)); break; case PREFERENCES_FONT_COLOR: g_value_set_string (value, preferences_get_fontColor (self)); break; case PREFERENCES_BACKGROUND_COLOR: g_value_set_string (value, preferences_get_backgroundColor (self)); break; case PREFERENCES_HIGHLIGHT_COLOR: g_value_set_string (value, preferences_get_highlightColor (self)); break; case PREFERENCES_RECORD_LAUNCH: g_value_set_boolean (value, preferences_get_recordLaunch (self)); break; case PREFERENCES_ENABLE_TIMEOUT: g_value_set_boolean (value, preferences_get_enableTimeout (self)); break; case PREFERENCES_TIMEOUT: g_value_set_int (value, preferences_get_timeout (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_preferences_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Preferences * self; self = PREFERENCES (object); switch (property_id) { case PREFERENCES_USE_SYSTEM_MONOSPACE_FONT: preferences_set_useSystemMonospaceFont (self, g_value_get_boolean (value)); break; case PREFERENCES_FONT: preferences_set_font (self, g_value_get_string (value)); break; case PREFERENCES_FONT_COLOR: preferences_set_fontColor (self, g_value_get_string (value)); break; case PREFERENCES_BACKGROUND_COLOR: preferences_set_backgroundColor (self, g_value_get_string (value)); break; case PREFERENCES_HIGHLIGHT_COLOR: preferences_set_highlightColor (self, g_value_get_string (value)); break; case PREFERENCES_RECORD_LAUNCH: preferences_set_recordLaunch (self, g_value_get_boolean (value)); break; case PREFERENCES_ENABLE_TIMEOUT: preferences_set_enableTimeout (self, g_value_get_boolean (value)); break; case PREFERENCES_TIMEOUT: preferences_set_timeout (self, g_value_get_int (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/AutoScroll.c0000674000213200021320000001726512064104644013305 00000000000000/* AutoScroll.c generated by valac 0.16.1, the Vala compiler * generated from AutoScroll.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #define MOSERIAL_TYPE_AUTO_SCROLL (moserial_auto_scroll_get_type ()) #define MOSERIAL_AUTO_SCROLL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_AUTO_SCROLL, moserialAutoScroll)) #define MOSERIAL_AUTO_SCROLL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_AUTO_SCROLL, moserialAutoScrollClass)) #define MOSERIAL_IS_AUTO_SCROLL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_AUTO_SCROLL)) #define MOSERIAL_IS_AUTO_SCROLL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_AUTO_SCROLL)) #define MOSERIAL_AUTO_SCROLL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_AUTO_SCROLL, moserialAutoScrollClass)) typedef struct _moserialAutoScroll moserialAutoScroll; typedef struct _moserialAutoScrollClass moserialAutoScrollClass; typedef struct _moserialAutoScrollPrivate moserialAutoScrollPrivate; struct _moserialAutoScroll { GObject parent_instance; moserialAutoScrollPrivate * priv; }; struct _moserialAutoScrollClass { GObjectClass parent_class; }; static gpointer moserial_auto_scroll_parent_class = NULL; GType moserial_auto_scroll_get_type (void) G_GNUC_CONST; enum { MOSERIAL_AUTO_SCROLL_DUMMY_PROPERTY }; void moserial_auto_scroll_scroll (GtkAdjustment* va); void moserial_auto_scroll_doAutoScroll (GtkAdjustment* va); static void _moserial_auto_scroll_scroll_gtk_adjustment_changed (GtkAdjustment* _sender, gpointer self); void moserial_auto_scroll_setup (GtkAdjustment* incomingAsciiVerticalAdjuster, GtkAdjustment* incomingHexVerticalAdjuster, GtkAdjustment* outgoingAsciiVerticalAdjuster, GtkAdjustment* outgoingHexVerticalAdjuster); static void _moserial_auto_scroll_doAutoScroll_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self); moserialAutoScroll* moserial_auto_scroll_new (void); moserialAutoScroll* moserial_auto_scroll_construct (GType object_type); void moserial_auto_scroll_scroll (GtkAdjustment* va) { GtkAdjustment* _tmp0_; GtkAdjustment* _tmp1_; gdouble _tmp2_; gdouble _tmp3_; GtkAdjustment* _tmp4_; gdouble _tmp5_; gdouble _tmp6_; g_return_if_fail (va != NULL); _tmp0_ = va; _tmp1_ = va; _tmp2_ = gtk_adjustment_get_upper (_tmp1_); _tmp3_ = _tmp2_; _tmp4_ = va; _tmp5_ = gtk_adjustment_get_page_size (_tmp4_); _tmp6_ = _tmp5_; gtk_adjustment_set_value (_tmp0_, _tmp3_ - _tmp6_); } static void _moserial_auto_scroll_scroll_gtk_adjustment_changed (GtkAdjustment* _sender, gpointer self) { moserial_auto_scroll_scroll (_sender); } void moserial_auto_scroll_doAutoScroll (GtkAdjustment* va) { GtkAdjustment* _tmp0_; gdouble _tmp1_; gdouble _tmp2_; GtkAdjustment* _tmp3_; gdouble _tmp4_; gdouble _tmp5_; GtkAdjustment* _tmp6_; gdouble _tmp7_; gdouble _tmp8_; g_return_if_fail (va != NULL); _tmp0_ = va; _tmp1_ = gtk_adjustment_get_value (_tmp0_); _tmp2_ = _tmp1_; _tmp3_ = va; _tmp4_ = gtk_adjustment_get_upper (_tmp3_); _tmp5_ = _tmp4_; _tmp6_ = va; _tmp7_ = gtk_adjustment_get_page_size (_tmp6_); _tmp8_ = _tmp7_; if (_tmp2_ == (_tmp5_ - _tmp8_)) { GtkAdjustment* _tmp9_; _tmp9_ = va; g_signal_connect (_tmp9_, "changed", (GCallback) _moserial_auto_scroll_scroll_gtk_adjustment_changed, NULL); } else { GtkAdjustment* _tmp10_; guint _tmp11_ = 0U; _tmp10_ = va; g_signal_parse_name ("changed", GTK_TYPE_ADJUSTMENT, &_tmp11_, NULL, FALSE); g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _moserial_auto_scroll_scroll_gtk_adjustment_changed, NULL); } } static void _moserial_auto_scroll_doAutoScroll_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) { moserial_auto_scroll_doAutoScroll (_sender); } void moserial_auto_scroll_setup (GtkAdjustment* incomingAsciiVerticalAdjuster, GtkAdjustment* incomingHexVerticalAdjuster, GtkAdjustment* outgoingAsciiVerticalAdjuster, GtkAdjustment* outgoingHexVerticalAdjuster) { GtkAdjustment* _tmp0_; GtkAdjustment* _tmp1_; GtkAdjustment* _tmp2_; GtkAdjustment* _tmp3_; GtkAdjustment* _tmp4_; GtkAdjustment* _tmp5_; GtkAdjustment* _tmp6_; GtkAdjustment* _tmp7_; g_return_if_fail (incomingAsciiVerticalAdjuster != NULL); g_return_if_fail (incomingHexVerticalAdjuster != NULL); g_return_if_fail (outgoingAsciiVerticalAdjuster != NULL); g_return_if_fail (outgoingHexVerticalAdjuster != NULL); _tmp0_ = incomingAsciiVerticalAdjuster; g_signal_connect (_tmp0_, "changed", (GCallback) _moserial_auto_scroll_scroll_gtk_adjustment_changed, NULL); _tmp1_ = incomingAsciiVerticalAdjuster; g_signal_connect (_tmp1_, "value-changed", (GCallback) _moserial_auto_scroll_doAutoScroll_gtk_adjustment_value_changed, NULL); _tmp2_ = incomingHexVerticalAdjuster; g_signal_connect (_tmp2_, "changed", (GCallback) _moserial_auto_scroll_scroll_gtk_adjustment_changed, NULL); _tmp3_ = incomingHexVerticalAdjuster; g_signal_connect (_tmp3_, "value-changed", (GCallback) _moserial_auto_scroll_doAutoScroll_gtk_adjustment_value_changed, NULL); _tmp4_ = outgoingAsciiVerticalAdjuster; g_signal_connect (_tmp4_, "changed", (GCallback) _moserial_auto_scroll_scroll_gtk_adjustment_changed, NULL); _tmp5_ = outgoingAsciiVerticalAdjuster; g_signal_connect (_tmp5_, "value-changed", (GCallback) _moserial_auto_scroll_doAutoScroll_gtk_adjustment_value_changed, NULL); _tmp6_ = outgoingHexVerticalAdjuster; g_signal_connect (_tmp6_, "changed", (GCallback) _moserial_auto_scroll_scroll_gtk_adjustment_changed, NULL); _tmp7_ = outgoingHexVerticalAdjuster; g_signal_connect (_tmp7_, "value-changed", (GCallback) _moserial_auto_scroll_doAutoScroll_gtk_adjustment_value_changed, NULL); } moserialAutoScroll* moserial_auto_scroll_construct (GType object_type) { moserialAutoScroll * self = NULL; self = (moserialAutoScroll*) g_object_new (object_type, NULL); return self; } moserialAutoScroll* moserial_auto_scroll_new (void) { return moserial_auto_scroll_construct (MOSERIAL_TYPE_AUTO_SCROLL); } static void moserial_auto_scroll_class_init (moserialAutoScrollClass * klass) { moserial_auto_scroll_parent_class = g_type_class_peek_parent (klass); } static void moserial_auto_scroll_instance_init (moserialAutoScroll * self) { } GType moserial_auto_scroll_get_type (void) { static volatile gsize moserial_auto_scroll_type_id__volatile = 0; if (g_once_init_enter (&moserial_auto_scroll_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialAutoScrollClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_auto_scroll_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialAutoScroll), 0, (GInstanceInitFunc) moserial_auto_scroll_instance_init, NULL }; GType moserial_auto_scroll_type_id; moserial_auto_scroll_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialAutoScroll", &g_define_type_info, 0); g_once_init_leave (&moserial_auto_scroll_type_id__volatile, moserial_auto_scroll_type_id); } return moserial_auto_scroll_type_id__volatile; } moserial-3.0.8/src/Szwrapper.c0000674000213200021320000012371612064104644013212 00000000000000/* Szwrapper.c generated by valac 0.16.1, the Vala compiler * generated from Szwrapper.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ /*Class for communicating with the sz program*/ #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_SZWRAPPER (moserial_szwrapper_get_type ()) #define MOSERIAL_SZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapper)) #define MOSERIAL_SZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapperClass)) #define MOSERIAL_IS_SZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SZWRAPPER)) #define MOSERIAL_IS_SZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SZWRAPPER)) #define MOSERIAL_SZWRAPPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapperClass)) typedef struct _moserialSzwrapper moserialSzwrapper; typedef struct _moserialSzwrapperClass moserialSzwrapperClass; typedef struct _moserialSzwrapperPrivate moserialSzwrapperPrivate; #define MOSERIAL_SZWRAPPER_TYPE_PROTOCOL (moserial_szwrapper_protocol_get_type ()) #define MOSERIAL_TYPE_SERIAL_CONNECTION (moserial_serial_connection_get_type ()) #define MOSERIAL_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnection)) #define MOSERIAL_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) #define MOSERIAL_IS_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_IS_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_SERIAL_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) typedef struct _moserialSerialConnection moserialSerialConnection; typedef struct _moserialSerialConnectionClass moserialSerialConnectionClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_io_channel_unref0(var) ((var == NULL) ? NULL : (var = (g_io_channel_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) struct _moserialSzwrapper { GObject parent_instance; moserialSzwrapperPrivate * priv; gboolean running; }; struct _moserialSzwrapperClass { GObjectClass parent_class; }; typedef enum { MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_RAW, MOSERIAL_SZWRAPPER_PROTOCOL_NULL } moserialSzwrapperProtocol; struct _moserialSzwrapperPrivate { moserialSzwrapperProtocol _protocol; moserialSerialConnection* _sc; GIOChannel* IOChannelInput; GIOChannel* IOChannelOutput; GIOChannel* IOChannelError; guint outputChannelId; guint errorChannelId; GPid pid; gchar* _filename; }; static gpointer moserial_szwrapper_parent_class = NULL; GType moserial_szwrapper_get_type (void) G_GNUC_CONST; GType moserial_szwrapper_protocol_get_type (void) G_GNUC_CONST; GType moserial_serial_connection_get_type (void) G_GNUC_CONST; #define MOSERIAL_SZWRAPPER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapperPrivate)) enum { MOSERIAL_SZWRAPPER_DUMMY_PROPERTY, MOSERIAL_SZWRAPPER_PROTOCOL, MOSERIAL_SZWRAPPER_SC, MOSERIAL_SZWRAPPER_FILENAME }; moserialSzwrapper* moserial_szwrapper_new (moserialSzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* filename); moserialSzwrapper* moserial_szwrapper_construct (GType object_type, moserialSzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* filename); void moserial_szwrapper_writeChar (moserialSzwrapper* self, guchar byte); static void moserial_szwrapper_shutdown (moserialSzwrapper* self); static gboolean moserial_szwrapper_readError (moserialSzwrapper* self, GIOChannel* source, GIOCondition condition); gchar* mo_utils_getLastMessage (const gchar* messages); static gboolean moserial_szwrapper_shutdown_timeout (moserialSzwrapper* self); static gboolean _moserial_szwrapper_shutdown_timeout_gsource_func (gpointer self); void moserial_szwrapper_transferCanceled (moserialSzwrapper* self, GObject* o); moserialSzwrapperProtocol moserial_szwrapper_get_protocol (moserialSzwrapper* self); moserialSerialConnection* moserial_szwrapper_get_sc (moserialSzwrapper* self); void moserial_serial_connection_sendByte (moserialSerialConnection* self, guchar byte); static gboolean moserial_szwrapper_readBytes (moserialSzwrapper* self, GIOChannel* source, GIOCondition condition); void moserial_serial_connection_sendBytes (moserialSerialConnection* self, gchar* bytes, int bytes_length1, gsize size); static void moserial_szwrapper_set_protocol (moserialSzwrapper* self, moserialSzwrapperProtocol value); static void moserial_szwrapper_set_sc (moserialSzwrapper* self, moserialSerialConnection* value); const gchar* moserial_szwrapper_get_filename (moserialSzwrapper* self); static void moserial_szwrapper_set_filename (moserialSzwrapper* self, const gchar* value); static GObject * moserial_szwrapper_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static gboolean _moserial_szwrapper_readBytes_gio_func (GIOChannel* source, GIOCondition condition, gpointer self); static gboolean _moserial_szwrapper_readError_gio_func (GIOChannel* source, GIOCondition condition, gpointer self); static void moserial_szwrapper_finalize (GObject* obj); static void _vala_moserial_szwrapper_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_szwrapper_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); const gchar* MOSERIAL_SZWRAPPER_ProtocolStrings[4] = {"Xmodem", "Ymodem", "Zmodem", "None (straight binary)"}; GType moserial_szwrapper_protocol_get_type (void) { static volatile gsize moserial_szwrapper_protocol_type_id__volatile = 0; if (g_once_init_enter (&moserial_szwrapper_protocol_type_id__volatile)) { static const GEnumValue values[] = {{MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM, "MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM", "xmodem"}, {MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM, "MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM", "ymodem"}, {MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM, "MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM", "zmodem"}, {MOSERIAL_SZWRAPPER_PROTOCOL_RAW, "MOSERIAL_SZWRAPPER_PROTOCOL_RAW", "raw"}, {MOSERIAL_SZWRAPPER_PROTOCOL_NULL, "MOSERIAL_SZWRAPPER_PROTOCOL_NULL", "null"}, {0, NULL, NULL}}; GType moserial_szwrapper_protocol_type_id; moserial_szwrapper_protocol_type_id = g_enum_register_static ("moserialSzwrapperProtocol", values); g_once_init_leave (&moserial_szwrapper_protocol_type_id__volatile, moserial_szwrapper_protocol_type_id); } return moserial_szwrapper_protocol_type_id__volatile; } moserialSzwrapper* moserial_szwrapper_construct (GType object_type, moserialSzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* filename) { moserialSzwrapper * self = NULL; moserialSzwrapperProtocol* _tmp0_; moserialSzwrapperProtocol pro; moserialSerialConnection* _tmp1_; const gchar* _tmp2_; _tmp0_ = protocol; pro = *_tmp0_; _tmp1_ = sc; _tmp2_ = filename; self = (moserialSzwrapper*) g_object_new (object_type, "protocol", pro, "sc", _tmp1_, "filename", _tmp2_, NULL); return self; } moserialSzwrapper* moserial_szwrapper_new (moserialSzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* filename) { return moserial_szwrapper_construct (MOSERIAL_TYPE_SZWRAPPER, protocol, sc, filename); } void moserial_szwrapper_writeChar (moserialSzwrapper* self, guchar byte) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->running; if (_tmp0_) { gsize bytesWritten = 0UL; gchar* _tmp1_ = NULL; gchar* b; gint b_length1; gint _b_size_; gchar* _tmp2_; gint _tmp2__length1; guchar _tmp3_; gchar _tmp4_; _tmp1_ = g_new0 (gchar, 1); b = _tmp1_; b_length1 = 1; _b_size_ = b_length1; _tmp2_ = b; _tmp2__length1 = b_length1; _tmp3_ = byte; _tmp2_[0] = (gchar) _tmp3_; _tmp4_ = _tmp2_[0]; { gboolean _tmp5_; gboolean _tmp9_; _tmp5_ = self->running; if (_tmp5_) { GIOChannel* _tmp6_; gchar* _tmp7_; gint _tmp7__length1; gsize _tmp8_ = 0UL; _tmp6_ = self->priv->IOChannelInput; _tmp7_ = b; _tmp7__length1 = b_length1; g_io_channel_write_chars (_tmp6_, _tmp7_, _tmp7__length1, &_tmp8_, &_inner_error_); bytesWritten = _tmp8_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch20_g_io_channel_error; } if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch20_g_convert_error; } b = (g_free (b), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } _tmp9_ = self->running; if (_tmp9_) { GIOChannel* _tmp10_; _tmp10_ = self->priv->IOChannelInput; g_io_channel_flush (_tmp10_, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch20_g_io_channel_error; } if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch20_g_convert_error; } b = (g_free (b), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } } goto __finally20; __catch20_g_io_channel_error: { GError* e = NULL; FILE* _tmp11_; GError* _tmp12_; const gchar* _tmp13_; e = _inner_error_; _inner_error_ = NULL; moserial_szwrapper_shutdown (self); _tmp11_ = stdout; _tmp12_ = e; _tmp13_ = _tmp12_->message; fprintf (_tmp11_, "writeChar() %s\n", _tmp13_); _g_error_free0 (e); } goto __finally20; __catch20_g_convert_error: { GError* e = NULL; FILE* _tmp14_; GError* _tmp15_; const gchar* _tmp16_; e = _inner_error_; _inner_error_ = NULL; _tmp14_ = stdout; _tmp15_ = e; _tmp16_ = _tmp15_->message; fprintf (_tmp14_, "%s\n", _tmp16_); _g_error_free0 (e); } __finally20: if (_inner_error_ != NULL) { b = (g_free (b), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } b = (g_free (b), NULL); } } static gint string_index_of (const gchar* self, const gchar* needle, gint start_index) { gint result = 0; gint _tmp0_; const gchar* _tmp1_; gchar* _tmp2_ = NULL; gchar* _result_; gchar* _tmp3_; g_return_val_if_fail (self != NULL, 0); g_return_val_if_fail (needle != NULL, 0); _tmp0_ = start_index; _tmp1_ = needle; _tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); _result_ = _tmp2_; _tmp3_ = _result_; if (_tmp3_ != NULL) { gchar* _tmp4_; _tmp4_ = _result_; result = (gint) (_tmp4_ - ((gchar*) self)); return result; } else { result = -1; return result; } } static gboolean _moserial_szwrapper_shutdown_timeout_gsource_func (gpointer self) { gboolean result; result = moserial_szwrapper_shutdown_timeout (self); return result; } static gboolean moserial_szwrapper_readError (moserialSzwrapper* self, GIOChannel* source, GIOCondition condition) { gboolean result = FALSE; gboolean _tmp4_; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (source != NULL, FALSE); while (TRUE) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp3_; _tmp1_ = gtk_events_pending (); if (_tmp1_) { _tmp0_ = TRUE; } else { gboolean _tmp2_ = FALSE; _tmp2_ = gdk_events_pending (); _tmp0_ = _tmp2_; } _tmp3_ = _tmp0_; if (!_tmp3_) { break; } gtk_main_iteration_do (FALSE); } _tmp4_ = self->running; if (_tmp4_) { gchar* _tmp5_ = NULL; gchar* m_buf; gint m_buf_length1; gint _m_buf_size_; gchar* _tmp6_; gchar* messages; gchar* _tmp7_; gchar* message; gsize bytesRead; GIOCondition _tmp8_; const gchar* _tmp39_; gchar* _tmp40_ = NULL; const gchar* _tmp41_; const gchar* _tmp43_; gint _tmp44_ = 0; const gchar* _tmp45_; gint _tmp46_ = 0; _tmp5_ = g_new0 (gchar, 1000); m_buf = _tmp5_; m_buf_length1 = 1000; _m_buf_size_ = m_buf_length1; _tmp6_ = g_strdup (""); messages = _tmp6_; _tmp7_ = g_strdup (""); message = _tmp7_; bytesRead = (gsize) 0; _tmp8_ = condition; if (!(_tmp8_ == G_IO_IN)) { result = TRUE; _g_free0 (message); _g_free0 (messages); m_buf = (g_free (m_buf), NULL); return result; } { GIOChannel* _tmp9_; gchar* _tmp10_; gint _tmp10__length1; gsize _tmp11_ = 0UL; _tmp9_ = source; _tmp10_ = m_buf; _tmp10__length1 = m_buf_length1; g_io_channel_read_chars (_tmp9_, _tmp10_, _tmp10__length1, &_tmp11_, &_inner_error_); bytesRead = _tmp11_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch21_g_convert_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch21_g_io_channel_error; } _g_free0 (message); _g_free0 (messages); m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } } goto __finally21; __catch21_g_convert_error: { GError* e = NULL; FILE* _tmp12_; GError* _tmp13_; const gchar* _tmp14_; e = _inner_error_; _inner_error_ = NULL; _tmp12_ = stdout; _tmp13_ = e; _tmp14_ = _tmp13_->message; fprintf (_tmp12_, "%s\n", _tmp14_); _g_error_free0 (e); } goto __finally21; __catch21_g_io_channel_error: { GError* e = NULL; FILE* _tmp15_; GError* _tmp16_; const gchar* _tmp17_; e = _inner_error_; _inner_error_ = NULL; _tmp15_ = stdout; _tmp16_ = e; _tmp17_ = _tmp16_->message; fprintf (_tmp15_, "readError() %s\n", _tmp17_); _g_error_free0 (e); } __finally21: if (_inner_error_ != NULL) { _g_free0 (message); _g_free0 (messages); m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } { gint x; x = 0; { gboolean _tmp18_; _tmp18_ = TRUE; while (TRUE) { gboolean _tmp19_; gint _tmp21_; gsize _tmp22_; gchar* _tmp23_; gint _tmp23__length1; gint _tmp24_; gchar _tmp25_; gunichar c; gboolean _tmp26_ = FALSE; gunichar _tmp27_; gboolean _tmp28_ = FALSE; gboolean _tmp31_; _tmp19_ = _tmp18_; if (!_tmp19_) { gint _tmp20_; _tmp20_ = x; x = _tmp20_ + 1; } _tmp18_ = FALSE; _tmp21_ = x; _tmp22_ = bytesRead; if (!(((gsize) _tmp21_) < _tmp22_)) { break; } _tmp23_ = m_buf; _tmp23__length1 = m_buf_length1; _tmp24_ = x; _tmp25_ = _tmp23_[_tmp24_]; c = (gunichar) _tmp25_; _tmp27_ = c; _tmp28_ = g_unichar_isprint (_tmp27_); if (_tmp28_) { _tmp26_ = TRUE; } else { gunichar _tmp29_; gboolean _tmp30_ = FALSE; _tmp29_ = c; _tmp30_ = g_unichar_isspace (_tmp29_); _tmp26_ = _tmp30_; } _tmp31_ = _tmp26_; if (_tmp31_) { const gchar* _tmp32_; gchar* _tmp33_; gint _tmp33__length1; gint _tmp34_; gchar _tmp35_; gchar* _tmp36_ = NULL; gchar* _tmp37_; gchar* _tmp38_; _tmp32_ = messages; _tmp33_ = m_buf; _tmp33__length1 = m_buf_length1; _tmp34_ = x; _tmp35_ = _tmp33_[_tmp34_]; _tmp36_ = g_strdup_printf ("%c", (gint) _tmp35_); _tmp37_ = _tmp36_; _tmp38_ = g_strconcat (_tmp32_, _tmp37_, NULL); _g_free0 (messages); messages = _tmp38_; _g_free0 (_tmp37_); } } } } _tmp39_ = messages; _tmp40_ = mo_utils_getLastMessage (_tmp39_); _g_free0 (message); message = _tmp40_; _tmp41_ = message; if (!(g_strcmp0 (_tmp41_, "") == 0)) { const gchar* _tmp42_; _tmp42_ = message; g_signal_emit_by_name (self, "update-status", _tmp42_); } _tmp43_ = messages; _tmp44_ = string_index_of (_tmp43_, "Transfer complete", 0); if (_tmp44_ >= 0) { g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, _moserial_szwrapper_shutdown_timeout_gsource_func, g_object_ref (self), g_object_unref); } _tmp45_ = messages; _tmp46_ = string_index_of (_tmp45_, "Transfer incomplete", 0); if (_tmp46_ >= 0) { moserial_szwrapper_shutdown (self); } result = TRUE; _g_free0 (message); _g_free0 (messages); m_buf = (g_free (m_buf), NULL); return result; } else { result = FALSE; return result; } } void moserial_szwrapper_transferCanceled (moserialSzwrapper* self, GObject* o) { gboolean _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); _tmp0_ = self->running; if (_tmp0_) { const gchar* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; moserialSzwrapperProtocol _tmp4_; gboolean _tmp6_; gboolean _tmp8_; gboolean _tmp16_ = FALSE; gboolean _tmp17_ = FALSE; moserialSzwrapperProtocol _tmp18_; gboolean _tmp20_; gboolean _tmp22_; _tmp1_ = _ ("canceled"); g_signal_emit_by_name (self, "update-status", _tmp1_); _tmp4_ = self->priv->_protocol; if (_tmp4_ == MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM) { _tmp3_ = TRUE; } else { moserialSzwrapperProtocol _tmp5_; _tmp5_ = self->priv->_protocol; _tmp3_ = _tmp5_ == MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM; } _tmp6_ = _tmp3_; if (_tmp6_) { _tmp2_ = TRUE; } else { moserialSzwrapperProtocol _tmp7_; _tmp7_ = self->priv->_protocol; _tmp2_ = _tmp7_ == MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM; } _tmp8_ = _tmp2_; if (_tmp8_) { { gint x; x = 0; { gboolean _tmp9_; _tmp9_ = TRUE; while (TRUE) { gboolean _tmp10_; gint _tmp12_; moserialSzwrapperProtocol _tmp13_; _tmp10_ = _tmp9_; if (!_tmp10_) { gint _tmp11_; _tmp11_ = x; x = _tmp11_ + 1; } _tmp9_ = FALSE; _tmp12_ = x; if (!(_tmp12_ < 20)) { break; } _tmp13_ = self->priv->_protocol; if (_tmp13_ == MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM) { moserialSerialConnection* _tmp14_; _tmp14_ = self->priv->_sc; moserial_serial_connection_sendByte (_tmp14_, (guchar) ('X' & 037)); moserial_szwrapper_writeChar (self, (guchar) ('X' & 037)); } else { moserialSerialConnection* _tmp15_; _tmp15_ = self->priv->_sc; moserial_serial_connection_sendByte (_tmp15_, (guchar) 0x18); } } } } } _tmp18_ = self->priv->_protocol; if (_tmp18_ == MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM) { _tmp17_ = TRUE; } else { moserialSzwrapperProtocol _tmp19_; _tmp19_ = self->priv->_protocol; _tmp17_ = _tmp19_ == MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM; } _tmp20_ = _tmp17_; if (_tmp20_) { _tmp16_ = TRUE; } else { moserialSzwrapperProtocol _tmp21_; _tmp21_ = self->priv->_protocol; _tmp16_ = _tmp21_ == MOSERIAL_SZWRAPPER_PROTOCOL_RAW; } _tmp22_ = _tmp16_; if (_tmp22_) { moserial_szwrapper_shutdown (self); } } } static gboolean moserial_szwrapper_shutdown_timeout (moserialSzwrapper* self) { gboolean result = FALSE; g_return_val_if_fail (self != NULL, FALSE); moserial_szwrapper_shutdown (self); result = FALSE; return result; } static void moserial_szwrapper_shutdown (moserialSzwrapper* self) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = self->running; if (_tmp0_) { guint _tmp1_; guint _tmp2_; GPid _tmp3_; self->running = FALSE; _tmp1_ = self->priv->outputChannelId; g_source_remove (_tmp1_); _tmp2_ = self->priv->errorChannelId; g_source_remove (_tmp2_); _tmp3_ = self->priv->pid; g_spawn_close_pid (_tmp3_); g_signal_emit_by_name (self, "transfer-complete"); } } static gboolean moserial_szwrapper_readBytes (moserialSzwrapper* self, GIOChannel* source, GIOCondition condition) { gboolean result = FALSE; gboolean _tmp4_; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (source != NULL, FALSE); while (TRUE) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp3_; _tmp1_ = gtk_events_pending (); if (_tmp1_) { _tmp0_ = TRUE; } else { gboolean _tmp2_ = FALSE; _tmp2_ = gdk_events_pending (); _tmp0_ = _tmp2_; } _tmp3_ = _tmp0_; if (!_tmp3_) { break; } gtk_main_iteration_do (FALSE); } _tmp4_ = self->running; if (_tmp4_) { gchar* _tmp5_ = NULL; gchar* m_buf; gint m_buf_length1; gint _m_buf_size_; gsize bytesRead; GIOCondition _tmp6_; moserialSerialConnection* _tmp16_; gchar* _tmp17_; gint _tmp17__length1; gsize _tmp18_; _tmp5_ = g_new0 (gchar, 1024); m_buf = _tmp5_; m_buf_length1 = 1024; _m_buf_size_ = m_buf_length1; bytesRead = (gsize) 0; _tmp6_ = condition; if (!(_tmp6_ == G_IO_IN)) { result = TRUE; m_buf = (g_free (m_buf), NULL); return result; } { GIOChannel* _tmp7_; gchar* _tmp8_; gint _tmp8__length1; gsize _tmp9_ = 0UL; _tmp7_ = source; _tmp8_ = m_buf; _tmp8__length1 = m_buf_length1; g_io_channel_read_chars (_tmp7_, _tmp8_, _tmp8__length1, &_tmp9_, &_inner_error_); bytesRead = _tmp9_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch22_g_convert_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch22_g_io_channel_error; } m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } } goto __finally22; __catch22_g_convert_error: { GError* e = NULL; FILE* _tmp10_; GError* _tmp11_; const gchar* _tmp12_; e = _inner_error_; _inner_error_ = NULL; _tmp10_ = stdout; _tmp11_ = e; _tmp12_ = _tmp11_->message; fprintf (_tmp10_, "%s\n", _tmp12_); _g_error_free0 (e); } goto __finally22; __catch22_g_io_channel_error: { GError* e = NULL; FILE* _tmp13_; GError* _tmp14_; const gchar* _tmp15_; e = _inner_error_; _inner_error_ = NULL; _tmp13_ = stdout; _tmp14_ = e; _tmp15_ = _tmp14_->message; fprintf (_tmp13_, "readError() %s\n", _tmp15_); _g_error_free0 (e); } __finally22: if (_inner_error_ != NULL) { m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } _tmp16_ = self->priv->_sc; _tmp17_ = m_buf; _tmp17__length1 = m_buf_length1; _tmp18_ = bytesRead; moserial_serial_connection_sendBytes (_tmp16_, _tmp17_, _tmp17__length1, _tmp18_); result = TRUE; m_buf = (g_free (m_buf), NULL); return result; } else { result = FALSE; return result; } } moserialSzwrapperProtocol moserial_szwrapper_get_protocol (moserialSzwrapper* self) { moserialSzwrapperProtocol result; moserialSzwrapperProtocol _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_protocol; result = _tmp0_; return result; } static void moserial_szwrapper_set_protocol (moserialSzwrapper* self, moserialSzwrapperProtocol value) { moserialSzwrapperProtocol _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_protocol = _tmp0_; g_object_notify ((GObject *) self, "protocol"); } moserialSerialConnection* moserial_szwrapper_get_sc (moserialSzwrapper* self) { moserialSerialConnection* result; moserialSerialConnection* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_sc; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_szwrapper_set_sc (moserialSzwrapper* self, moserialSerialConnection* value) { moserialSerialConnection* _tmp0_; moserialSerialConnection* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_sc); self->priv->_sc = _tmp1_; g_object_notify ((GObject *) self, "sc"); } const gchar* moserial_szwrapper_get_filename (moserialSzwrapper* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_filename; result = _tmp0_; return result; } static void moserial_szwrapper_set_filename (moserialSzwrapper* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_filename); self->priv->_filename = _tmp1_; g_object_notify ((GObject *) self, "filename"); } static gboolean _moserial_szwrapper_readBytes_gio_func (GIOChannel* source, GIOCondition condition, gpointer self) { gboolean result; result = moserial_szwrapper_readBytes (self, source, condition); return result; } static gboolean _moserial_szwrapper_readError_gio_func (GIOChannel* source, GIOCondition condition, gpointer self) { gboolean result; result = moserial_szwrapper_readError (self, source, condition); return result; } static GObject * moserial_szwrapper_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialSzwrapper * self; gboolean _tmp0_ = FALSE; moserialSzwrapperProtocol _tmp1_; gboolean _tmp3_; GError * _inner_error_ = NULL; parent_class = G_OBJECT_CLASS (moserial_szwrapper_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_SZWRAPPER (obj); _tmp1_ = self->priv->_protocol; if (_tmp1_ == MOSERIAL_SZWRAPPER_PROTOCOL_NULL) { _tmp0_ = TRUE; } else { const gchar* _tmp2_; _tmp2_ = self->priv->_filename; _tmp0_ = _tmp2_ == NULL; } _tmp3_ = _tmp0_; if (_tmp3_) { self->running = FALSE; } else { gchar** argv = NULL; gint argv_length1 = 0; gint _argv_size_ = 0; moserialSzwrapperProtocol _tmp4_; gint output = 0; gint _error_ = 0; gint input = 0; _tmp4_ = self->priv->_protocol; if (_tmp4_ == MOSERIAL_SZWRAPPER_PROTOCOL_RAW) { gchar** _tmp5_ = NULL; gchar** _tmp6_; gint _tmp6__length1; gchar* _tmp7_; gchar* _tmp8_; gchar** _tmp9_; gint _tmp9__length1; const gchar* _tmp10_; gchar* _tmp11_; gchar* _tmp12_; _tmp5_ = g_new0 (gchar*, 2 + 1); argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); argv = _tmp5_; argv_length1 = 2; _argv_size_ = argv_length1; _tmp6_ = argv; _tmp6__length1 = argv_length1; _tmp7_ = g_strdup ("cat"); _g_free0 (_tmp6_[0]); _tmp6_[0] = _tmp7_; _tmp8_ = _tmp6_[0]; _tmp9_ = argv; _tmp9__length1 = argv_length1; _tmp10_ = self->priv->_filename; _tmp11_ = g_strdup (_tmp10_); _g_free0 (_tmp9_[1]); _tmp9_[1] = _tmp11_; _tmp12_ = _tmp9_[1]; } else { gchar** _tmp13_ = NULL; gchar** _tmp14_; gint _tmp14__length1; gchar* _tmp15_; gchar* _tmp16_; moserialSzwrapperProtocol _tmp17_; gchar** _tmp27_; gint _tmp27__length1; gchar* _tmp28_; gchar* _tmp29_; gchar** _tmp30_; gint _tmp30__length1; const gchar* _tmp31_; gchar* _tmp32_; gchar* _tmp33_; _tmp13_ = g_new0 (gchar*, 4 + 1); argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); argv = _tmp13_; argv_length1 = 4; _argv_size_ = argv_length1; _tmp14_ = argv; _tmp14__length1 = argv_length1; _tmp15_ = g_strdup ("sz"); _g_free0 (_tmp14_[0]); _tmp14_[0] = _tmp15_; _tmp16_ = _tmp14_[0]; _tmp17_ = self->priv->_protocol; switch (_tmp17_) { case MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM: { gchar** _tmp18_; gint _tmp18__length1; gchar* _tmp19_; gchar* _tmp20_; _tmp18_ = argv; _tmp18__length1 = argv_length1; _tmp19_ = g_strdup ("--xmodem"); _g_free0 (_tmp18_[1]); _tmp18_[1] = _tmp19_; _tmp20_ = _tmp18_[1]; break; } case MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM: { gchar** _tmp21_; gint _tmp21__length1; gchar* _tmp22_; gchar* _tmp23_; _tmp21_ = argv; _tmp21__length1 = argv_length1; _tmp22_ = g_strdup ("--ymodem"); _g_free0 (_tmp21_[1]); _tmp21_[1] = _tmp22_; _tmp23_ = _tmp21_[1]; break; } default: case MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM: { gchar** _tmp24_; gint _tmp24__length1; gchar* _tmp25_; gchar* _tmp26_; _tmp24_ = argv; _tmp24__length1 = argv_length1; _tmp25_ = g_strdup ("--zmodem"); _g_free0 (_tmp24_[1]); _tmp24_[1] = _tmp25_; _tmp26_ = _tmp24_[1]; break; } } _tmp27_ = argv; _tmp27__length1 = argv_length1; _tmp28_ = g_strdup ("-vv"); _g_free0 (_tmp27_[2]); _tmp27_[2] = _tmp28_; _tmp29_ = _tmp27_[2]; _tmp30_ = argv; _tmp30__length1 = argv_length1; _tmp31_ = self->priv->_filename; _tmp32_ = g_strdup (_tmp31_); _g_free0 (_tmp30_[3]); _tmp30_[3] = _tmp32_; _tmp33_ = _tmp30_[3]; } { gchar** _tmp34_; gint _tmp34__length1; GPid _tmp35_ = 0; gint _tmp36_ = 0; gint _tmp37_ = 0; gint _tmp38_ = 0; gint _tmp39_; GIOChannel* _tmp40_; gint _tmp41_; GIOChannel* _tmp42_; gint _tmp43_; GIOChannel* _tmp44_; GIOChannel* _tmp45_; GIOChannel* _tmp46_; GIOChannel* _tmp47_; GIOChannel* _tmp48_; GIOChannel* _tmp49_; GIOChannel* _tmp50_; guint _tmp51_ = 0U; GIOChannel* _tmp52_; guint _tmp53_ = 0U; _tmp34_ = argv; _tmp34__length1 = argv_length1; g_spawn_async_with_pipes (NULL, _tmp34_, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, &_tmp35_, &_tmp36_, &_tmp37_, &_tmp38_, &_inner_error_); self->priv->pid = _tmp35_; input = _tmp36_; output = _tmp37_; _error_ = _tmp38_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch23_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch23_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp39_ = output; _tmp40_ = g_io_channel_unix_new (_tmp39_); _g_io_channel_unref0 (self->priv->IOChannelOutput); self->priv->IOChannelOutput = _tmp40_; _tmp41_ = input; _tmp42_ = g_io_channel_unix_new (_tmp41_); _g_io_channel_unref0 (self->priv->IOChannelInput); self->priv->IOChannelInput = _tmp42_; _tmp43_ = _error_; _tmp44_ = g_io_channel_unix_new (_tmp43_); _g_io_channel_unref0 (self->priv->IOChannelError); self->priv->IOChannelError = _tmp44_; _tmp45_ = self->priv->IOChannelOutput; g_io_channel_set_encoding (_tmp45_, NULL, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch23_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch23_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp46_ = self->priv->IOChannelOutput; g_io_channel_set_flags (_tmp46_, G_IO_FLAG_NONBLOCK, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch23_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch23_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp47_ = self->priv->IOChannelError; g_io_channel_set_encoding (_tmp47_, NULL, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch23_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch23_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp48_ = self->priv->IOChannelError; g_io_channel_set_flags (_tmp48_, G_IO_FLAG_NONBLOCK, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch23_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch23_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp49_ = self->priv->IOChannelInput; g_io_channel_set_encoding (_tmp49_, NULL, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch23_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch23_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp50_ = self->priv->IOChannelOutput; _tmp51_ = g_io_add_watch (_tmp50_, G_IO_IN, _moserial_szwrapper_readBytes_gio_func, self); self->priv->outputChannelId = _tmp51_; _tmp52_ = self->priv->IOChannelError; _tmp53_ = g_io_add_watch (_tmp52_, G_IO_IN, _moserial_szwrapper_readError_gio_func, self); self->priv->errorChannelId = _tmp53_; self->running = TRUE; } goto __finally23; __catch23_g_spawn_error: { GError* e = NULL; FILE* _tmp54_; GError* _tmp55_; const gchar* _tmp56_; GError* _tmp57_; const gchar* _tmp58_; GtkMessageDialog* _tmp59_; GtkMessageDialog* _tmp60_; GtkMessageDialog* errorDialog; GtkMessageDialog* _tmp61_; GtkMessageDialog* _tmp62_; e = _inner_error_; _inner_error_ = NULL; self->running = FALSE; _tmp54_ = stdout; _tmp55_ = e; _tmp56_ = _tmp55_->message; fprintf (_tmp54_, "spawn error: %s\n", _tmp56_); _tmp57_ = e; _tmp58_ = _tmp57_->message; _tmp59_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp58_); _tmp60_ = g_object_ref_sink (_tmp59_); errorDialog = _tmp60_; _tmp61_ = errorDialog; gtk_dialog_run ((GtkDialog*) _tmp61_); _tmp62_ = errorDialog; gtk_widget_destroy ((GtkWidget*) _tmp62_); _g_object_unref0 (errorDialog); _g_error_free0 (e); } goto __finally23; __catch23_g_io_channel_error: { GError* e = NULL; FILE* _tmp63_; GError* _tmp64_; const gchar* _tmp65_; e = _inner_error_; _inner_error_ = NULL; _tmp63_ = stdout; _tmp64_ = e; _tmp65_ = _tmp64_->message; fprintf (_tmp63_, "readError() %s\n", _tmp65_); _g_error_free0 (e); } __finally23: if (_inner_error_ != NULL) { argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); } return obj; } static void moserial_szwrapper_class_init (moserialSzwrapperClass * klass) { moserial_szwrapper_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialSzwrapperPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_szwrapper_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_szwrapper_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_szwrapper_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_szwrapper_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_SZWRAPPER_PROTOCOL, g_param_spec_enum ("protocol", "protocol", "protocol", MOSERIAL_SZWRAPPER_TYPE_PROTOCOL, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_SZWRAPPER_SC, g_param_spec_object ("sc", "sc", "sc", MOSERIAL_TYPE_SERIAL_CONNECTION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_SZWRAPPER_FILENAME, g_param_spec_string ("filename", "filename", "filename", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("transfer_complete", MOSERIAL_TYPE_SZWRAPPER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); g_signal_new ("update_status", MOSERIAL_TYPE_SZWRAPPER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); } static void moserial_szwrapper_instance_init (moserialSzwrapper * self) { self->priv = MOSERIAL_SZWRAPPER_GET_PRIVATE (self); self->running = FALSE; } static void moserial_szwrapper_finalize (GObject* obj) { moserialSzwrapper * self; self = MOSERIAL_SZWRAPPER (obj); _g_object_unref0 (self->priv->_sc); _g_io_channel_unref0 (self->priv->IOChannelInput); _g_io_channel_unref0 (self->priv->IOChannelOutput); _g_io_channel_unref0 (self->priv->IOChannelError); _g_free0 (self->priv->_filename); G_OBJECT_CLASS (moserial_szwrapper_parent_class)->finalize (obj); } GType moserial_szwrapper_get_type (void) { static volatile gsize moserial_szwrapper_type_id__volatile = 0; if (g_once_init_enter (&moserial_szwrapper_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialSzwrapperClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_szwrapper_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialSzwrapper), 0, (GInstanceInitFunc) moserial_szwrapper_instance_init, NULL }; GType moserial_szwrapper_type_id; moserial_szwrapper_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialSzwrapper", &g_define_type_info, 0); g_once_init_leave (&moserial_szwrapper_type_id__volatile, moserial_szwrapper_type_id); } return moserial_szwrapper_type_id__volatile; } static void _vala_moserial_szwrapper_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialSzwrapper * self; self = MOSERIAL_SZWRAPPER (object); switch (property_id) { case MOSERIAL_SZWRAPPER_PROTOCOL: g_value_set_enum (value, moserial_szwrapper_get_protocol (self)); break; case MOSERIAL_SZWRAPPER_SC: g_value_set_object (value, moserial_szwrapper_get_sc (self)); break; case MOSERIAL_SZWRAPPER_FILENAME: g_value_set_string (value, moserial_szwrapper_get_filename (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_szwrapper_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialSzwrapper * self; self = MOSERIAL_SZWRAPPER (object); switch (property_id) { case MOSERIAL_SZWRAPPER_PROTOCOL: moserial_szwrapper_set_protocol (self, g_value_get_enum (value)); break; case MOSERIAL_SZWRAPPER_SC: moserial_szwrapper_set_sc (self, g_value_get_object (value)); break; case MOSERIAL_SZWRAPPER_FILENAME: moserial_szwrapper_set_filename (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } moserial-3.0.8/src/SendChooserDialog.c0000674000213200021320000003244512064104644014547 00000000000000/* SendChooserDialog.c generated by valac 0.16.1, the Vala compiler * generated from SendChooserDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #define MOSERIAL_TYPE_SEND_CHOOSER_DIALOG (moserial_send_chooser_dialog_get_type ()) #define MOSERIAL_SEND_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialog)) #define MOSERIAL_SEND_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialogClass)) #define MOSERIAL_IS_SEND_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG)) #define MOSERIAL_IS_SEND_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG)) #define MOSERIAL_SEND_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialogClass)) typedef struct _moserialSendChooserDialog moserialSendChooserDialog; typedef struct _moserialSendChooserDialogClass moserialSendChooserDialogClass; typedef struct _moserialSendChooserDialogPrivate moserialSendChooserDialogPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define MOSERIAL_SZWRAPPER_TYPE_PROTOCOL (moserial_szwrapper_protocol_get_type ()) struct _moserialSendChooserDialog { GObject parent_instance; moserialSendChooserDialogPrivate * priv; GtkComboBox* protocolCombo; gchar* filename; }; struct _moserialSendChooserDialogClass { GObjectClass parent_class; }; struct _moserialSendChooserDialogPrivate { GtkBuilder* _builder; GtkFileChooserDialog* dialog; }; typedef enum { MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_RAW, MOSERIAL_SZWRAPPER_PROTOCOL_NULL } moserialSzwrapperProtocol; static gpointer moserial_send_chooser_dialog_parent_class = NULL; GType moserial_send_chooser_dialog_get_type (void) G_GNUC_CONST; #define MOSERIAL_SEND_CHOOSER_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialogPrivate)) enum { MOSERIAL_SEND_CHOOSER_DIALOG_DUMMY_PROPERTY, MOSERIAL_SEND_CHOOSER_DIALOG_BUILDER }; moserialSendChooserDialog* moserial_send_chooser_dialog_new (GtkBuilder* builder); moserialSendChooserDialog* moserial_send_chooser_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_send_chooser_dialog_show (moserialSendChooserDialog* self, const gchar* folder); gboolean mo_utils_fileExists (const gchar* path); gboolean moserial_send_chooser_dialog_hide (moserialSendChooserDialog* self); static void moserial_send_chooser_dialog_response (moserialSendChooserDialog* self, GtkWidget* w, gint r); GtkBuilder* moserial_send_chooser_dialog_get_builder (moserialSendChooserDialog* self); static void moserial_send_chooser_dialog_set_builder (moserialSendChooserDialog* self, GtkBuilder* value); static GObject * moserial_send_chooser_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1); static gboolean _moserial_send_chooser_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); GType moserial_szwrapper_protocol_get_type (void) G_GNUC_CONST; static void _moserial_send_chooser_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self); static void moserial_send_chooser_dialog_finalize (GObject* obj); static void _vala_moserial_send_chooser_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_send_chooser_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); extern const gchar* MOSERIAL_SZWRAPPER_ProtocolStrings[4]; moserialSendChooserDialog* moserial_send_chooser_dialog_construct (GType object_type, GtkBuilder* builder) { moserialSendChooserDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialSendChooserDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialSendChooserDialog* moserial_send_chooser_dialog_new (GtkBuilder* builder) { return moserial_send_chooser_dialog_construct (MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, builder); } void moserial_send_chooser_dialog_show (moserialSendChooserDialog* self, const gchar* folder) { gboolean _tmp0_ = FALSE; const gchar* _tmp1_; gboolean _tmp4_; GtkFileChooserDialog* _tmp7_; g_return_if_fail (self != NULL); _tmp1_ = folder; if (_tmp1_ != NULL) { const gchar* _tmp2_; gboolean _tmp3_ = FALSE; _tmp2_ = folder; _tmp3_ = mo_utils_fileExists (_tmp2_); _tmp0_ = _tmp3_; } else { _tmp0_ = FALSE; } _tmp4_ = _tmp0_; if (_tmp4_) { GtkFileChooserDialog* _tmp5_; const gchar* _tmp6_; _tmp5_ = self->priv->dialog; _tmp6_ = folder; gtk_file_chooser_set_current_folder ((GtkFileChooser*) _tmp5_, _tmp6_); } _tmp7_ = self->priv->dialog; gtk_dialog_run ((GtkDialog*) _tmp7_); } gboolean moserial_send_chooser_dialog_hide (moserialSendChooserDialog* self) { gboolean result = FALSE; GtkFileChooserDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } static void moserial_send_chooser_dialog_response (moserialSendChooserDialog* self, GtkWidget* w, gint r) { gint _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _tmp0_ = r; if (_tmp0_ == ((gint) GTK_RESPONSE_CANCEL)) { moserial_send_chooser_dialog_hide (self); } else { gint _tmp1_; _tmp1_ = r; if (_tmp1_ == ((gint) GTK_RESPONSE_ACCEPT)) { GtkFileChooserDialog* _tmp2_; gchar* _tmp3_ = NULL; moserial_send_chooser_dialog_hide (self); _tmp2_ = self->priv->dialog; _tmp3_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp2_); _g_free0 (self->filename); self->filename = _tmp3_; g_signal_emit_by_name (self, "start-transfer"); } else { } } } GtkBuilder* moserial_send_chooser_dialog_get_builder (moserialSendChooserDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_send_chooser_dialog_set_builder (moserialSendChooserDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static gboolean _moserial_send_chooser_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_send_chooser_dialog_hide (self); return result; } static void _moserial_send_chooser_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { moserial_send_chooser_dialog_response (self, _sender, response_id); } static GObject * moserial_send_chooser_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialSendChooserDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkFileChooserDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkComboBox* _tmp5_; GtkComboBox* _tmp6_; GtkFileChooserDialog* _tmp7_; GtkFileChooserDialog* _tmp8_; GtkComboBox* _tmp9_; GtkFileChooserDialog* _tmp10_; parent_class = G_OBJECT_CLASS (moserial_send_chooser_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_SEND_CHOOSER_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "send_chooser_dialog"); _tmp2_ = _g_object_ref0 (GTK_FILE_CHOOSER_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "send_chooser_protocol"); _tmp5_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp4_)); _g_object_unref0 (self->protocolCombo); self->protocolCombo = _tmp5_; _tmp6_ = self->protocolCombo; mo_utils_populateComboBox (_tmp6_, MOSERIAL_SZWRAPPER_ProtocolStrings, G_N_ELEMENTS (MOSERIAL_SZWRAPPER_ProtocolStrings)); _tmp7_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp7_, "delete-event", (GCallback) _moserial_send_chooser_dialog_hide_gtk_widget_delete_event, self, 0); _tmp8_ = self->priv->dialog; gtk_dialog_add_buttons ((GtkDialog*) _tmp8_, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL, NULL); _tmp9_ = self->protocolCombo; gtk_combo_box_set_active (_tmp9_, (gint) MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM); _tmp10_ = self->priv->dialog; g_signal_connect_object ((GtkDialog*) _tmp10_, "response", (GCallback) _moserial_send_chooser_dialog_response_gtk_dialog_response, self, 0); return obj; } static void moserial_send_chooser_dialog_class_init (moserialSendChooserDialogClass * klass) { moserial_send_chooser_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialSendChooserDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_send_chooser_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_send_chooser_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_send_chooser_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_send_chooser_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_SEND_CHOOSER_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("start_transfer", MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); } static void moserial_send_chooser_dialog_instance_init (moserialSendChooserDialog * self) { self->priv = MOSERIAL_SEND_CHOOSER_DIALOG_GET_PRIVATE (self); } static void moserial_send_chooser_dialog_finalize (GObject* obj) { moserialSendChooserDialog * self; self = MOSERIAL_SEND_CHOOSER_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->protocolCombo); _g_free0 (self->filename); G_OBJECT_CLASS (moserial_send_chooser_dialog_parent_class)->finalize (obj); } GType moserial_send_chooser_dialog_get_type (void) { static volatile gsize moserial_send_chooser_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_send_chooser_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialSendChooserDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_send_chooser_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialSendChooserDialog), 0, (GInstanceInitFunc) moserial_send_chooser_dialog_instance_init, NULL }; GType moserial_send_chooser_dialog_type_id; moserial_send_chooser_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialSendChooserDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_send_chooser_dialog_type_id__volatile, moserial_send_chooser_dialog_type_id); } return moserial_send_chooser_dialog_type_id__volatile; } static void _vala_moserial_send_chooser_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialSendChooserDialog * self; self = MOSERIAL_SEND_CHOOSER_DIALOG (object); switch (property_id) { case MOSERIAL_SEND_CHOOSER_DIALOG_BUILDER: g_value_set_object (value, moserial_send_chooser_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_send_chooser_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialSendChooserDialog * self; self = MOSERIAL_SEND_CHOOSER_DIALOG (object); switch (property_id) { case MOSERIAL_SEND_CHOOSER_DIALOG_BUILDER: moserial_send_chooser_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/XmodemFilenameDialog.c0000674000213200021320000002741512064104644015226 00000000000000/* XmodemFilenameDialog.c generated by valac 0.16.1, the Vala compiler * generated from XmodemFilenameDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #define MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG (moserial_xmodem_filename_dialog_get_type ()) #define MOSERIAL_XMODEM_FILENAME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialog)) #define MOSERIAL_XMODEM_FILENAME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialogClass)) #define MOSERIAL_IS_XMODEM_FILENAME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG)) #define MOSERIAL_IS_XMODEM_FILENAME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG)) #define MOSERIAL_XMODEM_FILENAME_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialogClass)) typedef struct _moserialXmodemFilenameDialog moserialXmodemFilenameDialog; typedef struct _moserialXmodemFilenameDialogClass moserialXmodemFilenameDialogClass; typedef struct _moserialXmodemFilenameDialogPrivate moserialXmodemFilenameDialogPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) struct _moserialXmodemFilenameDialog { GObject parent_instance; moserialXmodemFilenameDialogPrivate * priv; gchar* filename; }; struct _moserialXmodemFilenameDialogClass { GObjectClass parent_class; }; struct _moserialXmodemFilenameDialogPrivate { GtkBuilder* _builder; GtkDialog* dialog; GtkEntry* xmodemFilename; }; static gpointer moserial_xmodem_filename_dialog_parent_class = NULL; GType moserial_xmodem_filename_dialog_get_type (void) G_GNUC_CONST; #define MOSERIAL_XMODEM_FILENAME_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialogPrivate)) enum { MOSERIAL_XMODEM_FILENAME_DIALOG_DUMMY_PROPERTY, MOSERIAL_XMODEM_FILENAME_DIALOG_BUILDER }; moserialXmodemFilenameDialog* moserial_xmodem_filename_dialog_new (GtkBuilder* builder); moserialXmodemFilenameDialog* moserial_xmodem_filename_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_xmodem_filename_dialog_show (moserialXmodemFilenameDialog* self); gboolean moserial_xmodem_filename_dialog_hide (moserialXmodemFilenameDialog* self); static void moserial_xmodem_filename_dialog_response (moserialXmodemFilenameDialog* self, GtkWidget* w, gint r); GtkBuilder* moserial_xmodem_filename_dialog_get_builder (moserialXmodemFilenameDialog* self); static void moserial_xmodem_filename_dialog_set_builder (moserialXmodemFilenameDialog* self, GtkBuilder* value); static GObject * moserial_xmodem_filename_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static gboolean _moserial_xmodem_filename_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static void _moserial_xmodem_filename_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self); static void moserial_xmodem_filename_dialog_finalize (GObject* obj); static void _vala_moserial_xmodem_filename_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_xmodem_filename_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); moserialXmodemFilenameDialog* moserial_xmodem_filename_dialog_construct (GType object_type, GtkBuilder* builder) { moserialXmodemFilenameDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialXmodemFilenameDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialXmodemFilenameDialog* moserial_xmodem_filename_dialog_new (GtkBuilder* builder) { return moserial_xmodem_filename_dialog_construct (MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, builder); } void moserial_xmodem_filename_dialog_show (moserialXmodemFilenameDialog* self) { GtkDialog* _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->dialog; gtk_dialog_run (_tmp0_); } gboolean moserial_xmodem_filename_dialog_hide (moserialXmodemFilenameDialog* self) { gboolean result = FALSE; GtkDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } static void moserial_xmodem_filename_dialog_response (moserialXmodemFilenameDialog* self, GtkWidget* w, gint r) { GtkEntry* _tmp0_; const gchar* _tmp1_ = NULL; gchar* _tmp2_; const gchar* _tmp3_; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _tmp0_ = self->priv->xmodemFilename; _tmp1_ = gtk_entry_get_text (_tmp0_); _tmp2_ = g_strdup (_tmp1_); _g_free0 (self->filename); self->filename = _tmp2_; moserial_xmodem_filename_dialog_hide (self); _tmp3_ = self->filename; if (g_strcmp0 (_tmp3_, "") == 0) { gchar* _tmp4_; _tmp4_ = g_strdup ("xmodem.file"); _g_free0 (self->filename); self->filename = _tmp4_; } } GtkBuilder* moserial_xmodem_filename_dialog_get_builder (moserialXmodemFilenameDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_xmodem_filename_dialog_set_builder (moserialXmodemFilenameDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static gboolean _moserial_xmodem_filename_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_xmodem_filename_dialog_hide (self); return result; } static void _moserial_xmodem_filename_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { moserial_xmodem_filename_dialog_response (self, _sender, response_id); } static GObject * moserial_xmodem_filename_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialXmodemFilenameDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkEntry* _tmp5_; GtkDialog* _tmp6_; GtkDialog* _tmp7_; parent_class = G_OBJECT_CLASS (moserial_xmodem_filename_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_XMODEM_FILENAME_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "xmodem_filename_dialog"); _tmp2_ = _g_object_ref0 (GTK_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "xmodem_filename"); _tmp5_ = _g_object_ref0 (GTK_ENTRY (_tmp4_)); _g_object_unref0 (self->priv->xmodemFilename); self->priv->xmodemFilename = _tmp5_; _tmp6_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp6_, "delete-event", (GCallback) _moserial_xmodem_filename_dialog_hide_gtk_widget_delete_event, self, 0); _tmp7_ = self->priv->dialog; g_signal_connect_object (_tmp7_, "response", (GCallback) _moserial_xmodem_filename_dialog_response_gtk_dialog_response, self, 0); return obj; } static void moserial_xmodem_filename_dialog_class_init (moserialXmodemFilenameDialogClass * klass) { moserial_xmodem_filename_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialXmodemFilenameDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_xmodem_filename_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_xmodem_filename_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_xmodem_filename_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_xmodem_filename_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_XMODEM_FILENAME_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void moserial_xmodem_filename_dialog_instance_init (moserialXmodemFilenameDialog * self) { self->priv = MOSERIAL_XMODEM_FILENAME_DIALOG_GET_PRIVATE (self); } static void moserial_xmodem_filename_dialog_finalize (GObject* obj) { moserialXmodemFilenameDialog * self; self = MOSERIAL_XMODEM_FILENAME_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->priv->xmodemFilename); _g_free0 (self->filename); G_OBJECT_CLASS (moserial_xmodem_filename_dialog_parent_class)->finalize (obj); } GType moserial_xmodem_filename_dialog_get_type (void) { static volatile gsize moserial_xmodem_filename_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_xmodem_filename_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialXmodemFilenameDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_xmodem_filename_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialXmodemFilenameDialog), 0, (GInstanceInitFunc) moserial_xmodem_filename_dialog_instance_init, NULL }; GType moserial_xmodem_filename_dialog_type_id; moserial_xmodem_filename_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialXmodemFilenameDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_xmodem_filename_dialog_type_id__volatile, moserial_xmodem_filename_dialog_type_id); } return moserial_xmodem_filename_dialog_type_id__volatile; } static void _vala_moserial_xmodem_filename_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialXmodemFilenameDialog * self; self = MOSERIAL_XMODEM_FILENAME_DIALOG (object); switch (property_id) { case MOSERIAL_XMODEM_FILENAME_DIALOG_BUILDER: g_value_set_object (value, moserial_xmodem_filename_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_xmodem_filename_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialXmodemFilenameDialog * self; self = MOSERIAL_XMODEM_FILENAME_DIALOG (object); switch (property_id) { case MOSERIAL_XMODEM_FILENAME_DIALOG_BUILDER: moserial_xmodem_filename_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/Rzwrapper.c0000674000213200021320000012340712064104644013206 00000000000000/* Rzwrapper.c generated by valac 0.16.1, the Vala compiler * generated from Rzwrapper.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ /*Class for communicating with the rz program*/ #include #include #include #include #include #include #define MOSERIAL_TYPE_RZWRAPPER (moserial_rzwrapper_get_type ()) #define MOSERIAL_RZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapper)) #define MOSERIAL_RZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapperClass)) #define MOSERIAL_IS_RZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RZWRAPPER)) #define MOSERIAL_IS_RZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RZWRAPPER)) #define MOSERIAL_RZWRAPPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapperClass)) typedef struct _moserialRzwrapper moserialRzwrapper; typedef struct _moserialRzwrapperClass moserialRzwrapperClass; typedef struct _moserialRzwrapperPrivate moserialRzwrapperPrivate; #define MOSERIAL_RZWRAPPER_TYPE_PROTOCOL (moserial_rzwrapper_protocol_get_type ()) #define MOSERIAL_TYPE_SERIAL_CONNECTION (moserial_serial_connection_get_type ()) #define MOSERIAL_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnection)) #define MOSERIAL_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) #define MOSERIAL_IS_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_IS_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_SERIAL_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) typedef struct _moserialSerialConnection moserialSerialConnection; typedef struct _moserialSerialConnectionClass moserialSerialConnectionClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_io_channel_unref0(var) ((var == NULL) ? NULL : (var = (g_io_channel_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) struct _moserialRzwrapper { GObject parent_instance; moserialRzwrapperPrivate * priv; gboolean running; }; struct _moserialRzwrapperClass { GObjectClass parent_class; }; typedef enum { MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_NULL } moserialRzwrapperProtocol; struct _moserialRzwrapperPrivate { moserialRzwrapperProtocol _protocol; moserialSerialConnection* _sc; GIOChannel* IOChannelInput; GIOChannel* IOChannelOutput; GIOChannel* IOChannelError; guint outputChannelId; guint errorChannelId; GPid pid; gchar* _path; gchar* _filename; }; static gpointer moserial_rzwrapper_parent_class = NULL; GType moserial_rzwrapper_get_type (void) G_GNUC_CONST; GType moserial_rzwrapper_protocol_get_type (void) G_GNUC_CONST; GType moserial_serial_connection_get_type (void) G_GNUC_CONST; #define MOSERIAL_RZWRAPPER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapperPrivate)) enum { MOSERIAL_RZWRAPPER_DUMMY_PROPERTY, MOSERIAL_RZWRAPPER_PROTOCOL, MOSERIAL_RZWRAPPER_SC, MOSERIAL_RZWRAPPER_PATH, MOSERIAL_RZWRAPPER_FILENAME }; moserialRzwrapper* moserial_rzwrapper_new (moserialRzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* p, const gchar* filename); moserialRzwrapper* moserial_rzwrapper_construct (GType object_type, moserialRzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* p, const gchar* filename); void moserial_rzwrapper_writeChar (moserialRzwrapper* self, guchar byte); static void moserial_rzwrapper_shutdown (moserialRzwrapper* self); void moserial_rzwrapper_flush (moserialRzwrapper* self); static gboolean moserial_rzwrapper_readError (moserialRzwrapper* self, GIOChannel* source, GIOCondition condition); gchar* mo_utils_getLastMessage (const gchar* messages); void moserial_rzwrapper_transferCanceled (moserialRzwrapper* self, GObject* o); moserialRzwrapperProtocol moserial_rzwrapper_get_protocol (moserialRzwrapper* self); moserialSerialConnection* moserial_rzwrapper_get_sc (moserialRzwrapper* self); void moserial_serial_connection_sendByte (moserialSerialConnection* self, guchar byte); static gboolean moserial_rzwrapper_shutdown_timeout (moserialRzwrapper* self); static gboolean _moserial_rzwrapper_shutdown_timeout_gsource_func (gpointer self); static gboolean moserial_rzwrapper_readBytes (moserialRzwrapper* self, GIOChannel* source, GIOCondition condition); static void moserial_rzwrapper_set_protocol (moserialRzwrapper* self, moserialRzwrapperProtocol value); static void moserial_rzwrapper_set_sc (moserialRzwrapper* self, moserialSerialConnection* value); const gchar* moserial_rzwrapper_get_path (moserialRzwrapper* self); static void moserial_rzwrapper_set_path (moserialRzwrapper* self, const gchar* value); const gchar* moserial_rzwrapper_get_filename (moserialRzwrapper* self); static void moserial_rzwrapper_set_filename (moserialRzwrapper* self, const gchar* value); static GObject * moserial_rzwrapper_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static gboolean _moserial_rzwrapper_readBytes_gio_func (GIOChannel* source, GIOCondition condition, gpointer self); static gboolean _moserial_rzwrapper_readError_gio_func (GIOChannel* source, GIOCondition condition, gpointer self); static void moserial_rzwrapper_finalize (GObject* obj); static void _vala_moserial_rzwrapper_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_rzwrapper_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); const gchar* MOSERIAL_RZWRAPPER_ProtocolStrings[3] = {"Xmodem", "Ymodem", "Zmodem"}; GType moserial_rzwrapper_protocol_get_type (void) { static volatile gsize moserial_rzwrapper_protocol_type_id__volatile = 0; if (g_once_init_enter (&moserial_rzwrapper_protocol_type_id__volatile)) { static const GEnumValue values[] = {{MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM, "MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM", "xmodem"}, {MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM, "MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM", "ymodem"}, {MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM, "MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM", "zmodem"}, {MOSERIAL_RZWRAPPER_PROTOCOL_NULL, "MOSERIAL_RZWRAPPER_PROTOCOL_NULL", "null"}, {0, NULL, NULL}}; GType moserial_rzwrapper_protocol_type_id; moserial_rzwrapper_protocol_type_id = g_enum_register_static ("moserialRzwrapperProtocol", values); g_once_init_leave (&moserial_rzwrapper_protocol_type_id__volatile, moserial_rzwrapper_protocol_type_id); } return moserial_rzwrapper_protocol_type_id__volatile; } moserialRzwrapper* moserial_rzwrapper_construct (GType object_type, moserialRzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* p, const gchar* filename) { moserialRzwrapper * self = NULL; moserialRzwrapperProtocol* _tmp0_; moserialRzwrapperProtocol pro; moserialSerialConnection* _tmp1_; const gchar* _tmp2_; const gchar* _tmp3_; _tmp0_ = protocol; pro = *_tmp0_; _tmp1_ = sc; _tmp2_ = p; _tmp3_ = filename; self = (moserialRzwrapper*) g_object_new (object_type, "protocol", pro, "sc", _tmp1_, "path", _tmp2_, "filename", _tmp3_, NULL); return self; } moserialRzwrapper* moserial_rzwrapper_new (moserialRzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* p, const gchar* filename) { return moserial_rzwrapper_construct (MOSERIAL_TYPE_RZWRAPPER, protocol, sc, p, filename); } void moserial_rzwrapper_writeChar (moserialRzwrapper* self, guchar byte) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->running; if (_tmp0_) { gsize bytesWritten = 0UL; gchar* _tmp1_ = NULL; gchar* b; gint b_length1; gint _b_size_; gchar* _tmp2_; gint _tmp2__length1; guchar _tmp3_; gchar _tmp4_; _tmp1_ = g_new0 (gchar, 1); b = _tmp1_; b_length1 = 1; _b_size_ = b_length1; _tmp2_ = b; _tmp2__length1 = b_length1; _tmp3_ = byte; _tmp2_[0] = (gchar) _tmp3_; _tmp4_ = _tmp2_[0]; { gboolean _tmp5_; _tmp5_ = self->running; if (_tmp5_) { GIOChannel* _tmp6_; gchar* _tmp7_; gint _tmp7__length1; gsize _tmp8_ = 0UL; _tmp6_ = self->priv->IOChannelInput; _tmp7_ = b; _tmp7__length1 = b_length1; g_io_channel_write_chars (_tmp6_, _tmp7_, _tmp7__length1, &_tmp8_, &_inner_error_); bytesWritten = _tmp8_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch15_g_io_channel_error; } if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch15_g_convert_error; } b = (g_free (b), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } } goto __finally15; __catch15_g_io_channel_error: { GError* e = NULL; FILE* _tmp9_; GError* _tmp10_; const gchar* _tmp11_; e = _inner_error_; _inner_error_ = NULL; moserial_rzwrapper_shutdown (self); _tmp9_ = stdout; _tmp10_ = e; _tmp11_ = _tmp10_->message; fprintf (_tmp9_, "writeChar() %s\n", _tmp11_); _g_error_free0 (e); } goto __finally15; __catch15_g_convert_error: { GError* e = NULL; FILE* _tmp12_; GError* _tmp13_; const gchar* _tmp14_; e = _inner_error_; _inner_error_ = NULL; _tmp12_ = stdout; _tmp13_ = e; _tmp14_ = _tmp13_->message; fprintf (_tmp12_, "%s\n", _tmp14_); _g_error_free0 (e); } __finally15: if (_inner_error_ != NULL) { b = (g_free (b), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } b = (g_free (b), NULL); } } void moserial_rzwrapper_flush (moserialRzwrapper* self) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->running; if (_tmp0_) { { gboolean _tmp1_; _tmp1_ = self->running; if (_tmp1_) { GIOChannel* _tmp2_; _tmp2_ = self->priv->IOChannelInput; g_io_channel_flush (_tmp2_, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch16_g_io_channel_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } } goto __finally16; __catch16_g_io_channel_error: { GError* e = NULL; FILE* _tmp3_; GError* _tmp4_; const gchar* _tmp5_; e = _inner_error_; _inner_error_ = NULL; moserial_rzwrapper_shutdown (self); _tmp3_ = stdout; _tmp4_ = e; _tmp5_ = _tmp4_->message; fprintf (_tmp3_, "flush() %s\n", _tmp5_); _g_error_free0 (e); } __finally16: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } } static gint string_index_of (const gchar* self, const gchar* needle, gint start_index) { gint result = 0; gint _tmp0_; const gchar* _tmp1_; gchar* _tmp2_ = NULL; gchar* _result_; gchar* _tmp3_; g_return_val_if_fail (self != NULL, 0); g_return_val_if_fail (needle != NULL, 0); _tmp0_ = start_index; _tmp1_ = needle; _tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_); _result_ = _tmp2_; _tmp3_ = _result_; if (_tmp3_ != NULL) { gchar* _tmp4_; _tmp4_ = _result_; result = (gint) (_tmp4_ - ((gchar*) self)); return result; } else { result = -1; return result; } } static gboolean moserial_rzwrapper_readError (moserialRzwrapper* self, GIOChannel* source, GIOCondition condition) { gboolean result = FALSE; gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (source != NULL, FALSE); _tmp0_ = self->running; if (_tmp0_) { gchar* _tmp1_ = NULL; gchar* m_buf; gint m_buf_length1; gint _m_buf_size_; gchar* _tmp2_; gchar* message; gchar* _tmp3_; gchar* messages; gsize bytesRead; GIOCondition _tmp4_; const gchar* _tmp35_; gchar* _tmp36_ = NULL; const gchar* _tmp37_; const gchar* _tmp39_; gint _tmp40_ = 0; const gchar* _tmp41_; gint _tmp42_ = 0; _tmp1_ = g_new0 (gchar, 1000); m_buf = _tmp1_; m_buf_length1 = 1000; _m_buf_size_ = m_buf_length1; _tmp2_ = g_strdup (""); message = _tmp2_; _tmp3_ = g_strdup (""); messages = _tmp3_; bytesRead = (gsize) 0; _tmp4_ = condition; if (!(_tmp4_ == G_IO_IN)) { result = TRUE; _g_free0 (messages); _g_free0 (message); m_buf = (g_free (m_buf), NULL); return result; } { GIOChannel* _tmp5_; gchar* _tmp6_; gint _tmp6__length1; gsize _tmp7_ = 0UL; _tmp5_ = source; _tmp6_ = m_buf; _tmp6__length1 = m_buf_length1; g_io_channel_read_chars (_tmp5_, _tmp6_, _tmp6__length1, &_tmp7_, &_inner_error_); bytesRead = _tmp7_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch17_g_convert_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch17_g_io_channel_error; } _g_free0 (messages); _g_free0 (message); m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } } goto __finally17; __catch17_g_convert_error: { GError* e = NULL; FILE* _tmp8_; GError* _tmp9_; const gchar* _tmp10_; e = _inner_error_; _inner_error_ = NULL; _tmp8_ = stdout; _tmp9_ = e; _tmp10_ = _tmp9_->message; fprintf (_tmp8_, "readError() %s\n", _tmp10_); _g_error_free0 (e); } goto __finally17; __catch17_g_io_channel_error: { GError* e = NULL; FILE* _tmp11_; GError* _tmp12_; const gchar* _tmp13_; e = _inner_error_; _inner_error_ = NULL; _tmp11_ = stdout; _tmp12_ = e; _tmp13_ = _tmp12_->message; fprintf (_tmp11_, "readError() %s\n", _tmp13_); _g_error_free0 (e); } __finally17: if (_inner_error_ != NULL) { _g_free0 (messages); _g_free0 (message); m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } { gint x; x = 0; { gboolean _tmp14_; _tmp14_ = TRUE; while (TRUE) { gboolean _tmp15_; gint _tmp17_; gsize _tmp18_; gchar* _tmp19_; gint _tmp19__length1; gint _tmp20_; gchar _tmp21_; gunichar c; gboolean _tmp22_ = FALSE; gunichar _tmp23_; gboolean _tmp24_ = FALSE; gboolean _tmp27_; _tmp15_ = _tmp14_; if (!_tmp15_) { gint _tmp16_; _tmp16_ = x; x = _tmp16_ + 1; } _tmp14_ = FALSE; _tmp17_ = x; _tmp18_ = bytesRead; if (!(((gsize) _tmp17_) < _tmp18_)) { break; } _tmp19_ = m_buf; _tmp19__length1 = m_buf_length1; _tmp20_ = x; _tmp21_ = _tmp19_[_tmp20_]; c = (gunichar) _tmp21_; _tmp23_ = c; _tmp24_ = g_unichar_isprint (_tmp23_); if (_tmp24_) { _tmp22_ = TRUE; } else { gunichar _tmp25_; gboolean _tmp26_ = FALSE; _tmp25_ = c; _tmp26_ = g_unichar_isspace (_tmp25_); _tmp22_ = _tmp26_; } _tmp27_ = _tmp22_; if (_tmp27_) { const gchar* _tmp28_; gchar* _tmp29_; gint _tmp29__length1; gint _tmp30_; gchar _tmp31_; gchar* _tmp32_ = NULL; gchar* _tmp33_; gchar* _tmp34_; _tmp28_ = messages; _tmp29_ = m_buf; _tmp29__length1 = m_buf_length1; _tmp30_ = x; _tmp31_ = _tmp29_[_tmp30_]; _tmp32_ = g_strdup_printf ("%c", (gint) _tmp31_); _tmp33_ = _tmp32_; _tmp34_ = g_strconcat (_tmp28_, _tmp33_, NULL); _g_free0 (messages); messages = _tmp34_; _g_free0 (_tmp33_); } } } } _tmp35_ = messages; _tmp36_ = mo_utils_getLastMessage (_tmp35_); _g_free0 (message); message = _tmp36_; _tmp37_ = message; if (!(g_strcmp0 (_tmp37_, "") == 0)) { const gchar* _tmp38_; _tmp38_ = message; g_signal_emit_by_name (self, "update-status", _tmp38_); } _tmp39_ = messages; _tmp40_ = string_index_of (_tmp39_, "Transfer complete", 0); if (_tmp40_ >= 0) { moserial_rzwrapper_shutdown (self); } _tmp41_ = messages; _tmp42_ = string_index_of (_tmp41_, "Transfer incomplete", 0); if (_tmp42_ >= 0) { moserial_rzwrapper_shutdown (self); } result = TRUE; _g_free0 (messages); _g_free0 (message); m_buf = (g_free (m_buf), NULL); return result; } else { result = FALSE; return result; } } static gboolean _moserial_rzwrapper_shutdown_timeout_gsource_func (gpointer self) { gboolean result; result = moserial_rzwrapper_shutdown_timeout (self); return result; } void moserial_rzwrapper_transferCanceled (moserialRzwrapper* self, GObject* o) { gboolean _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); _tmp0_ = self->running; if (_tmp0_) { g_signal_emit_by_name (self, "update-status", "canceled"); { gint x; x = 0; { gboolean _tmp1_; _tmp1_ = TRUE; while (TRUE) { gboolean _tmp2_; gint _tmp4_; moserialRzwrapperProtocol _tmp5_; _tmp2_ = _tmp1_; if (!_tmp2_) { gint _tmp3_; _tmp3_ = x; x = _tmp3_ + 1; } _tmp1_ = FALSE; _tmp4_ = x; if (!(_tmp4_ < 20)) { break; } _tmp5_ = self->priv->_protocol; if (_tmp5_ == MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM) { moserialSerialConnection* _tmp6_; _tmp6_ = self->priv->_sc; moserial_serial_connection_sendByte (_tmp6_, (guchar) ('X' & 037)); moserial_rzwrapper_writeChar (self, (guchar) ('X' & 037)); } else { moserialSerialConnection* _tmp7_; _tmp7_ = self->priv->_sc; moserial_serial_connection_sendByte (_tmp7_, (guchar) 0x18); } } } } g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 2000, _moserial_rzwrapper_shutdown_timeout_gsource_func, g_object_ref (self), g_object_unref); } } static gboolean moserial_rzwrapper_shutdown_timeout (moserialRzwrapper* self) { gboolean result = FALSE; g_return_val_if_fail (self != NULL, FALSE); moserial_rzwrapper_shutdown (self); result = FALSE; return result; } static void moserial_rzwrapper_shutdown (moserialRzwrapper* self) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = self->running; if (_tmp0_) { guint _tmp1_; guint _tmp2_; GPid _tmp3_; self->running = FALSE; _tmp1_ = self->priv->outputChannelId; g_source_remove (_tmp1_); _tmp2_ = self->priv->errorChannelId; g_source_remove (_tmp2_); _tmp3_ = self->priv->pid; g_spawn_close_pid (_tmp3_); g_signal_emit_by_name (self, "transfer-complete"); } } static gboolean moserial_rzwrapper_readBytes (moserialRzwrapper* self, GIOChannel* source, GIOCondition condition) { gboolean result = FALSE; gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (source != NULL, FALSE); _tmp0_ = self->running; if (_tmp0_) { gchar* _tmp1_ = NULL; gchar* m_buf; gint m_buf_length1; gint _m_buf_size_; gsize bytesRead; GIOCondition _tmp2_; _tmp1_ = g_new0 (gchar, 1000); m_buf = _tmp1_; m_buf_length1 = 1000; _m_buf_size_ = m_buf_length1; bytesRead = (gsize) 0; _tmp2_ = condition; if (!(_tmp2_ == G_IO_IN)) { result = TRUE; m_buf = (g_free (m_buf), NULL); return result; } { GIOChannel* _tmp3_; gchar* _tmp4_; gint _tmp4__length1; gsize _tmp5_ = 0UL; _tmp3_ = source; _tmp4_ = m_buf; _tmp4__length1 = m_buf_length1; g_io_channel_read_chars (_tmp3_, _tmp4_, _tmp4__length1, &_tmp5_, &_inner_error_); bytesRead = _tmp5_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch18_g_convert_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch18_g_io_channel_error; } m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } } goto __finally18; __catch18_g_convert_error: { GError* e = NULL; FILE* _tmp6_; GError* _tmp7_; const gchar* _tmp8_; e = _inner_error_; _inner_error_ = NULL; _tmp6_ = stdout; _tmp7_ = e; _tmp8_ = _tmp7_->message; fprintf (_tmp6_, "readBytes() %s\n", _tmp8_); _g_error_free0 (e); } goto __finally18; __catch18_g_io_channel_error: { GError* e = NULL; FILE* _tmp9_; GError* _tmp10_; const gchar* _tmp11_; e = _inner_error_; _inner_error_ = NULL; _tmp9_ = stdout; _tmp10_ = e; _tmp11_ = _tmp10_->message; fprintf (_tmp9_, "readError() %s\n", _tmp11_); _g_error_free0 (e); } __finally18: if (_inner_error_ != NULL) { m_buf = (g_free (m_buf), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return FALSE; } { gint x; x = 0; { gboolean _tmp12_; _tmp12_ = TRUE; while (TRUE) { gboolean _tmp13_; gint _tmp15_; gsize _tmp16_; moserialSerialConnection* _tmp17_; gchar* _tmp18_; gint _tmp18__length1; gint _tmp19_; gchar _tmp20_; _tmp13_ = _tmp12_; if (!_tmp13_) { gint _tmp14_; _tmp14_ = x; x = _tmp14_ + 1; } _tmp12_ = FALSE; _tmp15_ = x; _tmp16_ = bytesRead; if (!(((gsize) _tmp15_) < _tmp16_)) { break; } _tmp17_ = self->priv->_sc; _tmp18_ = m_buf; _tmp18__length1 = m_buf_length1; _tmp19_ = x; _tmp20_ = _tmp18_[_tmp19_]; moserial_serial_connection_sendByte (_tmp17_, (guchar) _tmp20_); } } } result = TRUE; m_buf = (g_free (m_buf), NULL); return result; } else { result = FALSE; return result; } } moserialRzwrapperProtocol moserial_rzwrapper_get_protocol (moserialRzwrapper* self) { moserialRzwrapperProtocol result; moserialRzwrapperProtocol _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_protocol; result = _tmp0_; return result; } static void moserial_rzwrapper_set_protocol (moserialRzwrapper* self, moserialRzwrapperProtocol value) { moserialRzwrapperProtocol _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_protocol = _tmp0_; g_object_notify ((GObject *) self, "protocol"); } moserialSerialConnection* moserial_rzwrapper_get_sc (moserialRzwrapper* self) { moserialSerialConnection* result; moserialSerialConnection* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_sc; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_rzwrapper_set_sc (moserialRzwrapper* self, moserialSerialConnection* value) { moserialSerialConnection* _tmp0_; moserialSerialConnection* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_sc); self->priv->_sc = _tmp1_; g_object_notify ((GObject *) self, "sc"); } const gchar* moserial_rzwrapper_get_path (moserialRzwrapper* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_path; result = _tmp0_; return result; } static void moserial_rzwrapper_set_path (moserialRzwrapper* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_path); self->priv->_path = _tmp1_; g_object_notify ((GObject *) self, "path"); } const gchar* moserial_rzwrapper_get_filename (moserialRzwrapper* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_filename; result = _tmp0_; return result; } static void moserial_rzwrapper_set_filename (moserialRzwrapper* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_filename); self->priv->_filename = _tmp1_; g_object_notify ((GObject *) self, "filename"); } static gboolean _moserial_rzwrapper_readBytes_gio_func (GIOChannel* source, GIOCondition condition, gpointer self) { gboolean result; result = moserial_rzwrapper_readBytes (self, source, condition); return result; } static gboolean _moserial_rzwrapper_readError_gio_func (GIOChannel* source, GIOCondition condition, gpointer self) { gboolean result; result = moserial_rzwrapper_readError (self, source, condition); return result; } static GObject * moserial_rzwrapper_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialRzwrapper * self; gboolean _tmp0_ = FALSE; moserialRzwrapperProtocol _tmp1_; gboolean _tmp3_; GError * _inner_error_ = NULL; parent_class = G_OBJECT_CLASS (moserial_rzwrapper_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_RZWRAPPER (obj); _tmp1_ = self->priv->_protocol; if (_tmp1_ == MOSERIAL_RZWRAPPER_PROTOCOL_NULL) { _tmp0_ = TRUE; } else { const gchar* _tmp2_; _tmp2_ = self->priv->_path; _tmp0_ = _tmp2_ == NULL; } _tmp3_ = _tmp0_; if (_tmp3_) { self->running = FALSE; } else { gchar** argv = NULL; gint argv_length1 = 0; gint _argv_size_ = 0; moserialRzwrapperProtocol _tmp4_; gchar** _tmp7_; gint _tmp7__length1; gchar* _tmp8_; gchar* _tmp9_; moserialRzwrapperProtocol _tmp10_; gchar** _tmp20_; gint _tmp20__length1; gchar* _tmp21_; gchar* _tmp22_; moserialRzwrapperProtocol _tmp23_; gint output = 0; gint _error_ = 0; gint input = 0; _tmp4_ = self->priv->_protocol; if (_tmp4_ == MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM) { gchar** _tmp5_ = NULL; _tmp5_ = g_new0 (gchar*, 4 + 1); argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); argv = _tmp5_; argv_length1 = 4; _argv_size_ = argv_length1; } else { gchar** _tmp6_ = NULL; _tmp6_ = g_new0 (gchar*, 3 + 1); argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); argv = _tmp6_; argv_length1 = 3; _argv_size_ = argv_length1; } _tmp7_ = argv; _tmp7__length1 = argv_length1; _tmp8_ = g_strdup ("rz"); _g_free0 (_tmp7_[0]); _tmp7_[0] = _tmp8_; _tmp9_ = _tmp7_[0]; _tmp10_ = self->priv->_protocol; switch (_tmp10_) { case MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM: { gchar** _tmp11_; gint _tmp11__length1; gchar* _tmp12_; gchar* _tmp13_; _tmp11_ = argv; _tmp11__length1 = argv_length1; _tmp12_ = g_strdup ("--xmodem"); _g_free0 (_tmp11_[1]); _tmp11_[1] = _tmp12_; _tmp13_ = _tmp11_[1]; break; } case MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM: { gchar** _tmp14_; gint _tmp14__length1; gchar* _tmp15_; gchar* _tmp16_; _tmp14_ = argv; _tmp14__length1 = argv_length1; _tmp15_ = g_strdup ("--ymodem"); _g_free0 (_tmp14_[1]); _tmp14_[1] = _tmp15_; _tmp16_ = _tmp14_[1]; break; } default: case MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM: { gchar** _tmp17_; gint _tmp17__length1; gchar* _tmp18_; gchar* _tmp19_; _tmp17_ = argv; _tmp17__length1 = argv_length1; _tmp18_ = g_strdup ("--zmodem"); _g_free0 (_tmp17_[1]); _tmp17_[1] = _tmp18_; _tmp19_ = _tmp17_[1]; break; } } _tmp20_ = argv; _tmp20__length1 = argv_length1; _tmp21_ = g_strdup ("-vv"); _g_free0 (_tmp20_[2]); _tmp20_[2] = _tmp21_; _tmp22_ = _tmp20_[2]; _tmp23_ = self->priv->_protocol; if (_tmp23_ == MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM) { gchar** _tmp24_; gint _tmp24__length1; const gchar* _tmp25_; gchar* _tmp26_; gchar* _tmp27_; _tmp24_ = argv; _tmp24__length1 = argv_length1; _tmp25_ = self->priv->_filename; _tmp26_ = g_strdup (_tmp25_); _g_free0 (_tmp24_[3]); _tmp24_[3] = _tmp26_; _tmp27_ = _tmp24_[3]; } { const gchar* _tmp28_; gchar** _tmp29_; gint _tmp29__length1; GPid _tmp30_ = 0; gint _tmp31_ = 0; gint _tmp32_ = 0; gint _tmp33_ = 0; gint _tmp34_; GIOChannel* _tmp35_; gint _tmp36_; GIOChannel* _tmp37_; gint _tmp38_; GIOChannel* _tmp39_; GIOChannel* _tmp40_; GIOChannel* _tmp41_; GIOChannel* _tmp42_; GIOChannel* _tmp43_; GIOChannel* _tmp44_; GIOChannel* _tmp45_; guint _tmp46_ = 0U; GIOChannel* _tmp47_; guint _tmp48_ = 0U; _tmp28_ = self->priv->_path; _tmp29_ = argv; _tmp29__length1 = argv_length1; g_spawn_async_with_pipes (_tmp28_, _tmp29_, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, &_tmp30_, &_tmp31_, &_tmp32_, &_tmp33_, &_inner_error_); self->priv->pid = _tmp30_; input = _tmp31_; output = _tmp32_; _error_ = _tmp33_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch19_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch19_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp34_ = output; _tmp35_ = g_io_channel_unix_new (_tmp34_); _g_io_channel_unref0 (self->priv->IOChannelOutput); self->priv->IOChannelOutput = _tmp35_; _tmp36_ = input; _tmp37_ = g_io_channel_unix_new (_tmp36_); _g_io_channel_unref0 (self->priv->IOChannelInput); self->priv->IOChannelInput = _tmp37_; _tmp38_ = _error_; _tmp39_ = g_io_channel_unix_new (_tmp38_); _g_io_channel_unref0 (self->priv->IOChannelError); self->priv->IOChannelError = _tmp39_; _tmp40_ = self->priv->IOChannelOutput; g_io_channel_set_encoding (_tmp40_, NULL, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch19_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch19_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp41_ = self->priv->IOChannelOutput; g_io_channel_set_flags (_tmp41_, G_IO_FLAG_NONBLOCK, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch19_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch19_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp42_ = self->priv->IOChannelError; g_io_channel_set_encoding (_tmp42_, NULL, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch19_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch19_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp43_ = self->priv->IOChannelError; g_io_channel_set_flags (_tmp43_, G_IO_FLAG_NONBLOCK, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch19_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch19_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp44_ = self->priv->IOChannelInput; g_io_channel_set_encoding (_tmp44_, NULL, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_SPAWN_ERROR) { goto __catch19_g_spawn_error; } if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch19_g_io_channel_error; } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } _tmp45_ = self->priv->IOChannelOutput; _tmp46_ = g_io_add_watch (_tmp45_, G_IO_IN, _moserial_rzwrapper_readBytes_gio_func, self); self->priv->outputChannelId = _tmp46_; _tmp47_ = self->priv->IOChannelError; _tmp48_ = g_io_add_watch (_tmp47_, G_IO_IN, _moserial_rzwrapper_readError_gio_func, self); self->priv->errorChannelId = _tmp48_; self->running = TRUE; } goto __finally19; __catch19_g_spawn_error: { GError* e = NULL; FILE* _tmp49_; GError* _tmp50_; const gchar* _tmp51_; GError* _tmp52_; const gchar* _tmp53_; GtkMessageDialog* _tmp54_; GtkMessageDialog* _tmp55_; GtkMessageDialog* errorDialog; GtkMessageDialog* _tmp56_; GtkMessageDialog* _tmp57_; e = _inner_error_; _inner_error_ = NULL; self->running = FALSE; _tmp49_ = stdout; _tmp50_ = e; _tmp51_ = _tmp50_->message; fprintf (_tmp49_, "spawn error: %s\n", _tmp51_); _tmp52_ = e; _tmp53_ = _tmp52_->message; _tmp54_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp53_); _tmp55_ = g_object_ref_sink (_tmp54_); errorDialog = _tmp55_; _tmp56_ = errorDialog; gtk_dialog_run ((GtkDialog*) _tmp56_); _tmp57_ = errorDialog; gtk_widget_destroy ((GtkWidget*) _tmp57_); _g_object_unref0 (errorDialog); _g_error_free0 (e); } goto __finally19; __catch19_g_io_channel_error: { GError* e = NULL; FILE* _tmp58_; GError* _tmp59_; const gchar* _tmp60_; e = _inner_error_; _inner_error_ = NULL; _tmp58_ = stdout; _tmp59_ = e; _tmp60_ = _tmp59_->message; fprintf (_tmp58_, "readError() %s\n", _tmp60_); _g_error_free0 (e); } __finally19: if (_inner_error_ != NULL) { argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); } argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); } return obj; } static void moserial_rzwrapper_class_init (moserialRzwrapperClass * klass) { moserial_rzwrapper_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialRzwrapperPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_rzwrapper_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_rzwrapper_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_rzwrapper_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_rzwrapper_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RZWRAPPER_PROTOCOL, g_param_spec_enum ("protocol", "protocol", "protocol", MOSERIAL_RZWRAPPER_TYPE_PROTOCOL, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RZWRAPPER_SC, g_param_spec_object ("sc", "sc", "sc", MOSERIAL_TYPE_SERIAL_CONNECTION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RZWRAPPER_PATH, g_param_spec_string ("path", "path", "path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RZWRAPPER_FILENAME, g_param_spec_string ("filename", "filename", "filename", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("transfer_complete", MOSERIAL_TYPE_RZWRAPPER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); g_signal_new ("update_status", MOSERIAL_TYPE_RZWRAPPER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING); } static void moserial_rzwrapper_instance_init (moserialRzwrapper * self) { self->priv = MOSERIAL_RZWRAPPER_GET_PRIVATE (self); self->running = FALSE; } static void moserial_rzwrapper_finalize (GObject* obj) { moserialRzwrapper * self; self = MOSERIAL_RZWRAPPER (obj); _g_object_unref0 (self->priv->_sc); _g_io_channel_unref0 (self->priv->IOChannelInput); _g_io_channel_unref0 (self->priv->IOChannelOutput); _g_io_channel_unref0 (self->priv->IOChannelError); _g_free0 (self->priv->_path); _g_free0 (self->priv->_filename); G_OBJECT_CLASS (moserial_rzwrapper_parent_class)->finalize (obj); } GType moserial_rzwrapper_get_type (void) { static volatile gsize moserial_rzwrapper_type_id__volatile = 0; if (g_once_init_enter (&moserial_rzwrapper_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialRzwrapperClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_rzwrapper_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialRzwrapper), 0, (GInstanceInitFunc) moserial_rzwrapper_instance_init, NULL }; GType moserial_rzwrapper_type_id; moserial_rzwrapper_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialRzwrapper", &g_define_type_info, 0); g_once_init_leave (&moserial_rzwrapper_type_id__volatile, moserial_rzwrapper_type_id); } return moserial_rzwrapper_type_id__volatile; } static void _vala_moserial_rzwrapper_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialRzwrapper * self; self = MOSERIAL_RZWRAPPER (object); switch (property_id) { case MOSERIAL_RZWRAPPER_PROTOCOL: g_value_set_enum (value, moserial_rzwrapper_get_protocol (self)); break; case MOSERIAL_RZWRAPPER_SC: g_value_set_object (value, moserial_rzwrapper_get_sc (self)); break; case MOSERIAL_RZWRAPPER_PATH: g_value_set_string (value, moserial_rzwrapper_get_path (self)); break; case MOSERIAL_RZWRAPPER_FILENAME: g_value_set_string (value, moserial_rzwrapper_get_filename (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_rzwrapper_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialRzwrapper * self; self = MOSERIAL_RZWRAPPER (object); switch (property_id) { case MOSERIAL_RZWRAPPER_PROTOCOL: moserial_rzwrapper_set_protocol (self, g_value_get_enum (value)); break; case MOSERIAL_RZWRAPPER_SC: moserial_rzwrapper_set_sc (self, g_value_get_object (value)); break; case MOSERIAL_RZWRAPPER_PATH: moserial_rzwrapper_set_path (self, g_value_get_string (value)); break; case MOSERIAL_RZWRAPPER_FILENAME: moserial_rzwrapper_set_filename (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } moserial-3.0.8/src/InputParser.c0000674000213200021320000003044212064104644013462 00000000000000/* InputParser.c generated by valac 0.16.1, the Vala compiler * generated from InputParser.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #define TYPE_INPUT_PARSER (input_parser_get_type ()) #define INPUT_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_INPUT_PARSER, InputParser)) #define INPUT_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_INPUT_PARSER, InputParserClass)) #define IS_INPUT_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_INPUT_PARSER)) #define IS_INPUT_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_INPUT_PARSER)) #define INPUT_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_INPUT_PARSER, InputParserClass)) typedef struct _InputParser InputParser; typedef struct _InputParserClass InputParserClass; typedef struct _InputParserPrivate InputParserPrivate; #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) typedef enum { HEX_PARSE_ERROR_INVALID_INPUT } HexParseError; #define HEX_PARSE_ERROR hex_parse_error_quark () struct _InputParser { GObject parent_instance; InputParserPrivate * priv; }; struct _InputParserClass { GObjectClass parent_class; }; static gpointer input_parser_parent_class = NULL; GQuark hex_parse_error_quark (void); GType input_parser_get_type (void) G_GNUC_CONST; enum { INPUT_PARSER_DUMMY_PROPERTY }; gchar* input_parser_statusReplace (const gchar* oldString); guchar* input_parser_parseHex (const gchar* s, int* result_length1, GError** error); static gchar input_parser_xtoi (gunichar c); InputParser* input_parser_new (void); InputParser* input_parser_construct (GType object_type); GQuark hex_parse_error_quark (void) { return g_quark_from_static_string ("hex_parse_error-quark"); } static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { gchar* result = NULL; GError * _inner_error_ = NULL; g_return_val_if_fail (self != NULL, NULL); g_return_val_if_fail (old != NULL, NULL); g_return_val_if_fail (replacement != NULL, NULL); { const gchar* _tmp0_; gchar* _tmp1_ = NULL; gchar* _tmp2_; GRegex* _tmp3_; GRegex* _tmp4_; GRegex* regex; GRegex* _tmp5_; const gchar* _tmp6_; gchar* _tmp7_ = NULL; gchar* _tmp8_; _tmp0_ = old; _tmp1_ = g_regex_escape_string (_tmp0_, -1); _tmp2_ = _tmp1_; _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); _tmp4_ = _tmp3_; _g_free0 (_tmp2_); regex = _tmp4_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_REGEX_ERROR) { goto __catch14_g_regex_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } _tmp5_ = regex; _tmp6_ = replacement; _tmp7_ = g_regex_replace_literal (_tmp5_, self, (gssize) (-1), 0, _tmp6_, 0, &_inner_error_); _tmp8_ = _tmp7_; if (_inner_error_ != NULL) { _g_regex_unref0 (regex); if (_inner_error_->domain == G_REGEX_ERROR) { goto __catch14_g_regex_error; } _g_regex_unref0 (regex); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } result = _tmp8_; _g_regex_unref0 (regex); return result; } goto __finally14; __catch14_g_regex_error: { GError* e = NULL; e = _inner_error_; _inner_error_ = NULL; g_assert_not_reached (); _g_error_free0 (e); } __finally14: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } } gchar* input_parser_statusReplace (const gchar* oldString) { gchar* result = NULL; const gchar* _tmp0_; gchar* _tmp1_ = NULL; g_return_val_if_fail (oldString != NULL, NULL); _tmp0_ = oldString; _tmp1_ = string_replace (_tmp0_, "\\r", "\\n"); result = _tmp1_; return result; } static gunichar string_get_char (const gchar* self, glong index) { gunichar result = 0U; glong _tmp0_; gunichar _tmp1_ = 0U; g_return_val_if_fail (self != NULL, 0U); _tmp0_ = index; _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); result = _tmp1_; return result; } guchar* input_parser_parseHex (const gchar* s, int* result_length1, GError** error) { guchar* result = NULL; const gchar* _tmp0_; gint _tmp1_; gint _tmp2_; glong len; glong _tmp3_; guchar* _tmp4_ = NULL; guchar* r; gint r_length1; gint _r_size_; guchar* _tmp40_; gint _tmp40__length1; GError * _inner_error_ = NULL; g_return_val_if_fail (s != NULL, NULL); _tmp0_ = s; _tmp1_ = strlen (_tmp0_); _tmp2_ = _tmp1_; len = (glong) _tmp2_; _tmp3_ = len; _tmp4_ = g_new0 (guchar, (_tmp3_ + 1) / 2); r = _tmp4_; r_length1 = (_tmp3_ + 1) / 2; _r_size_ = r_length1; { gint x; x = 0; { gboolean _tmp5_; _tmp5_ = TRUE; while (TRUE) { gboolean _tmp6_; gint _tmp8_; glong _tmp9_; gunichar c = 0U; gint i = 0; gint temp = 0; const gchar* _tmp10_; gunichar _tmp11_ = 0U; glong _tmp12_; const gchar* _tmp34_; const gchar* _tmp35_ = NULL; guchar* _tmp36_; gint _tmp36__length1; gint _tmp37_; gint _tmp38_; guchar _tmp39_; _tmp6_ = _tmp5_; if (!_tmp6_) { gint _tmp7_; _tmp7_ = x; x = _tmp7_ + 1; } _tmp5_ = FALSE; _tmp8_ = x; _tmp9_ = len; if (!(((glong) _tmp8_) < ((_tmp9_ + 1) / 2))) { break; } _tmp10_ = s; _tmp11_ = string_get_char (_tmp10_, (glong) 0); c = _tmp11_; _tmp12_ = len; if (_tmp12_ > ((glong) 1)) { gunichar _tmp13_; gchar _tmp14_ = '\0'; gint _tmp15_; const gchar* _tmp18_; const gchar* _tmp19_ = NULL; const gchar* _tmp20_; gunichar _tmp21_ = 0U; gunichar _tmp22_; gchar _tmp23_ = '\0'; gint _tmp24_; gint _tmp27_; gint _tmp28_; _tmp13_ = c; _tmp14_ = input_parser_xtoi (_tmp13_); i = _tmp14_ * 16; _tmp15_ = i; if (_tmp15_ < 0) { const gchar* _tmp16_ = NULL; GError* _tmp17_; _tmp16_ = _ ("Invalid Input"); _tmp17_ = g_error_new_literal (HEX_PARSE_ERROR, HEX_PARSE_ERROR_INVALID_INPUT, _tmp16_); _inner_error_ = _tmp17_; if (_inner_error_->domain == HEX_PARSE_ERROR) { g_propagate_error (error, _inner_error_); r = (g_free (r), NULL); return NULL; } else { r = (g_free (r), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } } _tmp18_ = s; _tmp19_ = g_utf8_next_char (_tmp18_); s = _tmp19_; _tmp20_ = s; _tmp21_ = string_get_char (_tmp20_, (glong) 0); c = _tmp21_; _tmp22_ = c; _tmp23_ = input_parser_xtoi (_tmp22_); temp = (gint) _tmp23_; _tmp24_ = temp; if (_tmp24_ < 0) { const gchar* _tmp25_ = NULL; GError* _tmp26_; _tmp25_ = _ ("Invalid Input"); _tmp26_ = g_error_new_literal (HEX_PARSE_ERROR, HEX_PARSE_ERROR_INVALID_INPUT, _tmp25_); _inner_error_ = _tmp26_; if (_inner_error_->domain == HEX_PARSE_ERROR) { g_propagate_error (error, _inner_error_); r = (g_free (r), NULL); return NULL; } else { r = (g_free (r), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } } _tmp27_ = i; _tmp28_ = temp; i = _tmp27_ + _tmp28_; } else { gunichar _tmp29_; gchar _tmp30_ = '\0'; gint _tmp31_; _tmp29_ = c; _tmp30_ = input_parser_xtoi (_tmp29_); i = (gint) _tmp30_; _tmp31_ = i; if (_tmp31_ < 0) { const gchar* _tmp32_ = NULL; GError* _tmp33_; _tmp32_ = _ ("Invalid Input"); _tmp33_ = g_error_new_literal (HEX_PARSE_ERROR, HEX_PARSE_ERROR_INVALID_INPUT, _tmp32_); _inner_error_ = _tmp33_; if (_inner_error_->domain == HEX_PARSE_ERROR) { g_propagate_error (error, _inner_error_); r = (g_free (r), NULL); return NULL; } else { r = (g_free (r), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return NULL; } } } _tmp34_ = s; _tmp35_ = g_utf8_next_char (_tmp34_); s = _tmp35_; _tmp36_ = r; _tmp36__length1 = r_length1; _tmp37_ = x; _tmp38_ = i; _tmp36_[_tmp37_] = (guchar) _tmp38_; _tmp39_ = _tmp36_[_tmp37_]; } } } _tmp40_ = r; _tmp40__length1 = r_length1; if (result_length1) { *result_length1 = _tmp40__length1; } result = _tmp40_; return result; } static gchar input_parser_xtoi (gunichar c) { gchar result = '\0'; gchar i; gunichar _tmp0_; i = (gchar) (-1); _tmp0_ = c; switch (_tmp0_) { case '0': { i = (gchar) 0; break; } case '1': { i = (gchar) 1; break; } case '2': { i = (gchar) 2; break; } case '3': { i = (gchar) 3; break; } case '4': { i = (gchar) 4; break; } case '5': { i = (gchar) 5; break; } case '6': { i = (gchar) 6; break; } case '7': { i = (gchar) 7; break; } case '8': { i = (gchar) 8; break; } case '9': { i = (gchar) 9; break; } case 'a': { i = (gchar) 10; break; } case 'b': { i = (gchar) 11; break; } case 'c': { i = (gchar) 12; break; } case 'd': { i = (gchar) 13; break; } case 'e': { i = (gchar) 14; break; } case 'f': { i = (gchar) 15; break; } case 'A': { i = (gchar) 10; break; } case 'B': { i = (gchar) 11; break; } case 'C': { i = (gchar) 12; break; } case 'D': { i = (gchar) 13; break; } case 'E': { i = (gchar) 14; break; } case 'F': { i = (gchar) 15; break; } default: break; } result = i; return result; } InputParser* input_parser_construct (GType object_type) { InputParser * self = NULL; self = (InputParser*) g_object_new (object_type, NULL); return self; } InputParser* input_parser_new (void) { return input_parser_construct (TYPE_INPUT_PARSER); } static void input_parser_class_init (InputParserClass * klass) { input_parser_parent_class = g_type_class_peek_parent (klass); } static void input_parser_instance_init (InputParser * self) { } GType input_parser_get_type (void) { static volatile gsize input_parser_type_id__volatile = 0; if (g_once_init_enter (&input_parser_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (InputParserClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) input_parser_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (InputParser), 0, (GInstanceInitFunc) input_parser_instance_init, NULL }; GType input_parser_type_id; input_parser_type_id = g_type_register_static (G_TYPE_OBJECT, "InputParser", &g_define_type_info, 0); g_once_init_leave (&input_parser_type_id__volatile, input_parser_type_id); } return input_parser_type_id__volatile; } moserial-3.0.8/src/SerialStreamRecorder.c0000674000213200021320000005462612064104644015301 00000000000000/* SerialStreamRecorder.c generated by valac 0.16.1, the Vala compiler * generated from SerialStreamRecorder.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_SERIAL_STREAM_RECORDER (moserial_serial_stream_recorder_get_type ()) #define MOSERIAL_SERIAL_STREAM_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorder)) #define MOSERIAL_SERIAL_STREAM_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorderClass)) #define MOSERIAL_IS_SERIAL_STREAM_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)) #define MOSERIAL_IS_SERIAL_STREAM_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)) #define MOSERIAL_SERIAL_STREAM_RECORDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorderClass)) typedef struct _moserialSerialStreamRecorder moserialSerialStreamRecorder; typedef struct _moserialSerialStreamRecorderClass moserialSerialStreamRecorderClass; typedef struct _moserialSerialStreamRecorderPrivate moserialSerialStreamRecorderPrivate; #define MOSERIAL_SERIAL_STREAM_RECORDER_TYPE_DIRECTION (moserial_serial_stream_recorder_direction_get_type ()) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) typedef struct _moserialParamSpecSerialStreamRecorder moserialParamSpecSerialStreamRecorder; struct _moserialSerialStreamRecorder { GTypeInstance parent_instance; volatile int ref_count; moserialSerialStreamRecorderPrivate * priv; }; struct _moserialSerialStreamRecorderClass { GTypeClass parent_class; void (*finalize) (moserialSerialStreamRecorder *self); }; typedef enum { MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING, MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING, MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH } moserialSerialStreamRecorderDirection; struct _moserialSerialStreamRecorderPrivate { GFile* file; gchar* uri; gboolean isOpen; GFileOutputStream* fos; moserialSerialStreamRecorderDirection direction; }; struct _moserialParamSpecSerialStreamRecorder { GParamSpec parent_instance; }; static gpointer moserial_serial_stream_recorder_parent_class = NULL; gpointer moserial_serial_stream_recorder_ref (gpointer instance); void moserial_serial_stream_recorder_unref (gpointer instance); GParamSpec* moserial_param_spec_serial_stream_recorder (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); void moserial_value_set_serial_stream_recorder (GValue* value, gpointer v_object); void moserial_value_take_serial_stream_recorder (GValue* value, gpointer v_object); gpointer moserial_value_get_serial_stream_recorder (const GValue* value); GType moserial_serial_stream_recorder_get_type (void) G_GNUC_CONST; GType moserial_serial_stream_recorder_direction_get_type (void) G_GNUC_CONST; #define MOSERIAL_SERIAL_STREAM_RECORDER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorderPrivate)) enum { MOSERIAL_SERIAL_STREAM_RECORDER_DUMMY_PROPERTY }; void moserial_serial_stream_recorder_open (moserialSerialStreamRecorder* self, const gchar* filename, moserialSerialStreamRecorderDirection direction, GError** error); static void moserial_serial_stream_recorder_write (moserialSerialStreamRecorder* self, guchar data); static void moserial_serial_stream_recorder_write_array (moserialSerialStreamRecorder* self, guchar* data, int data_length1); void moserial_serial_stream_recorder_writeOutgoing (moserialSerialStreamRecorder* self, guchar data); void moserial_serial_stream_recorder_writeIncoming (moserialSerialStreamRecorder* self, guchar* data, int data_length1); void moserial_serial_stream_recorder_close (moserialSerialStreamRecorder* self, gboolean launch); gint64 mo_utils_fileSize (const gchar* path); moserialSerialStreamRecorder* moserial_serial_stream_recorder_new (void); moserialSerialStreamRecorder* moserial_serial_stream_recorder_construct (GType object_type); static void moserial_serial_stream_recorder_finalize (moserialSerialStreamRecorder* obj); const gchar* MOSERIAL_SERIAL_STREAM_RECORDER_DirectionStrings[3] = {"Incoming", "Outgoing", "Incoming and Outgoing"}; GType moserial_serial_stream_recorder_direction_get_type (void) { static volatile gsize moserial_serial_stream_recorder_direction_type_id__volatile = 0; if (g_once_init_enter (&moserial_serial_stream_recorder_direction_type_id__volatile)) { static const GEnumValue values[] = {{MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING, "MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING", "incoming"}, {MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING, "MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING", "outgoing"}, {MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH, "MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH", "both"}, {0, NULL, NULL}}; GType moserial_serial_stream_recorder_direction_type_id; moserial_serial_stream_recorder_direction_type_id = g_enum_register_static ("moserialSerialStreamRecorderDirection", values); g_once_init_leave (&moserial_serial_stream_recorder_direction_type_id__volatile, moserial_serial_stream_recorder_direction_type_id); } return moserial_serial_stream_recorder_direction_type_id__volatile; } static gpointer _g_error_copy0 (gpointer self) { return self ? g_error_copy (self) : NULL; } void moserial_serial_stream_recorder_open (moserialSerialStreamRecorder* self, const gchar* filename, moserialSerialStreamRecorderDirection direction, GError** error) { GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (filename != NULL); { const gchar* _tmp0_; GFile* _tmp1_ = NULL; GFile* _tmp2_; GFileOutputStream* _tmp3_ = NULL; GFileOutputStream* _tmp4_; GFile* _tmp5_; gchar* _tmp6_ = NULL; moserialSerialStreamRecorderDirection _tmp7_; _tmp0_ = filename; _tmp1_ = g_file_new_for_path (_tmp0_); _g_object_unref0 (self->priv->file); self->priv->file = _tmp1_; _tmp2_ = self->priv->file; _tmp3_ = g_file_replace (_tmp2_, NULL, FALSE, G_FILE_CREATE_NONE, NULL, &_inner_error_); _tmp4_ = _tmp3_; if (_inner_error_ != NULL) { goto __catch9_g_error; } _g_object_unref0 (self->priv->fos); self->priv->fos = _tmp4_; self->priv->isOpen = TRUE; _tmp5_ = self->priv->file; _tmp6_ = g_file_get_uri (_tmp5_); _g_free0 (self->priv->uri); self->priv->uri = _tmp6_; _tmp7_ = direction; self->priv->direction = _tmp7_; } goto __finally9; __catch9_g_error: { GError* e = NULL; GError* _tmp8_; GError* _tmp9_; e = _inner_error_; _inner_error_ = NULL; self->priv->isOpen = FALSE; _g_object_unref0 (self->priv->file); self->priv->file = NULL; _g_object_unref0 (self->priv->fos); self->priv->fos = NULL; _tmp8_ = e; _tmp9_ = _g_error_copy0 (_tmp8_); _inner_error_ = _tmp9_; _g_error_free0 (e); goto __finally9; } __finally9: if (_inner_error_ != NULL) { g_propagate_error (error, _inner_error_); return; } } static void moserial_serial_stream_recorder_write (moserialSerialStreamRecorder* self, guchar data) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->priv->isOpen; if (_tmp0_) { guchar* _tmp1_ = NULL; guchar* o; gint o_length1; gint _o_size_; guchar* _tmp2_; gint _tmp2__length1; guchar _tmp3_; guchar _tmp4_; _tmp1_ = g_new0 (guchar, 1); o = _tmp1_; o_length1 = 1; _o_size_ = o_length1; _tmp2_ = o; _tmp2__length1 = o_length1; _tmp3_ = data; _tmp2_[0] = _tmp3_; _tmp4_ = _tmp2_[0]; { GFileOutputStream* _tmp5_; guchar* _tmp6_; gint _tmp6__length1; _tmp5_ = self->priv->fos; _tmp6_ = o; _tmp6__length1 = o_length1; g_output_stream_write ((GOutputStream*) _tmp5_, _tmp6_, (gsize) _tmp6__length1, NULL, &_inner_error_); if (_inner_error_ != NULL) { goto __catch10_g_error; } } goto __finally10; __catch10_g_error: { GError* e = NULL; FILE* _tmp7_; const gchar* _tmp8_ = NULL; GError* _tmp9_; const gchar* _tmp10_; e = _inner_error_; _inner_error_ = NULL; _tmp7_ = stdout; _tmp8_ = _ ("error: %s\n"); _tmp9_ = e; _tmp10_ = _tmp9_->message; fprintf (_tmp7_, _tmp8_, _tmp10_); _g_error_free0 (e); } __finally10: if (_inner_error_ != NULL) { o = (g_free (o), NULL); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } o = (g_free (o), NULL); } } static void moserial_serial_stream_recorder_write_array (moserialSerialStreamRecorder* self, guchar* data, int data_length1) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->priv->isOpen; if (_tmp0_) { { GFileOutputStream* _tmp1_; guchar* _tmp2_; gint _tmp2__length1; _tmp1_ = self->priv->fos; _tmp2_ = data; _tmp2__length1 = data_length1; g_output_stream_write ((GOutputStream*) _tmp1_, _tmp2_, (gsize) _tmp2__length1, NULL, &_inner_error_); if (_inner_error_ != NULL) { goto __catch11_g_error; } } goto __finally11; __catch11_g_error: { GError* e = NULL; FILE* _tmp3_; const gchar* _tmp4_ = NULL; GError* _tmp5_; const gchar* _tmp6_; e = _inner_error_; _inner_error_ = NULL; _tmp3_ = stdout; _tmp4_ = _ ("error: %s\n"); _tmp5_ = e; _tmp6_ = _tmp5_->message; fprintf (_tmp3_, _tmp4_, _tmp6_); _g_error_free0 (e); } __finally11: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } } void moserial_serial_stream_recorder_writeOutgoing (moserialSerialStreamRecorder* self, guchar data) { gboolean _tmp0_ = FALSE; gboolean _tmp1_; gboolean _tmp6_; g_return_if_fail (self != NULL); _tmp1_ = self->priv->isOpen; if (_tmp1_) { gboolean _tmp2_ = FALSE; moserialSerialStreamRecorderDirection _tmp3_; gboolean _tmp5_; _tmp3_ = self->priv->direction; if (_tmp3_ == MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING) { _tmp2_ = TRUE; } else { moserialSerialStreamRecorderDirection _tmp4_; _tmp4_ = self->priv->direction; _tmp2_ = _tmp4_ == MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH; } _tmp5_ = _tmp2_; _tmp0_ = _tmp5_; } else { _tmp0_ = FALSE; } _tmp6_ = _tmp0_; if (_tmp6_) { guchar _tmp7_; _tmp7_ = data; moserial_serial_stream_recorder_write (self, _tmp7_); } } void moserial_serial_stream_recorder_writeIncoming (moserialSerialStreamRecorder* self, guchar* data, int data_length1) { gboolean _tmp0_ = FALSE; gboolean _tmp1_; gboolean _tmp6_; g_return_if_fail (self != NULL); _tmp1_ = self->priv->isOpen; if (_tmp1_) { gboolean _tmp2_ = FALSE; moserialSerialStreamRecorderDirection _tmp3_; gboolean _tmp5_; _tmp3_ = self->priv->direction; if (_tmp3_ == MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING) { _tmp2_ = TRUE; } else { moserialSerialStreamRecorderDirection _tmp4_; _tmp4_ = self->priv->direction; _tmp2_ = _tmp4_ == MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH; } _tmp5_ = _tmp2_; _tmp0_ = _tmp5_; } else { _tmp0_ = FALSE; } _tmp6_ = _tmp0_; if (_tmp6_) { guchar* _tmp7_; gint _tmp7__length1; _tmp7_ = data; _tmp7__length1 = data_length1; moserial_serial_stream_recorder_write_array (self, _tmp7_, _tmp7__length1); } } void moserial_serial_stream_recorder_close (moserialSerialStreamRecorder* self, gboolean launch) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->priv->isOpen; if (_tmp0_) { gboolean _tmp7_ = FALSE; gboolean _tmp8_; gboolean _tmp11_; { GFileOutputStream* _tmp1_; GFileOutputStream* _tmp2_; _tmp1_ = self->priv->fos; g_output_stream_flush ((GOutputStream*) _tmp1_, NULL, &_inner_error_); if (_inner_error_ != NULL) { goto __catch12_g_error; } _tmp2_ = self->priv->fos; g_output_stream_close ((GOutputStream*) _tmp2_, NULL, &_inner_error_); if (_inner_error_ != NULL) { goto __catch12_g_error; } } goto __finally12; __catch12_g_error: { GError* e = NULL; FILE* _tmp3_; const gchar* _tmp4_ = NULL; GError* _tmp5_; const gchar* _tmp6_; e = _inner_error_; _inner_error_ = NULL; _tmp3_ = stdout; _tmp4_ = _ ("error: %s\n"); _tmp5_ = e; _tmp6_ = _tmp5_->message; fprintf (_tmp3_, _tmp4_, _tmp6_); _g_error_free0 (e); } __finally12: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp8_ = launch; if (_tmp8_) { const gchar* _tmp9_; gint64 _tmp10_ = 0LL; _tmp9_ = self->priv->uri; _tmp10_ = mo_utils_fileSize (_tmp9_); _tmp7_ = _tmp10_ > ((gint64) 0); } else { _tmp7_ = FALSE; } _tmp11_ = _tmp7_; if (_tmp11_) { { const gchar* _tmp12_; _tmp12_ = self->priv->uri; gtk_show_uri (NULL, _tmp12_, (guint32) GDK_CURRENT_TIME, &_inner_error_); if (_inner_error_ != NULL) { goto __catch13_g_error; } } goto __finally13; __catch13_g_error: { GError* e = NULL; const gchar* _tmp13_ = NULL; const gchar* _tmp14_; GError* _tmp15_; const gchar* _tmp16_; e = _inner_error_; _inner_error_ = NULL; _tmp13_ = _ ("Unable to launch %s: %s"); _tmp14_ = self->priv->uri; _tmp15_ = e; _tmp16_ = _tmp15_->message; g_warning (_tmp13_, _tmp14_, _tmp16_); _g_error_free0 (e); } __finally13: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } _g_object_unref0 (self->priv->fos); self->priv->fos = NULL; _g_object_unref0 (self->priv->file); self->priv->file = NULL; self->priv->isOpen = FALSE; } } moserialSerialStreamRecorder* moserial_serial_stream_recorder_construct (GType object_type) { moserialSerialStreamRecorder* self = NULL; self = (moserialSerialStreamRecorder*) g_type_create_instance (object_type); return self; } moserialSerialStreamRecorder* moserial_serial_stream_recorder_new (void) { return moserial_serial_stream_recorder_construct (MOSERIAL_TYPE_SERIAL_STREAM_RECORDER); } static void moserial_value_serial_stream_recorder_init (GValue* value) { value->data[0].v_pointer = NULL; } static void moserial_value_serial_stream_recorder_free_value (GValue* value) { if (value->data[0].v_pointer) { moserial_serial_stream_recorder_unref (value->data[0].v_pointer); } } static void moserial_value_serial_stream_recorder_copy_value (const GValue* src_value, GValue* dest_value) { if (src_value->data[0].v_pointer) { dest_value->data[0].v_pointer = moserial_serial_stream_recorder_ref (src_value->data[0].v_pointer); } else { dest_value->data[0].v_pointer = NULL; } } static gpointer moserial_value_serial_stream_recorder_peek_pointer (const GValue* value) { return value->data[0].v_pointer; } static gchar* moserial_value_serial_stream_recorder_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { if (collect_values[0].v_pointer) { moserialSerialStreamRecorder* object; object = collect_values[0].v_pointer; if (object->parent_instance.g_class == NULL) { return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); } value->data[0].v_pointer = moserial_serial_stream_recorder_ref (object); } else { value->data[0].v_pointer = NULL; } return NULL; } static gchar* moserial_value_serial_stream_recorder_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { moserialSerialStreamRecorder** object_p; object_p = collect_values[0].v_pointer; if (!object_p) { return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); } if (!value->data[0].v_pointer) { *object_p = NULL; } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { *object_p = value->data[0].v_pointer; } else { *object_p = moserial_serial_stream_recorder_ref (value->data[0].v_pointer); } return NULL; } GParamSpec* moserial_param_spec_serial_stream_recorder (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { moserialParamSpecSerialStreamRecorder* spec; g_return_val_if_fail (g_type_is_a (object_type, MOSERIAL_TYPE_SERIAL_STREAM_RECORDER), NULL); spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); G_PARAM_SPEC (spec)->value_type = object_type; return G_PARAM_SPEC (spec); } gpointer moserial_value_get_serial_stream_recorder (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, MOSERIAL_TYPE_SERIAL_STREAM_RECORDER), NULL); return value->data[0].v_pointer; } void moserial_value_set_serial_stream_recorder (GValue* value, gpointer v_object) { moserialSerialStreamRecorder* old; g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)); old = value->data[0].v_pointer; if (v_object) { g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)); g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); value->data[0].v_pointer = v_object; moserial_serial_stream_recorder_ref (value->data[0].v_pointer); } else { value->data[0].v_pointer = NULL; } if (old) { moserial_serial_stream_recorder_unref (old); } } void moserial_value_take_serial_stream_recorder (GValue* value, gpointer v_object) { moserialSerialStreamRecorder* old; g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)); old = value->data[0].v_pointer; if (v_object) { g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)); g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); value->data[0].v_pointer = v_object; } else { value->data[0].v_pointer = NULL; } if (old) { moserial_serial_stream_recorder_unref (old); } } static void moserial_serial_stream_recorder_class_init (moserialSerialStreamRecorderClass * klass) { moserial_serial_stream_recorder_parent_class = g_type_class_peek_parent (klass); MOSERIAL_SERIAL_STREAM_RECORDER_CLASS (klass)->finalize = moserial_serial_stream_recorder_finalize; g_type_class_add_private (klass, sizeof (moserialSerialStreamRecorderPrivate)); } static void moserial_serial_stream_recorder_instance_init (moserialSerialStreamRecorder * self) { self->priv = MOSERIAL_SERIAL_STREAM_RECORDER_GET_PRIVATE (self); self->priv->isOpen = FALSE; self->ref_count = 1; } static void moserial_serial_stream_recorder_finalize (moserialSerialStreamRecorder* obj) { moserialSerialStreamRecorder * self; self = MOSERIAL_SERIAL_STREAM_RECORDER (obj); _g_object_unref0 (self->priv->file); _g_free0 (self->priv->uri); _g_object_unref0 (self->priv->fos); } GType moserial_serial_stream_recorder_get_type (void) { static volatile gsize moserial_serial_stream_recorder_type_id__volatile = 0; if (g_once_init_enter (&moserial_serial_stream_recorder_type_id__volatile)) { static const GTypeValueTable g_define_type_value_table = { moserial_value_serial_stream_recorder_init, moserial_value_serial_stream_recorder_free_value, moserial_value_serial_stream_recorder_copy_value, moserial_value_serial_stream_recorder_peek_pointer, "p", moserial_value_serial_stream_recorder_collect_value, "p", moserial_value_serial_stream_recorder_lcopy_value }; static const GTypeInfo g_define_type_info = { sizeof (moserialSerialStreamRecorderClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_serial_stream_recorder_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialSerialStreamRecorder), 0, (GInstanceInitFunc) moserial_serial_stream_recorder_instance_init, &g_define_type_value_table }; static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) }; GType moserial_serial_stream_recorder_type_id; moserial_serial_stream_recorder_type_id = g_type_register_fundamental (g_type_fundamental_next (), "moserialSerialStreamRecorder", &g_define_type_info, &g_define_type_fundamental_info, 0); g_once_init_leave (&moserial_serial_stream_recorder_type_id__volatile, moserial_serial_stream_recorder_type_id); } return moserial_serial_stream_recorder_type_id__volatile; } gpointer moserial_serial_stream_recorder_ref (gpointer instance) { moserialSerialStreamRecorder* self; self = instance; g_atomic_int_inc (&self->ref_count); return instance; } void moserial_serial_stream_recorder_unref (gpointer instance) { moserialSerialStreamRecorder* self; self = instance; if (g_atomic_int_dec_and_test (&self->ref_count)) { MOSERIAL_SERIAL_STREAM_RECORDER_GET_CLASS (self)->finalize (self); g_type_free_instance ((GTypeInstance *) self); } } moserial-3.0.8/src/HexTextBuffer.c0000664000213200021320000004457112064144457013746 00000000000000/* HexTextBuffer.c generated by valac 0.16.1, the Vala compiler * generated from HexTextBuffer.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #define MOSERIAL_TYPE_HEX_TEXT_BUFFER (moserial_hex_text_buffer_get_type ()) #define MOSERIAL_HEX_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBuffer)) #define MOSERIAL_HEX_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBufferClass)) #define MOSERIAL_IS_HEX_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_HEX_TEXT_BUFFER)) #define MOSERIAL_IS_HEX_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_HEX_TEXT_BUFFER)) #define MOSERIAL_HEX_TEXT_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBufferClass)) typedef struct _moserialHexTextBuffer moserialHexTextBuffer; typedef struct _moserialHexTextBufferClass moserialHexTextBufferClass; typedef struct _moserialHexTextBufferPrivate moserialHexTextBufferPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define TYPE_PREFERENCES (preferences_get_type ()) #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences)) #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass)) #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES)) #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES)) #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass)) typedef struct _Preferences Preferences; typedef struct _PreferencesClass PreferencesClass; #define _g_free0(var) (var = (g_free (var), NULL)) struct _moserialHexTextBuffer { GtkTextBuffer parent_instance; moserialHexTextBufferPrivate * priv; }; struct _moserialHexTextBufferClass { GtkTextBufferClass parent_class; }; struct _moserialHexTextBufferPrivate { GtkTextMark* nextHexMark; GtkTextMark* nextCharMark; GtkTextTag* addressTag; GtkTextTag* oddTag; gint hexBytes; }; static gpointer moserial_hex_text_buffer_parent_class = NULL; GType moserial_hex_text_buffer_get_type (void) G_GNUC_CONST; #define MOSERIAL_HEX_TEXT_BUFFER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBufferPrivate)) enum { MOSERIAL_HEX_TEXT_BUFFER_DUMMY_PROPERTY }; GType preferences_get_type (void) G_GNUC_CONST; void moserial_hex_text_buffer_applyPreferences (moserialHexTextBuffer* self, Preferences* preferences); const gchar* preferences_get_highlightColor (Preferences* self); void moserial_hex_text_buffer_clear (moserialHexTextBuffer* self); static void moserial_hex_text_buffer_setup (moserialHexTextBuffer* self); void moserial_hex_text_buffer_add (moserialHexTextBuffer* self, guchar data); moserialHexTextBuffer* moserial_hex_text_buffer_new (void); moserialHexTextBuffer* moserial_hex_text_buffer_construct (GType object_type); static GObject * moserial_hex_text_buffer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void moserial_hex_text_buffer_finalize (GObject* obj); void moserial_hex_text_buffer_applyPreferences (moserialHexTextBuffer* self, Preferences* preferences) { GtkTextTag* _tmp0_; Preferences* _tmp1_; const gchar* _tmp2_; const gchar* _tmp3_; GtkTextTag* _tmp4_; Preferences* _tmp5_; const gchar* _tmp6_; const gchar* _tmp7_; g_return_if_fail (self != NULL); g_return_if_fail (preferences != NULL); _tmp0_ = self->priv->addressTag; _tmp1_ = preferences; _tmp2_ = preferences_get_highlightColor (_tmp1_); _tmp3_ = _tmp2_; g_object_set (_tmp0_, "foreground", _tmp3_, NULL); _tmp4_ = self->priv->oddTag; _tmp5_ = preferences; _tmp6_ = preferences_get_highlightColor (_tmp5_); _tmp7_ = _tmp6_; g_object_set (_tmp4_, "foreground", _tmp7_, NULL); } void moserial_hex_text_buffer_clear (moserialHexTextBuffer* self) { GtkTextMark* _tmp0_; GtkTextMark* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->nextHexMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp0_); _tmp1_ = self->priv->nextCharMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp1_); gtk_text_buffer_set_text ((GtkTextBuffer*) self, "", 0); moserial_hex_text_buffer_setup (self); } static void moserial_hex_text_buffer_setup (moserialHexTextBuffer* self) { GtkTextIter nextHexIter = {0}; GtkTextIter nextCharIter = {0}; GtkTextIter _tmp0_ = {0}; GtkTextMark* _tmp1_; GtkTextMark* _tmp2_; GtkTextIter _tmp3_; GtkTextIter _tmp4_; GtkTextMark* _tmp5_; GtkTextMark* _tmp6_; GtkTextIter _tmp7_; g_return_if_fail (self != NULL); gtk_text_buffer_get_end_iter ((GtkTextBuffer*) self, &_tmp0_); nextHexIter = _tmp0_; _tmp1_ = gtk_text_mark_new ("nextHex", TRUE); _g_object_unref0 (self->priv->nextHexMark); self->priv->nextHexMark = _tmp1_; _tmp2_ = self->priv->nextHexMark; _tmp3_ = nextHexIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp2_, &_tmp3_); _tmp4_ = nextHexIter; nextCharIter = _tmp4_; _tmp5_ = gtk_text_mark_new ("nextChar", TRUE); _g_object_unref0 (self->priv->nextCharMark); self->priv->nextCharMark = _tmp5_; _tmp6_ = self->priv->nextCharMark; _tmp7_ = nextCharIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp6_, &_tmp7_); self->priv->hexBytes = 0; } static gunichar string_get_char (const gchar* self, glong index) { gunichar result = 0U; glong _tmp0_; gunichar _tmp1_ = 0U; g_return_val_if_fail (self != NULL, 0U); _tmp0_ = index; _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); result = _tmp1_; return result; } void moserial_hex_text_buffer_add (moserialHexTextBuffer* self, guchar data) { GtkTextIter nextHexIter = {0}; GtkTextIter nextCharIter = {0}; gchar* _tmp0_; gchar* incomingHexBuffer; gint _tmp1_; GtkTextMark* _tmp37_; GtkTextIter _tmp38_ = {0}; const gchar* _tmp39_; guchar _tmp40_; gchar* _tmp41_ = NULL; gchar* _tmp42_; gchar* _tmp43_; const gchar* _tmp44_; const gchar* _tmp45_; gint _tmp46_; gint _tmp47_; GtkTextMark* _tmp48_; GtkTextIter _tmp49_ = {0}; const gchar* _tmp50_; gint _tmp51_; gint _tmp52_; GtkTextMark* _tmp53_; GtkTextMark* _tmp54_; GtkTextMark* _tmp55_; GtkTextIter _tmp56_; GtkTextIter tempIter = {0}; GtkTextIter _tmp57_; gchar* _tmp58_; gint _tmp59_; GtkTextMark* _tmp60_; GtkTextIter _tmp61_ = {0}; guchar _tmp62_; gchar* _tmp63_ = NULL; gchar* _tmp64_; gunichar _tmp65_ = 0U; gunichar _tmp66_; gunichar c; guchar _tmp67_; gchar* _tmp68_ = NULL; gchar* s; gboolean _tmp69_ = FALSE; const gchar* _tmp70_; gboolean _tmp71_ = FALSE; gboolean _tmp74_; GtkTextMark* _tmp86_; GtkTextMark* _tmp87_; GtkTextMark* _tmp88_; GtkTextIter _tmp89_; g_return_if_fail (self != NULL); _tmp0_ = g_strdup (""); incomingHexBuffer = _tmp0_; _tmp1_ = self->priv->hexBytes; if ((_tmp1_ % 16) == 0) { GtkTextIter startIter = {0}; GtkTextMark* _tmp2_; GtkTextIter _tmp3_ = {0}; GtkTextMark* _tmp4_; GtkTextMark* startMark; GtkTextMark* _tmp5_; GtkTextIter _tmp6_; gint _tmp7_; gchar* _tmp8_ = NULL; gchar* _tmp9_; GtkTextIter _tmp10_ = {0}; GtkTextMark* _tmp11_; GtkTextIter _tmp12_ = {0}; GtkTextIter _tmp13_; GtkTextIter _tmp14_; GtkTextMark* _tmp15_; GtkTextIter _tmp16_ = {0}; GtkTextMark* _tmp17_; GtkTextIter _tmp18_; GtkTextMark* _tmp19_; GtkTextMark* _tmp20_; GtkTextIter _tmp21_; GtkTextIter _tmp22_ = {0}; GtkTextMark* _tmp23_; GtkTextMark* _tmp24_; GtkTextMark* _tmp25_; GtkTextIter _tmp26_; _tmp2_ = self->priv->nextCharMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp3_, _tmp2_); nextCharIter = _tmp3_; _tmp4_ = gtk_text_mark_new ("startMark", TRUE); startMark = _tmp4_; _tmp5_ = startMark; _tmp6_ = nextCharIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp5_, &_tmp6_); _tmp7_ = self->priv->hexBytes; _tmp8_ = g_strdup_printf ("\n%08x", (guint) _tmp7_); _tmp9_ = _tmp8_; gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextCharIter, _tmp9_, 9); _g_free0 (_tmp9_); gtk_text_buffer_get_end_iter ((GtkTextBuffer*) self, &_tmp10_); nextCharIter = _tmp10_; _tmp11_ = startMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp12_, _tmp11_); startIter = _tmp12_; _tmp13_ = startIter; _tmp14_ = nextCharIter; gtk_text_buffer_apply_tag_by_name ((GtkTextBuffer*) self, "hex_address", &_tmp13_, &_tmp14_); _tmp15_ = startMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp15_); gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextCharIter, " ", 1); gtk_text_buffer_get_end_iter ((GtkTextBuffer*) self, &_tmp16_); nextCharIter = _tmp16_; _tmp17_ = self->priv->nextHexMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp17_); _tmp18_ = nextCharIter; nextHexIter = _tmp18_; _tmp19_ = gtk_text_mark_new ("nextHex", TRUE); _g_object_unref0 (self->priv->nextHexMark); self->priv->nextHexMark = _tmp19_; _tmp20_ = self->priv->nextHexMark; _tmp21_ = nextHexIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp20_, &_tmp21_); gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextCharIter, " ", 51); gtk_text_buffer_get_end_iter ((GtkTextBuffer*) self, &_tmp22_); nextCharIter = _tmp22_; _tmp23_ = self->priv->nextCharMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp23_); _tmp24_ = gtk_text_mark_new ("nextChar", TRUE); _g_object_unref0 (self->priv->nextCharMark); self->priv->nextCharMark = _tmp24_; _tmp25_ = self->priv->nextCharMark; _tmp26_ = nextCharIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp25_, &_tmp26_); _g_object_unref0 (startMark); } else { gint _tmp27_; _tmp27_ = self->priv->hexBytes; if ((_tmp27_ % 8) == 0) { GtkTextMark* _tmp28_; GtkTextIter _tmp29_ = {0}; GtkTextMark* _tmp30_; GtkTextIter _tmp31_ = {0}; GtkTextMark* _tmp32_; GtkTextMark* _tmp33_; GtkTextMark* _tmp34_; GtkTextIter _tmp35_; GtkTextIter tempIter = {0}; GtkTextIter _tmp36_; _tmp28_ = self->priv->nextHexMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp29_, _tmp28_); nextHexIter = _tmp29_; gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextHexIter, " ", 2); _tmp30_ = self->priv->nextHexMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp31_, _tmp30_); nextHexIter = _tmp31_; gtk_text_iter_forward_chars (&nextHexIter, 2); _tmp32_ = self->priv->nextHexMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp32_); _tmp33_ = gtk_text_mark_new ("nextHex", TRUE); _g_object_unref0 (self->priv->nextHexMark); self->priv->nextHexMark = _tmp33_; _tmp34_ = self->priv->nextHexMark; _tmp35_ = nextHexIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp34_, &_tmp35_); _tmp36_ = nextHexIter; tempIter = _tmp36_; gtk_text_iter_forward_chars (&tempIter, 2); gtk_text_buffer_delete ((GtkTextBuffer*) self, &nextHexIter, &tempIter); } } _tmp37_ = self->priv->nextHexMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp38_, _tmp37_); nextHexIter = _tmp38_; _tmp39_ = incomingHexBuffer; _tmp40_ = data; _tmp41_ = g_strdup_printf ("%02X ", (guint) _tmp40_); _tmp42_ = _tmp41_; _tmp43_ = g_strconcat (_tmp39_, _tmp42_, NULL); _g_free0 (incomingHexBuffer); incomingHexBuffer = _tmp43_; _g_free0 (_tmp42_); _tmp44_ = incomingHexBuffer; _tmp45_ = incomingHexBuffer; _tmp46_ = strlen (_tmp45_); _tmp47_ = _tmp46_; gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextHexIter, _tmp44_, (gint) _tmp47_); _tmp48_ = self->priv->nextHexMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp49_, _tmp48_); nextHexIter = _tmp49_; _tmp50_ = incomingHexBuffer; _tmp51_ = strlen (_tmp50_); _tmp52_ = _tmp51_; gtk_text_iter_forward_chars (&nextHexIter, _tmp52_); _tmp53_ = self->priv->nextHexMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp53_); _tmp54_ = gtk_text_mark_new ("nextHex", TRUE); _g_object_unref0 (self->priv->nextHexMark); self->priv->nextHexMark = _tmp54_; _tmp55_ = self->priv->nextHexMark; _tmp56_ = nextHexIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp55_, &_tmp56_); _tmp57_ = nextHexIter; tempIter = _tmp57_; gtk_text_iter_forward_chars (&tempIter, 3); gtk_text_buffer_delete ((GtkTextBuffer*) self, &nextHexIter, &tempIter); _tmp58_ = g_strdup (""); _g_free0 (incomingHexBuffer); incomingHexBuffer = _tmp58_; _tmp59_ = self->priv->hexBytes; self->priv->hexBytes = _tmp59_ + 1; _tmp60_ = self->priv->nextCharMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp61_, _tmp60_); nextCharIter = _tmp61_; _tmp62_ = data; _tmp63_ = g_strdup_printf ("%c", (gint) _tmp62_); _tmp64_ = _tmp63_; _tmp65_ = string_get_char (_tmp64_, (glong) 0); _tmp66_ = _tmp65_; _g_free0 (_tmp64_); c = _tmp66_; _tmp67_ = data; _tmp68_ = g_strdup_printf ("%c", (gint) _tmp67_); s = _tmp68_; _tmp70_ = s; _tmp71_ = g_utf8_validate (_tmp70_, (gssize) (-1), NULL); if (_tmp71_) { gunichar _tmp72_; gboolean _tmp73_ = FALSE; _tmp72_ = c; _tmp73_ = g_unichar_isprint (_tmp72_); _tmp69_ = _tmp73_; } else { _tmp69_ = FALSE; } _tmp74_ = _tmp69_; if (_tmp74_) { const gchar* _tmp75_; const gchar* _tmp76_; gint _tmp77_; gint _tmp78_; GtkTextMark* _tmp79_; GtkTextIter _tmp80_ = {0}; const gchar* _tmp81_; gint _tmp82_; gint _tmp83_; _tmp75_ = s; _tmp76_ = s; _tmp77_ = strlen (_tmp76_); _tmp78_ = _tmp77_; gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextCharIter, _tmp75_, (gint) _tmp78_); _tmp79_ = self->priv->nextCharMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp80_, _tmp79_); nextCharIter = _tmp80_; _tmp81_ = s; _tmp82_ = strlen (_tmp81_); _tmp83_ = _tmp82_; gtk_text_iter_forward_chars (&nextCharIter, _tmp83_); } else { GtkTextMark* _tmp84_; GtkTextIter _tmp85_ = {0}; gtk_text_buffer_insert ((GtkTextBuffer*) self, &nextCharIter, ".", 1); _tmp84_ = self->priv->nextCharMark; gtk_text_buffer_get_iter_at_mark ((GtkTextBuffer*) self, &_tmp85_, _tmp84_); nextCharIter = _tmp85_; gtk_text_iter_forward_chars (&nextCharIter, 1); } _tmp86_ = self->priv->nextCharMark; gtk_text_buffer_delete_mark ((GtkTextBuffer*) self, _tmp86_); _tmp87_ = gtk_text_mark_new ("nextChar", TRUE); _g_object_unref0 (self->priv->nextCharMark); self->priv->nextCharMark = _tmp87_; _tmp88_ = self->priv->nextCharMark; _tmp89_ = nextCharIter; gtk_text_buffer_add_mark ((GtkTextBuffer*) self, _tmp88_, &_tmp89_); _g_free0 (s); _g_free0 (incomingHexBuffer); } moserialHexTextBuffer* moserial_hex_text_buffer_construct (GType object_type) { moserialHexTextBuffer * self = NULL; self = (moserialHexTextBuffer*) g_object_new (object_type, NULL); return self; } moserialHexTextBuffer* moserial_hex_text_buffer_new (void) { return moserial_hex_text_buffer_construct (MOSERIAL_TYPE_HEX_TEXT_BUFFER); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static GObject * moserial_hex_text_buffer_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialHexTextBuffer * self; GtkTextTag* _tmp0_ = NULL; GtkTextTag* _tmp1_; GtkTextTag* _tmp2_ = NULL; GtkTextTag* _tmp3_; parent_class = G_OBJECT_CLASS (moserial_hex_text_buffer_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_HEX_TEXT_BUFFER (obj); moserial_hex_text_buffer_setup (self); _tmp0_ = gtk_text_buffer_create_tag ((GtkTextBuffer*) self, "hex_address", "foreground", "#2020ff", NULL, NULL); _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->addressTag); self->priv->addressTag = _tmp1_; _tmp2_ = gtk_text_buffer_create_tag ((GtkTextBuffer*) self, "hex_odd", "foreground", "#2020ff", NULL, NULL); _tmp3_ = _g_object_ref0 (_tmp2_); _g_object_unref0 (self->priv->oddTag); self->priv->oddTag = _tmp3_; return obj; } static void moserial_hex_text_buffer_class_init (moserialHexTextBufferClass * klass) { moserial_hex_text_buffer_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialHexTextBufferPrivate)); G_OBJECT_CLASS (klass)->constructor = moserial_hex_text_buffer_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_hex_text_buffer_finalize; } static void moserial_hex_text_buffer_instance_init (moserialHexTextBuffer * self) { self->priv = MOSERIAL_HEX_TEXT_BUFFER_GET_PRIVATE (self); } static void moserial_hex_text_buffer_finalize (GObject* obj) { moserialHexTextBuffer * self; self = MOSERIAL_HEX_TEXT_BUFFER (obj); _g_object_unref0 (self->priv->nextHexMark); _g_object_unref0 (self->priv->nextCharMark); _g_object_unref0 (self->priv->addressTag); _g_object_unref0 (self->priv->oddTag); G_OBJECT_CLASS (moserial_hex_text_buffer_parent_class)->finalize (obj); } GType moserial_hex_text_buffer_get_type (void) { static volatile gsize moserial_hex_text_buffer_type_id__volatile = 0; if (g_once_init_enter (&moserial_hex_text_buffer_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialHexTextBufferClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_hex_text_buffer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialHexTextBuffer), 0, (GInstanceInitFunc) moserial_hex_text_buffer_instance_init, NULL }; GType moserial_hex_text_buffer_type_id; moserial_hex_text_buffer_type_id = g_type_register_static (GTK_TYPE_TEXT_BUFFER, "moserialHexTextBuffer", &g_define_type_info, 0); g_once_init_leave (&moserial_hex_text_buffer_type_id__volatile, moserial_hex_text_buffer_type_id); } return moserial_hex_text_buffer_type_id__volatile; } moserial-3.0.8/src/SerialConnection.c0000674000213200021320000007140712064104644014453 00000000000000/* SerialConnection.c generated by valac 0.16.1, the Vala compiler * generated from SerialConnection.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_SERIAL_CONNECTION (moserial_serial_connection_get_type ()) #define MOSERIAL_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnection)) #define MOSERIAL_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) #define MOSERIAL_IS_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_IS_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_SERIAL_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) typedef struct _moserialSerialConnection moserialSerialConnection; typedef struct _moserialSerialConnectionClass moserialSerialConnectionClass; typedef struct _moserialSerialConnectionPrivate moserialSerialConnectionPrivate; #define MOSERIAL_SERIAL_CONNECTION_TYPE_LINE_END (moserial_serial_connection_line_end_get_type ()) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_io_channel_unref0(var) ((var == NULL) ? NULL : (var = (g_io_channel_unref (var), NULL))) #define TYPE_SETTINGS (settings_get_type ()) #define SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS, Settings)) #define SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS, SettingsClass)) #define IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS)) #define IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS)) #define SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS, SettingsClass)) typedef struct _Settings Settings; typedef struct _SettingsClass SettingsClass; #define SETTINGS_TYPE_ACCESS_MODE (settings_access_mode_get_type ()) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define SETTINGS_TYPE_PARITY (settings_parity_get_type ()) #define SETTINGS_TYPE_HANDSHAKE (settings_handshake_get_type ()) struct _moserialSerialConnection { GObject parent_instance; moserialSerialConnectionPrivate * priv; gulong tx; gulong rx; gulong nonprintable; gboolean forced_hex_view; gboolean lastRxCharWasCR; gchar* echoReference; gchar* echoCompare; }; struct _moserialSerialConnectionClass { GObjectClass parent_class; }; struct _moserialSerialConnectionPrivate { gboolean connected; struct termios newtio; struct termios restoretio; gint m_fd; GIOChannel* IOChannelFd; gint flags; guint* sourceId; gboolean localEcho; }; typedef enum { MOSERIAL_SERIAL_CONNECTION_LINE_END_CRLF, MOSERIAL_SERIAL_CONNECTION_LINE_END_CR, MOSERIAL_SERIAL_CONNECTION_LINE_END_LF, MOSERIAL_SERIAL_CONNECTION_LINE_END_TAB, MOSERIAL_SERIAL_CONNECTION_LINE_END_ESC, MOSERIAL_SERIAL_CONNECTION_LINE_END_NONE } moserialSerialConnectionLineEnd; typedef enum { SETTINGS_ACCESS_MODE_READWRITE, SETTINGS_ACCESS_MODE_READONLY, SETTINGS_ACCESS_MODE_WRITEONLY } SettingsAccessMode; typedef enum { SETTINGS_PARITY_NONE, SETTINGS_PARITY_ODD, SETTINGS_PARITY_EVEN, SETTINGS_PARITY_MARK, SETTINGS_PARITY_SPACE } SettingsParity; typedef enum { SETTINGS_HANDSHAKE_NONE, SETTINGS_HANDSHAKE_HARDWARE, SETTINGS_HANDSHAKE_SOFTWARE, SETTINGS_HANDSHAKE_BOTH } SettingsHandshake; static gpointer moserial_serial_connection_parent_class = NULL; GType moserial_serial_connection_get_type (void) G_GNUC_CONST; #define MOSERIAL_SERIAL_CONNECTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionPrivate)) enum { MOSERIAL_SERIAL_CONNECTION_DUMMY_PROPERTY }; GType moserial_serial_connection_line_end_get_type (void) G_GNUC_CONST; #define MOSERIAL_SERIAL_CONNECTION_max_buf_size 128 GType settings_get_type (void) G_GNUC_CONST; gboolean moserial_serial_connection_doConnect (moserialSerialConnection* self, Settings* settings); GType settings_access_mode_get_type (void) G_GNUC_CONST; SettingsAccessMode settings_get_accessMode (Settings* self); const gchar* settings_get_device (Settings* self); static void moserial_serial_connection_applySettings (moserialSerialConnection* self, Settings* settings); static gboolean moserial_serial_connection_readBytes (moserialSerialConnection* self, GIOChannel* source, GIOCondition condition); static gboolean _moserial_serial_connection_readBytes_gio_func (GIOChannel* source, GIOCondition condition, gpointer self); static guint* _uint_dup (guint* self); gboolean settings_get_localEcho (Settings* self); void moserial_serial_connection_sendByte (moserialSerialConnection* self, guchar byte); void moserial_serial_connection_sendBytes (moserialSerialConnection* self, gchar* bytes, int bytes_length1, gsize size); void moserial_serial_connection_doDisconnect (moserialSerialConnection* self); gint settings_get_baudRate (Settings* self); gint settings_get_dataBits (Settings* self); GType settings_parity_get_type (void) G_GNUC_CONST; SettingsParity settings_get_parity (Settings* self); gint settings_get_stopBits (Settings* self); GType settings_handshake_get_type (void) G_GNUC_CONST; SettingsHandshake settings_get_handshake (Settings* self); gchar* moserial_serial_connection_getBytecountbarString (moserialSerialConnection* self); moserialSerialConnection* moserial_serial_connection_new (void); moserialSerialConnection* moserial_serial_connection_construct (GType object_type); static void g_cclosure_user_marshal_VOID__POINTER_INT_INT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data); static void moserial_serial_connection_finalize (GObject* obj); const gchar* MOSERIAL_SERIAL_CONNECTION_LineEndStrings[6] = {"CR+LF end", "CR end", "LF end", "TAB end", "ESC end", "No end"}; const gchar* MOSERIAL_SERIAL_CONNECTION_LineEndValues[6] = {"\r\n", "\r", "\n", "\t", "\x1b", ""}; GType moserial_serial_connection_line_end_get_type (void) { static volatile gsize moserial_serial_connection_line_end_type_id__volatile = 0; if (g_once_init_enter (&moserial_serial_connection_line_end_type_id__volatile)) { static const GEnumValue values[] = {{MOSERIAL_SERIAL_CONNECTION_LINE_END_CRLF, "MOSERIAL_SERIAL_CONNECTION_LINE_END_CRLF", "crlf"}, {MOSERIAL_SERIAL_CONNECTION_LINE_END_CR, "MOSERIAL_SERIAL_CONNECTION_LINE_END_CR", "cr"}, {MOSERIAL_SERIAL_CONNECTION_LINE_END_LF, "MOSERIAL_SERIAL_CONNECTION_LINE_END_LF", "lf"}, {MOSERIAL_SERIAL_CONNECTION_LINE_END_TAB, "MOSERIAL_SERIAL_CONNECTION_LINE_END_TAB", "tab"}, {MOSERIAL_SERIAL_CONNECTION_LINE_END_ESC, "MOSERIAL_SERIAL_CONNECTION_LINE_END_ESC", "esc"}, {MOSERIAL_SERIAL_CONNECTION_LINE_END_NONE, "MOSERIAL_SERIAL_CONNECTION_LINE_END_NONE", "none"}, {0, NULL, NULL}}; GType moserial_serial_connection_line_end_type_id; moserial_serial_connection_line_end_type_id = g_enum_register_static ("moserialSerialConnectionLineEnd", values); g_once_init_leave (&moserial_serial_connection_line_end_type_id__volatile, moserial_serial_connection_line_end_type_id); } return moserial_serial_connection_line_end_type_id__volatile; } static gboolean _moserial_serial_connection_readBytes_gio_func (GIOChannel* source, GIOCondition condition, gpointer self) { gboolean result; result = moserial_serial_connection_readBytes (self, source, condition); return result; } static guint* _uint_dup (guint* self) { guint* dup; dup = g_new0 (guint, 1); memcpy (dup, self, sizeof (guint)); return dup; } static gpointer __uint_dup0 (gpointer self) { return self ? _uint_dup (self) : NULL; } gboolean moserial_serial_connection_doConnect (moserialSerialConnection* self, Settings* settings) { gboolean result = FALSE; Settings* _tmp0_; SettingsAccessMode _tmp1_; SettingsAccessMode _tmp2_; Settings* _tmp6_; const gchar* _tmp7_; const gchar* _tmp8_; gint _tmp9_; gint _tmp10_ = 0; gint _tmp11_; gint _tmp12_; gint _tmp13_; struct termios _tmp14_ = {0}; Settings* _tmp15_; gint _tmp16_; struct termios _tmp17_; gint _tmp18_; GIOChannel* _tmp19_; GIOChannel* _tmp20_; guint _tmp21_ = 0U; guint* _tmp22_; Settings* _tmp23_; gboolean _tmp24_; gboolean _tmp25_; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (settings != NULL, FALSE); _tmp0_ = settings; _tmp1_ = settings_get_accessMode (_tmp0_); _tmp2_ = _tmp1_; if (_tmp2_ == SETTINGS_ACCESS_MODE_READWRITE) { self->priv->flags = O_RDWR; } else { Settings* _tmp3_; SettingsAccessMode _tmp4_; SettingsAccessMode _tmp5_; _tmp3_ = settings; _tmp4_ = settings_get_accessMode (_tmp3_); _tmp5_ = _tmp4_; if (_tmp5_ == SETTINGS_ACCESS_MODE_READONLY) { self->priv->flags = O_RDONLY; } else { self->priv->flags = O_WRONLY; } } _tmp6_ = settings; _tmp7_ = settings_get_device (_tmp6_); _tmp8_ = _tmp7_; _tmp9_ = self->priv->flags; _tmp10_ = open (_tmp8_, _tmp9_ | O_NONBLOCK, (mode_t) 0); self->priv->m_fd = _tmp10_; _tmp11_ = self->priv->m_fd; if (_tmp11_ < 0) { self->priv->m_fd = -1; result = FALSE; return result; } _tmp12_ = self->priv->m_fd; tcflush (_tmp12_, TCIOFLUSH); _tmp13_ = self->priv->m_fd; tcgetattr (_tmp13_, &_tmp14_); self->priv->restoretio = _tmp14_; _tmp15_ = settings; moserial_serial_connection_applySettings (self, _tmp15_); _tmp16_ = self->priv->m_fd; _tmp17_ = self->priv->newtio; tcsetattr (_tmp16_, TCSANOW, &_tmp17_); self->priv->connected = TRUE; _tmp18_ = self->priv->m_fd; _tmp19_ = g_io_channel_unix_new (_tmp18_); _g_io_channel_unref0 (self->priv->IOChannelFd); self->priv->IOChannelFd = _tmp19_; _tmp20_ = self->priv->IOChannelFd; _tmp21_ = g_io_add_watch (_tmp20_, G_IO_IN, _moserial_serial_connection_readBytes_gio_func, self); _tmp22_ = __uint_dup0 (&_tmp21_); _g_free0 (self->priv->sourceId); self->priv->sourceId = _tmp22_; _tmp23_ = settings; _tmp24_ = settings_get_localEcho (_tmp23_); _tmp25_ = _tmp24_; self->priv->localEcho = _tmp25_; result = TRUE; return result; } void moserial_serial_connection_sendByte (moserialSerialConnection* self, guchar byte) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->connected; if (_tmp0_) { guchar* _tmp1_ = NULL; guchar* b; gint b_length1; gint _b_size_; guchar* _tmp2_; gint _tmp2__length1; guchar _tmp3_; guchar _tmp4_; gint _tmp5_; guchar* _tmp6_; gint _tmp6__length1; gssize _tmp7_ = 0L; gsize x; gulong _tmp8_; gsize _tmp9_; _tmp1_ = g_new0 (guchar, 1); b = _tmp1_; b_length1 = 1; _b_size_ = b_length1; _tmp2_ = b; _tmp2__length1 = b_length1; _tmp3_ = byte; _tmp2_[0] = _tmp3_; _tmp4_ = _tmp2_[0]; _tmp5_ = self->priv->m_fd; _tmp6_ = b; _tmp6__length1 = b_length1; _tmp7_ = write (_tmp5_, _tmp6_, (gsize) 1); x = (gsize) _tmp7_; _tmp8_ = self->tx; _tmp9_ = x; self->tx = _tmp8_ + _tmp9_; b = (g_free (b), NULL); } } void moserial_serial_connection_sendBytes (moserialSerialConnection* self, gchar* bytes, int bytes_length1, gsize size) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->connected; if (_tmp0_) { gint _tmp1_; gchar* _tmp2_; gint _tmp2__length1; gsize _tmp3_; gssize _tmp4_ = 0L; gsize x; gint _tmp5_; gulong _tmp6_; gsize _tmp7_; _tmp1_ = self->priv->m_fd; _tmp2_ = bytes; _tmp2__length1 = bytes_length1; _tmp3_ = size; _tmp4_ = write (_tmp1_, _tmp2_, _tmp3_); x = (gsize) _tmp4_; _tmp5_ = self->priv->m_fd; tcdrain (_tmp5_); _tmp6_ = self->tx; _tmp7_ = x; self->tx = _tmp6_ + _tmp7_; } } void moserial_serial_connection_doDisconnect (moserialSerialConnection* self) { gboolean _tmp0_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->priv->connected; if (_tmp0_) { guint* _tmp1_; gulong _tmp5_; gulong _tmp6_; gchar* _tmp7_; gchar* _tmp8_; gint _tmp9_; struct termios _tmp10_; gint _tmp11_; _tmp1_ = self->priv->sourceId; g_source_remove (*_tmp1_); _g_free0 (self->priv->sourceId); self->priv->sourceId = NULL; { GIOChannel* _tmp2_; _tmp2_ = self->priv->IOChannelFd; g_io_channel_shutdown (_tmp2_, TRUE, &_inner_error_); if (_inner_error_ != NULL) { if (_inner_error_->domain == G_IO_CHANNEL_ERROR) { goto __catch8_g_io_channel_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } goto __finally8; __catch8_g_io_channel_error: { GError* e = NULL; GError* _tmp3_; const gchar* _tmp4_; e = _inner_error_; _inner_error_ = NULL; _tmp3_ = e; _tmp4_ = _tmp3_->message; g_warning ("SerialConnection.vala:121: %s", _tmp4_); _g_error_free0 (e); } __finally8: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _g_io_channel_unref0 (self->priv->IOChannelFd); self->priv->IOChannelFd = NULL; self->priv->connected = FALSE; self->forced_hex_view = FALSE; self->lastRxCharWasCR = FALSE; self->nonprintable = (gulong) 0; _tmp5_ = self->nonprintable; self->rx = _tmp5_; _tmp6_ = self->rx; self->tx = _tmp6_; _tmp7_ = g_strdup (""); _g_free0 (self->echoReference); self->echoReference = _tmp7_; _tmp8_ = g_strdup (""); _g_free0 (self->echoCompare); self->echoCompare = _tmp8_; _tmp9_ = self->priv->m_fd; _tmp10_ = self->priv->newtio; tcsetattr (_tmp9_, TCSANOW, &_tmp10_); _tmp11_ = self->priv->m_fd; close (_tmp11_); } } static gboolean moserial_serial_connection_readBytes (moserialSerialConnection* self, GIOChannel* source, GIOCondition condition) { gboolean result = FALSE; guchar* _tmp0_ = NULL; guchar* m_buf; gint m_buf_length1; gint _m_buf_size_; gint _tmp1_; guchar* _tmp2_; gint _tmp2__length1; gssize _tmp3_ = 0L; gint bytesRead; gulong _tmp4_; gint _tmp5_; gint _tmp10_; gint _tmp11_; guchar* _tmp12_ = NULL; guchar* sized_buf; gint sized_buf_length1; gint _sized_buf_size_; guchar* _tmp24_; gint _tmp24__length1; gint _tmp25_; gboolean _tmp26_; gboolean _tmp29_; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (source != NULL, FALSE); _tmp0_ = g_new0 (guchar, MOSERIAL_SERIAL_CONNECTION_max_buf_size); m_buf = _tmp0_; m_buf_length1 = MOSERIAL_SERIAL_CONNECTION_max_buf_size; _m_buf_size_ = m_buf_length1; _tmp1_ = self->priv->m_fd; _tmp2_ = m_buf; _tmp2__length1 = m_buf_length1; _tmp3_ = read (_tmp1_, _tmp2_, (gsize) MOSERIAL_SERIAL_CONNECTION_max_buf_size); bytesRead = (gint) _tmp3_; _tmp4_ = self->rx; _tmp5_ = bytesRead; self->rx = _tmp4_ + ((gulong) _tmp5_); while (TRUE) { gboolean _tmp6_ = FALSE; gboolean _tmp7_ = FALSE; gboolean _tmp9_; _tmp7_ = gtk_events_pending (); if (_tmp7_) { _tmp6_ = TRUE; } else { gboolean _tmp8_ = FALSE; _tmp8_ = gdk_events_pending (); _tmp6_ = _tmp8_; } _tmp9_ = _tmp6_; if (!_tmp9_) { break; } gtk_main_iteration_do (FALSE); } _tmp10_ = bytesRead; if (_tmp10_ < 0) { result = FALSE; m_buf = (g_free (m_buf), NULL); return result; } _tmp11_ = bytesRead; _tmp12_ = g_new0 (guchar, _tmp11_); sized_buf = _tmp12_; sized_buf_length1 = _tmp11_; _sized_buf_size_ = sized_buf_length1; { gint x; x = 0; { gboolean _tmp13_; _tmp13_ = TRUE; while (TRUE) { gboolean _tmp14_; gint _tmp16_; gint _tmp17_; guchar* _tmp18_; gint _tmp18__length1; gint _tmp19_; guchar* _tmp20_; gint _tmp20__length1; gint _tmp21_; guchar _tmp22_; guchar _tmp23_; _tmp14_ = _tmp13_; if (!_tmp14_) { gint _tmp15_; _tmp15_ = x; x = _tmp15_ + 1; } _tmp13_ = FALSE; _tmp16_ = x; _tmp17_ = bytesRead; if (!(_tmp16_ < _tmp17_)) { break; } _tmp18_ = sized_buf; _tmp18__length1 = sized_buf_length1; _tmp19_ = x; _tmp20_ = m_buf; _tmp20__length1 = m_buf_length1; _tmp21_ = x; _tmp22_ = _tmp20_[_tmp21_]; _tmp18_[_tmp19_] = _tmp22_; _tmp23_ = _tmp18_[_tmp19_]; } } } _tmp24_ = sized_buf; _tmp24__length1 = sized_buf_length1; _tmp25_ = bytesRead; g_signal_emit_by_name (self, "new-data", _tmp24_, _tmp24__length1, _tmp25_); _tmp26_ = self->priv->localEcho; if (_tmp26_) { guchar* _tmp27_; gint _tmp27__length1; gint _tmp28_; _tmp27_ = sized_buf; _tmp27__length1 = sized_buf_length1; _tmp28_ = bytesRead; moserial_serial_connection_sendBytes (self, (gchar*) _tmp27_, _tmp27__length1, (gsize) _tmp28_); } _tmp29_ = self->priv->connected; result = _tmp29_; sized_buf = (g_free (sized_buf), NULL); m_buf = (g_free (m_buf), NULL); return result; } static void moserial_serial_connection_applySettings (moserialSerialConnection* self, Settings* settings) { guint baudRate; Settings* _tmp0_; gint _tmp1_; gint _tmp2_; guint _tmp3_; guint _tmp4_; gint dataBits = 0; Settings* _tmp5_; gint _tmp6_; gint _tmp7_; gboolean _tmp8_ = FALSE; Settings* _tmp9_; gint _tmp10_; gint _tmp11_; gboolean _tmp20_; gint _tmp21_; tcflag_t _tmp30_; tcflag_t _tmp31_; Settings* _tmp32_; SettingsParity _tmp33_; SettingsParity _tmp34_; tcflag_t _tmp40_; Settings* _tmp41_; gint _tmp42_; gint _tmp43_; gboolean _tmp46_ = FALSE; Settings* _tmp47_; SettingsHandshake _tmp48_; SettingsHandshake _tmp49_; gboolean _tmp53_; cc_t _tmp56_; cc_t _tmp57_; tcflag_t _tmp58_; gint mcs; gint _tmp59_; gint _tmp60_; gint _tmp61_; gboolean _tmp62_ = FALSE; Settings* _tmp63_; SettingsHandshake _tmp64_; SettingsHandshake _tmp65_; gboolean _tmp69_; g_return_if_fail (self != NULL); g_return_if_fail (settings != NULL); baudRate = (guint) 0; _tmp0_ = settings; _tmp1_ = settings_get_baudRate (_tmp0_); _tmp2_ = _tmp1_; switch (_tmp2_) { case 300: { baudRate = (guint) B300; break; } case 600: { baudRate = (guint) B600; break; } case 1200: { baudRate = (guint) B1200; break; } case 2400: { baudRate = (guint) B2400; break; } case 4800: { baudRate = (guint) B4800; break; } case 9600: { baudRate = (guint) B9600; break; } case 19200: { baudRate = (guint) B19200; break; } case 38400: { baudRate = (guint) B38400; break; } case 57600: { baudRate = (guint) B57600; break; } case 115200: { baudRate = (guint) B115200; break; } case 230400: { baudRate = (guint) B230400; break; } case 460800: { baudRate = (guint) B460800; break; } case 576000: { baudRate = (guint) B576000; break; } case 921600: { baudRate = (guint) B921600; break; } case 1000000: { baudRate = (guint) B1000000; break; } case 2000000: { baudRate = (guint) B2000000; break; } default: break; } _tmp3_ = baudRate; cfsetospeed (&self->priv->newtio, (speed_t) _tmp3_); _tmp4_ = baudRate; cfsetispeed (&self->priv->newtio, (speed_t) _tmp4_); _tmp5_ = settings; _tmp6_ = settings_get_dataBits (_tmp5_); _tmp7_ = _tmp6_; dataBits = _tmp7_; _tmp9_ = settings; _tmp10_ = settings_get_dataBits (_tmp9_); _tmp11_ = _tmp10_; if (_tmp11_ == 7) { gboolean _tmp12_ = FALSE; Settings* _tmp13_; SettingsParity _tmp14_; SettingsParity _tmp15_; gboolean _tmp19_; _tmp13_ = settings; _tmp14_ = settings_get_parity (_tmp13_); _tmp15_ = _tmp14_; if (_tmp15_ == SETTINGS_PARITY_MARK) { _tmp12_ = TRUE; } else { Settings* _tmp16_; SettingsParity _tmp17_; SettingsParity _tmp18_; _tmp16_ = settings; _tmp17_ = settings_get_parity (_tmp16_); _tmp18_ = _tmp17_; _tmp12_ = _tmp18_ == SETTINGS_PARITY_SPACE; } _tmp19_ = _tmp12_; _tmp8_ = _tmp19_; } else { _tmp8_ = FALSE; } _tmp20_ = _tmp8_; if (_tmp20_) { dataBits = 8; } _tmp21_ = dataBits; switch (_tmp21_) { case 5: { struct termios _tmp22_; tcflag_t _tmp23_; _tmp22_ = self->priv->newtio; _tmp23_ = _tmp22_.c_cflag; self->priv->newtio.c_cflag = (_tmp23_ & (~CSIZE)) | CS5; break; } case 6: { struct termios _tmp24_; tcflag_t _tmp25_; _tmp24_ = self->priv->newtio; _tmp25_ = _tmp24_.c_cflag; self->priv->newtio.c_cflag = (_tmp25_ & (~CSIZE)) | CS6; break; } case 7: { struct termios _tmp26_; tcflag_t _tmp27_; _tmp26_ = self->priv->newtio; _tmp27_ = _tmp26_.c_cflag; self->priv->newtio.c_cflag = (_tmp27_ & (~CSIZE)) | CS7; break; } default: case 8: { struct termios _tmp28_; tcflag_t _tmp29_; _tmp28_ = self->priv->newtio; _tmp29_ = _tmp28_.c_cflag; self->priv->newtio.c_cflag = (_tmp29_ & (~CSIZE)) | CS8; break; } } _tmp30_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp30_ | (CLOCAL | CREAD); _tmp31_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp31_ & (~(PARENB | PARODD)); _tmp32_ = settings; _tmp33_ = settings_get_parity (_tmp32_); _tmp34_ = _tmp33_; if (_tmp34_ == SETTINGS_PARITY_EVEN) { tcflag_t _tmp35_; _tmp35_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp35_ | PARENB; } else { Settings* _tmp36_; SettingsParity _tmp37_; SettingsParity _tmp38_; _tmp36_ = settings; _tmp37_ = settings_get_parity (_tmp36_); _tmp38_ = _tmp37_; if (_tmp38_ == SETTINGS_PARITY_ODD) { tcflag_t _tmp39_; _tmp39_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp39_ | (PARENB | PARODD); } } _tmp40_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp40_ & (~CRTSCTS); _tmp41_ = settings; _tmp42_ = settings_get_stopBits (_tmp41_); _tmp43_ = _tmp42_; if (_tmp43_ == 2) { tcflag_t _tmp44_; _tmp44_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp44_ | CSTOPB; } else { tcflag_t _tmp45_; _tmp45_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp45_ & (~CSTOPB); } self->priv->newtio.c_iflag = IGNBRK; _tmp47_ = settings; _tmp48_ = settings_get_handshake (_tmp47_); _tmp49_ = _tmp48_; if (_tmp49_ == SETTINGS_HANDSHAKE_SOFTWARE) { _tmp46_ = TRUE; } else { Settings* _tmp50_; SettingsHandshake _tmp51_; SettingsHandshake _tmp52_; _tmp50_ = settings; _tmp51_ = settings_get_handshake (_tmp50_); _tmp52_ = _tmp51_; _tmp46_ = _tmp52_ == SETTINGS_HANDSHAKE_BOTH; } _tmp53_ = _tmp46_; if (_tmp53_) { tcflag_t _tmp54_; _tmp54_ = self->priv->newtio.c_iflag; self->priv->newtio.c_iflag = _tmp54_ | (IXON | IXOFF); } else { tcflag_t _tmp55_; _tmp55_ = self->priv->newtio.c_iflag; self->priv->newtio.c_iflag = _tmp55_ & (~((IXON | IXOFF) | IXANY)); } self->priv->newtio.c_lflag = (tcflag_t) 0; self->priv->newtio.c_oflag = (tcflag_t) 0; self->priv->newtio.c_cc[VTIME] = (cc_t) 1; _tmp56_ = self->priv->newtio.c_cc[VTIME]; self->priv->newtio.c_cc[VMIN] = (cc_t) 1; _tmp57_ = self->priv->newtio.c_cc[VMIN]; _tmp58_ = self->priv->newtio.c_lflag; self->priv->newtio.c_lflag = _tmp58_ & (~(ECHONL | NOFLSH)); mcs = 0; _tmp59_ = self->priv->m_fd; ioctl (_tmp59_, TIOCMGET, &mcs); _tmp60_ = mcs; mcs = _tmp60_ | TIOCM_RTS; _tmp61_ = self->priv->m_fd; ioctl (_tmp61_, TIOCMSET, &mcs); _tmp63_ = settings; _tmp64_ = settings_get_handshake (_tmp63_); _tmp65_ = _tmp64_; if (_tmp65_ == SETTINGS_HANDSHAKE_HARDWARE) { _tmp62_ = TRUE; } else { Settings* _tmp66_; SettingsHandshake _tmp67_; SettingsHandshake _tmp68_; _tmp66_ = settings; _tmp67_ = settings_get_handshake (_tmp66_); _tmp68_ = _tmp67_; _tmp62_ = _tmp68_ == SETTINGS_HANDSHAKE_BOTH; } _tmp69_ = _tmp62_; if (_tmp69_) { tcflag_t _tmp70_; _tmp70_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp70_ | CRTSCTS; } else { tcflag_t _tmp71_; _tmp71_ = self->priv->newtio.c_cflag; self->priv->newtio.c_cflag = _tmp71_ & (~CRTSCTS); } } gchar* moserial_serial_connection_getBytecountbarString (moserialSerialConnection* self) { gchar* result = NULL; gchar* r = NULL; gulong _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->nonprintable; if (_tmp0_ > ((gulong) 0)) { const gchar* _tmp1_ = NULL; gulong _tmp2_; gulong _tmp3_; gulong _tmp4_; gchar* _tmp5_ = NULL; _tmp1_ = _ ("TX: %lu, RX: %lu (%lu unprintable)"); _tmp2_ = self->tx; _tmp3_ = self->rx; _tmp4_ = self->nonprintable; _tmp5_ = g_strdup_printf (_tmp1_, _tmp2_, _tmp3_, _tmp4_); _g_free0 (r); r = _tmp5_; } else { const gchar* _tmp6_ = NULL; gulong _tmp7_; gulong _tmp8_; gchar* _tmp9_ = NULL; _tmp6_ = _ ("TX: %lu, RX: %lu"); _tmp7_ = self->tx; _tmp8_ = self->rx; _tmp9_ = g_strdup_printf (_tmp6_, _tmp7_, _tmp8_); _g_free0 (r); r = _tmp9_; } result = r; return result; } moserialSerialConnection* moserial_serial_connection_construct (GType object_type) { moserialSerialConnection * self = NULL; self = (moserialSerialConnection*) g_object_new (object_type, NULL); return self; } moserialSerialConnection* moserial_serial_connection_new (void) { return moserial_serial_connection_construct (MOSERIAL_TYPE_SERIAL_CONNECTION); } static void g_cclosure_user_marshal_VOID__POINTER_INT_INT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) { typedef void (*GMarshalFunc_VOID__POINTER_INT_INT) (gpointer data1, gpointer arg_1, gint arg_2, gint arg_3, gpointer data2); register GMarshalFunc_VOID__POINTER_INT_INT callback; register GCClosure * cc; register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; g_return_if_fail (n_param_values == 4); if (G_CCLOSURE_SWAP_DATA (closure)) { data1 = closure->data; data2 = param_values->data[0].v_pointer; } else { data1 = param_values->data[0].v_pointer; data2 = closure->data; } callback = (GMarshalFunc_VOID__POINTER_INT_INT) (marshal_data ? marshal_data : cc->callback); callback (data1, g_value_get_pointer (param_values + 1), g_value_get_int (param_values + 2), g_value_get_int (param_values + 3), data2); } static void moserial_serial_connection_class_init (moserialSerialConnectionClass * klass) { moserial_serial_connection_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialSerialConnectionPrivate)); G_OBJECT_CLASS (klass)->finalize = moserial_serial_connection_finalize; g_signal_new ("new_data", MOSERIAL_TYPE_SERIAL_CONNECTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__POINTER_INT_INT, G_TYPE_NONE, 3, G_TYPE_POINTER, G_TYPE_INT, G_TYPE_INT); } static void moserial_serial_connection_instance_init (moserialSerialConnection * self) { gchar* _tmp0_; gchar* _tmp1_; self->priv = MOSERIAL_SERIAL_CONNECTION_GET_PRIVATE (self); self->tx = (gulong) 0; self->rx = (gulong) 0; self->nonprintable = (gulong) 0; self->forced_hex_view = FALSE; self->lastRxCharWasCR = FALSE; _tmp0_ = g_strdup (""); self->echoReference = _tmp0_; _tmp1_ = g_strdup (""); self->echoCompare = _tmp1_; self->priv->m_fd = -1; self->priv->flags = 0; } static void moserial_serial_connection_finalize (GObject* obj) { moserialSerialConnection * self; self = MOSERIAL_SERIAL_CONNECTION (obj); _g_free0 (self->echoReference); _g_free0 (self->echoCompare); _g_io_channel_unref0 (self->priv->IOChannelFd); _g_free0 (self->priv->sourceId); G_OBJECT_CLASS (moserial_serial_connection_parent_class)->finalize (obj); } GType moserial_serial_connection_get_type (void) { static volatile gsize moserial_serial_connection_type_id__volatile = 0; if (g_once_init_enter (&moserial_serial_connection_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialSerialConnectionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_serial_connection_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialSerialConnection), 0, (GInstanceInitFunc) moserial_serial_connection_instance_init, NULL }; GType moserial_serial_connection_type_id; moserial_serial_connection_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialSerialConnection", &g_define_type_info, 0); g_once_init_leave (&moserial_serial_connection_type_id__volatile, moserial_serial_connection_type_id); } return moserial_serial_connection_type_id__volatile; } moserial-3.0.8/src/PreferencesDialog.c0000674000213200021320000006724712064104644014604 00000000000000/* PreferencesDialog.c generated by valac 0.16.1, the Vala compiler * generated from PreferencesDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_PREFERENCES_DIALOG (moserial_preferences_dialog_get_type ()) #define MOSERIAL_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialog)) #define MOSERIAL_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialogClass)) #define MOSERIAL_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_PREFERENCES_DIALOG)) #define MOSERIAL_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_PREFERENCES_DIALOG)) #define MOSERIAL_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialogClass)) typedef struct _moserialPreferencesDialog moserialPreferencesDialog; typedef struct _moserialPreferencesDialogClass moserialPreferencesDialogClass; typedef struct _moserialPreferencesDialogPrivate moserialPreferencesDialogPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define TYPE_PREFERENCES (preferences_get_type ()) #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences)) #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass)) #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES)) #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES)) #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass)) typedef struct _Preferences Preferences; typedef struct _PreferencesClass PreferencesClass; struct _moserialPreferencesDialog { GObject parent_instance; moserialPreferencesDialogPrivate * priv; }; struct _moserialPreferencesDialogClass { GObjectClass parent_class; }; struct _moserialPreferencesDialogPrivate { GtkBuilder* _builder; GtkDialog* dialog; GtkButton* cancelButton; GtkButton* okButton; GtkCheckButton* systemFont; GtkFontButton* fontButton; GtkColorButton* fontColorButton; GtkColorButton* backgroundColorButton; GtkColorButton* highlightColorButton; GtkCheckButton* recordLaunch; GtkCheckButton* enableTimeout; GtkSpinButton* timeout; }; static gpointer moserial_preferences_dialog_parent_class = NULL; GType moserial_preferences_dialog_get_type (void) G_GNUC_CONST; #define MOSERIAL_PREFERENCES_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialogPrivate)) enum { MOSERIAL_PREFERENCES_DIALOG_DUMMY_PROPERTY, MOSERIAL_PREFERENCES_DIALOG_BUILDER }; moserialPreferencesDialog* moserial_preferences_dialog_new (GtkBuilder* builder); moserialPreferencesDialog* moserial_preferences_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_preferences_dialog_ok (moserialPreferencesDialog* self, GtkButton* button); gboolean moserial_preferences_dialog_hide (moserialPreferencesDialog* self); Preferences* preferences_new (gboolean useSystemMonospaceFont, const gchar* font, const gchar* fontColor, const gchar* backgroundColor, const gchar* highlightColor, gboolean recordLaunch, gboolean enableTimeout, gint timeout); Preferences* preferences_construct (GType object_type, gboolean useSystemMonospaceFont, const gchar* font, const gchar* fontColor, const gchar* backgroundColor, const gchar* highlightColor, gboolean recordLaunch, gboolean enableTimeout, gint timeout); GType preferences_get_type (void) G_GNUC_CONST; void moserial_preferences_dialog_show (moserialPreferencesDialog* self, Preferences* preferences, gboolean recording); gboolean preferences_get_useSystemMonospaceFont (Preferences* self); const gchar* preferences_get_font (Preferences* self); void preferences_getGdkColor (const gchar* color, GdkColor* result); const gchar* preferences_get_fontColor (Preferences* self); const gchar* preferences_get_backgroundColor (Preferences* self); const gchar* preferences_get_highlightColor (Preferences* self); gboolean preferences_get_recordLaunch (Preferences* self); gboolean preferences_get_enableTimeout (Preferences* self); gint preferences_get_timeout (Preferences* self); void moserial_preferences_dialog_cancel (moserialPreferencesDialog* self, GtkWidget* w); void moserial_preferences_dialog_systemFontToggled (moserialPreferencesDialog* self, GtkToggleButton* button); void moserial_preferences_dialog_enableTimeoutToggled (moserialPreferencesDialog* self, GtkToggleButton* button); GtkBuilder* moserial_preferences_dialog_get_builder (moserialPreferencesDialog* self); static void moserial_preferences_dialog_set_builder (moserialPreferencesDialog* self, GtkBuilder* value); static GObject * moserial_preferences_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _moserial_preferences_dialog_systemFontToggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self); static void _moserial_preferences_dialog_enableTimeoutToggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self); static void _moserial_preferences_dialog_ok_gtk_button_clicked (GtkButton* _sender, gpointer self); static void _moserial_preferences_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self); static gboolean _moserial_preferences_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static void moserial_preferences_dialog_finalize (GObject* obj); static void _vala_moserial_preferences_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_preferences_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); moserialPreferencesDialog* moserial_preferences_dialog_construct (GType object_type, GtkBuilder* builder) { moserialPreferencesDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialPreferencesDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialPreferencesDialog* moserial_preferences_dialog_new (GtkBuilder* builder) { return moserial_preferences_dialog_construct (MOSERIAL_TYPE_PREFERENCES_DIALOG, builder); } void moserial_preferences_dialog_ok (moserialPreferencesDialog* self, GtkButton* button) { gboolean pSystemFont = FALSE; gchar* pFont = NULL; gchar* pFontColor = NULL; gchar* pBackgroundColor = NULL; gchar* pHighlightColor = NULL; gboolean pRecordLaunch = FALSE; gboolean pEnableTimeout = FALSE; gint pTimeout = 0; GtkCheckButton* _tmp0_; gboolean _tmp1_ = FALSE; GtkFontButton* _tmp2_; const gchar* _tmp3_ = NULL; gchar* _tmp4_; GdkColor c = {0}; GtkColorButton* _tmp5_; GdkColor _tmp6_ = {0}; gchar* _tmp7_ = NULL; GtkColorButton* _tmp8_; GdkColor _tmp9_ = {0}; gchar* _tmp10_ = NULL; GtkColorButton* _tmp11_; GdkColor _tmp12_ = {0}; gchar* _tmp13_ = NULL; GtkCheckButton* _tmp14_; gboolean _tmp15_ = FALSE; GtkCheckButton* _tmp16_; gboolean _tmp17_ = FALSE; GtkSpinButton* _tmp18_; gdouble _tmp19_ = 0.0; gboolean _tmp20_; const gchar* _tmp21_; const gchar* _tmp22_; const gchar* _tmp23_; const gchar* _tmp24_; gboolean _tmp25_; gboolean _tmp26_; Preferences* _tmp27_; Preferences* preferences; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); moserial_preferences_dialog_hide (self); _tmp0_ = self->priv->systemFont; _tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_); if (_tmp1_) { pSystemFont = TRUE; } else { pSystemFont = FALSE; } _tmp2_ = self->priv->fontButton; _tmp3_ = gtk_font_button_get_font_name (_tmp2_); _tmp4_ = g_strdup (_tmp3_); _g_free0 (pFont); pFont = _tmp4_; _tmp5_ = self->priv->fontColorButton; gtk_color_button_get_color (_tmp5_, &_tmp6_); c = _tmp6_; _tmp7_ = gdk_color_to_string (&c); _g_free0 (pFontColor); pFontColor = _tmp7_; _tmp8_ = self->priv->backgroundColorButton; gtk_color_button_get_color (_tmp8_, &_tmp9_); c = _tmp9_; _tmp10_ = gdk_color_to_string (&c); _g_free0 (pBackgroundColor); pBackgroundColor = _tmp10_; _tmp11_ = self->priv->highlightColorButton; gtk_color_button_get_color (_tmp11_, &_tmp12_); c = _tmp12_; _tmp13_ = gdk_color_to_string (&c); _g_free0 (pHighlightColor); pHighlightColor = _tmp13_; _tmp14_ = self->priv->recordLaunch; _tmp15_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp14_); if (_tmp15_) { pRecordLaunch = TRUE; } else { pRecordLaunch = FALSE; } _tmp16_ = self->priv->enableTimeout; _tmp17_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp16_); if (_tmp17_) { pEnableTimeout = TRUE; } else { pEnableTimeout = FALSE; } _tmp18_ = self->priv->timeout; _tmp19_ = gtk_spin_button_get_value (_tmp18_); pTimeout = (gint) _tmp19_; _tmp20_ = pSystemFont; _tmp21_ = pFont; _tmp22_ = pFontColor; _tmp23_ = pBackgroundColor; _tmp24_ = pHighlightColor; _tmp25_ = pRecordLaunch; _tmp26_ = pEnableTimeout; _tmp27_ = preferences_new (_tmp20_, _tmp21_, _tmp22_, _tmp23_, _tmp24_, _tmp25_, _tmp26_, pTimeout); preferences = _tmp27_; g_signal_emit_by_name (self, "update-preferences", preferences); _g_object_unref0 (preferences); _g_free0 (pHighlightColor); _g_free0 (pBackgroundColor); _g_free0 (pFontColor); _g_free0 (pFont); } void moserial_preferences_dialog_show (moserialPreferencesDialog* self, Preferences* preferences, gboolean recording) { Preferences* _tmp0_; gboolean _tmp1_; gboolean _tmp2_; GtkFontButton* _tmp7_; Preferences* _tmp8_; const gchar* _tmp9_; const gchar* _tmp10_; GtkColorButton* _tmp11_; Preferences* _tmp12_; const gchar* _tmp13_; const gchar* _tmp14_; GdkColor _tmp15_ = {0}; GtkColorButton* _tmp16_; Preferences* _tmp17_; const gchar* _tmp18_; const gchar* _tmp19_; GdkColor _tmp20_ = {0}; GtkColorButton* _tmp21_; Preferences* _tmp22_; const gchar* _tmp23_; const gchar* _tmp24_; GdkColor _tmp25_ = {0}; Preferences* _tmp26_; gboolean _tmp27_; gboolean _tmp28_; Preferences* _tmp31_; gboolean _tmp32_; gboolean _tmp33_; gboolean _tmp38_; GtkSpinButton* _tmp42_; Preferences* _tmp43_; gint _tmp44_; gint _tmp45_; GtkDialog* _tmp46_; g_return_if_fail (self != NULL); g_return_if_fail (preferences != NULL); _tmp0_ = preferences; _tmp1_ = preferences_get_useSystemMonospaceFont (_tmp0_); _tmp2_ = _tmp1_; if (_tmp2_) { GtkFontButton* _tmp3_; GtkCheckButton* _tmp4_; _tmp3_ = self->priv->fontButton; gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, FALSE); _tmp4_ = self->priv->systemFont; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp4_, TRUE); } else { GtkFontButton* _tmp5_; GtkCheckButton* _tmp6_; _tmp5_ = self->priv->fontButton; gtk_widget_set_sensitive ((GtkWidget*) _tmp5_, TRUE); _tmp6_ = self->priv->systemFont; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp6_, FALSE); } _tmp7_ = self->priv->fontButton; _tmp8_ = preferences; _tmp9_ = preferences_get_font (_tmp8_); _tmp10_ = _tmp9_; gtk_font_button_set_font_name (_tmp7_, _tmp10_); _tmp11_ = self->priv->fontColorButton; _tmp12_ = preferences; _tmp13_ = preferences_get_fontColor (_tmp12_); _tmp14_ = _tmp13_; preferences_getGdkColor (_tmp14_, &_tmp15_); gtk_color_button_set_color (_tmp11_, &_tmp15_); _tmp16_ = self->priv->backgroundColorButton; _tmp17_ = preferences; _tmp18_ = preferences_get_backgroundColor (_tmp17_); _tmp19_ = _tmp18_; preferences_getGdkColor (_tmp19_, &_tmp20_); gtk_color_button_set_color (_tmp16_, &_tmp20_); _tmp21_ = self->priv->highlightColorButton; _tmp22_ = preferences; _tmp23_ = preferences_get_highlightColor (_tmp22_); _tmp24_ = _tmp23_; preferences_getGdkColor (_tmp24_, &_tmp25_); gtk_color_button_set_color (_tmp21_, &_tmp25_); _tmp26_ = preferences; _tmp27_ = preferences_get_recordLaunch (_tmp26_); _tmp28_ = _tmp27_; if (_tmp28_) { GtkCheckButton* _tmp29_; _tmp29_ = self->priv->recordLaunch; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp29_, TRUE); } else { GtkCheckButton* _tmp30_; _tmp30_ = self->priv->recordLaunch; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp30_, FALSE); } _tmp31_ = preferences; _tmp32_ = preferences_get_enableTimeout (_tmp31_); _tmp33_ = _tmp32_; if (_tmp33_) { GtkCheckButton* _tmp34_; GtkSpinButton* _tmp35_; _tmp34_ = self->priv->enableTimeout; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp34_, TRUE); _tmp35_ = self->priv->timeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp35_, TRUE); } else { GtkCheckButton* _tmp36_; GtkSpinButton* _tmp37_; _tmp36_ = self->priv->enableTimeout; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp36_, FALSE); _tmp37_ = self->priv->timeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp37_, FALSE); } _tmp38_ = recording; if (_tmp38_) { GtkCheckButton* _tmp39_; GtkSpinButton* _tmp40_; _tmp39_ = self->priv->enableTimeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp39_, FALSE); _tmp40_ = self->priv->timeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp40_, FALSE); } else { GtkCheckButton* _tmp41_; _tmp41_ = self->priv->enableTimeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp41_, TRUE); } _tmp42_ = self->priv->timeout; _tmp43_ = preferences; _tmp44_ = preferences_get_timeout (_tmp43_); _tmp45_ = _tmp44_; gtk_spin_button_set_value (_tmp42_, (gdouble) _tmp45_); _tmp46_ = self->priv->dialog; gtk_widget_show_all ((GtkWidget*) _tmp46_); } void moserial_preferences_dialog_cancel (moserialPreferencesDialog* self, GtkWidget* w) { g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); moserial_preferences_dialog_hide (self); } gboolean moserial_preferences_dialog_hide (moserialPreferencesDialog* self) { gboolean result = FALSE; GtkDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } void moserial_preferences_dialog_systemFontToggled (moserialPreferencesDialog* self, GtkToggleButton* button) { GtkToggleButton* _tmp0_; gboolean _tmp1_ = FALSE; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); _tmp0_ = button; _tmp1_ = gtk_toggle_button_get_active (_tmp0_); if (_tmp1_) { GtkFontButton* _tmp2_; _tmp2_ = self->priv->fontButton; gtk_widget_set_sensitive ((GtkWidget*) _tmp2_, FALSE); } else { GtkFontButton* _tmp3_; _tmp3_ = self->priv->fontButton; gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, TRUE); } } void moserial_preferences_dialog_enableTimeoutToggled (moserialPreferencesDialog* self, GtkToggleButton* button) { GtkToggleButton* _tmp0_; gboolean _tmp1_ = FALSE; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); _tmp0_ = button; _tmp1_ = gtk_toggle_button_get_active (_tmp0_); if (_tmp1_) { GtkSpinButton* _tmp2_; _tmp2_ = self->priv->timeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp2_, TRUE); } else { GtkSpinButton* _tmp3_; _tmp3_ = self->priv->timeout; gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, FALSE); } } GtkBuilder* moserial_preferences_dialog_get_builder (moserialPreferencesDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_preferences_dialog_set_builder (moserialPreferencesDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static void _moserial_preferences_dialog_systemFontToggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { moserial_preferences_dialog_systemFontToggled (self, _sender); } static void _moserial_preferences_dialog_enableTimeoutToggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { moserial_preferences_dialog_enableTimeoutToggled (self, _sender); } static void _moserial_preferences_dialog_ok_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_preferences_dialog_ok (self, _sender); } static void _moserial_preferences_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_preferences_dialog_cancel (self, _sender); } static gboolean _moserial_preferences_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_preferences_dialog_hide (self); return result; } static GObject * moserial_preferences_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialPreferencesDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkButton* _tmp5_; GtkBuilder* _tmp6_; GObject* _tmp7_ = NULL; GtkButton* _tmp8_; GtkBuilder* _tmp9_; GObject* _tmp10_ = NULL; GtkCheckButton* _tmp11_; GtkBuilder* _tmp12_; GObject* _tmp13_ = NULL; GtkFontButton* _tmp14_; GtkBuilder* _tmp15_; GObject* _tmp16_ = NULL; GtkColorButton* _tmp17_; GtkBuilder* _tmp18_; GObject* _tmp19_ = NULL; GtkColorButton* _tmp20_; GtkBuilder* _tmp21_; GObject* _tmp22_ = NULL; GtkColorButton* _tmp23_; GtkBuilder* _tmp24_; GObject* _tmp25_ = NULL; GtkCheckButton* _tmp26_; GtkCheckButton* _tmp27_; const gchar* _tmp28_ = NULL; GtkBuilder* _tmp29_; GObject* _tmp30_ = NULL; GtkCheckButton* _tmp31_; GtkCheckButton* _tmp32_; const gchar* _tmp33_ = NULL; GtkBuilder* _tmp34_; GObject* _tmp35_ = NULL; GtkSpinButton* _tmp36_; GtkSpinButton* _tmp37_; GtkAdjustment* _tmp38_; GtkAdjustment* _tmp39_; GtkSpinButton* _tmp40_; GtkAdjustment* _tmp41_; GtkAdjustment* _tmp42_; GtkSpinButton* _tmp43_; GtkAdjustment* _tmp44_; GtkAdjustment* _tmp45_; GtkSpinButton* _tmp46_; GtkAdjustment* _tmp47_; GtkAdjustment* _tmp48_; GtkCheckButton* _tmp49_; GtkCheckButton* _tmp50_; GtkButton* _tmp51_; GtkButton* _tmp52_; GtkDialog* _tmp53_; parent_class = G_OBJECT_CLASS (moserial_preferences_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_PREFERENCES_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "preferences_dialog"); _tmp2_ = _g_object_ref0 (GTK_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "preferences_ok"); _tmp5_ = _g_object_ref0 (GTK_BUTTON (_tmp4_)); _g_object_unref0 (self->priv->okButton); self->priv->okButton = _tmp5_; _tmp6_ = self->priv->_builder; _tmp7_ = gtk_builder_get_object (_tmp6_, "preferences_cancel"); _tmp8_ = _g_object_ref0 (GTK_BUTTON (_tmp7_)); _g_object_unref0 (self->priv->cancelButton); self->priv->cancelButton = _tmp8_; _tmp9_ = self->priv->_builder; _tmp10_ = gtk_builder_get_object (_tmp9_, "preferences_use_system_font"); _tmp11_ = _g_object_ref0 (GTK_CHECK_BUTTON (_tmp10_)); _g_object_unref0 (self->priv->systemFont); self->priv->systemFont = _tmp11_; _tmp12_ = self->priv->_builder; _tmp13_ = gtk_builder_get_object (_tmp12_, "preferences_font_button"); _tmp14_ = _g_object_ref0 (GTK_FONT_BUTTON (_tmp13_)); _g_object_unref0 (self->priv->fontButton); self->priv->fontButton = _tmp14_; _tmp15_ = self->priv->_builder; _tmp16_ = gtk_builder_get_object (_tmp15_, "preferences_font_color_button"); _tmp17_ = _g_object_ref0 (GTK_COLOR_BUTTON (_tmp16_)); _g_object_unref0 (self->priv->fontColorButton); self->priv->fontColorButton = _tmp17_; _tmp18_ = self->priv->_builder; _tmp19_ = gtk_builder_get_object (_tmp18_, "preferences_background_color_button"); _tmp20_ = _g_object_ref0 (GTK_COLOR_BUTTON (_tmp19_)); _g_object_unref0 (self->priv->backgroundColorButton); self->priv->backgroundColorButton = _tmp20_; _tmp21_ = self->priv->_builder; _tmp22_ = gtk_builder_get_object (_tmp21_, "preferences_highlight_color_button"); _tmp23_ = _g_object_ref0 (GTK_COLOR_BUTTON (_tmp22_)); _g_object_unref0 (self->priv->highlightColorButton); self->priv->highlightColorButton = _tmp23_; _tmp24_ = self->priv->_builder; _tmp25_ = gtk_builder_get_object (_tmp24_, "preferences_record_launch"); _tmp26_ = _g_object_ref0 (GTK_CHECK_BUTTON (_tmp25_)); _g_object_unref0 (self->priv->recordLaunch); self->priv->recordLaunch = _tmp26_; _tmp27_ = self->priv->recordLaunch; _tmp28_ = _ ("If this option is enabled, a recorded file will be opened immediately " \ "after it is saved, using the default application for the file type. Th" \ "e default application is defined by the desktop environment."); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp27_, _tmp28_); _tmp29_ = self->priv->_builder; _tmp30_ = gtk_builder_get_object (_tmp29_, "preferences_record_enable_timeout"); _tmp31_ = _g_object_ref0 (GTK_CHECK_BUTTON (_tmp30_)); _g_object_unref0 (self->priv->enableTimeout); self->priv->enableTimeout = _tmp31_; _tmp32_ = self->priv->enableTimeout; _tmp33_ = _ ("If this option is enabled, recording will be automatically stopped aft" \ "er an adjustable period of inactivity after receiving some data. Moser" \ "ial will wait indefinitely to record the first data byte before activa" \ "ting the inactivity timer."); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp32_, _tmp33_); _tmp34_ = self->priv->_builder; _tmp35_ = gtk_builder_get_object (_tmp34_, "preferences_record_timeout"); _tmp36_ = _g_object_ref0 (GTK_SPIN_BUTTON (_tmp35_)); _g_object_unref0 (self->priv->timeout); self->priv->timeout = _tmp36_; _tmp37_ = self->priv->timeout; _tmp38_ = gtk_spin_button_get_adjustment (_tmp37_); _tmp39_ = _tmp38_; gtk_adjustment_set_lower (_tmp39_, (gdouble) 0); _tmp40_ = self->priv->timeout; _tmp41_ = gtk_spin_button_get_adjustment (_tmp40_); _tmp42_ = _tmp41_; gtk_adjustment_set_upper (_tmp42_, (gdouble) 600); _tmp43_ = self->priv->timeout; _tmp44_ = gtk_spin_button_get_adjustment (_tmp43_); _tmp45_ = _tmp44_; gtk_adjustment_set_step_increment (_tmp45_, (gdouble) 1); _tmp46_ = self->priv->timeout; _tmp47_ = gtk_spin_button_get_adjustment (_tmp46_); _tmp48_ = _tmp47_; gtk_adjustment_set_page_increment (_tmp48_, (gdouble) 60); _tmp49_ = self->priv->systemFont; g_signal_connect_object ((GtkToggleButton*) _tmp49_, "toggled", (GCallback) _moserial_preferences_dialog_systemFontToggled_gtk_toggle_button_toggled, self, 0); _tmp50_ = self->priv->enableTimeout; g_signal_connect_object ((GtkToggleButton*) _tmp50_, "toggled", (GCallback) _moserial_preferences_dialog_enableTimeoutToggled_gtk_toggle_button_toggled, self, 0); _tmp51_ = self->priv->okButton; g_signal_connect_object (_tmp51_, "clicked", (GCallback) _moserial_preferences_dialog_ok_gtk_button_clicked, self, 0); _tmp52_ = self->priv->cancelButton; g_signal_connect_object (_tmp52_, "clicked", (GCallback) _moserial_preferences_dialog_cancel_gtk_button_clicked, self, 0); _tmp53_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp53_, "delete-event", (GCallback) _moserial_preferences_dialog_hide_gtk_widget_delete_event, self, 0); return obj; } static void moserial_preferences_dialog_class_init (moserialPreferencesDialogClass * klass) { moserial_preferences_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialPreferencesDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_preferences_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_preferences_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_preferences_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_preferences_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_PREFERENCES_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("update_preferences", MOSERIAL_TYPE_PREFERENCES_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_PREFERENCES); } static void moserial_preferences_dialog_instance_init (moserialPreferencesDialog * self) { self->priv = MOSERIAL_PREFERENCES_DIALOG_GET_PRIVATE (self); } static void moserial_preferences_dialog_finalize (GObject* obj) { moserialPreferencesDialog * self; self = MOSERIAL_PREFERENCES_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->priv->cancelButton); _g_object_unref0 (self->priv->okButton); _g_object_unref0 (self->priv->systemFont); _g_object_unref0 (self->priv->fontButton); _g_object_unref0 (self->priv->fontColorButton); _g_object_unref0 (self->priv->backgroundColorButton); _g_object_unref0 (self->priv->highlightColorButton); _g_object_unref0 (self->priv->recordLaunch); _g_object_unref0 (self->priv->enableTimeout); _g_object_unref0 (self->priv->timeout); G_OBJECT_CLASS (moserial_preferences_dialog_parent_class)->finalize (obj); } GType moserial_preferences_dialog_get_type (void) { static volatile gsize moserial_preferences_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_preferences_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialPreferencesDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_preferences_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialPreferencesDialog), 0, (GInstanceInitFunc) moserial_preferences_dialog_instance_init, NULL }; GType moserial_preferences_dialog_type_id; moserial_preferences_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialPreferencesDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_preferences_dialog_type_id__volatile, moserial_preferences_dialog_type_id); } return moserial_preferences_dialog_type_id__volatile; } static void _vala_moserial_preferences_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialPreferencesDialog * self; self = MOSERIAL_PREFERENCES_DIALOG (object); switch (property_id) { case MOSERIAL_PREFERENCES_DIALOG_BUILDER: g_value_set_object (value, moserial_preferences_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_preferences_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialPreferencesDialog * self; self = MOSERIAL_PREFERENCES_DIALOG (object); switch (property_id) { case MOSERIAL_PREFERENCES_DIALOG_BUILDER: moserial_preferences_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/RecordDialog.c0000674000213200021320000004146712064104644013555 00000000000000/* RecordDialog.c generated by valac 0.16.1, the Vala compiler * generated from RecordDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #define MOSERIAL_TYPE_RECORD_DIALOG (moserial_record_dialog_get_type ()) #define MOSERIAL_RECORD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialog)) #define MOSERIAL_RECORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialogClass)) #define MOSERIAL_IS_RECORD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RECORD_DIALOG)) #define MOSERIAL_IS_RECORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RECORD_DIALOG)) #define MOSERIAL_RECORD_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialogClass)) typedef struct _moserialRecordDialog moserialRecordDialog; typedef struct _moserialRecordDialogClass moserialRecordDialogClass; typedef struct _moserialRecordDialogPrivate moserialRecordDialogPrivate; #define MOSERIAL_SERIAL_STREAM_RECORDER_TYPE_DIRECTION (moserial_serial_stream_recorder_direction_get_type ()) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) typedef enum { MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING, MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING, MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH } moserialSerialStreamRecorderDirection; struct _moserialRecordDialog { GObject parent_instance; moserialRecordDialogPrivate * priv; moserialSerialStreamRecorderDirection direction; }; struct _moserialRecordDialogClass { GObjectClass parent_class; }; struct _moserialRecordDialogPrivate { GtkBuilder* _builder; GtkFileChooserDialog* dialog; GtkButton* cancelButton; GtkComboBox* streamCombo; gchar* _fileName; }; static gpointer moserial_record_dialog_parent_class = NULL; GType moserial_record_dialog_get_type (void) G_GNUC_CONST; GType moserial_serial_stream_recorder_direction_get_type (void) G_GNUC_CONST; #define MOSERIAL_RECORD_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialogPrivate)) enum { MOSERIAL_RECORD_DIALOG_DUMMY_PROPERTY, MOSERIAL_RECORD_DIALOG_BUILDER, MOSERIAL_RECORD_DIALOG_FILE_NAME }; moserialRecordDialog* moserial_record_dialog_new (GtkBuilder* builder); moserialRecordDialog* moserial_record_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_record_dialog_show (moserialRecordDialog* self, const gchar* folder); gboolean mo_utils_fileExists (const gchar* path); gboolean moserial_record_dialog_hide (moserialRecordDialog* self); static void moserial_record_dialog_response (moserialRecordDialog* self, GtkWidget* w, gint r); static void moserial_record_dialog_set_fileName (moserialRecordDialog* self, const gchar* value); const gchar* moserial_record_dialog_get_fileName (moserialRecordDialog* self); GtkBuilder* moserial_record_dialog_get_builder (moserialRecordDialog* self); static void moserial_record_dialog_set_builder (moserialRecordDialog* self, GtkBuilder* value); static void g_cclosure_user_marshal_VOID__STRING_ENUM (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data); static GObject * moserial_record_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1); static gboolean _moserial_record_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static void _moserial_record_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self); static void moserial_record_dialog_finalize (GObject* obj); static void _vala_moserial_record_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_record_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); extern const gchar* MOSERIAL_SERIAL_STREAM_RECORDER_DirectionStrings[3]; moserialRecordDialog* moserial_record_dialog_construct (GType object_type, GtkBuilder* builder) { moserialRecordDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialRecordDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialRecordDialog* moserial_record_dialog_new (GtkBuilder* builder) { return moserial_record_dialog_construct (MOSERIAL_TYPE_RECORD_DIALOG, builder); } void moserial_record_dialog_show (moserialRecordDialog* self, const gchar* folder) { gboolean _tmp0_ = FALSE; const gchar* _tmp1_; gboolean _tmp4_; GtkFileChooserDialog* _tmp7_; g_return_if_fail (self != NULL); _tmp1_ = folder; if (_tmp1_ != NULL) { const gchar* _tmp2_; gboolean _tmp3_ = FALSE; _tmp2_ = folder; _tmp3_ = mo_utils_fileExists (_tmp2_); _tmp0_ = _tmp3_; } else { _tmp0_ = FALSE; } _tmp4_ = _tmp0_; if (_tmp4_) { GtkFileChooserDialog* _tmp5_; const gchar* _tmp6_; _tmp5_ = self->priv->dialog; _tmp6_ = folder; gtk_file_chooser_set_current_folder ((GtkFileChooser*) _tmp5_, _tmp6_); } _tmp7_ = self->priv->dialog; gtk_dialog_run ((GtkDialog*) _tmp7_); } gboolean moserial_record_dialog_hide (moserialRecordDialog* self) { gboolean result = FALSE; GtkFileChooserDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } static void moserial_record_dialog_response (moserialRecordDialog* self, GtkWidget* w, gint r) { gint _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _tmp0_ = r; if (_tmp0_ == ((gint) GTK_RESPONSE_CANCEL)) { moserial_record_dialog_set_fileName (self, NULL); moserial_record_dialog_hide (self); g_signal_emit_by_name (self, "stop-recording"); } else { gint _tmp1_; _tmp1_ = r; if (_tmp1_ == ((gint) GTK_RESPONSE_ACCEPT)) { GtkFileChooserDialog* _tmp2_; gchar* _tmp3_ = NULL; gchar* _tmp4_; GtkComboBox* _tmp5_; gint _tmp6_ = 0; const gchar* _tmp7_; moserialSerialStreamRecorderDirection _tmp8_; _tmp2_ = self->priv->dialog; _tmp3_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp2_); _tmp4_ = _tmp3_; moserial_record_dialog_set_fileName (self, _tmp4_); _g_free0 (_tmp4_); _tmp5_ = self->priv->streamCombo; _tmp6_ = gtk_combo_box_get_active (_tmp5_); switch (_tmp6_) { default: case 0: { self->direction = MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING; break; } case 1: { self->direction = MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING; break; } case 2: { self->direction = MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH; break; } } moserial_record_dialog_hide (self); _tmp7_ = self->priv->_fileName; _tmp8_ = self->direction; g_signal_emit_by_name (self, "start-recording", _tmp7_, _tmp8_); } else { g_signal_emit_by_name (self, "stop-recording"); } } } GtkBuilder* moserial_record_dialog_get_builder (moserialRecordDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_record_dialog_set_builder (moserialRecordDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } const gchar* moserial_record_dialog_get_fileName (moserialRecordDialog* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_fileName; result = _tmp0_; return result; } static void moserial_record_dialog_set_fileName (moserialRecordDialog* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_fileName); self->priv->_fileName = _tmp1_; g_object_notify ((GObject *) self, "fileName"); } static void g_cclosure_user_marshal_VOID__STRING_ENUM (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) { typedef void (*GMarshalFunc_VOID__STRING_ENUM) (gpointer data1, const char* arg_1, gint arg_2, gpointer data2); register GMarshalFunc_VOID__STRING_ENUM callback; register GCClosure * cc; register gpointer data1; register gpointer data2; cc = (GCClosure *) closure; g_return_if_fail (n_param_values == 3); if (G_CCLOSURE_SWAP_DATA (closure)) { data1 = closure->data; data2 = param_values->data[0].v_pointer; } else { data1 = param_values->data[0].v_pointer; data2 = closure->data; } callback = (GMarshalFunc_VOID__STRING_ENUM) (marshal_data ? marshal_data : cc->callback); callback (data1, g_value_get_string (param_values + 1), g_value_get_enum (param_values + 2), data2); } static gboolean _moserial_record_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_record_dialog_hide (self); return result; } static void _moserial_record_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { moserial_record_dialog_response (self, _sender, response_id); } static GObject * moserial_record_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialRecordDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkFileChooserDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkButton* _tmp5_; GtkBuilder* _tmp6_; GObject* _tmp7_ = NULL; GtkComboBox* _tmp8_; GtkComboBox* _tmp9_; GtkComboBox* _tmp10_; GtkFileChooserDialog* _tmp11_; GtkFileChooserDialog* _tmp12_; GtkFileChooserDialog* _tmp13_; GtkFileChooserDialog* _tmp14_; GtkFileChooserDialog* _tmp15_; parent_class = G_OBJECT_CLASS (moserial_record_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_RECORD_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "record_dialog"); _tmp2_ = _g_object_ref0 (GTK_FILE_CHOOSER_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "record_cancel"); _tmp5_ = _g_object_ref0 (GTK_BUTTON (_tmp4_)); _g_object_unref0 (self->priv->cancelButton); self->priv->cancelButton = _tmp5_; _tmp6_ = self->priv->_builder; _tmp7_ = gtk_builder_get_object (_tmp6_, "record_stream"); _tmp8_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp7_)); _g_object_unref0 (self->priv->streamCombo); self->priv->streamCombo = _tmp8_; _tmp9_ = self->priv->streamCombo; mo_utils_populateComboBox (_tmp9_, MOSERIAL_SERIAL_STREAM_RECORDER_DirectionStrings, G_N_ELEMENTS (MOSERIAL_SERIAL_STREAM_RECORDER_DirectionStrings)); _tmp10_ = self->priv->streamCombo; gtk_combo_box_set_active (_tmp10_, (gint) MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING); _tmp11_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp11_, "delete-event", (GCallback) _moserial_record_dialog_hide_gtk_widget_delete_event, self, 0); _tmp12_ = self->priv->dialog; g_signal_connect_object ((GtkDialog*) _tmp12_, "response", (GCallback) _moserial_record_dialog_response_gtk_dialog_response, self, 0); _tmp13_ = self->priv->dialog; gtk_dialog_add_buttons ((GtkDialog*) _tmp13_, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL, NULL); _tmp14_ = self->priv->dialog; gtk_file_chooser_set_do_overwrite_confirmation ((GtkFileChooser*) _tmp14_, TRUE); _tmp15_ = self->priv->dialog; gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp15_, FALSE); moserial_record_dialog_set_fileName (self, NULL); return obj; } static void moserial_record_dialog_class_init (moserialRecordDialogClass * klass) { moserial_record_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialRecordDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_record_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_record_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_record_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_record_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RECORD_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RECORD_DIALOG_FILE_NAME, g_param_spec_string ("fileName", "fileName", "fileName", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE)); g_signal_new ("start_recording", MOSERIAL_TYPE_RECORD_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_ENUM, G_TYPE_NONE, 2, G_TYPE_STRING, MOSERIAL_SERIAL_STREAM_RECORDER_TYPE_DIRECTION); g_signal_new ("stop_recording", MOSERIAL_TYPE_RECORD_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); } static void moserial_record_dialog_instance_init (moserialRecordDialog * self) { self->priv = MOSERIAL_RECORD_DIALOG_GET_PRIVATE (self); } static void moserial_record_dialog_finalize (GObject* obj) { moserialRecordDialog * self; self = MOSERIAL_RECORD_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->priv->cancelButton); _g_object_unref0 (self->priv->streamCombo); _g_free0 (self->priv->_fileName); G_OBJECT_CLASS (moserial_record_dialog_parent_class)->finalize (obj); } GType moserial_record_dialog_get_type (void) { static volatile gsize moserial_record_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_record_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialRecordDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_record_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialRecordDialog), 0, (GInstanceInitFunc) moserial_record_dialog_instance_init, NULL }; GType moserial_record_dialog_type_id; moserial_record_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialRecordDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_record_dialog_type_id__volatile, moserial_record_dialog_type_id); } return moserial_record_dialog_type_id__volatile; } static void _vala_moserial_record_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialRecordDialog * self; self = MOSERIAL_RECORD_DIALOG (object); switch (property_id) { case MOSERIAL_RECORD_DIALOG_BUILDER: g_value_set_object (value, moserial_record_dialog_get_builder (self)); break; case MOSERIAL_RECORD_DIALOG_FILE_NAME: g_value_set_string (value, moserial_record_dialog_get_fileName (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_record_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialRecordDialog * self; self = MOSERIAL_RECORD_DIALOG (object); switch (property_id) { case MOSERIAL_RECORD_DIALOG_BUILDER: moserial_record_dialog_set_builder (self, g_value_get_object (value)); break; case MOSERIAL_RECORD_DIALOG_FILE_NAME: moserial_record_dialog_set_fileName (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/ReceiveProgressDialog.c0000674000213200021320000003151712064104644015441 00000000000000/* ReceiveProgressDialog.c generated by valac 0.16.1, the Vala compiler * generated from ReceiveProgressDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #define MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG (moserial_receive_progress_dialog_get_type ()) #define MOSERIAL_RECEIVE_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialog)) #define MOSERIAL_RECEIVE_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialogClass)) #define MOSERIAL_IS_RECEIVE_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG)) #define MOSERIAL_IS_RECEIVE_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG)) #define MOSERIAL_RECEIVE_PROGRESS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialogClass)) typedef struct _moserialReceiveProgressDialog moserialReceiveProgressDialog; typedef struct _moserialReceiveProgressDialogClass moserialReceiveProgressDialogClass; typedef struct _moserialReceiveProgressDialogPrivate moserialReceiveProgressDialogPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) struct _moserialReceiveProgressDialog { GObject parent_instance; moserialReceiveProgressDialogPrivate * priv; }; struct _moserialReceiveProgressDialogClass { GObjectClass parent_class; }; struct _moserialReceiveProgressDialogPrivate { GtkBuilder* _builder; GtkDialog* dialog; GtkButton* cancelButton; GtkLabel* status; GtkProgressBar* progressBar; }; static gpointer moserial_receive_progress_dialog_parent_class = NULL; GType moserial_receive_progress_dialog_get_type (void) G_GNUC_CONST; #define MOSERIAL_RECEIVE_PROGRESS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialogPrivate)) enum { MOSERIAL_RECEIVE_PROGRESS_DIALOG_DUMMY_PROPERTY, MOSERIAL_RECEIVE_PROGRESS_DIALOG_BUILDER }; moserialReceiveProgressDialog* moserial_receive_progress_dialog_new (GtkBuilder* builder); moserialReceiveProgressDialog* moserial_receive_progress_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_receive_progress_dialog_show (moserialReceiveProgressDialog* self); gboolean moserial_receive_progress_dialog_hide (moserialReceiveProgressDialog* self); void moserial_receive_progress_dialog_updateStatus (moserialReceiveProgressDialog* self, GObject* o, const gchar* newStatus); void moserial_receive_progress_dialog_cancel (moserialReceiveProgressDialog* self, GObject* o); GtkBuilder* moserial_receive_progress_dialog_get_builder (moserialReceiveProgressDialog* self); static void moserial_receive_progress_dialog_set_builder (moserialReceiveProgressDialog* self, GtkBuilder* value); static GObject * moserial_receive_progress_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _moserial_receive_progress_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self); static gboolean _moserial_receive_progress_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static void moserial_receive_progress_dialog_finalize (GObject* obj); static void _vala_moserial_receive_progress_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_receive_progress_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); moserialReceiveProgressDialog* moserial_receive_progress_dialog_construct (GType object_type, GtkBuilder* builder) { moserialReceiveProgressDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialReceiveProgressDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialReceiveProgressDialog* moserial_receive_progress_dialog_new (GtkBuilder* builder) { return moserial_receive_progress_dialog_construct (MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, builder); } void moserial_receive_progress_dialog_show (moserialReceiveProgressDialog* self) { GtkDialog* _tmp0_; GtkLabel* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->dialog; gtk_widget_show_all ((GtkWidget*) _tmp0_); _tmp1_ = self->priv->status; gtk_label_set_text (_tmp1_, ""); } gboolean moserial_receive_progress_dialog_hide (moserialReceiveProgressDialog* self) { gboolean result = FALSE; GtkDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } void moserial_receive_progress_dialog_updateStatus (moserialReceiveProgressDialog* self, GObject* o, const gchar* newStatus) { GtkLabel* _tmp0_; const gchar* _tmp1_; GtkProgressBar* _tmp2_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); g_return_if_fail (newStatus != NULL); _tmp0_ = self->priv->status; _tmp1_ = newStatus; gtk_label_set_text (_tmp0_, _tmp1_); _tmp2_ = self->priv->progressBar; gtk_progress_bar_pulse (_tmp2_); } void moserial_receive_progress_dialog_cancel (moserialReceiveProgressDialog* self, GObject* o) { g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); g_signal_emit_by_name (self, "transfer-canceled"); } GtkBuilder* moserial_receive_progress_dialog_get_builder (moserialReceiveProgressDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_receive_progress_dialog_set_builder (moserialReceiveProgressDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static void _moserial_receive_progress_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_receive_progress_dialog_cancel (self, _sender); } static gboolean _moserial_receive_progress_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_receive_progress_dialog_hide (self); return result; } static GObject * moserial_receive_progress_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialReceiveProgressDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkButton* _tmp5_; GtkButton* _tmp6_; GtkBuilder* _tmp7_; GObject* _tmp8_ = NULL; GtkLabel* _tmp9_; GtkBuilder* _tmp10_; GObject* _tmp11_ = NULL; GtkProgressBar* _tmp12_; GtkDialog* _tmp13_; parent_class = G_OBJECT_CLASS (moserial_receive_progress_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_RECEIVE_PROGRESS_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "receive_progress_dialog"); _tmp2_ = _g_object_ref0 (GTK_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "receive_progress_cancel"); _tmp5_ = _g_object_ref0 (GTK_BUTTON (_tmp4_)); _g_object_unref0 (self->priv->cancelButton); self->priv->cancelButton = _tmp5_; _tmp6_ = self->priv->cancelButton; g_signal_connect_object (_tmp6_, "clicked", (GCallback) _moserial_receive_progress_dialog_cancel_gtk_button_clicked, self, 0); _tmp7_ = self->priv->_builder; _tmp8_ = gtk_builder_get_object (_tmp7_, "receive_statusbox"); _tmp9_ = _g_object_ref0 (GTK_LABEL (_tmp8_)); _g_object_unref0 (self->priv->status); self->priv->status = _tmp9_; _tmp10_ = self->priv->_builder; _tmp11_ = gtk_builder_get_object (_tmp10_, "receive_progressbar"); _tmp12_ = _g_object_ref0 (GTK_PROGRESS_BAR (_tmp11_)); _g_object_unref0 (self->priv->progressBar); self->priv->progressBar = _tmp12_; _tmp13_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp13_, "delete-event", (GCallback) _moserial_receive_progress_dialog_hide_gtk_widget_delete_event, self, 0); return obj; } static void moserial_receive_progress_dialog_class_init (moserialReceiveProgressDialogClass * klass) { moserial_receive_progress_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialReceiveProgressDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_receive_progress_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_receive_progress_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_receive_progress_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_receive_progress_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RECEIVE_PROGRESS_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("transfer_canceled", MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); } static void moserial_receive_progress_dialog_instance_init (moserialReceiveProgressDialog * self) { self->priv = MOSERIAL_RECEIVE_PROGRESS_DIALOG_GET_PRIVATE (self); } static void moserial_receive_progress_dialog_finalize (GObject* obj) { moserialReceiveProgressDialog * self; self = MOSERIAL_RECEIVE_PROGRESS_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->priv->cancelButton); _g_object_unref0 (self->priv->status); _g_object_unref0 (self->priv->progressBar); G_OBJECT_CLASS (moserial_receive_progress_dialog_parent_class)->finalize (obj); } GType moserial_receive_progress_dialog_get_type (void) { static volatile gsize moserial_receive_progress_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_receive_progress_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialReceiveProgressDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_receive_progress_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialReceiveProgressDialog), 0, (GInstanceInitFunc) moserial_receive_progress_dialog_instance_init, NULL }; GType moserial_receive_progress_dialog_type_id; moserial_receive_progress_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialReceiveProgressDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_receive_progress_dialog_type_id__volatile, moserial_receive_progress_dialog_type_id); } return moserial_receive_progress_dialog_type_id__volatile; } static void _vala_moserial_receive_progress_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialReceiveProgressDialog * self; self = MOSERIAL_RECEIVE_PROGRESS_DIALOG (object); switch (property_id) { case MOSERIAL_RECEIVE_PROGRESS_DIALOG_BUILDER: g_value_set_object (value, moserial_receive_progress_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_receive_progress_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialReceiveProgressDialog * self; self = MOSERIAL_RECEIVE_PROGRESS_DIALOG (object); switch (property_id) { case MOSERIAL_RECEIVE_PROGRESS_DIALOG_BUILDER: moserial_receive_progress_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/ReceiveChooserDialog.c0000674000213200021320000003316312064104644015236 00000000000000/* ReceiveChooserDialog.c generated by valac 0.16.1, the Vala compiler * generated from ReceiveChooserDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #define MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG (moserial_receive_chooser_dialog_get_type ()) #define MOSERIAL_RECEIVE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialog)) #define MOSERIAL_RECEIVE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialogClass)) #define MOSERIAL_IS_RECEIVE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG)) #define MOSERIAL_IS_RECEIVE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG)) #define MOSERIAL_RECEIVE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialogClass)) typedef struct _moserialReceiveChooserDialog moserialReceiveChooserDialog; typedef struct _moserialReceiveChooserDialogClass moserialReceiveChooserDialogClass; typedef struct _moserialReceiveChooserDialogPrivate moserialReceiveChooserDialogPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define MOSERIAL_RZWRAPPER_TYPE_PROTOCOL (moserial_rzwrapper_protocol_get_type ()) struct _moserialReceiveChooserDialog { GObject parent_instance; moserialReceiveChooserDialogPrivate * priv; GtkComboBox* protocolCombo; gchar* path; }; struct _moserialReceiveChooserDialogClass { GObjectClass parent_class; }; struct _moserialReceiveChooserDialogPrivate { GtkBuilder* _builder; GtkFileChooserDialog* dialog; }; typedef enum { MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_NULL } moserialRzwrapperProtocol; static gpointer moserial_receive_chooser_dialog_parent_class = NULL; GType moserial_receive_chooser_dialog_get_type (void) G_GNUC_CONST; #define MOSERIAL_RECEIVE_CHOOSER_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialogPrivate)) enum { MOSERIAL_RECEIVE_CHOOSER_DIALOG_DUMMY_PROPERTY, MOSERIAL_RECEIVE_CHOOSER_DIALOG_BUILDER }; moserialReceiveChooserDialog* moserial_receive_chooser_dialog_new (GtkBuilder* builder); moserialReceiveChooserDialog* moserial_receive_chooser_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_receive_chooser_dialog_show (moserialReceiveChooserDialog* self, const gchar* folder); gboolean mo_utils_fileExists (const gchar* path); gboolean moserial_receive_chooser_dialog_hide (moserialReceiveChooserDialog* self); static void moserial_receive_chooser_dialog_response (moserialReceiveChooserDialog* self, GtkWidget* w, gint r); GtkBuilder* moserial_receive_chooser_dialog_get_builder (moserialReceiveChooserDialog* self); static void moserial_receive_chooser_dialog_set_builder (moserialReceiveChooserDialog* self, GtkBuilder* value); static GObject * moserial_receive_chooser_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1); static gboolean _moserial_receive_chooser_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); GType moserial_rzwrapper_protocol_get_type (void) G_GNUC_CONST; static void _moserial_receive_chooser_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self); static void moserial_receive_chooser_dialog_finalize (GObject* obj); static void _vala_moserial_receive_chooser_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_receive_chooser_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); extern const gchar* MOSERIAL_RZWRAPPER_ProtocolStrings[3]; moserialReceiveChooserDialog* moserial_receive_chooser_dialog_construct (GType object_type, GtkBuilder* builder) { moserialReceiveChooserDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialReceiveChooserDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialReceiveChooserDialog* moserial_receive_chooser_dialog_new (GtkBuilder* builder) { return moserial_receive_chooser_dialog_construct (MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, builder); } void moserial_receive_chooser_dialog_show (moserialReceiveChooserDialog* self, const gchar* folder) { gboolean _tmp0_ = FALSE; const gchar* _tmp1_; gboolean _tmp4_; GtkFileChooserDialog* _tmp7_; g_return_if_fail (self != NULL); _tmp1_ = folder; if (_tmp1_ != NULL) { const gchar* _tmp2_; gboolean _tmp3_ = FALSE; _tmp2_ = folder; _tmp3_ = mo_utils_fileExists (_tmp2_); _tmp0_ = _tmp3_; } else { _tmp0_ = FALSE; } _tmp4_ = _tmp0_; if (_tmp4_) { GtkFileChooserDialog* _tmp5_; const gchar* _tmp6_; _tmp5_ = self->priv->dialog; _tmp6_ = folder; gtk_file_chooser_set_current_folder ((GtkFileChooser*) _tmp5_, _tmp6_); } _tmp7_ = self->priv->dialog; gtk_dialog_run ((GtkDialog*) _tmp7_); } gboolean moserial_receive_chooser_dialog_hide (moserialReceiveChooserDialog* self) { gboolean result = FALSE; GtkFileChooserDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } static void moserial_receive_chooser_dialog_response (moserialReceiveChooserDialog* self, GtkWidget* w, gint r) { gint _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _tmp0_ = r; if (_tmp0_ == ((gint) GTK_RESPONSE_CANCEL)) { moserial_receive_chooser_dialog_hide (self); } else { gint _tmp1_; _tmp1_ = r; if (_tmp1_ == ((gint) GTK_RESPONSE_ACCEPT)) { GtkFileChooserDialog* _tmp2_; gchar* _tmp3_ = NULL; moserial_receive_chooser_dialog_hide (self); _tmp2_ = self->priv->dialog; _tmp3_ = gtk_file_chooser_get_current_folder ((GtkFileChooser*) _tmp2_); _g_free0 (self->path); self->path = _tmp3_; g_signal_emit_by_name (self, "start-transfer"); } else { } } } GtkBuilder* moserial_receive_chooser_dialog_get_builder (moserialReceiveChooserDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_receive_chooser_dialog_set_builder (moserialReceiveChooserDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static gboolean _moserial_receive_chooser_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_receive_chooser_dialog_hide (self); return result; } static void _moserial_receive_chooser_dialog_response_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) { moserial_receive_chooser_dialog_response (self, _sender, response_id); } static GObject * moserial_receive_chooser_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialReceiveChooserDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkFileChooserDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkComboBox* _tmp5_; GtkComboBox* _tmp6_; GtkFileChooserDialog* _tmp7_; GtkFileChooserDialog* _tmp8_; GtkComboBox* _tmp9_; GtkFileChooserDialog* _tmp10_; parent_class = G_OBJECT_CLASS (moserial_receive_chooser_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_RECEIVE_CHOOSER_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "receive_chooser_dialog"); _tmp2_ = _g_object_ref0 (GTK_FILE_CHOOSER_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "receive_chooser_protocol"); _tmp5_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp4_)); _g_object_unref0 (self->protocolCombo); self->protocolCombo = _tmp5_; _tmp6_ = self->protocolCombo; mo_utils_populateComboBox (_tmp6_, MOSERIAL_RZWRAPPER_ProtocolStrings, G_N_ELEMENTS (MOSERIAL_RZWRAPPER_ProtocolStrings)); _tmp7_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp7_, "delete-event", (GCallback) _moserial_receive_chooser_dialog_hide_gtk_widget_delete_event, self, 0); _tmp8_ = self->priv->dialog; gtk_dialog_add_buttons ((GtkDialog*) _tmp8_, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL, NULL); _tmp9_ = self->protocolCombo; gtk_combo_box_set_active (_tmp9_, (gint) MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM); _tmp10_ = self->priv->dialog; g_signal_connect_object ((GtkDialog*) _tmp10_, "response", (GCallback) _moserial_receive_chooser_dialog_response_gtk_dialog_response, self, 0); return obj; } static void moserial_receive_chooser_dialog_class_init (moserialReceiveChooserDialogClass * klass) { moserial_receive_chooser_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialReceiveChooserDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_receive_chooser_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_receive_chooser_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_receive_chooser_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_receive_chooser_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_RECEIVE_CHOOSER_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("start_transfer", MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); } static void moserial_receive_chooser_dialog_instance_init (moserialReceiveChooserDialog * self) { self->priv = MOSERIAL_RECEIVE_CHOOSER_DIALOG_GET_PRIVATE (self); } static void moserial_receive_chooser_dialog_finalize (GObject* obj) { moserialReceiveChooserDialog * self; self = MOSERIAL_RECEIVE_CHOOSER_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->protocolCombo); _g_free0 (self->path); G_OBJECT_CLASS (moserial_receive_chooser_dialog_parent_class)->finalize (obj); } GType moserial_receive_chooser_dialog_get_type (void) { static volatile gsize moserial_receive_chooser_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_receive_chooser_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialReceiveChooserDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_receive_chooser_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialReceiveChooserDialog), 0, (GInstanceInitFunc) moserial_receive_chooser_dialog_instance_init, NULL }; GType moserial_receive_chooser_dialog_type_id; moserial_receive_chooser_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialReceiveChooserDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_receive_chooser_dialog_type_id__volatile, moserial_receive_chooser_dialog_type_id); } return moserial_receive_chooser_dialog_type_id__volatile; } static void _vala_moserial_receive_chooser_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialReceiveChooserDialog * self; self = MOSERIAL_RECEIVE_CHOOSER_DIALOG (object); switch (property_id) { case MOSERIAL_RECEIVE_CHOOSER_DIALOG_BUILDER: g_value_set_object (value, moserial_receive_chooser_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_receive_chooser_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialReceiveChooserDialog * self; self = MOSERIAL_RECEIVE_CHOOSER_DIALOG (object); switch (property_id) { case MOSERIAL_RECEIVE_CHOOSER_DIALOG_BUILDER: moserial_receive_chooser_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/SendProgressDialog.c0000674000213200021320000003105712064104644014747 00000000000000/* SendProgressDialog.c generated by valac 0.16.1, the Vala compiler * generated from SendProgressDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #define MOSERIAL_TYPE_SEND_PROGRESS_DIALOG (moserial_send_progress_dialog_get_type ()) #define MOSERIAL_SEND_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialog)) #define MOSERIAL_SEND_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialogClass)) #define MOSERIAL_IS_SEND_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG)) #define MOSERIAL_IS_SEND_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG)) #define MOSERIAL_SEND_PROGRESS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialogClass)) typedef struct _moserialSendProgressDialog moserialSendProgressDialog; typedef struct _moserialSendProgressDialogClass moserialSendProgressDialogClass; typedef struct _moserialSendProgressDialogPrivate moserialSendProgressDialogPrivate; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) struct _moserialSendProgressDialog { GObject parent_instance; moserialSendProgressDialogPrivate * priv; }; struct _moserialSendProgressDialogClass { GObjectClass parent_class; }; struct _moserialSendProgressDialogPrivate { GtkBuilder* _builder; GtkDialog* dialog; GtkButton* cancelButton; GtkLabel* status; GtkProgressBar* progressBar; }; static gpointer moserial_send_progress_dialog_parent_class = NULL; GType moserial_send_progress_dialog_get_type (void) G_GNUC_CONST; #define MOSERIAL_SEND_PROGRESS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialogPrivate)) enum { MOSERIAL_SEND_PROGRESS_DIALOG_DUMMY_PROPERTY, MOSERIAL_SEND_PROGRESS_DIALOG_BUILDER }; moserialSendProgressDialog* moserial_send_progress_dialog_new (GtkBuilder* builder); moserialSendProgressDialog* moserial_send_progress_dialog_construct (GType object_type, GtkBuilder* builder); void moserial_send_progress_dialog_show (moserialSendProgressDialog* self); gboolean moserial_send_progress_dialog_hide (moserialSendProgressDialog* self); void moserial_send_progress_dialog_updateStatus (moserialSendProgressDialog* self, GObject* o, const gchar* newStatus); void moserial_send_progress_dialog_cancel (moserialSendProgressDialog* self, GObject* o); GtkBuilder* moserial_send_progress_dialog_get_builder (moserialSendProgressDialog* self); static void moserial_send_progress_dialog_set_builder (moserialSendProgressDialog* self, GtkBuilder* value); static GObject * moserial_send_progress_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _moserial_send_progress_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self); static gboolean _moserial_send_progress_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static void moserial_send_progress_dialog_finalize (GObject* obj); static void _vala_moserial_send_progress_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_send_progress_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); moserialSendProgressDialog* moserial_send_progress_dialog_construct (GType object_type, GtkBuilder* builder) { moserialSendProgressDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialSendProgressDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialSendProgressDialog* moserial_send_progress_dialog_new (GtkBuilder* builder) { return moserial_send_progress_dialog_construct (MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, builder); } void moserial_send_progress_dialog_show (moserialSendProgressDialog* self) { GtkDialog* _tmp0_; GtkLabel* _tmp1_; const gchar* _tmp2_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->priv->dialog; gtk_widget_show_all ((GtkWidget*) _tmp0_); _tmp1_ = self->priv->status; _tmp2_ = _ ("Waiting for remote host"); gtk_label_set_text (_tmp1_, _tmp2_); } gboolean moserial_send_progress_dialog_hide (moserialSendProgressDialog* self) { gboolean result = FALSE; GtkDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } void moserial_send_progress_dialog_updateStatus (moserialSendProgressDialog* self, GObject* o, const gchar* newStatus) { GtkLabel* _tmp0_; const gchar* _tmp1_; GtkProgressBar* _tmp2_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); g_return_if_fail (newStatus != NULL); _tmp0_ = self->priv->status; _tmp1_ = newStatus; gtk_label_set_text (_tmp0_, _tmp1_); _tmp2_ = self->priv->progressBar; gtk_progress_bar_pulse (_tmp2_); } void moserial_send_progress_dialog_cancel (moserialSendProgressDialog* self, GObject* o) { g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); g_signal_emit_by_name (self, "transfer-canceled"); } GtkBuilder* moserial_send_progress_dialog_get_builder (moserialSendProgressDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_send_progress_dialog_set_builder (moserialSendProgressDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static void _moserial_send_progress_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_send_progress_dialog_cancel (self, _sender); } static gboolean _moserial_send_progress_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_send_progress_dialog_hide (self); return result; } static GObject * moserial_send_progress_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialSendProgressDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkButton* _tmp5_; GtkButton* _tmp6_; GtkBuilder* _tmp7_; GObject* _tmp8_ = NULL; GtkLabel* _tmp9_; GtkBuilder* _tmp10_; GObject* _tmp11_ = NULL; GtkProgressBar* _tmp12_; GtkDialog* _tmp13_; parent_class = G_OBJECT_CLASS (moserial_send_progress_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_SEND_PROGRESS_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "send_progress_dialog"); _tmp2_ = _g_object_ref0 (GTK_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "send_progress_cancel"); _tmp5_ = _g_object_ref0 (GTK_BUTTON (_tmp4_)); _g_object_unref0 (self->priv->cancelButton); self->priv->cancelButton = _tmp5_; _tmp6_ = self->priv->cancelButton; g_signal_connect_object (_tmp6_, "clicked", (GCallback) _moserial_send_progress_dialog_cancel_gtk_button_clicked, self, 0); _tmp7_ = self->priv->_builder; _tmp8_ = gtk_builder_get_object (_tmp7_, "send_statusbox"); _tmp9_ = _g_object_ref0 (GTK_LABEL (_tmp8_)); _g_object_unref0 (self->priv->status); self->priv->status = _tmp9_; _tmp10_ = self->priv->_builder; _tmp11_ = gtk_builder_get_object (_tmp10_, "send_progressbar"); _tmp12_ = _g_object_ref0 (GTK_PROGRESS_BAR (_tmp11_)); _g_object_unref0 (self->priv->progressBar); self->priv->progressBar = _tmp12_; _tmp13_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp13_, "delete-event", (GCallback) _moserial_send_progress_dialog_hide_gtk_widget_delete_event, self, 0); return obj; } static void moserial_send_progress_dialog_class_init (moserialSendProgressDialogClass * klass) { moserial_send_progress_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialSendProgressDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_send_progress_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_send_progress_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_send_progress_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_send_progress_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_SEND_PROGRESS_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("transfer_canceled", MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); } static void moserial_send_progress_dialog_instance_init (moserialSendProgressDialog * self) { self->priv = MOSERIAL_SEND_PROGRESS_DIALOG_GET_PRIVATE (self); } static void moserial_send_progress_dialog_finalize (GObject* obj) { moserialSendProgressDialog * self; self = MOSERIAL_SEND_PROGRESS_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->priv->cancelButton); _g_object_unref0 (self->priv->status); _g_object_unref0 (self->priv->progressBar); G_OBJECT_CLASS (moserial_send_progress_dialog_parent_class)->finalize (obj); } GType moserial_send_progress_dialog_get_type (void) { static volatile gsize moserial_send_progress_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_send_progress_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialSendProgressDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_send_progress_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialSendProgressDialog), 0, (GInstanceInitFunc) moserial_send_progress_dialog_instance_init, NULL }; GType moserial_send_progress_dialog_type_id; moserial_send_progress_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialSendProgressDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_send_progress_dialog_type_id__volatile, moserial_send_progress_dialog_type_id); } return moserial_send_progress_dialog_type_id__volatile; } static void _vala_moserial_send_progress_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialSendProgressDialog * self; self = MOSERIAL_SEND_PROGRESS_DIALOG (object); switch (property_id) { case MOSERIAL_SEND_PROGRESS_DIALOG_BUILDER: g_value_set_object (value, moserial_send_progress_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_send_progress_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialSendProgressDialog * self; self = MOSERIAL_SEND_PROGRESS_DIALOG (object); switch (property_id) { case MOSERIAL_SEND_PROGRESS_DIALOG_BUILDER: moserial_send_progress_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/Settings.c0000674000213200021320000007007212064104644013011 00000000000000/* Settings.c generated by valac 0.16.1, the Vala compiler * generated from Settings.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #define TYPE_SETTINGS (settings_get_type ()) #define SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS, Settings)) #define SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS, SettingsClass)) #define IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS)) #define IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS)) #define SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS, SettingsClass)) typedef struct _Settings Settings; typedef struct _SettingsClass SettingsClass; typedef struct _SettingsPrivate SettingsPrivate; #define SETTINGS_TYPE_PARITY (settings_parity_get_type ()) #define SETTINGS_TYPE_HANDSHAKE (settings_handshake_get_type ()) #define SETTINGS_TYPE_ACCESS_MODE (settings_access_mode_get_type ()) #define _g_free0(var) (var = (g_free (var), NULL)) #define TYPE_PROFILE (profile_get_type ()) #define PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROFILE, Profile)) #define PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROFILE, ProfileClass)) #define IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROFILE)) #define IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROFILE)) #define PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROFILE, ProfileClass)) typedef struct _Profile Profile; typedef struct _ProfileClass ProfileClass; typedef struct _ProfilePrivate ProfilePrivate; struct _Settings { GObject parent_instance; SettingsPrivate * priv; }; struct _SettingsClass { GObjectClass parent_class; }; typedef enum { SETTINGS_PARITY_NONE, SETTINGS_PARITY_ODD, SETTINGS_PARITY_EVEN, SETTINGS_PARITY_MARK, SETTINGS_PARITY_SPACE } SettingsParity; typedef enum { SETTINGS_HANDSHAKE_NONE, SETTINGS_HANDSHAKE_HARDWARE, SETTINGS_HANDSHAKE_SOFTWARE, SETTINGS_HANDSHAKE_BOTH } SettingsHandshake; typedef enum { SETTINGS_ACCESS_MODE_READWRITE, SETTINGS_ACCESS_MODE_READONLY, SETTINGS_ACCESS_MODE_WRITEONLY } SettingsAccessMode; struct _SettingsPrivate { gchar* _device; gint _baudRate; gint _dataBits; gint _stopBits; SettingsParity _parity; SettingsHandshake _handshake; SettingsAccessMode _accessMode; gboolean _localEcho; }; struct _Profile { GObject parent_instance; ProfilePrivate * priv; GKeyFile* keyFile; }; struct _ProfileClass { GObjectClass parent_class; }; static gpointer settings_parent_class = NULL; extern gchar* settings_DEFAULT_DEVICEFILE; gchar* settings_DEFAULT_DEVICEFILE = NULL; extern gint settings_DEFAULT_BAUDRATE; gint settings_DEFAULT_BAUDRATE = 1200; extern gint settings_DEFAULT_DATABITS; gint settings_DEFAULT_DATABITS = 8; extern gint settings_DEFAULT_STOPBITS; gint settings_DEFAULT_STOPBITS = 1; extern SettingsParity settings_DEFAULT_PARITY; SettingsParity settings_DEFAULT_PARITY = SETTINGS_PARITY_NONE; extern SettingsHandshake settings_DEFAULT_HANDSHAKE; SettingsHandshake settings_DEFAULT_HANDSHAKE = SETTINGS_HANDSHAKE_HARDWARE; extern SettingsAccessMode settings_DEFAULT_ACCESSMODE; SettingsAccessMode settings_DEFAULT_ACCESSMODE = SETTINGS_ACCESS_MODE_READWRITE; extern gboolean settings_DEFAULT_LOCAL_ECHO; gboolean settings_DEFAULT_LOCAL_ECHO = FALSE; GType settings_get_type (void) G_GNUC_CONST; GType settings_parity_get_type (void) G_GNUC_CONST; GType settings_handshake_get_type (void) G_GNUC_CONST; GType settings_access_mode_get_type (void) G_GNUC_CONST; #define SETTINGS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SETTINGS, SettingsPrivate)) enum { SETTINGS_DUMMY_PROPERTY, SETTINGS_DEVICE, SETTINGS_BAUD_RATE, SETTINGS_DATA_BITS, SETTINGS_STOP_BITS, SETTINGS_PARITY, SETTINGS_HANDSHAKE, SETTINGS_ACCESS_MODE, SETTINGS_LOCAL_ECHO }; Settings* settings_new (const gchar* device, gint baudRate, gint dataBits, gint stopBits, SettingsParity parity, SettingsHandshake handshake, SettingsAccessMode accessMode, gboolean localEcho); Settings* settings_construct (GType object_type, const gchar* device, gint baudRate, gint dataBits, gint stopBits, SettingsParity parity, SettingsHandshake handshake, SettingsAccessMode accessMode, gboolean localEcho); gchar* settings_parityToChar (Settings* self); SettingsParity settings_get_parity (Settings* self); gchar* settings_getStatusbarString (Settings* self, gboolean open); const gchar* settings_get_device (Settings* self); gint settings_get_baudRate (Settings* self); gint settings_get_dataBits (Settings* self); gint settings_get_stopBits (Settings* self); GType profile_get_type (void) G_GNUC_CONST; void settings_saveToProfile (Settings* self, Profile* profile); SettingsHandshake settings_get_handshake (Settings* self); SettingsAccessMode settings_get_accessMode (Settings* self); gboolean settings_get_localEcho (Settings* self); Settings* settings_loadFromProfile (Profile* profile); gchar* mo_utils_getKeyString (Profile* profile, const gchar* group, const gchar* key); gint mo_utils_getKeyInteger (Profile* profile, const gchar* group, const gchar* key, gint default_val); gboolean mo_utils_getKeyBoolean (Profile* profile, const gchar* group, const gchar* key, gboolean default_val); static void settings_set_device (Settings* self, const gchar* value); static void settings_set_baudRate (Settings* self, gint value); static void settings_set_dataBits (Settings* self, gint value); static void settings_set_stopBits (Settings* self, gint value); static void settings_set_parity (Settings* self, SettingsParity value); static void settings_set_handshake (Settings* self, SettingsHandshake value); static void settings_set_accessMode (Settings* self, SettingsAccessMode value); static void settings_set_localEcho (Settings* self, gboolean value); static GObject * settings_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void settings_finalize (GObject* obj); static void _vala_settings_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_settings_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); const gchar* SETTINGS_ParityModeStrings[5] = {"None", "Odd", "Even", "Mark", "Space"}; const gchar* SETTINGS_AccessModeStrings[3] = {"Read and Write", "Read Only", "Write Only"}; const gchar* SETTINGS_DataBitItems[4] = {"5", "6", "7", "8"}; const gchar* SETTINGS_StopBitItems[2] = {"1", "2"}; const gchar* SETTINGS_BaudRateItems[16] = {"300", "600", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "230400", "460800", "576000", "927600", "1000000", "2000000"}; GType settings_parity_get_type (void) { static volatile gsize settings_parity_type_id__volatile = 0; if (g_once_init_enter (&settings_parity_type_id__volatile)) { static const GEnumValue values[] = {{SETTINGS_PARITY_NONE, "SETTINGS_PARITY_NONE", "none"}, {SETTINGS_PARITY_ODD, "SETTINGS_PARITY_ODD", "odd"}, {SETTINGS_PARITY_EVEN, "SETTINGS_PARITY_EVEN", "even"}, {SETTINGS_PARITY_MARK, "SETTINGS_PARITY_MARK", "mark"}, {SETTINGS_PARITY_SPACE, "SETTINGS_PARITY_SPACE", "space"}, {0, NULL, NULL}}; GType settings_parity_type_id; settings_parity_type_id = g_enum_register_static ("SettingsParity", values); g_once_init_leave (&settings_parity_type_id__volatile, settings_parity_type_id); } return settings_parity_type_id__volatile; } GType settings_handshake_get_type (void) { static volatile gsize settings_handshake_type_id__volatile = 0; if (g_once_init_enter (&settings_handshake_type_id__volatile)) { static const GEnumValue values[] = {{SETTINGS_HANDSHAKE_NONE, "SETTINGS_HANDSHAKE_NONE", "none"}, {SETTINGS_HANDSHAKE_HARDWARE, "SETTINGS_HANDSHAKE_HARDWARE", "hardware"}, {SETTINGS_HANDSHAKE_SOFTWARE, "SETTINGS_HANDSHAKE_SOFTWARE", "software"}, {SETTINGS_HANDSHAKE_BOTH, "SETTINGS_HANDSHAKE_BOTH", "both"}, {0, NULL, NULL}}; GType settings_handshake_type_id; settings_handshake_type_id = g_enum_register_static ("SettingsHandshake", values); g_once_init_leave (&settings_handshake_type_id__volatile, settings_handshake_type_id); } return settings_handshake_type_id__volatile; } GType settings_access_mode_get_type (void) { static volatile gsize settings_access_mode_type_id__volatile = 0; if (g_once_init_enter (&settings_access_mode_type_id__volatile)) { static const GEnumValue values[] = {{SETTINGS_ACCESS_MODE_READWRITE, "SETTINGS_ACCESS_MODE_READWRITE", "readwrite"}, {SETTINGS_ACCESS_MODE_READONLY, "SETTINGS_ACCESS_MODE_READONLY", "readonly"}, {SETTINGS_ACCESS_MODE_WRITEONLY, "SETTINGS_ACCESS_MODE_WRITEONLY", "writeonly"}, {0, NULL, NULL}}; GType settings_access_mode_type_id; settings_access_mode_type_id = g_enum_register_static ("SettingsAccessMode", values); g_once_init_leave (&settings_access_mode_type_id__volatile, settings_access_mode_type_id); } return settings_access_mode_type_id__volatile; } Settings* settings_construct (GType object_type, const gchar* device, gint baudRate, gint dataBits, gint stopBits, SettingsParity parity, SettingsHandshake handshake, SettingsAccessMode accessMode, gboolean localEcho) { Settings * self = NULL; const gchar* _tmp0_; gint _tmp1_; gint _tmp2_; gint _tmp3_; SettingsParity _tmp4_; SettingsHandshake _tmp5_; SettingsAccessMode _tmp6_; gboolean _tmp7_; _tmp0_ = device; _tmp1_ = baudRate; _tmp2_ = dataBits; _tmp3_ = stopBits; _tmp4_ = parity; _tmp5_ = handshake; _tmp6_ = accessMode; _tmp7_ = localEcho; self = (Settings*) g_object_new (object_type, "device", _tmp0_, "baudRate", _tmp1_, "dataBits", _tmp2_, "stopBits", _tmp3_, "parity", _tmp4_, "handshake", _tmp5_, "accessMode", _tmp6_, "localEcho", _tmp7_, NULL); return self; } Settings* settings_new (const gchar* device, gint baudRate, gint dataBits, gint stopBits, SettingsParity parity, SettingsHandshake handshake, SettingsAccessMode accessMode, gboolean localEcho) { return settings_construct (TYPE_SETTINGS, device, baudRate, dataBits, stopBits, parity, handshake, accessMode, localEcho); } gchar* settings_parityToChar (Settings* self) { gchar* result = NULL; SettingsParity _tmp0_; gchar* _tmp11_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_parity; switch (_tmp0_) { case SETTINGS_PARITY_NONE: { { const gchar* _tmp1_ = NULL; gchar* _tmp2_; _tmp1_ = _ ("N"); _tmp2_ = g_strdup (_tmp1_); result = _tmp2_; return result; } } case SETTINGS_PARITY_ODD: { { const gchar* _tmp3_ = NULL; gchar* _tmp4_; _tmp3_ = _ ("O"); _tmp4_ = g_strdup (_tmp3_); result = _tmp4_; return result; } } case SETTINGS_PARITY_EVEN: { { const gchar* _tmp5_ = NULL; gchar* _tmp6_; _tmp5_ = _ ("E"); _tmp6_ = g_strdup (_tmp5_); result = _tmp6_; return result; } } case SETTINGS_PARITY_MARK: { { const gchar* _tmp7_ = NULL; gchar* _tmp8_; _tmp7_ = _ ("M"); _tmp8_ = g_strdup (_tmp7_); result = _tmp8_; return result; } } case SETTINGS_PARITY_SPACE: { { const gchar* _tmp9_ = NULL; gchar* _tmp10_; _tmp9_ = _ ("S"); _tmp10_ = g_strdup (_tmp9_); result = _tmp10_; return result; } } default: break; } _tmp11_ = g_strdup ("?"); result = _tmp11_; return result; } gchar* settings_getStatusbarString (Settings* self, gboolean open) { gchar* result = NULL; gchar* r = NULL; const gchar* _tmp0_; gchar* _tmp1_ = NULL; gboolean _tmp2_; const gchar* _tmp17_; gint _tmp18_; gint _tmp19_; gchar* _tmp20_ = NULL; gchar* _tmp21_; gint _tmp22_; gchar* _tmp23_ = NULL; gchar* _tmp24_; gchar* _tmp25_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_device; _tmp1_ = g_strdup_printf ("%s", _tmp0_); _g_free0 (r); r = _tmp1_; _tmp2_ = open; if (_tmp2_) { const gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_; const gchar* _tmp6_ = NULL; gchar* _tmp7_; gchar* _tmp8_; gchar* _tmp9_; _tmp3_ = r; _tmp4_ = g_strconcat (_tmp3_, " ", NULL); _tmp5_ = _tmp4_; _tmp6_ = _ ("OPEN"); _tmp7_ = g_strconcat (_tmp5_, _tmp6_, NULL); _tmp8_ = _tmp7_; _tmp9_ = g_strconcat (_tmp8_, " ", NULL); _g_free0 (r); r = _tmp9_; _g_free0 (_tmp8_); _g_free0 (_tmp5_); } else { const gchar* _tmp10_; gchar* _tmp11_; gchar* _tmp12_; const gchar* _tmp13_ = NULL; gchar* _tmp14_; gchar* _tmp15_; gchar* _tmp16_; _tmp10_ = r; _tmp11_ = g_strconcat (_tmp10_, " ", NULL); _tmp12_ = _tmp11_; _tmp13_ = _ ("CLOSED"); _tmp14_ = g_strconcat (_tmp12_, _tmp13_, NULL); _tmp15_ = _tmp14_; _tmp16_ = g_strconcat (_tmp15_, " ", NULL); _g_free0 (r); r = _tmp16_; _g_free0 (_tmp15_); _g_free0 (_tmp12_); } _tmp17_ = r; _tmp18_ = self->priv->_baudRate; _tmp19_ = self->priv->_dataBits; _tmp20_ = settings_parityToChar (self); _tmp21_ = _tmp20_; _tmp22_ = self->priv->_stopBits; _tmp23_ = g_strdup_printf ("%i,%i%s%i", _tmp18_, _tmp19_, _tmp21_, _tmp22_); _tmp24_ = _tmp23_; _tmp25_ = g_strconcat (_tmp17_, _tmp24_, NULL); _g_free0 (r); r = _tmp25_; _g_free0 (_tmp24_); _g_free0 (_tmp21_); result = r; return result; } void settings_saveToProfile (Settings* self, Profile* profile) { Profile* _tmp0_; GKeyFile* _tmp1_; const gchar* _tmp2_; Profile* _tmp3_; GKeyFile* _tmp4_; gint _tmp5_; Profile* _tmp6_; GKeyFile* _tmp7_; gint _tmp8_; Profile* _tmp9_; GKeyFile* _tmp10_; gint _tmp11_; Profile* _tmp12_; GKeyFile* _tmp13_; SettingsParity _tmp14_; Profile* _tmp15_; GKeyFile* _tmp16_; SettingsHandshake _tmp17_; Profile* _tmp18_; GKeyFile* _tmp19_; SettingsAccessMode _tmp20_; Profile* _tmp21_; GKeyFile* _tmp22_; gboolean _tmp23_; g_return_if_fail (self != NULL); g_return_if_fail (profile != NULL); _tmp0_ = profile; _tmp1_ = _tmp0_->keyFile; _tmp2_ = self->priv->_device; g_key_file_set_string (_tmp1_, "port_settings", "device", _tmp2_); _tmp3_ = profile; _tmp4_ = _tmp3_->keyFile; _tmp5_ = self->priv->_baudRate; g_key_file_set_integer (_tmp4_, "port_settings", "baud_rate", _tmp5_); _tmp6_ = profile; _tmp7_ = _tmp6_->keyFile; _tmp8_ = self->priv->_dataBits; g_key_file_set_integer (_tmp7_, "port_settings", "data_bits", _tmp8_); _tmp9_ = profile; _tmp10_ = _tmp9_->keyFile; _tmp11_ = self->priv->_stopBits; g_key_file_set_integer (_tmp10_, "port_settings", "stop_bits", _tmp11_); _tmp12_ = profile; _tmp13_ = _tmp12_->keyFile; _tmp14_ = self->priv->_parity; g_key_file_set_integer (_tmp13_, "port_settings", "parity", (gint) _tmp14_); _tmp15_ = profile; _tmp16_ = _tmp15_->keyFile; _tmp17_ = self->priv->_handshake; g_key_file_set_integer (_tmp16_, "port_settings", "handshake", (gint) _tmp17_); _tmp18_ = profile; _tmp19_ = _tmp18_->keyFile; _tmp20_ = self->priv->_accessMode; g_key_file_set_integer (_tmp19_, "port_settings", "access_mode", (gint) _tmp20_); _tmp21_ = profile; _tmp22_ = _tmp21_->keyFile; _tmp23_ = self->priv->_localEcho; g_key_file_set_boolean (_tmp22_, "port_settings", "local_echo", _tmp23_); } Settings* settings_loadFromProfile (Profile* profile) { Settings* result = NULL; const gchar* _tmp0_; gchar* _tmp1_; gchar* device; gint baudRate = 0; gint dataBits = 0; gint stopBits = 0; SettingsParity parity = 0; SettingsHandshake handshake = 0; SettingsAccessMode accessMode = 0; gboolean localEcho = FALSE; Profile* _tmp2_; gchar* _tmp3_ = NULL; Profile* _tmp4_; gint _tmp5_; gint _tmp6_ = 0; Profile* _tmp7_; gint _tmp8_; gint _tmp9_ = 0; Profile* _tmp10_; gint _tmp11_; gint _tmp12_ = 0; Profile* _tmp13_; SettingsParity _tmp14_; gint _tmp15_ = 0; Profile* _tmp16_; SettingsHandshake _tmp17_; gint _tmp18_ = 0; Profile* _tmp19_; SettingsAccessMode _tmp20_; gint _tmp21_ = 0; Profile* _tmp22_; gboolean _tmp23_; gboolean _tmp24_ = FALSE; const gchar* _tmp25_; Settings* _tmp26_; g_return_val_if_fail (profile != NULL, NULL); _tmp0_ = settings_DEFAULT_DEVICEFILE; _tmp1_ = g_strdup (_tmp0_); device = _tmp1_; _tmp2_ = profile; _tmp3_ = mo_utils_getKeyString (_tmp2_, "port_settings", "device"); _g_free0 (device); device = _tmp3_; _tmp4_ = profile; _tmp5_ = settings_DEFAULT_BAUDRATE; _tmp6_ = mo_utils_getKeyInteger (_tmp4_, "port_settings", "baud_rate", _tmp5_); baudRate = _tmp6_; _tmp7_ = profile; _tmp8_ = settings_DEFAULT_DATABITS; _tmp9_ = mo_utils_getKeyInteger (_tmp7_, "port_settings", "data_bits", _tmp8_); dataBits = _tmp9_; _tmp10_ = profile; _tmp11_ = settings_DEFAULT_STOPBITS; _tmp12_ = mo_utils_getKeyInteger (_tmp10_, "port_settings", "stop_bits", _tmp11_); stopBits = _tmp12_; _tmp13_ = profile; _tmp14_ = settings_DEFAULT_PARITY; _tmp15_ = mo_utils_getKeyInteger (_tmp13_, "port_settings", "parity", (gint) _tmp14_); parity = (SettingsParity) _tmp15_; _tmp16_ = profile; _tmp17_ = settings_DEFAULT_HANDSHAKE; _tmp18_ = mo_utils_getKeyInteger (_tmp16_, "port_settings", "handshake", (gint) _tmp17_); handshake = (SettingsHandshake) _tmp18_; _tmp19_ = profile; _tmp20_ = settings_DEFAULT_ACCESSMODE; _tmp21_ = mo_utils_getKeyInteger (_tmp19_, "port_settings", "access_mode", (gint) _tmp20_); accessMode = (SettingsAccessMode) _tmp21_; _tmp22_ = profile; _tmp23_ = settings_DEFAULT_LOCAL_ECHO; _tmp24_ = mo_utils_getKeyBoolean (_tmp22_, "port_settings", "local_echo", _tmp23_); localEcho = _tmp24_; _tmp25_ = device; _tmp26_ = settings_new (_tmp25_, baudRate, dataBits, stopBits, parity, handshake, accessMode, localEcho); result = _tmp26_; _g_free0 (device); return result; } const gchar* settings_get_device (Settings* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_device; result = _tmp0_; return result; } static void settings_set_device (Settings* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_device); self->priv->_device = _tmp1_; g_object_notify ((GObject *) self, "device"); } gint settings_get_baudRate (Settings* self) { gint result; gint _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_baudRate; result = _tmp0_; return result; } static void settings_set_baudRate (Settings* self, gint value) { gint _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_baudRate = _tmp0_; g_object_notify ((GObject *) self, "baudRate"); } gint settings_get_dataBits (Settings* self) { gint result; gint _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_dataBits; result = _tmp0_; return result; } static void settings_set_dataBits (Settings* self, gint value) { gint _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_dataBits = _tmp0_; g_object_notify ((GObject *) self, "dataBits"); } gint settings_get_stopBits (Settings* self) { gint result; gint _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_stopBits; result = _tmp0_; return result; } static void settings_set_stopBits (Settings* self, gint value) { gint _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_stopBits = _tmp0_; g_object_notify ((GObject *) self, "stopBits"); } SettingsParity settings_get_parity (Settings* self) { SettingsParity result; SettingsParity _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_parity; result = _tmp0_; return result; } static void settings_set_parity (Settings* self, SettingsParity value) { SettingsParity _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_parity = _tmp0_; g_object_notify ((GObject *) self, "parity"); } SettingsHandshake settings_get_handshake (Settings* self) { SettingsHandshake result; SettingsHandshake _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_handshake; result = _tmp0_; return result; } static void settings_set_handshake (Settings* self, SettingsHandshake value) { SettingsHandshake _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_handshake = _tmp0_; g_object_notify ((GObject *) self, "handshake"); } SettingsAccessMode settings_get_accessMode (Settings* self) { SettingsAccessMode result; SettingsAccessMode _tmp0_; g_return_val_if_fail (self != NULL, 0); _tmp0_ = self->priv->_accessMode; result = _tmp0_; return result; } static void settings_set_accessMode (Settings* self, SettingsAccessMode value) { SettingsAccessMode _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_accessMode = _tmp0_; g_object_notify ((GObject *) self, "accessMode"); } gboolean settings_get_localEcho (Settings* self) { gboolean result; gboolean _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->_localEcho; result = _tmp0_; return result; } static void settings_set_localEcho (Settings* self, gboolean value) { gboolean _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = value; self->priv->_localEcho = _tmp0_; g_object_notify ((GObject *) self, "localEcho"); } static GObject * settings_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; Settings * self; const gchar* _tmp0_; gint _tmp2_; gint _tmp4_; gint _tmp6_; parent_class = G_OBJECT_CLASS (settings_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = SETTINGS (obj); _tmp0_ = self->priv->_device; if (_tmp0_ == NULL) { const gchar* _tmp1_; _tmp1_ = settings_DEFAULT_DEVICEFILE; settings_set_device (self, _tmp1_); } _tmp2_ = self->priv->_baudRate; if (_tmp2_ == 0) { gint _tmp3_; _tmp3_ = settings_DEFAULT_BAUDRATE; settings_set_baudRate (self, _tmp3_); } _tmp4_ = self->priv->_dataBits; if (_tmp4_ == 0) { gint _tmp5_; _tmp5_ = settings_DEFAULT_DATABITS; settings_set_dataBits (self, _tmp5_); } _tmp6_ = self->priv->_stopBits; if (_tmp6_ == 0) { gint _tmp7_; _tmp7_ = settings_DEFAULT_STOPBITS; settings_set_stopBits (self, _tmp7_); } return obj; } static void settings_class_init (SettingsClass * klass) { gchar* _tmp0_; settings_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (SettingsPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_settings_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_settings_set_property; G_OBJECT_CLASS (klass)->constructor = settings_constructor; G_OBJECT_CLASS (klass)->finalize = settings_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_DEVICE, g_param_spec_string ("device", "device", "device", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_BAUD_RATE, g_param_spec_int ("baudRate", "baudRate", "baudRate", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_DATA_BITS, g_param_spec_int ("dataBits", "dataBits", "dataBits", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_STOP_BITS, g_param_spec_int ("stopBits", "stopBits", "stopBits", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_PARITY, g_param_spec_enum ("parity", "parity", "parity", SETTINGS_TYPE_PARITY, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_HANDSHAKE, g_param_spec_enum ("handshake", "handshake", "handshake", SETTINGS_TYPE_HANDSHAKE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_ACCESS_MODE, g_param_spec_enum ("accessMode", "accessMode", "accessMode", SETTINGS_TYPE_ACCESS_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), SETTINGS_LOCAL_ECHO, g_param_spec_boolean ("localEcho", "localEcho", "localEcho", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); _tmp0_ = g_strdup ("/dev/ttyS0"); settings_DEFAULT_DEVICEFILE = _tmp0_; } static void settings_instance_init (Settings * self) { self->priv = SETTINGS_GET_PRIVATE (self); } static void settings_finalize (GObject* obj) { Settings * self; self = SETTINGS (obj); _g_free0 (self->priv->_device); G_OBJECT_CLASS (settings_parent_class)->finalize (obj); } GType settings_get_type (void) { static volatile gsize settings_type_id__volatile = 0; if (g_once_init_enter (&settings_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (SettingsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) settings_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (Settings), 0, (GInstanceInitFunc) settings_instance_init, NULL }; GType settings_type_id; settings_type_id = g_type_register_static (G_TYPE_OBJECT, "Settings", &g_define_type_info, 0); g_once_init_leave (&settings_type_id__volatile, settings_type_id); } return settings_type_id__volatile; } static void _vala_settings_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { Settings * self; self = SETTINGS (object); switch (property_id) { case SETTINGS_DEVICE: g_value_set_string (value, settings_get_device (self)); break; case SETTINGS_BAUD_RATE: g_value_set_int (value, settings_get_baudRate (self)); break; case SETTINGS_DATA_BITS: g_value_set_int (value, settings_get_dataBits (self)); break; case SETTINGS_STOP_BITS: g_value_set_int (value, settings_get_stopBits (self)); break; case SETTINGS_PARITY: g_value_set_enum (value, settings_get_parity (self)); break; case SETTINGS_HANDSHAKE: g_value_set_enum (value, settings_get_handshake (self)); break; case SETTINGS_ACCESS_MODE: g_value_set_enum (value, settings_get_accessMode (self)); break; case SETTINGS_LOCAL_ECHO: g_value_set_boolean (value, settings_get_localEcho (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_settings_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { Settings * self; self = SETTINGS (object); switch (property_id) { case SETTINGS_DEVICE: settings_set_device (self, g_value_get_string (value)); break; case SETTINGS_BAUD_RATE: settings_set_baudRate (self, g_value_get_int (value)); break; case SETTINGS_DATA_BITS: settings_set_dataBits (self, g_value_get_int (value)); break; case SETTINGS_STOP_BITS: settings_set_stopBits (self, g_value_get_int (value)); break; case SETTINGS_PARITY: settings_set_parity (self, g_value_get_enum (value)); break; case SETTINGS_HANDSHAKE: settings_set_handshake (self, g_value_get_enum (value)); break; case SETTINGS_ACCESS_MODE: settings_set_accessMode (self, g_value_get_enum (value)); break; case SETTINGS_LOCAL_ECHO: settings_set_localEcho (self, g_value_get_boolean (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/SettingsDialog.c0000674000213200021320000011301012064104644014117 00000000000000/* SettingsDialog.c generated by valac 0.16.1, the Vala compiler * generated from SettingsDialog.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_SETTINGS_DIALOG (moserial_settings_dialog_get_type ()) #define MOSERIAL_SETTINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialog)) #define MOSERIAL_SETTINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialogClass)) #define MOSERIAL_IS_SETTINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SETTINGS_DIALOG)) #define MOSERIAL_IS_SETTINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SETTINGS_DIALOG)) #define MOSERIAL_SETTINGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialogClass)) typedef struct _moserialSettingsDialog moserialSettingsDialog; typedef struct _moserialSettingsDialogClass moserialSettingsDialogClass; typedef struct _moserialSettingsDialogPrivate moserialSettingsDialogPrivate; #define TYPE_SETTINGS (settings_get_type ()) #define SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS, Settings)) #define SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS, SettingsClass)) #define IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS)) #define IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS)) #define SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS, SettingsClass)) typedef struct _Settings Settings; typedef struct _SettingsClass SettingsClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define __g_list_free__g_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_free0_ (var), NULL))) #define SETTINGS_TYPE_PARITY (settings_parity_get_type ()) #define SETTINGS_TYPE_ACCESS_MODE (settings_access_mode_get_type ()) #define SETTINGS_TYPE_HANDSHAKE (settings_handshake_get_type ()) struct _moserialSettingsDialog { GObject parent_instance; moserialSettingsDialogPrivate * priv; }; struct _moserialSettingsDialogClass { GObjectClass parent_class; }; struct _moserialSettingsDialogPrivate { GtkBuilder* _builder; Settings* currentSettings; GtkDialog* dialog; GtkButton* cancelButton; GtkButton* okButton; Settings* settings; GtkComboBox* deviceCombo; GtkComboBox* baudRateCombo; GtkComboBox* dataBitsCombo; GtkComboBox* stopBitsCombo; GtkComboBox* parityCombo; GtkCheckButton* hardwareHandshake; GtkCheckButton* softwareHandshake; GtkComboBox* accessModeCombo; GtkCheckButton* localEcho; GtkListStore* deviceModel; }; typedef enum { SETTINGS_PARITY_NONE, SETTINGS_PARITY_ODD, SETTINGS_PARITY_EVEN, SETTINGS_PARITY_MARK, SETTINGS_PARITY_SPACE } SettingsParity; typedef enum { SETTINGS_ACCESS_MODE_READWRITE, SETTINGS_ACCESS_MODE_READONLY, SETTINGS_ACCESS_MODE_WRITEONLY } SettingsAccessMode; typedef enum { SETTINGS_HANDSHAKE_NONE, SETTINGS_HANDSHAKE_HARDWARE, SETTINGS_HANDSHAKE_SOFTWARE, SETTINGS_HANDSHAKE_BOTH } SettingsHandshake; static gpointer moserial_settings_dialog_parent_class = NULL; extern gchar* settings_DEFAULT_DEVICEFILE; GType moserial_settings_dialog_get_type (void) G_GNUC_CONST; GType settings_get_type (void) G_GNUC_CONST; #define MOSERIAL_SETTINGS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialogPrivate)) enum { MOSERIAL_SETTINGS_DIALOG_DUMMY_PROPERTY, MOSERIAL_SETTINGS_DIALOG_BUILDER }; #define MOSERIAL_SETTINGS_DIALOG_max_devices 32 moserialSettingsDialog* moserial_settings_dialog_new (GtkBuilder* builder); moserialSettingsDialog* moserial_settings_dialog_construct (GType object_type, GtkBuilder* builder); static void moserial_settings_dialog_populateDevices (moserialSettingsDialog* self); static void _g_free0_ (gpointer var); static void _g_list_free__g_free0_ (GList* self); void moserial_settings_dialog_show (moserialSettingsDialog* self, Settings* settings); void moserial_settings_dialog_loadSettings (moserialSettingsDialog* self); const gchar* settings_get_device (Settings* self); gint settings_get_baudRate (Settings* self); gint settings_get_dataBits (Settings* self); gint settings_get_stopBits (Settings* self); GType settings_parity_get_type (void) G_GNUC_CONST; SettingsParity settings_get_parity (Settings* self); GType settings_access_mode_get_type (void) G_GNUC_CONST; SettingsAccessMode settings_get_accessMode (Settings* self); GType settings_handshake_get_type (void) G_GNUC_CONST; SettingsHandshake settings_get_handshake (Settings* self); gboolean settings_get_localEcho (Settings* self); gboolean moserial_settings_dialog_hide (moserialSettingsDialog* self); void moserial_settings_dialog_cancel (moserialSettingsDialog* self, GtkWidget* w); void moserial_settings_dialog_ok (moserialSettingsDialog* self, GtkWidget* w); Settings* settings_new (const gchar* device, gint baudRate, gint dataBits, gint stopBits, SettingsParity parity, SettingsHandshake handshake, SettingsAccessMode accessMode, gboolean localEcho); Settings* settings_construct (GType object_type, const gchar* device, gint baudRate, gint dataBits, gint stopBits, SettingsParity parity, SettingsHandshake handshake, SettingsAccessMode accessMode, gboolean localEcho); GtkBuilder* moserial_settings_dialog_get_builder (moserialSettingsDialog* self); static void moserial_settings_dialog_set_builder (moserialSettingsDialog* self, GtkBuilder* value); static GObject * moserial_settings_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1); static gboolean _moserial_settings_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static void _moserial_settings_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self); static void _moserial_settings_dialog_ok_gtk_button_clicked (GtkButton* _sender, gpointer self); static void moserial_settings_dialog_finalize (GObject* obj); static void _vala_moserial_settings_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_settings_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); extern const gchar* SETTINGS_BaudRateItems[16]; extern const gchar* SETTINGS_DataBitItems[4]; extern const gchar* SETTINGS_StopBitItems[2]; extern const gchar* SETTINGS_ParityModeStrings[5]; extern const gchar* SETTINGS_AccessModeStrings[3]; moserialSettingsDialog* moserial_settings_dialog_construct (GType object_type, GtkBuilder* builder) { moserialSettingsDialog * self = NULL; GtkBuilder* _tmp0_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; self = (moserialSettingsDialog*) g_object_new (object_type, "builder", _tmp0_, NULL); return self; } moserialSettingsDialog* moserial_settings_dialog_new (GtkBuilder* builder) { return moserial_settings_dialog_construct (MOSERIAL_TYPE_SETTINGS_DIALOG, builder); } static void _g_free0_ (gpointer var) { var = (g_free (var), NULL); } static void _g_list_free__g_free0_ (GList* self) { g_list_foreach (self, (GFunc) _g_free0_, NULL); g_list_free (self); } static void moserial_settings_dialog_populateDevices (moserialSettingsDialog* self) { GList* deviceTypes; gchar* _tmp0_; gchar* _tmp1_; gchar* _tmp2_; gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_; GtkListStore* _tmp6_; GtkTreeIter iter = {0}; GList* _tmp7_; g_return_if_fail (self != NULL); deviceTypes = NULL; _tmp0_ = g_strdup ("/dev/ttyS"); deviceTypes = g_list_append (deviceTypes, _tmp0_); _tmp1_ = g_strdup ("/dev/ttyUSB"); deviceTypes = g_list_append (deviceTypes, _tmp1_); _tmp2_ = g_strdup ("/dev/ttyACM"); deviceTypes = g_list_append (deviceTypes, _tmp2_); _tmp3_ = g_strdup ("/dev/rfcomm"); deviceTypes = g_list_append (deviceTypes, _tmp3_); _tmp4_ = g_strdup ("/dev/cuaU"); deviceTypes = g_list_append (deviceTypes, _tmp4_); _tmp5_ = g_strdup ("/dev/cua"); deviceTypes = g_list_append (deviceTypes, _tmp5_); _tmp6_ = self->priv->deviceModel; gtk_list_store_clear (_tmp6_); _tmp7_ = deviceTypes; { GList* devType_collection = NULL; GList* devType_it = NULL; devType_collection = _tmp7_; for (devType_it = devType_collection; devType_it != NULL; devType_it = devType_it->next) { gchar* _tmp8_; gchar* devType = NULL; _tmp8_ = g_strdup ((const gchar*) devType_it->data); devType = _tmp8_; { { gint i; i = 0; { gboolean _tmp9_; _tmp9_ = TRUE; while (TRUE) { gboolean _tmp10_; gint _tmp12_; const gchar* _tmp13_; gint _tmp14_; gchar* _tmp15_ = NULL; gchar* dev; const gchar* _tmp16_; gboolean _tmp17_ = FALSE; _tmp10_ = _tmp9_; if (!_tmp10_) { gint _tmp11_; _tmp11_ = i; i = _tmp11_ + 1; } _tmp9_ = FALSE; _tmp12_ = i; if (!(_tmp12_ < MOSERIAL_SETTINGS_DIALOG_max_devices)) { break; } _tmp13_ = devType; _tmp14_ = i; _tmp15_ = g_strdup_printf ("%s%d", _tmp13_, _tmp14_); dev = _tmp15_; _tmp16_ = dev; _tmp17_ = g_file_test (_tmp16_, G_FILE_TEST_EXISTS); if (_tmp17_) { GtkListStore* _tmp18_; GtkTreeIter _tmp19_ = {0}; GtkListStore* _tmp20_; GtkTreeIter _tmp21_; const gchar* _tmp22_; _tmp18_ = self->priv->deviceModel; gtk_list_store_append (_tmp18_, &_tmp19_); iter = _tmp19_; _tmp20_ = self->priv->deviceModel; _tmp21_ = iter; _tmp22_ = dev; gtk_list_store_set (_tmp20_, &_tmp21_, 0, _tmp22_, -1); } _g_free0 (dev); } } } _g_free0 (devType); } } } __g_list_free__g_free0_0 (deviceTypes); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } void moserial_settings_dialog_show (moserialSettingsDialog* self, Settings* settings) { Settings* _tmp0_; Settings* _tmp1_; GtkDialog* _tmp2_; g_return_if_fail (self != NULL); g_return_if_fail (settings != NULL); moserial_settings_dialog_populateDevices (self); _tmp0_ = settings; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->currentSettings); self->priv->currentSettings = _tmp1_; moserial_settings_dialog_loadSettings (self); _tmp2_ = self->priv->dialog; gtk_widget_show_all ((GtkWidget*) _tmp2_); } void moserial_settings_dialog_loadSettings (moserialSettingsDialog* self) { GtkTreeModel* t = NULL; GtkTreeIter ti = {0}; gboolean success = FALSE; GtkComboBox* _tmp0_; GtkTreeModel* _tmp1_ = NULL; GtkTreeModel* _tmp2_; GtkTreeModel* _tmp3_; GtkTreeIter _tmp4_ = {0}; gboolean _tmp5_ = FALSE; GtkComboBox* _tmp18_; GtkTreeModel* _tmp19_ = NULL; GtkTreeModel* _tmp20_; GtkTreeModel* _tmp21_; GtkTreeIter _tmp22_ = {0}; gboolean _tmp23_ = FALSE; GtkComboBox* _tmp39_; GtkTreeModel* _tmp40_ = NULL; GtkTreeModel* _tmp41_; GtkTreeModel* _tmp42_; GtkTreeIter _tmp43_ = {0}; gboolean _tmp44_ = FALSE; GtkComboBox* _tmp60_; GtkTreeModel* _tmp61_ = NULL; GtkTreeModel* _tmp62_; GtkTreeModel* _tmp63_; GtkTreeIter _tmp64_ = {0}; gboolean _tmp65_ = FALSE; GtkComboBox* _tmp81_; Settings* _tmp82_; SettingsParity _tmp83_; SettingsParity _tmp84_; GtkComboBox* _tmp85_; Settings* _tmp86_; SettingsAccessMode _tmp87_; SettingsAccessMode _tmp88_; GtkCheckButton* _tmp89_; GtkCheckButton* _tmp90_; gboolean _tmp91_ = FALSE; Settings* _tmp92_; SettingsHandshake _tmp93_; SettingsHandshake _tmp94_; gboolean _tmp98_; gboolean _tmp100_ = FALSE; Settings* _tmp101_; SettingsHandshake _tmp102_; SettingsHandshake _tmp103_; gboolean _tmp107_; Settings* _tmp109_; gboolean _tmp110_; gboolean _tmp111_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->deviceCombo; _tmp1_ = gtk_combo_box_get_model (_tmp0_); _tmp2_ = _g_object_ref0 (_tmp1_); _g_object_unref0 (t); t = _tmp2_; _tmp3_ = t; _tmp5_ = gtk_tree_model_get_iter_first (_tmp3_, &_tmp4_); ti = _tmp4_; success = _tmp5_; while (TRUE) { gboolean _tmp6_; GValue str_data = {0}; GtkTreeModel* _tmp7_; GtkTreeIter _tmp8_; GValue _tmp9_ = {0}; const gchar* _tmp10_ = NULL; Settings* _tmp11_; const gchar* _tmp12_; const gchar* _tmp13_; GtkTreeModel* _tmp16_; gboolean _tmp17_ = FALSE; _tmp6_ = success; if (!_tmp6_) { break; } _tmp7_ = t; _tmp8_ = ti; gtk_tree_model_get_value (_tmp7_, &_tmp8_, 0, &_tmp9_); G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; str_data = _tmp9_; _tmp10_ = g_value_get_string (&str_data); _tmp11_ = self->priv->currentSettings; _tmp12_ = settings_get_device (_tmp11_); _tmp13_ = _tmp12_; if (g_strcmp0 (_tmp10_, _tmp13_) == 0) { GtkComboBox* _tmp14_; GtkTreeIter _tmp15_; _tmp14_ = self->priv->deviceCombo; _tmp15_ = ti; gtk_combo_box_set_active_iter (_tmp14_, &_tmp15_); } _tmp16_ = t; _tmp17_ = gtk_tree_model_iter_next (_tmp16_, &ti); success = _tmp17_; G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; } _tmp18_ = self->priv->baudRateCombo; _tmp19_ = gtk_combo_box_get_model (_tmp18_); _tmp20_ = _g_object_ref0 (_tmp19_); _g_object_unref0 (t); t = _tmp20_; _tmp21_ = t; _tmp23_ = gtk_tree_model_get_iter_first (_tmp21_, &_tmp22_); ti = _tmp22_; success = _tmp23_; while (TRUE) { gboolean _tmp24_; GValue str_data = {0}; GtkTreeModel* _tmp25_; GtkTreeIter _tmp26_; GValue _tmp27_ = {0}; const gchar* _tmp28_ = NULL; Settings* _tmp29_; gint _tmp30_; gint _tmp31_; gchar* _tmp32_ = NULL; gchar* _tmp33_; gboolean _tmp34_; GtkTreeModel* _tmp37_; gboolean _tmp38_ = FALSE; _tmp24_ = success; if (!_tmp24_) { break; } _tmp25_ = t; _tmp26_ = ti; gtk_tree_model_get_value (_tmp25_, &_tmp26_, 0, &_tmp27_); G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; str_data = _tmp27_; _tmp28_ = g_value_get_string (&str_data); _tmp29_ = self->priv->currentSettings; _tmp30_ = settings_get_baudRate (_tmp29_); _tmp31_ = _tmp30_; _tmp32_ = g_strdup_printf ("%i", _tmp31_); _tmp33_ = _tmp32_; _tmp34_ = g_strcmp0 (_tmp28_, _tmp33_) == 0; _g_free0 (_tmp33_); if (_tmp34_) { GtkComboBox* _tmp35_; GtkTreeIter _tmp36_; _tmp35_ = self->priv->baudRateCombo; _tmp36_ = ti; gtk_combo_box_set_active_iter (_tmp35_, &_tmp36_); } _tmp37_ = t; _tmp38_ = gtk_tree_model_iter_next (_tmp37_, &ti); success = _tmp38_; G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; } _tmp39_ = self->priv->dataBitsCombo; _tmp40_ = gtk_combo_box_get_model (_tmp39_); _tmp41_ = _g_object_ref0 (_tmp40_); _g_object_unref0 (t); t = _tmp41_; _tmp42_ = t; _tmp44_ = gtk_tree_model_get_iter_first (_tmp42_, &_tmp43_); ti = _tmp43_; success = _tmp44_; while (TRUE) { gboolean _tmp45_; GValue str_data = {0}; GtkTreeModel* _tmp46_; GtkTreeIter _tmp47_; GValue _tmp48_ = {0}; const gchar* _tmp49_ = NULL; Settings* _tmp50_; gint _tmp51_; gint _tmp52_; gchar* _tmp53_ = NULL; gchar* _tmp54_; gboolean _tmp55_; GtkTreeModel* _tmp58_; gboolean _tmp59_ = FALSE; _tmp45_ = success; if (!_tmp45_) { break; } _tmp46_ = t; _tmp47_ = ti; gtk_tree_model_get_value (_tmp46_, &_tmp47_, 0, &_tmp48_); G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; str_data = _tmp48_; _tmp49_ = g_value_get_string (&str_data); _tmp50_ = self->priv->currentSettings; _tmp51_ = settings_get_dataBits (_tmp50_); _tmp52_ = _tmp51_; _tmp53_ = g_strdup_printf ("%i", _tmp52_); _tmp54_ = _tmp53_; _tmp55_ = g_strcmp0 (_tmp49_, _tmp54_) == 0; _g_free0 (_tmp54_); if (_tmp55_) { GtkComboBox* _tmp56_; GtkTreeIter _tmp57_; _tmp56_ = self->priv->dataBitsCombo; _tmp57_ = ti; gtk_combo_box_set_active_iter (_tmp56_, &_tmp57_); } _tmp58_ = t; _tmp59_ = gtk_tree_model_iter_next (_tmp58_, &ti); success = _tmp59_; G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; } _tmp60_ = self->priv->stopBitsCombo; _tmp61_ = gtk_combo_box_get_model (_tmp60_); _tmp62_ = _g_object_ref0 (_tmp61_); _g_object_unref0 (t); t = _tmp62_; _tmp63_ = t; _tmp65_ = gtk_tree_model_get_iter_first (_tmp63_, &_tmp64_); ti = _tmp64_; success = _tmp65_; while (TRUE) { gboolean _tmp66_; GValue str_data = {0}; GtkTreeModel* _tmp67_; GtkTreeIter _tmp68_; GValue _tmp69_ = {0}; const gchar* _tmp70_ = NULL; Settings* _tmp71_; gint _tmp72_; gint _tmp73_; gchar* _tmp74_ = NULL; gchar* _tmp75_; gboolean _tmp76_; GtkTreeModel* _tmp79_; gboolean _tmp80_ = FALSE; _tmp66_ = success; if (!_tmp66_) { break; } _tmp67_ = t; _tmp68_ = ti; gtk_tree_model_get_value (_tmp67_, &_tmp68_, 0, &_tmp69_); G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; str_data = _tmp69_; _tmp70_ = g_value_get_string (&str_data); _tmp71_ = self->priv->currentSettings; _tmp72_ = settings_get_stopBits (_tmp71_); _tmp73_ = _tmp72_; _tmp74_ = g_strdup_printf ("%i", _tmp73_); _tmp75_ = _tmp74_; _tmp76_ = g_strcmp0 (_tmp70_, _tmp75_) == 0; _g_free0 (_tmp75_); if (_tmp76_) { GtkComboBox* _tmp77_; GtkTreeIter _tmp78_; _tmp77_ = self->priv->stopBitsCombo; _tmp78_ = ti; gtk_combo_box_set_active_iter (_tmp77_, &_tmp78_); } _tmp79_ = t; _tmp80_ = gtk_tree_model_iter_next (_tmp79_, &ti); success = _tmp80_; G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; } _tmp81_ = self->priv->parityCombo; _tmp82_ = self->priv->currentSettings; _tmp83_ = settings_get_parity (_tmp82_); _tmp84_ = _tmp83_; gtk_combo_box_set_active (_tmp81_, (gint) _tmp84_); _tmp85_ = self->priv->accessModeCombo; _tmp86_ = self->priv->currentSettings; _tmp87_ = settings_get_accessMode (_tmp86_); _tmp88_ = _tmp87_; gtk_combo_box_set_active (_tmp85_, (gint) _tmp88_); _tmp89_ = self->priv->hardwareHandshake; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp89_, FALSE); _tmp90_ = self->priv->softwareHandshake; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp90_, FALSE); _tmp92_ = self->priv->currentSettings; _tmp93_ = settings_get_handshake (_tmp92_); _tmp94_ = _tmp93_; if (_tmp94_ == SETTINGS_HANDSHAKE_BOTH) { _tmp91_ = TRUE; } else { Settings* _tmp95_; SettingsHandshake _tmp96_; SettingsHandshake _tmp97_; _tmp95_ = self->priv->currentSettings; _tmp96_ = settings_get_handshake (_tmp95_); _tmp97_ = _tmp96_; _tmp91_ = _tmp97_ == SETTINGS_HANDSHAKE_HARDWARE; } _tmp98_ = _tmp91_; if (_tmp98_) { GtkCheckButton* _tmp99_; _tmp99_ = self->priv->hardwareHandshake; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp99_, TRUE); } _tmp101_ = self->priv->currentSettings; _tmp102_ = settings_get_handshake (_tmp101_); _tmp103_ = _tmp102_; if (_tmp103_ == SETTINGS_HANDSHAKE_BOTH) { _tmp100_ = TRUE; } else { Settings* _tmp104_; SettingsHandshake _tmp105_; SettingsHandshake _tmp106_; _tmp104_ = self->priv->currentSettings; _tmp105_ = settings_get_handshake (_tmp104_); _tmp106_ = _tmp105_; _tmp100_ = _tmp106_ == SETTINGS_HANDSHAKE_SOFTWARE; } _tmp107_ = _tmp100_; if (_tmp107_) { GtkCheckButton* _tmp108_; _tmp108_ = self->priv->softwareHandshake; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp108_, TRUE); } _tmp109_ = self->priv->currentSettings; _tmp110_ = settings_get_localEcho (_tmp109_); _tmp111_ = _tmp110_; if (_tmp111_) { GtkCheckButton* _tmp112_; _tmp112_ = self->priv->localEcho; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp112_, TRUE); } else { GtkCheckButton* _tmp113_; _tmp113_ = self->priv->localEcho; gtk_toggle_button_set_active ((GtkToggleButton*) _tmp113_, FALSE); } _g_object_unref0 (t); } gboolean moserial_settings_dialog_hide (moserialSettingsDialog* self) { gboolean result = FALSE; GtkDialog* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); result = TRUE; return result; } void moserial_settings_dialog_cancel (moserialSettingsDialog* self, GtkWidget* w) { GtkDialog* _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _g_object_unref0 (self->priv->currentSettings); self->priv->currentSettings = NULL; _tmp0_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp0_); } void moserial_settings_dialog_ok (moserialSettingsDialog* self, GtkWidget* w) { gchar* device = NULL; gint baudRate = 0; gint dataBits = 0; gint stopBits = 0; SettingsParity parity = 0; SettingsHandshake handshake = 0; SettingsAccessMode accessMode = 0; gboolean pLocalEcho = FALSE; GtkTreeModel* t = NULL; GtkTreeIter iter = {0}; gboolean success = FALSE; GtkComboBox* _tmp0_; GtkTreeModel* _tmp1_ = NULL; GtkTreeModel* _tmp2_; GtkComboBox* _tmp3_; GtkTreeIter _tmp4_ = {0}; gboolean _tmp5_ = FALSE; gboolean _tmp6_; GtkComboBox* _tmp14_; gint _tmp15_ = 0; const gchar* _tmp16_; gint _tmp17_ = 0; GtkComboBox* _tmp18_; gint _tmp19_ = 0; const gchar* _tmp20_; gint _tmp21_ = 0; GtkComboBox* _tmp22_; gint _tmp23_ = 0; const gchar* _tmp24_; gint _tmp25_ = 0; GtkComboBox* _tmp26_; gint _tmp27_ = 0; GtkComboBox* _tmp28_; gint _tmp29_ = 0; gboolean _tmp30_ = FALSE; GtkCheckButton* _tmp31_; gboolean _tmp32_ = FALSE; gboolean _tmp35_; GtkCheckButton* _tmp40_; gboolean _tmp41_ = FALSE; const gchar* _tmp42_; gint _tmp43_; gint _tmp44_; gint _tmp45_; SettingsParity _tmp46_; SettingsHandshake _tmp47_; SettingsAccessMode _tmp48_; Settings* _tmp49_; Settings* _tmp50_; Settings* _tmp51_; Settings* _tmp52_; GtkDialog* _tmp53_; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _tmp0_ = self->priv->deviceCombo; _tmp1_ = gtk_combo_box_get_model (_tmp0_); _tmp2_ = _g_object_ref0 (_tmp1_); _g_object_unref0 (t); t = _tmp2_; _tmp3_ = self->priv->deviceCombo; _tmp5_ = gtk_combo_box_get_active_iter (_tmp3_, &_tmp4_); iter = _tmp4_; success = _tmp5_; _tmp6_ = success; if (_tmp6_) { GValue str_data = {0}; GtkTreeModel* _tmp7_; GtkTreeIter _tmp8_; GValue _tmp9_ = {0}; const gchar* _tmp10_ = NULL; gchar* _tmp11_; _tmp7_ = t; _tmp8_ = iter; gtk_tree_model_get_value (_tmp7_, &_tmp8_, 0, &_tmp9_); G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; str_data = _tmp9_; _tmp10_ = g_value_get_string (&str_data); _tmp11_ = g_strdup (_tmp10_); _g_free0 (device); device = _tmp11_; G_IS_VALUE (&str_data) ? (g_value_unset (&str_data), NULL) : NULL; } else { const gchar* _tmp12_; gchar* _tmp13_; _tmp12_ = settings_DEFAULT_DEVICEFILE; _tmp13_ = g_strdup (_tmp12_); _g_free0 (device); device = _tmp13_; } _tmp14_ = self->priv->baudRateCombo; _tmp15_ = gtk_combo_box_get_active (_tmp14_); _tmp16_ = SETTINGS_BaudRateItems[_tmp15_]; _tmp17_ = atoi (_tmp16_); baudRate = _tmp17_; _tmp18_ = self->priv->dataBitsCombo; _tmp19_ = gtk_combo_box_get_active (_tmp18_); _tmp20_ = SETTINGS_DataBitItems[_tmp19_]; _tmp21_ = atoi (_tmp20_); dataBits = _tmp21_; _tmp22_ = self->priv->stopBitsCombo; _tmp23_ = gtk_combo_box_get_active (_tmp22_); _tmp24_ = SETTINGS_StopBitItems[_tmp23_]; _tmp25_ = atoi (_tmp24_); stopBits = _tmp25_; _tmp26_ = self->priv->parityCombo; _tmp27_ = gtk_combo_box_get_active (_tmp26_); parity = (SettingsParity) _tmp27_; _tmp28_ = self->priv->accessModeCombo; _tmp29_ = gtk_combo_box_get_active (_tmp28_); accessMode = (SettingsAccessMode) _tmp29_; _tmp31_ = self->priv->hardwareHandshake; _tmp32_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp31_); if (_tmp32_) { GtkCheckButton* _tmp33_; gboolean _tmp34_ = FALSE; _tmp33_ = self->priv->softwareHandshake; _tmp34_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp33_); _tmp30_ = _tmp34_; } else { _tmp30_ = FALSE; } _tmp35_ = _tmp30_; if (_tmp35_) { handshake = SETTINGS_HANDSHAKE_BOTH; } else { GtkCheckButton* _tmp36_; gboolean _tmp37_ = FALSE; _tmp36_ = self->priv->hardwareHandshake; _tmp37_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp36_); if (_tmp37_) { handshake = SETTINGS_HANDSHAKE_HARDWARE; } else { GtkCheckButton* _tmp38_; gboolean _tmp39_ = FALSE; _tmp38_ = self->priv->softwareHandshake; _tmp39_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp38_); if (_tmp39_) { handshake = SETTINGS_HANDSHAKE_SOFTWARE; } else { handshake = SETTINGS_HANDSHAKE_NONE; } } } _tmp40_ = self->priv->localEcho; _tmp41_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp40_); pLocalEcho = _tmp41_; _tmp42_ = device; _tmp43_ = baudRate; _tmp44_ = dataBits; _tmp45_ = stopBits; _tmp46_ = parity; _tmp47_ = handshake; _tmp48_ = accessMode; _tmp49_ = settings_new (_tmp42_, _tmp43_, _tmp44_, _tmp45_, _tmp46_, _tmp47_, _tmp48_, pLocalEcho); _g_object_unref0 (self->priv->settings); self->priv->settings = _tmp49_; _tmp50_ = self->priv->settings; _tmp51_ = _g_object_ref0 (_tmp50_); _g_object_unref0 (self->priv->currentSettings); self->priv->currentSettings = _tmp51_; _tmp52_ = self->priv->currentSettings; g_signal_emit_by_name (self, "update-settings", _tmp52_); _tmp53_ = self->priv->dialog; gtk_widget_hide ((GtkWidget*) _tmp53_); _g_object_unref0 (t); _g_free0 (device); } GtkBuilder* moserial_settings_dialog_get_builder (moserialSettingsDialog* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static void moserial_settings_dialog_set_builder (moserialSettingsDialog* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } static gboolean _moserial_settings_dialog_hide_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_settings_dialog_hide (self); return result; } static void _moserial_settings_dialog_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_settings_dialog_cancel (self, _sender); } static void _moserial_settings_dialog_ok_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_settings_dialog_ok (self, _sender); } static GObject * moserial_settings_dialog_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialSettingsDialog * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkDialog* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkButton* _tmp5_; GtkBuilder* _tmp6_; GObject* _tmp7_ = NULL; GtkButton* _tmp8_; GtkBuilder* _tmp9_; GObject* _tmp10_ = NULL; GtkComboBox* _tmp11_; GtkComboBox* _tmp12_; GtkBuilder* _tmp13_; GObject* _tmp14_ = NULL; GtkComboBox* _tmp15_; GtkComboBox* _tmp16_; GtkBuilder* _tmp17_; GObject* _tmp18_ = NULL; GtkComboBox* _tmp19_; GtkComboBox* _tmp20_; GtkBuilder* _tmp21_; GObject* _tmp22_ = NULL; GtkComboBox* _tmp23_; GtkComboBox* _tmp24_; GtkBuilder* _tmp25_; GObject* _tmp26_ = NULL; GtkCheckButton* _tmp27_; GtkCheckButton* _tmp28_; const gchar* _tmp29_ = NULL; GtkBuilder* _tmp30_; GObject* _tmp31_ = NULL; GtkCheckButton* _tmp32_; GtkCheckButton* _tmp33_; const gchar* _tmp34_ = NULL; GtkBuilder* _tmp35_; GObject* _tmp36_ = NULL; GtkComboBox* _tmp37_; GtkComboBox* _tmp38_; GtkBuilder* _tmp39_; GObject* _tmp40_ = NULL; GtkCheckButton* _tmp41_; GtkCheckButton* _tmp42_; const gchar* _tmp43_ = NULL; GtkDialog* _tmp44_; GtkButton* _tmp45_; GtkButton* _tmp46_; GtkBuilder* _tmp47_; GObject* _tmp48_ = NULL; GtkComboBox* _tmp49_; GtkListStore* _tmp50_; GtkComboBox* _tmp51_; GtkListStore* _tmp52_; GtkCellRendererText* _tmp53_; GtkCellRenderer* _tmp54_; GtkCellRenderer* deviceCell; GtkComboBox* _tmp55_; GtkCellRenderer* _tmp56_; GtkComboBox* _tmp57_; GtkCellRenderer* _tmp58_; parent_class = G_OBJECT_CLASS (moserial_settings_dialog_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_SETTINGS_DIALOG (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "settings_dialog"); _tmp2_ = _g_object_ref0 (GTK_DIALOG (_tmp1_)); _g_object_unref0 (self->priv->dialog); self->priv->dialog = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "settings_cancel_button"); _tmp5_ = _g_object_ref0 (GTK_BUTTON (_tmp4_)); _g_object_unref0 (self->priv->cancelButton); self->priv->cancelButton = _tmp5_; _tmp6_ = self->priv->_builder; _tmp7_ = gtk_builder_get_object (_tmp6_, "settings_ok_button"); _tmp8_ = _g_object_ref0 (GTK_BUTTON (_tmp7_)); _g_object_unref0 (self->priv->okButton); self->priv->okButton = _tmp8_; _tmp9_ = self->priv->_builder; _tmp10_ = gtk_builder_get_object (_tmp9_, "settings_baud_rate"); _tmp11_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp10_)); _g_object_unref0 (self->priv->baudRateCombo); self->priv->baudRateCombo = _tmp11_; _tmp12_ = self->priv->baudRateCombo; mo_utils_populateComboBox (_tmp12_, SETTINGS_BaudRateItems, G_N_ELEMENTS (SETTINGS_BaudRateItems)); _tmp13_ = self->priv->_builder; _tmp14_ = gtk_builder_get_object (_tmp13_, "settings_data_bits"); _tmp15_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp14_)); _g_object_unref0 (self->priv->dataBitsCombo); self->priv->dataBitsCombo = _tmp15_; _tmp16_ = self->priv->dataBitsCombo; mo_utils_populateComboBox (_tmp16_, SETTINGS_DataBitItems, G_N_ELEMENTS (SETTINGS_DataBitItems)); _tmp17_ = self->priv->_builder; _tmp18_ = gtk_builder_get_object (_tmp17_, "settings_stop_bits"); _tmp19_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp18_)); _g_object_unref0 (self->priv->stopBitsCombo); self->priv->stopBitsCombo = _tmp19_; _tmp20_ = self->priv->stopBitsCombo; mo_utils_populateComboBox (_tmp20_, SETTINGS_StopBitItems, G_N_ELEMENTS (SETTINGS_StopBitItems)); _tmp21_ = self->priv->_builder; _tmp22_ = gtk_builder_get_object (_tmp21_, "settings_parity"); _tmp23_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp22_)); _g_object_unref0 (self->priv->parityCombo); self->priv->parityCombo = _tmp23_; _tmp24_ = self->priv->parityCombo; mo_utils_populateComboBox (_tmp24_, SETTINGS_ParityModeStrings, G_N_ELEMENTS (SETTINGS_ParityModeStrings)); _tmp25_ = self->priv->_builder; _tmp26_ = gtk_builder_get_object (_tmp25_, "settings_hardware_handshake"); _tmp27_ = _g_object_ref0 (GTK_CHECK_BUTTON (_tmp26_)); _g_object_unref0 (self->priv->hardwareHandshake); self->priv->hardwareHandshake = _tmp27_; _tmp28_ = self->priv->hardwareHandshake; _tmp29_ = _ ("Also known as RTS/CTS handshaking"); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp28_, _tmp29_); _tmp30_ = self->priv->_builder; _tmp31_ = gtk_builder_get_object (_tmp30_, "settings_software_handshake"); _tmp32_ = _g_object_ref0 (GTK_CHECK_BUTTON (_tmp31_)); _g_object_unref0 (self->priv->softwareHandshake); self->priv->softwareHandshake = _tmp32_; _tmp33_ = self->priv->softwareHandshake; _tmp34_ = _ ("Also known as XON/XOFF handshaking"); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp33_, _tmp34_); _tmp35_ = self->priv->_builder; _tmp36_ = gtk_builder_get_object (_tmp35_, "settings_open_for"); _tmp37_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp36_)); _g_object_unref0 (self->priv->accessModeCombo); self->priv->accessModeCombo = _tmp37_; _tmp38_ = self->priv->accessModeCombo; mo_utils_populateComboBox (_tmp38_, SETTINGS_AccessModeStrings, G_N_ELEMENTS (SETTINGS_AccessModeStrings)); _tmp39_ = self->priv->_builder; _tmp40_ = gtk_builder_get_object (_tmp39_, "settings_local_echo"); _tmp41_ = _g_object_ref0 (GTK_CHECK_BUTTON (_tmp40_)); _g_object_unref0 (self->priv->localEcho); self->priv->localEcho = _tmp41_; _tmp42_ = self->priv->localEcho; _tmp43_ = _ ("Normally disabled"); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp42_, _tmp43_); _tmp44_ = self->priv->dialog; g_signal_connect_object ((GtkWidget*) _tmp44_, "delete-event", (GCallback) _moserial_settings_dialog_hide_gtk_widget_delete_event, self, 0); _tmp45_ = self->priv->cancelButton; g_signal_connect_object (_tmp45_, "clicked", (GCallback) _moserial_settings_dialog_cancel_gtk_button_clicked, self, 0); _tmp46_ = self->priv->okButton; g_signal_connect_object (_tmp46_, "clicked", (GCallback) _moserial_settings_dialog_ok_gtk_button_clicked, self, 0); _tmp47_ = self->priv->_builder; _tmp48_ = gtk_builder_get_object (_tmp47_, "settings_device"); _tmp49_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp48_)); _g_object_unref0 (self->priv->deviceCombo); self->priv->deviceCombo = _tmp49_; _tmp50_ = gtk_list_store_new (1, G_TYPE_STRING); _g_object_unref0 (self->priv->deviceModel); self->priv->deviceModel = _tmp50_; _tmp51_ = self->priv->deviceCombo; _tmp52_ = self->priv->deviceModel; gtk_combo_box_set_model (_tmp51_, (GtkTreeModel*) _tmp52_); _tmp53_ = (GtkCellRendererText*) gtk_cell_renderer_text_new (); _tmp54_ = (GtkCellRenderer*) g_object_ref_sink (_tmp53_); deviceCell = _tmp54_; _tmp55_ = self->priv->deviceCombo; _tmp56_ = deviceCell; gtk_cell_layout_pack_start ((GtkCellLayout*) _tmp55_, _tmp56_, FALSE); _tmp57_ = self->priv->deviceCombo; _tmp58_ = deviceCell; gtk_cell_layout_set_attributes ((GtkCellLayout*) _tmp57_, _tmp58_, "text", 0, NULL); _g_object_unref0 (deviceCell); return obj; } static void moserial_settings_dialog_class_init (moserialSettingsDialogClass * klass) { moserial_settings_dialog_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialSettingsDialogPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_settings_dialog_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_settings_dialog_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_settings_dialog_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_settings_dialog_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_SETTINGS_DIALOG_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_signal_new ("update_settings", MOSERIAL_TYPE_SETTINGS_DIALOG, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SETTINGS); } static void moserial_settings_dialog_instance_init (moserialSettingsDialog * self) { self->priv = MOSERIAL_SETTINGS_DIALOG_GET_PRIVATE (self); } static void moserial_settings_dialog_finalize (GObject* obj) { moserialSettingsDialog * self; self = MOSERIAL_SETTINGS_DIALOG (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->currentSettings); _g_object_unref0 (self->priv->dialog); _g_object_unref0 (self->priv->cancelButton); _g_object_unref0 (self->priv->okButton); _g_object_unref0 (self->priv->settings); _g_object_unref0 (self->priv->deviceCombo); _g_object_unref0 (self->priv->baudRateCombo); _g_object_unref0 (self->priv->dataBitsCombo); _g_object_unref0 (self->priv->stopBitsCombo); _g_object_unref0 (self->priv->parityCombo); _g_object_unref0 (self->priv->hardwareHandshake); _g_object_unref0 (self->priv->softwareHandshake); _g_object_unref0 (self->priv->accessModeCombo); _g_object_unref0 (self->priv->localEcho); _g_object_unref0 (self->priv->deviceModel); G_OBJECT_CLASS (moserial_settings_dialog_parent_class)->finalize (obj); } GType moserial_settings_dialog_get_type (void) { static volatile gsize moserial_settings_dialog_type_id__volatile = 0; if (g_once_init_enter (&moserial_settings_dialog_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialSettingsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_settings_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialSettingsDialog), 0, (GInstanceInitFunc) moserial_settings_dialog_instance_init, NULL }; GType moserial_settings_dialog_type_id; moserial_settings_dialog_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialSettingsDialog", &g_define_type_info, 0); g_once_init_leave (&moserial_settings_dialog_type_id__volatile, moserial_settings_dialog_type_id); } return moserial_settings_dialog_type_id__volatile; } static void _vala_moserial_settings_dialog_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialSettingsDialog * self; self = MOSERIAL_SETTINGS_DIALOG (object); switch (property_id) { case MOSERIAL_SETTINGS_DIALOG_BUILDER: g_value_set_object (value, moserial_settings_dialog_get_builder (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_settings_dialog_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialSettingsDialog * self; self = MOSERIAL_SETTINGS_DIALOG (object); switch (property_id) { case MOSERIAL_SETTINGS_DIALOG_BUILDER: moserial_settings_dialog_set_builder (self, g_value_get_object (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } moserial-3.0.8/src/Main.c0000674000213200021320000002511412064104644012072 00000000000000/* Main.c generated by valac 0.16.1, the Vala compiler * generated from Main.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_MAIN (moserial_main_get_type ()) #define MOSERIAL_MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_MAIN, moserialMain)) #define MOSERIAL_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_MAIN, moserialMainClass)) #define MOSERIAL_IS_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_MAIN)) #define MOSERIAL_IS_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_MAIN)) #define MOSERIAL_MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_MAIN, moserialMainClass)) typedef struct _moserialMain moserialMain; typedef struct _moserialMainClass moserialMainClass; typedef struct _moserialMainPrivate moserialMainPrivate; #define MOSERIAL_TYPE_MAIN_WINDOW (moserial_main_window_get_type ()) #define MOSERIAL_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindow)) #define MOSERIAL_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindowClass)) #define MOSERIAL_IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_MAIN_WINDOW)) #define MOSERIAL_IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_MAIN_WINDOW)) #define MOSERIAL_MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindowClass)) typedef struct _moserialMainWindow moserialMainWindow; typedef struct _moserialMainWindowClass moserialMainWindowClass; #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL))) struct _moserialMain { GObject parent_instance; moserialMainPrivate * priv; }; struct _moserialMainClass { GObjectClass parent_class; }; static gpointer moserial_main_parent_class = NULL; static gchar* moserial_main_profileFilename; static gchar* moserial_main_profileFilename = NULL; GType moserial_main_get_type (void) G_GNUC_CONST; enum { MOSERIAL_MAIN_DUMMY_PROPERTY }; void moserial_main_run (moserialMain* self); GType moserial_main_window_get_type (void) G_GNUC_CONST; moserialMainWindow* moserial_main_window_new (GtkBuilder* builder, const gchar* profileFilename); moserialMainWindow* moserial_main_window_construct (GType object_type, GtkBuilder* builder, const gchar* profileFilename); void moserial_main_window_showWindow (moserialMainWindow* self); gint moserial_main_main (gchar** args, int args_length1); moserialMain* moserial_main_new (void); moserialMain* moserial_main_construct (GType object_type); static void moserial_main_finalize (GObject* obj); static const GOptionEntry MOSERIAL_MAIN_options[2] = {{"profile", 'p', 0, G_OPTION_ARG_FILENAME, &moserial_main_profileFilename, "Profile file to load", "foo.conf"}, {NULL}}; void moserial_main_run (moserialMain* self) { moserialMainWindow* mainWindow = NULL; GtkBuilder* _tmp0_; GtkBuilder* builder; gboolean _tmp7_ = FALSE; const gchar* _tmp8_; gboolean _tmp11_; const gchar* _tmp16_; moserialMainWindow* _tmp17_; moserialMainWindow* _tmp18_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = gtk_builder_new (); builder = _tmp0_; { gtk_builder_add_from_file (builder, MOSERIAL_GLADEDIR "/moserial.ui", &_inner_error_); if (_inner_error_ != NULL) { goto __catch6_g_error; } } goto __finally6; __catch6_g_error: { GError* e = NULL; const gchar* _tmp1_ = NULL; GError* _tmp2_; const gchar* _tmp3_; GtkMessageDialog* _tmp4_; GtkMessageDialog* _tmp5_; GtkMessageDialog* msg; GtkMessageDialog* _tmp6_; e = _inner_error_; _inner_error_ = NULL; _tmp1_ = _ ("Failed to load UI\n%s"); _tmp2_ = e; _tmp3_ = _tmp2_->message; _tmp4_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CANCEL, _tmp1_, _tmp3_); _tmp5_ = g_object_ref_sink (_tmp4_); msg = _tmp5_; _tmp6_ = msg; gtk_dialog_run ((GtkDialog*) _tmp6_); _g_object_unref0 (msg); _g_error_free0 (e); } __finally6: if (_inner_error_ != NULL) { _g_object_unref0 (builder); _g_object_unref0 (mainWindow); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp8_ = moserial_main_profileFilename; if (!(_tmp8_ == NULL)) { const gchar* _tmp9_; gboolean _tmp10_ = FALSE; _tmp9_ = moserial_main_profileFilename; _tmp10_ = g_path_is_absolute (_tmp9_); _tmp7_ = !_tmp10_; } else { _tmp7_ = FALSE; } _tmp11_ = _tmp7_; if (_tmp11_) { gchar* _tmp12_ = NULL; gchar* _tmp13_; const gchar* _tmp14_; gchar* _tmp15_ = NULL; _tmp12_ = g_get_current_dir (); _tmp13_ = _tmp12_; _tmp14_ = moserial_main_profileFilename; _tmp15_ = g_build_filename (_tmp13_, _tmp14_, NULL); _g_free0 (moserial_main_profileFilename); moserial_main_profileFilename = _tmp15_; _g_free0 (_tmp13_); } _tmp16_ = moserial_main_profileFilename; _tmp17_ = moserial_main_window_new (builder, _tmp16_); _tmp18_ = g_object_ref_sink (_tmp17_); _g_object_unref0 (mainWindow); mainWindow = _tmp18_; moserial_main_window_showWindow (mainWindow); _g_object_unref0 (builder); _g_object_unref0 (mainWindow); } gint moserial_main_main (gchar** args, int args_length1) { gint result = 0; GOptionContext* context = NULL; const gchar* _tmp0_ = NULL; GOptionContext* _tmp1_; GOptionGroup* _tmp2_ = NULL; GError * _inner_error_ = NULL; gtk_init (&args_length1, &args); bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); _tmp0_ = _ ("- moserial serial terminal"); _tmp1_ = g_option_context_new (_tmp0_); _g_option_context_free0 (context); context = _tmp1_; g_option_context_add_main_entries (context, MOSERIAL_MAIN_options, NULL); _tmp2_ = gtk_get_option_group (TRUE); g_option_context_add_group (context, _tmp2_); { gboolean _tmp3_ = FALSE; gboolean _tmp4_; _tmp3_ = g_option_context_parse (context, &args_length1, &args, &_inner_error_); _tmp4_ = _tmp3_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_OPTION_ERROR) { goto __catch7_g_option_error; } _g_option_context_free0 (context); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } if (!_tmp4_) { FILE* _tmp5_; const gchar* _tmp6_ = NULL; gchar** _tmp7_; gint _tmp7__length1; const gchar* _tmp8_; _tmp5_ = stdout; _tmp6_ = _ ("Run '%s --help' to see a full list of available command line options.\n"); _tmp7_ = args; _tmp7__length1 = args_length1; _tmp8_ = _tmp7_[0]; fprintf (_tmp5_, _tmp6_, _tmp8_); } else { moserialMain* _tmp9_; moserialMain* app; moserialMain* _tmp10_; _tmp9_ = moserial_main_new (); app = _tmp9_; _tmp10_ = app; moserial_main_run (_tmp10_); gtk_main (); _g_object_unref0 (app); } } goto __finally7; __catch7_g_option_error: { GError* e = NULL; FILE* _tmp11_; GError* _tmp12_; const gchar* _tmp13_; FILE* _tmp14_; const gchar* _tmp15_ = NULL; gchar** _tmp16_; gint _tmp16__length1; const gchar* _tmp17_; e = _inner_error_; _inner_error_ = NULL; _tmp11_ = stdout; _tmp12_ = e; _tmp13_ = _tmp12_->message; fprintf (_tmp11_, "%s\n", _tmp13_); _tmp14_ = stdout; _tmp15_ = _ ("Run '%s --help' to see a full list of available command line options.\n"); _tmp16_ = args; _tmp16__length1 = args_length1; _tmp17_ = _tmp16_[0]; fprintf (_tmp14_, _tmp15_, _tmp17_); _g_error_free0 (e); } __finally7: if (_inner_error_ != NULL) { _g_option_context_free0 (context); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return 0; } result = 0; _g_option_context_free0 (context); return result; } int main (int argc, char ** argv) { g_type_init (); return moserial_main_main (argv, argc); } moserialMain* moserial_main_construct (GType object_type) { moserialMain * self = NULL; self = (moserialMain*) g_object_new (object_type, NULL); return self; } moserialMain* moserial_main_new (void) { return moserial_main_construct (MOSERIAL_TYPE_MAIN); } static void moserial_main_class_init (moserialMainClass * klass) { moserial_main_parent_class = g_type_class_peek_parent (klass); G_OBJECT_CLASS (klass)->finalize = moserial_main_finalize; } static void moserial_main_instance_init (moserialMain * self) { } static void moserial_main_finalize (GObject* obj) { moserialMain * self; self = MOSERIAL_MAIN (obj); G_OBJECT_CLASS (moserial_main_parent_class)->finalize (obj); } GType moserial_main_get_type (void) { static volatile gsize moserial_main_type_id__volatile = 0; if (g_once_init_enter (&moserial_main_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialMainClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_main_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialMain), 0, (GInstanceInitFunc) moserial_main_instance_init, NULL }; GType moserial_main_type_id; moserial_main_type_id = g_type_register_static (G_TYPE_OBJECT, "moserialMain", &g_define_type_info, 0); g_once_init_leave (&moserial_main_type_id__volatile, moserial_main_type_id); } return moserial_main_type_id__volatile; } moserial-3.0.8/src/MainWindow.c0000674000213200021320000054074312064104644013274 00000000000000/* MainWindow.c generated by valac 0.16.1, the Vala compiler * generated from MainWindow.vala, do not modify */ /* * Copyright (C) 2009-2010 Michael J. Chudobiak. * * This file is part of moserial. * * moserial is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * moserial 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 moserial. If not, see . */ #include #include #include #include #include #include #include #include #include #include #define MOSERIAL_TYPE_MAIN_WINDOW (moserial_main_window_get_type ()) #define MOSERIAL_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindow)) #define MOSERIAL_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindowClass)) #define MOSERIAL_IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_MAIN_WINDOW)) #define MOSERIAL_IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_MAIN_WINDOW)) #define MOSERIAL_MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindowClass)) typedef struct _moserialMainWindow moserialMainWindow; typedef struct _moserialMainWindowClass moserialMainWindowClass; typedef struct _moserialMainWindowPrivate moserialMainWindowPrivate; #define MOSERIAL_TYPE_SETTINGS_DIALOG (moserial_settings_dialog_get_type ()) #define MOSERIAL_SETTINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialog)) #define MOSERIAL_SETTINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialogClass)) #define MOSERIAL_IS_SETTINGS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SETTINGS_DIALOG)) #define MOSERIAL_IS_SETTINGS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SETTINGS_DIALOG)) #define MOSERIAL_SETTINGS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SETTINGS_DIALOG, moserialSettingsDialogClass)) typedef struct _moserialSettingsDialog moserialSettingsDialog; typedef struct _moserialSettingsDialogClass moserialSettingsDialogClass; #define TYPE_SETTINGS (settings_get_type ()) #define SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SETTINGS, Settings)) #define SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SETTINGS, SettingsClass)) #define IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SETTINGS)) #define IS_SETTINGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SETTINGS)) #define SETTINGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SETTINGS, SettingsClass)) typedef struct _Settings Settings; typedef struct _SettingsClass SettingsClass; #define TYPE_PREFERENCES (preferences_get_type ()) #define PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PREFERENCES, Preferences)) #define PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PREFERENCES, PreferencesClass)) #define IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PREFERENCES)) #define IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PREFERENCES)) #define PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PREFERENCES, PreferencesClass)) typedef struct _Preferences Preferences; typedef struct _PreferencesClass PreferencesClass; #define TYPE_DEFAULT_PATHS (default_paths_get_type ()) #define DEFAULT_PATHS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DEFAULT_PATHS, DefaultPaths)) #define DEFAULT_PATHS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_DEFAULT_PATHS, DefaultPathsClass)) #define IS_DEFAULT_PATHS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_DEFAULT_PATHS)) #define IS_DEFAULT_PATHS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_DEFAULT_PATHS)) #define DEFAULT_PATHS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_DEFAULT_PATHS, DefaultPathsClass)) typedef struct _DefaultPaths DefaultPaths; typedef struct _DefaultPathsClass DefaultPathsClass; #define MOSERIAL_TYPE_SEND_PROGRESS_DIALOG (moserial_send_progress_dialog_get_type ()) #define MOSERIAL_SEND_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialog)) #define MOSERIAL_SEND_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialogClass)) #define MOSERIAL_IS_SEND_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG)) #define MOSERIAL_IS_SEND_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG)) #define MOSERIAL_SEND_PROGRESS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, moserialSendProgressDialogClass)) typedef struct _moserialSendProgressDialog moserialSendProgressDialog; typedef struct _moserialSendProgressDialogClass moserialSendProgressDialogClass; #define MOSERIAL_TYPE_SEND_CHOOSER_DIALOG (moserial_send_chooser_dialog_get_type ()) #define MOSERIAL_SEND_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialog)) #define MOSERIAL_SEND_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialogClass)) #define MOSERIAL_IS_SEND_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG)) #define MOSERIAL_IS_SEND_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG)) #define MOSERIAL_SEND_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SEND_CHOOSER_DIALOG, moserialSendChooserDialogClass)) typedef struct _moserialSendChooserDialog moserialSendChooserDialog; typedef struct _moserialSendChooserDialogClass moserialSendChooserDialogClass; #define MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG (moserial_receive_progress_dialog_get_type ()) #define MOSERIAL_RECEIVE_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialog)) #define MOSERIAL_RECEIVE_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialogClass)) #define MOSERIAL_IS_RECEIVE_PROGRESS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG)) #define MOSERIAL_IS_RECEIVE_PROGRESS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG)) #define MOSERIAL_RECEIVE_PROGRESS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, moserialReceiveProgressDialogClass)) typedef struct _moserialReceiveProgressDialog moserialReceiveProgressDialog; typedef struct _moserialReceiveProgressDialogClass moserialReceiveProgressDialogClass; #define MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG (moserial_receive_chooser_dialog_get_type ()) #define MOSERIAL_RECEIVE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialog)) #define MOSERIAL_RECEIVE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialogClass)) #define MOSERIAL_IS_RECEIVE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG)) #define MOSERIAL_IS_RECEIVE_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG)) #define MOSERIAL_RECEIVE_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RECEIVE_CHOOSER_DIALOG, moserialReceiveChooserDialogClass)) typedef struct _moserialReceiveChooserDialog moserialReceiveChooserDialog; typedef struct _moserialReceiveChooserDialogClass moserialReceiveChooserDialogClass; #define MOSERIAL_TYPE_RECORD_DIALOG (moserial_record_dialog_get_type ()) #define MOSERIAL_RECORD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialog)) #define MOSERIAL_RECORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialogClass)) #define MOSERIAL_IS_RECORD_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RECORD_DIALOG)) #define MOSERIAL_IS_RECORD_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RECORD_DIALOG)) #define MOSERIAL_RECORD_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RECORD_DIALOG, moserialRecordDialogClass)) typedef struct _moserialRecordDialog moserialRecordDialog; typedef struct _moserialRecordDialogClass moserialRecordDialogClass; #define MOSERIAL_TYPE_PREFERENCES_DIALOG (moserial_preferences_dialog_get_type ()) #define MOSERIAL_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialog)) #define MOSERIAL_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialogClass)) #define MOSERIAL_IS_PREFERENCES_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_PREFERENCES_DIALOG)) #define MOSERIAL_IS_PREFERENCES_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_PREFERENCES_DIALOG)) #define MOSERIAL_PREFERENCES_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_PREFERENCES_DIALOG, moserialPreferencesDialogClass)) typedef struct _moserialPreferencesDialog moserialPreferencesDialog; typedef struct _moserialPreferencesDialogClass moserialPreferencesDialogClass; #define MOSERIAL_TYPE_SERIAL_CONNECTION (moserial_serial_connection_get_type ()) #define MOSERIAL_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnection)) #define MOSERIAL_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) #define MOSERIAL_IS_SERIAL_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_IS_SERIAL_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SERIAL_CONNECTION)) #define MOSERIAL_SERIAL_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SERIAL_CONNECTION, moserialSerialConnectionClass)) typedef struct _moserialSerialConnection moserialSerialConnection; typedef struct _moserialSerialConnectionClass moserialSerialConnectionClass; #define MOSERIAL_TYPE_HEX_TEXT_BUFFER (moserial_hex_text_buffer_get_type ()) #define MOSERIAL_HEX_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBuffer)) #define MOSERIAL_HEX_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBufferClass)) #define MOSERIAL_IS_HEX_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_HEX_TEXT_BUFFER)) #define MOSERIAL_IS_HEX_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_HEX_TEXT_BUFFER)) #define MOSERIAL_HEX_TEXT_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_HEX_TEXT_BUFFER, moserialHexTextBufferClass)) typedef struct _moserialHexTextBuffer moserialHexTextBuffer; typedef struct _moserialHexTextBufferClass moserialHexTextBufferClass; #define MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG (moserial_xmodem_filename_dialog_get_type ()) #define MOSERIAL_XMODEM_FILENAME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialog)) #define MOSERIAL_XMODEM_FILENAME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialogClass)) #define MOSERIAL_IS_XMODEM_FILENAME_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG)) #define MOSERIAL_IS_XMODEM_FILENAME_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG)) #define MOSERIAL_XMODEM_FILENAME_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_XMODEM_FILENAME_DIALOG, moserialXmodemFilenameDialogClass)) typedef struct _moserialXmodemFilenameDialog moserialXmodemFilenameDialog; typedef struct _moserialXmodemFilenameDialogClass moserialXmodemFilenameDialogClass; #define MOSERIAL_TYPE_SERIAL_STREAM_RECORDER (moserial_serial_stream_recorder_get_type ()) #define MOSERIAL_SERIAL_STREAM_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorder)) #define MOSERIAL_SERIAL_STREAM_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorderClass)) #define MOSERIAL_IS_SERIAL_STREAM_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)) #define MOSERIAL_IS_SERIAL_STREAM_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER)) #define MOSERIAL_SERIAL_STREAM_RECORDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SERIAL_STREAM_RECORDER, moserialSerialStreamRecorderClass)) typedef struct _moserialSerialStreamRecorder moserialSerialStreamRecorder; typedef struct _moserialSerialStreamRecorderClass moserialSerialStreamRecorderClass; #define MOSERIAL_TYPE_RZWRAPPER (moserial_rzwrapper_get_type ()) #define MOSERIAL_RZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapper)) #define MOSERIAL_RZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapperClass)) #define MOSERIAL_IS_RZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_RZWRAPPER)) #define MOSERIAL_IS_RZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_RZWRAPPER)) #define MOSERIAL_RZWRAPPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_RZWRAPPER, moserialRzwrapperClass)) typedef struct _moserialRzwrapper moserialRzwrapper; typedef struct _moserialRzwrapperClass moserialRzwrapperClass; #define MOSERIAL_TYPE_SZWRAPPER (moserial_szwrapper_get_type ()) #define MOSERIAL_SZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapper)) #define MOSERIAL_SZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapperClass)) #define MOSERIAL_IS_SZWRAPPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MOSERIAL_TYPE_SZWRAPPER)) #define MOSERIAL_IS_SZWRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MOSERIAL_TYPE_SZWRAPPER)) #define MOSERIAL_SZWRAPPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MOSERIAL_TYPE_SZWRAPPER, moserialSzwrapperClass)) typedef struct _moserialSzwrapper moserialSzwrapper; typedef struct _moserialSzwrapperClass moserialSzwrapperClass; #define TYPE_PROFILE (profile_get_type ()) #define PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROFILE, Profile)) #define PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PROFILE, ProfileClass)) #define IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROFILE)) #define IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PROFILE)) #define PROFILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PROFILE, ProfileClass)) typedef struct _Profile Profile; typedef struct _ProfileClass ProfileClass; #define MOSERIAL_MAIN_WINDOW_TYPE_INPUT_MODE_VALUES (moserial_main_window_input_mode_values_get_type ()) #define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _moserial_serial_stream_recorder_unref0(var) ((var == NULL) ? NULL : (var = (moserial_serial_stream_recorder_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) #define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL))) typedef struct _moserialSerialConnectionPrivate moserialSerialConnectionPrivate; #define MOSERIAL_SZWRAPPER_TYPE_PROTOCOL (moserial_szwrapper_protocol_get_type ()) typedef struct _moserialSendChooserDialogPrivate moserialSendChooserDialogPrivate; typedef struct _moserialSzwrapperPrivate moserialSzwrapperPrivate; typedef struct _moserialReceiveChooserDialogPrivate moserialReceiveChooserDialogPrivate; typedef struct _moserialXmodemFilenameDialogPrivate moserialXmodemFilenameDialogPrivate; #define MOSERIAL_RZWRAPPER_TYPE_PROTOCOL (moserial_rzwrapper_protocol_get_type ()) typedef struct _moserialRzwrapperPrivate moserialRzwrapperPrivate; #define MOSERIAL_SERIAL_STREAM_RECORDER_TYPE_DIRECTION (moserial_serial_stream_recorder_direction_get_type ()) #define _pango_font_description_free0(var) ((var == NULL) ? NULL : (var = (pango_font_description_free (var), NULL))) #define MOSERIAL_SERIAL_CONNECTION_TYPE_LINE_END (moserial_serial_connection_line_end_get_type ()) struct _moserialMainWindow { GtkWindow parent_instance; moserialMainWindowPrivate * priv; }; struct _moserialMainWindowClass { GtkWindowClass parent_class; }; struct _moserialMainWindowPrivate { GtkBuilder* _builder; GtkWindow* gtkWindow; moserialSettingsDialog* settingsDialog; GtkToolButton* settingsButton; GtkToggleToolButton* recordButton; Settings* currentSettings; Preferences* currentPreferences; DefaultPaths* currentPaths; GtkStatusbar* statusbar; GtkStatusbar* bytecountbar; guint statusbarContext; guint bytecountbarContext; GtkToolButton* send; moserialSendProgressDialog* sendProgressDialog; moserialSendChooserDialog* sendChooserDialog; GtkToolButton* receive; moserialReceiveProgressDialog* receiveProgressDialog; moserialReceiveChooserDialog* receiveChooserDialog; moserialRecordDialog* recordDialog; moserialPreferencesDialog* preferencesDialog; moserialSerialConnection* serialConnection; GtkTextView* incomingHexTextView; GtkTextView* incomingAsciiTextView; GtkTextView* outgoingHexTextView; GtkTextView* outgoingAsciiTextView; GtkComboBox* inputModeCombo; GtkComboBox* lineEndModeCombo; GtkToggleToolButton* connectButton; GtkLabel* disconnectLabel; GtkLabel* connectLabel; GtkLabel* recordLabel; GtkLabel* stopRecordingLabel; GtkPaned* paned; GtkNotebook* incoming_notebook; GtkNotebook* outgoing_notebook; moserialHexTextBuffer* incomingHexTextBuffer; moserialHexTextBuffer* outgoingHexTextBuffer; GtkTextBuffer* incomingAsciiTextBuffer; GtkTextTag* echoTag; GtkTextBuffer* outgoingAsciiTextBuffer; GtkTextMark* echoStartMark; moserialXmodemFilenameDialog* xmodemFilenameDialog; GtkEntry* entry; GtkButton* sendButton; moserialSerialStreamRecorder* streamRecorder; gboolean recordDataReceived; guint recordTimeoutID; moserialRzwrapper* rz; moserialSzwrapper* sz; Profile* profile; gchar* _startupProfileFilename; gchar* profileFilename; gboolean profileChanged; GtkImageMenuItem* cutMenuItem; GtkImageMenuItem* copyMenuItem; GtkAdjustment* va1; GtkAdjustment* va2; GtkAdjustment* va3; GtkAdjustment* va4; GtkAccelGroup* ag; GtkRecentData recentData; }; typedef enum { MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_ASCII, MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_HEX } moserialMainWindowinputModeValues; struct _moserialSerialConnection { GObject parent_instance; moserialSerialConnectionPrivate * priv; gulong tx; gulong rx; gulong nonprintable; gboolean forced_hex_view; gboolean lastRxCharWasCR; gchar* echoReference; gchar* echoCompare; }; struct _moserialSerialConnectionClass { GObjectClass parent_class; }; typedef enum { HEX_PARSE_ERROR_INVALID_INPUT } HexParseError; #define HEX_PARSE_ERROR hex_parse_error_quark () typedef enum { MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM, MOSERIAL_SZWRAPPER_PROTOCOL_RAW, MOSERIAL_SZWRAPPER_PROTOCOL_NULL } moserialSzwrapperProtocol; struct _moserialSendChooserDialog { GObject parent_instance; moserialSendChooserDialogPrivate * priv; GtkComboBox* protocolCombo; gchar* filename; }; struct _moserialSendChooserDialogClass { GObjectClass parent_class; }; struct _moserialSzwrapper { GObject parent_instance; moserialSzwrapperPrivate * priv; gboolean running; }; struct _moserialSzwrapperClass { GObjectClass parent_class; }; struct _moserialReceiveChooserDialog { GObject parent_instance; moserialReceiveChooserDialogPrivate * priv; GtkComboBox* protocolCombo; gchar* path; }; struct _moserialReceiveChooserDialogClass { GObjectClass parent_class; }; struct _moserialXmodemFilenameDialog { GObject parent_instance; moserialXmodemFilenameDialogPrivate * priv; gchar* filename; }; struct _moserialXmodemFilenameDialogClass { GObjectClass parent_class; }; typedef enum { MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM, MOSERIAL_RZWRAPPER_PROTOCOL_NULL } moserialRzwrapperProtocol; struct _moserialRzwrapper { GObject parent_instance; moserialRzwrapperPrivate * priv; gboolean running; }; struct _moserialRzwrapperClass { GObjectClass parent_class; }; typedef enum { MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_INCOMING, MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_OUTGOING, MOSERIAL_SERIAL_STREAM_RECORDER_DIRECTION_BOTH } moserialSerialStreamRecorderDirection; typedef enum { MOSERIAL_SERIAL_CONNECTION_LINE_END_CRLF, MOSERIAL_SERIAL_CONNECTION_LINE_END_CR, MOSERIAL_SERIAL_CONNECTION_LINE_END_LF, MOSERIAL_SERIAL_CONNECTION_LINE_END_TAB, MOSERIAL_SERIAL_CONNECTION_LINE_END_ESC, MOSERIAL_SERIAL_CONNECTION_LINE_END_NONE } moserialSerialConnectionLineEnd; static gpointer moserial_main_window_parent_class = NULL; GType moserial_main_window_get_type (void) G_GNUC_CONST; GType moserial_settings_dialog_get_type (void) G_GNUC_CONST; GType settings_get_type (void) G_GNUC_CONST; GType preferences_get_type (void) G_GNUC_CONST; GType default_paths_get_type (void) G_GNUC_CONST; GType moserial_send_progress_dialog_get_type (void) G_GNUC_CONST; GType moserial_send_chooser_dialog_get_type (void) G_GNUC_CONST; GType moserial_receive_progress_dialog_get_type (void) G_GNUC_CONST; GType moserial_receive_chooser_dialog_get_type (void) G_GNUC_CONST; GType moserial_record_dialog_get_type (void) G_GNUC_CONST; GType moserial_preferences_dialog_get_type (void) G_GNUC_CONST; GType moserial_serial_connection_get_type (void) G_GNUC_CONST; GType moserial_hex_text_buffer_get_type (void) G_GNUC_CONST; GType moserial_xmodem_filename_dialog_get_type (void) G_GNUC_CONST; gpointer moserial_serial_stream_recorder_ref (gpointer instance); void moserial_serial_stream_recorder_unref (gpointer instance); GParamSpec* moserial_param_spec_serial_stream_recorder (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); void moserial_value_set_serial_stream_recorder (GValue* value, gpointer v_object); void moserial_value_take_serial_stream_recorder (GValue* value, gpointer v_object); gpointer moserial_value_get_serial_stream_recorder (const GValue* value); GType moserial_serial_stream_recorder_get_type (void) G_GNUC_CONST; GType moserial_rzwrapper_get_type (void) G_GNUC_CONST; GType moserial_szwrapper_get_type (void) G_GNUC_CONST; GType profile_get_type (void) G_GNUC_CONST; #define MOSERIAL_MAIN_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), MOSERIAL_TYPE_MAIN_WINDOW, moserialMainWindowPrivate)) enum { MOSERIAL_MAIN_WINDOW_DUMMY_PROPERTY, MOSERIAL_MAIN_WINDOW_BUILDER, MOSERIAL_MAIN_WINDOW_STARTUP_PROFILE_FILENAME }; static GType moserial_main_window_input_mode_values_get_type (void) G_GNUC_UNUSED; moserialSerialConnection* moserial_serial_connection_new (void); moserialSerialConnection* moserial_serial_connection_construct (GType object_type); moserialSerialStreamRecorder* moserial_serial_stream_recorder_new (void); moserialSerialStreamRecorder* moserial_serial_stream_recorder_construct (GType object_type); static void gtk_recent_data_destroy (GtkRecentData* self); #define MOSERIAL_MAIN_WINDOW_translators "translator-credits" #define MOSERIAL_MAIN_WINDOW_recentGroup "moserial-configs" moserialMainWindow* moserial_main_window_new (GtkBuilder* builder, const gchar* profileFilename); moserialMainWindow* moserial_main_window_construct (GType object_type, GtkBuilder* builder, const gchar* profileFilename); static void moserial_main_window_applyProfile (moserialMainWindow* self, const gchar* filename); gboolean profile_load (Profile* self, const gchar* filename, GtkWindow* window); void moserial_main_window_ensureDisconnected (moserialMainWindow* self); Settings* settings_loadFromProfile (Profile* profile); Preferences* preferences_loadFromProfile (Profile* profile); DefaultPaths* default_paths_loadFromProfile (Profile* profile); static void moserial_main_window_updatePreferences (moserialMainWindow* self, moserialPreferencesDialog* d, Preferences* newPreferences); gchar* settings_getStatusbarString (Settings* self, gboolean open); static void moserial_main_window_setWindowTitle (moserialMainWindow* self, const gchar* recordingFilename); static void moserial_main_window_recentItemOpen (moserialMainWindow* self, GtkRecentChooser* r); static void moserial_main_window_insertBufferEnd (moserialMainWindow* self, GtkTextBuffer* buf, const gchar* s); void moserial_main_window_sendString (moserialMainWindow* self, GtkWidget* w); gboolean moserial_main_window_ensureConnected (moserialMainWindow* self); void moserial_serial_connection_sendByte (moserialSerialConnection* self, guchar byte); void moserial_serial_stream_recorder_writeOutgoing (moserialSerialStreamRecorder* self, guchar data); void moserial_hex_text_buffer_add (moserialHexTextBuffer* self, guchar data); GQuark hex_parse_error_quark (void); guchar* input_parser_parseHex (const gchar* s, int* result_length1, GError** error); gchar* moserial_serial_connection_getBytecountbarString (moserialSerialConnection* self); static void moserial_main_window_doSendChooser (moserialMainWindow* self, GtkToolButton* button); void moserial_send_chooser_dialog_show (moserialSendChooserDialog* self, const gchar* folder); const gchar* default_paths_get_sendFrom (DefaultPaths* self); static void moserial_main_window_doSend (moserialMainWindow* self, moserialSendChooserDialog* dialog); GType moserial_szwrapper_protocol_get_type (void) G_GNUC_CONST; gchar* mo_utils_getParentFolder (const gchar* path); void default_paths_set_sendFrom (DefaultPaths* self, const gchar* value); moserialSzwrapper* moserial_szwrapper_new (moserialSzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* filename); moserialSzwrapper* moserial_szwrapper_construct (GType object_type, moserialSzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* filename); void moserial_send_progress_dialog_show (moserialSendProgressDialog* self); void moserial_send_progress_dialog_updateStatus (moserialSendProgressDialog* self, GObject* o, const gchar* newStatus); static void _moserial_send_progress_dialog_updateStatus_moserial_szwrapper_update_status (moserialSzwrapper* _sender, const gchar* newStatus, gpointer self); void moserial_szwrapper_transferCanceled (moserialSzwrapper* self, GObject* o); static void _moserial_szwrapper_transferCanceled_moserial_send_progress_dialog_transfer_canceled (moserialSendProgressDialog* _sender, gpointer self); void moserial_main_window_sendComplete (moserialMainWindow* self, GObject* o); static void _moserial_main_window_sendComplete_moserial_szwrapper_transfer_complete (moserialSzwrapper* _sender, gpointer self); gboolean moserial_send_progress_dialog_hide (moserialSendProgressDialog* self); static void moserial_main_window_doReceiveChooser (moserialMainWindow* self, GtkToolButton* button); void moserial_receive_chooser_dialog_show (moserialReceiveChooserDialog* self, const gchar* folder); const gchar* default_paths_get_receiveTo (DefaultPaths* self); static void moserial_main_window_doReceive (moserialMainWindow* self, moserialReceiveChooserDialog* dialog); void default_paths_set_receiveTo (DefaultPaths* self, const gchar* value); void moserial_xmodem_filename_dialog_show (moserialXmodemFilenameDialog* self); GType moserial_rzwrapper_protocol_get_type (void) G_GNUC_CONST; moserialRzwrapper* moserial_rzwrapper_new (moserialRzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* p, const gchar* filename); moserialRzwrapper* moserial_rzwrapper_construct (GType object_type, moserialRzwrapperProtocol* protocol, moserialSerialConnection* sc, const gchar* p, const gchar* filename); void moserial_receive_progress_dialog_show (moserialReceiveProgressDialog* self); void moserial_receive_progress_dialog_updateStatus (moserialReceiveProgressDialog* self, GObject* o, const gchar* newStatus); static void _moserial_receive_progress_dialog_updateStatus_moserial_rzwrapper_update_status (moserialRzwrapper* _sender, const gchar* newStatus, gpointer self); void moserial_rzwrapper_transferCanceled (moserialRzwrapper* self, GObject* o); static void _moserial_rzwrapper_transferCanceled_moserial_receive_progress_dialog_transfer_canceled (moserialReceiveProgressDialog* _sender, gpointer self); void moserial_main_window_receiveComplete (moserialMainWindow* self, GObject* o); static void _moserial_main_window_receiveComplete_moserial_rzwrapper_transfer_complete (moserialRzwrapper* _sender, gpointer self); gboolean moserial_receive_progress_dialog_hide (moserialReceiveProgressDialog* self); void moserial_main_window_record (moserialMainWindow* self, GtkToggleToolButton* button); void moserial_record_dialog_show (moserialRecordDialog* self, const gchar* folder); const gchar* default_paths_get_recordTo (DefaultPaths* self); void moserial_serial_stream_recorder_close (moserialSerialStreamRecorder* self, gboolean launch); gboolean preferences_get_recordLaunch (Preferences* self); void moserial_main_window_stopRecording (moserialMainWindow* self, moserialRecordDialog* dialog); GType moserial_serial_stream_recorder_direction_get_type (void) G_GNUC_CONST; void moserial_main_window_startRecording (moserialMainWindow* self, moserialRecordDialog* dialog, const gchar* filename, moserialSerialStreamRecorderDirection direction); void moserial_serial_stream_recorder_open (moserialSerialStreamRecorder* self, const gchar* filename, moserialSerialStreamRecorderDirection direction, GError** error); void default_paths_set_recordTo (DefaultPaths* self, const gchar* value); gboolean moserial_main_window_recordTimeout (moserialMainWindow* self); void moserial_main_window_showWindow (moserialMainWindow* self); static void moserial_main_window_updateSettings (moserialMainWindow* self, moserialSettingsDialog* d, Settings* newSettings); gboolean preferences_get_useSystemMonospaceFont (Preferences* self); gchar* preferences_getSystemDefaultMonospaceFont (void); const gchar* preferences_get_font (Preferences* self); void preferences_getGdkColor (const gchar* color, GdkColor* result); const gchar* preferences_get_fontColor (Preferences* self); const gchar* preferences_get_backgroundColor (Preferences* self); const gchar* preferences_get_highlightColor (Preferences* self); void moserial_hex_text_buffer_applyPreferences (moserialHexTextBuffer* self, Preferences* preferences); static void moserial_main_window_showSettingsDialog (moserialMainWindow* self, GObject* o); void moserial_settings_dialog_show (moserialSettingsDialog* self, Settings* settings); static void moserial_main_window_showPreferencesDialog (moserialMainWindow* self, GObject* o); void moserial_preferences_dialog_show (moserialPreferencesDialog* self, Preferences* preferences, gboolean recording); static gboolean moserial_main_window_startConnection (moserialMainWindow* self); gboolean moserial_serial_connection_doConnect (moserialSerialConnection* self, Settings* settings); const gchar* settings_get_device (Settings* self); void moserial_hex_text_buffer_clear (moserialHexTextBuffer* self); static void moserial_main_window_updateIncoming (moserialMainWindow* self, moserialSerialConnection* sc, guchar* data, int data_length1, gint size); static void _moserial_main_window_updateIncoming_moserial_serial_connection_new_data (moserialSerialConnection* _sender, guchar* data, int data_length1, gint size, gpointer self); static void moserial_main_window_connectButtonClick (moserialMainWindow* self, GtkToggleToolButton* button); void moserial_serial_connection_doDisconnect (moserialSerialConnection* self); void moserial_rzwrapper_writeChar (moserialRzwrapper* self, guchar byte); void moserial_rzwrapper_flush (moserialRzwrapper* self); void moserial_szwrapper_writeChar (moserialSzwrapper* self, guchar byte); gboolean preferences_get_enableTimeout (Preferences* self); gint preferences_get_timeout (Preferences* self); static gboolean _moserial_main_window_recordTimeout_gsource_func (gpointer self); void moserial_serial_stream_recorder_writeIncoming (moserialSerialStreamRecorder* self, guchar* data, int data_length1); static void moserial_main_window_inputModeChanged (moserialMainWindow* self, GtkComboBox* inputModeCombo); static void moserial_main_window_showHelpButton (moserialMainWindow* self, GtkToolButton* button); static void moserial_main_window_showHelp (moserialMainWindow* self); static void moserial_main_window_showHelpAction (moserialMainWindow* self); static void moserial_main_window_showAboutDialog (moserialMainWindow* self); static void moserial_main_window_quitSizeSave (moserialMainWindow* self); static void moserial_main_window_windowSizeSave (moserialMainWindow* self); static void moserial_main_window_quitSave (moserialMainWindow* self); static gboolean moserial_main_window_deleteSaveSize (moserialMainWindow* self); static gboolean moserial_main_window_keyPress (moserialMainWindow* self, GtkWidget* widget, GdkEventKey* key); void moserial_auto_scroll_scroll (GtkAdjustment* va); void profile_saveWindowSize (Profile* self, gint w, gint h); void profile_saveWindowPanedPosition (Profile* self, gint pos); void preferences_saveToProfile (Preferences* self, Profile* profile); void settings_saveToProfile (Settings* self, Profile* profile); void default_paths_saveToProfile (DefaultPaths* self, Profile* profile); static void moserial_main_window_saveProfile (moserialMainWindow* self); void profile_save (Profile* self, const gchar* filename, GtkWindow* window); static void moserial_main_window_saveProfileAs (moserialMainWindow* self); static void moserial_main_window_loadProfileOnStartup (moserialMainWindow* self, const gchar* profileFilename); static void moserial_main_window_loadProfile (moserialMainWindow* self); static void moserial_main_window_copy (moserialMainWindow* self); static void moserial_main_window_cut (moserialMainWindow* self); static void moserial_main_window_editMenu (moserialMainWindow* self); static void moserial_main_window_paste (moserialMainWindow* self); static void moserial_main_window_clear (moserialMainWindow* self); GtkBuilder* moserial_main_window_get_builder (moserialMainWindow* self); static void moserial_main_window_set_builder (moserialMainWindow* self, GtkBuilder* value); const gchar* moserial_main_window_get_startupProfileFilename (moserialMainWindow* self); static void moserial_main_window_set_startupProfileFilename (moserialMainWindow* self, const gchar* value); static GObject * moserial_main_window_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties); static void _moserial_main_window_quitSave_gtk_widget_destroy (GtkWidget* _sender, gpointer self); static gboolean _moserial_main_window_deleteSaveSize_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self); static gboolean _moserial_main_window_keyPress_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self); Profile* profile_new (void); Profile* profile_construct (GType object_type); gint profile_getWindowWidth (Profile* self); gint profile_getWindowHeight (Profile* self); gint profile_getWindowPanedPosition (Profile* self); static void _moserial_main_window_quitSizeSave_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_saveProfileAs_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_saveProfile_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_loadProfile_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_copy_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_editMenu_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_cut_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_paste_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); static void _moserial_main_window_clear_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); moserialSettingsDialog* moserial_settings_dialog_new (GtkBuilder* builder); moserialSettingsDialog* moserial_settings_dialog_construct (GType object_type, GtkBuilder* builder); static void _moserial_main_window_updateSettings_moserial_settings_dialog_update_settings (moserialSettingsDialog* _sender, Settings* settings, gpointer self); static void _moserial_main_window_showSettingsDialog_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); static void _moserial_main_window_showHelpButton_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); static void _moserial_main_window_showAboutDialog_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); moserialSendProgressDialog* moserial_send_progress_dialog_new (GtkBuilder* builder); moserialSendProgressDialog* moserial_send_progress_dialog_construct (GType object_type, GtkBuilder* builder); moserialSendChooserDialog* moserial_send_chooser_dialog_new (GtkBuilder* builder); moserialSendChooserDialog* moserial_send_chooser_dialog_construct (GType object_type, GtkBuilder* builder); static void _moserial_main_window_doSendChooser_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); static void _moserial_main_window_doSend_moserial_send_chooser_dialog_start_transfer (moserialSendChooserDialog* _sender, gpointer self); moserialReceiveProgressDialog* moserial_receive_progress_dialog_new (GtkBuilder* builder); moserialReceiveProgressDialog* moserial_receive_progress_dialog_construct (GType object_type, GtkBuilder* builder); moserialReceiveChooserDialog* moserial_receive_chooser_dialog_new (GtkBuilder* builder); moserialReceiveChooserDialog* moserial_receive_chooser_dialog_construct (GType object_type, GtkBuilder* builder); static void _moserial_main_window_doReceiveChooser_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); static void _moserial_main_window_doReceive_moserial_receive_chooser_dialog_start_transfer (moserialReceiveChooserDialog* _sender, gpointer self); moserialXmodemFilenameDialog* moserial_xmodem_filename_dialog_new (GtkBuilder* builder); moserialXmodemFilenameDialog* moserial_xmodem_filename_dialog_construct (GType object_type, GtkBuilder* builder); moserialRecordDialog* moserial_record_dialog_new (GtkBuilder* builder); moserialRecordDialog* moserial_record_dialog_construct (GType object_type, GtkBuilder* builder); static void _moserial_main_window_record_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self); static void _moserial_main_window_stopRecording_moserial_record_dialog_stop_recording (moserialRecordDialog* _sender, gpointer self); static void _moserial_main_window_startRecording_moserial_record_dialog_start_recording (moserialRecordDialog* _sender, const gchar* fileName, moserialSerialStreamRecorderDirection direction, gpointer self); moserialPreferencesDialog* moserial_preferences_dialog_new (GtkBuilder* builder); moserialPreferencesDialog* moserial_preferences_dialog_construct (GType object_type, GtkBuilder* builder); static void _moserial_main_window_updatePreferences_moserial_preferences_dialog_update_preferences (moserialPreferencesDialog* _sender, Preferences* preferences, gpointer self); static void _moserial_main_window_showPreferencesDialog_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self); static void _moserial_main_window_connectButtonClick_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self); static void _moserial_main_window_showHelpAction_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self); moserialHexTextBuffer* moserial_hex_text_buffer_new (void); moserialHexTextBuffer* moserial_hex_text_buffer_construct (GType object_type); void moserial_auto_scroll_setup (GtkAdjustment* incomingAsciiVerticalAdjuster, GtkAdjustment* incomingHexVerticalAdjuster, GtkAdjustment* outgoingAsciiVerticalAdjuster, GtkAdjustment* outgoingHexVerticalAdjuster); static void _moserial_main_window_sendString_gtk_button_clicked (GtkButton* _sender, gpointer self); static void _moserial_main_window_sendString_gtk_entry_activate (GtkEntry* _sender, gpointer self); void mo_utils_populateComboBox (GtkComboBox* Combo, gchar** val_array, int val_array_length1); static void _moserial_main_window_inputModeChanged_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self); GType moserial_serial_connection_line_end_get_type (void) G_GNUC_CONST; static void _moserial_main_window_recentItemOpen_gtk_recent_chooser_item_activated (GtkRecentChooser* _sender, gpointer self); static void moserial_main_window_finalize (GObject* obj); static void _vala_moserial_main_window_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec); static void _vala_moserial_main_window_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec); static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); static gint _vala_array_length (gpointer array); static const gchar* MOSERIAL_MAIN_WINDOW_authors[3] = {"Michael J. Chudobiak ", "marlodavampire", NULL}; static const gchar* MOSERIAL_MAIN_WINDOW_license[3] = {"moserial is free software: you can redistribute it and/or modify it un" \ "der the terms of the GNU General Public License as published by the Fr" \ "ee Software Foundation, either version 3 of the License, or (at your o" \ "ption) any later version.\n", "moserial is distributed in the hope that it will be useful, but WITHOU" \ "T ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o" \ "r FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public Licens" \ "e for more details.\n", "You should have received a copy of the GNU General Public License alon" \ "g with this program. If not, see ."}; static const gchar* MOSERIAL_MAIN_WINDOW_inputModeStrings[2] = {"ASCII", "HEX"}; extern const gchar* MOSERIAL_SERIAL_CONNECTION_LineEndValues[6]; extern const gchar* MOSERIAL_SERIAL_CONNECTION_LineEndStrings[6]; static GType moserial_main_window_input_mode_values_get_type (void) { static volatile gsize moserial_main_window_input_mode_values_type_id__volatile = 0; if (g_once_init_enter (&moserial_main_window_input_mode_values_type_id__volatile)) { static const GEnumValue values[] = {{MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_ASCII, "MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_ASCII", "ascii"}, {MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_HEX, "MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_HEX", "hex"}, {0, NULL, NULL}}; GType moserial_main_window_input_mode_values_type_id; moserial_main_window_input_mode_values_type_id = g_enum_register_static ("moserialMainWindowinputModeValues", values); g_once_init_leave (&moserial_main_window_input_mode_values_type_id__volatile, moserial_main_window_input_mode_values_type_id); } return moserial_main_window_input_mode_values_type_id__volatile; } static void gtk_recent_data_destroy (GtkRecentData* self) { _g_free0 ((*self).display_name); _g_free0 ((*self).description); _g_free0 ((*self).mime_type); _g_free0 ((*self).app_name); _g_free0 ((*self).app_exec); (*self).groups = (_vala_array_free ((*self).groups, _vala_array_length ((*self).groups), (GDestroyNotify) g_free), NULL); } moserialMainWindow* moserial_main_window_construct (GType object_type, GtkBuilder* builder, const gchar* profileFilename) { moserialMainWindow * self = NULL; GtkBuilder* _tmp0_; const gchar* _tmp1_; g_return_val_if_fail (builder != NULL, NULL); _tmp0_ = builder; _tmp1_ = profileFilename; self = (moserialMainWindow*) g_object_new (object_type, "builder", _tmp0_, "startupProfileFilename", _tmp1_, NULL); return self; } moserialMainWindow* moserial_main_window_new (GtkBuilder* builder, const gchar* profileFilename) { return moserial_main_window_construct (MOSERIAL_TYPE_MAIN_WINDOW, builder, profileFilename); } static gpointer _g_object_ref0 (gpointer self) { return self ? g_object_ref (self) : NULL; } static void moserial_main_window_applyProfile (moserialMainWindow* self, const gchar* filename) { Profile* _tmp0_; const gchar* _tmp1_; GtkWindow* _tmp2_; gboolean _tmp3_ = FALSE; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (filename != NULL); _tmp0_ = self->priv->profile; _tmp1_ = filename; _tmp2_ = self->priv->gtkWindow; _tmp3_ = profile_load (_tmp0_, _tmp1_, _tmp2_); if (_tmp3_) { const gchar* _tmp4_; gchar* _tmp5_; Profile* _tmp6_; Settings* _tmp7_ = NULL; Profile* _tmp8_; Preferences* _tmp9_ = NULL; Profile* _tmp10_; DefaultPaths* _tmp11_ = NULL; Preferences* _tmp12_; GtkStatusbar* _tmp13_; guint _tmp14_; GtkStatusbar* _tmp15_; guint _tmp16_; Settings* _tmp17_; gchar* _tmp18_ = NULL; gchar* _tmp19_; GtkRecentManager* _tmp20_ = NULL; GtkRecentManager* _tmp21_; GtkRecentManager* recentManager; _tmp4_ = filename; _tmp5_ = g_strdup (_tmp4_); _g_free0 (self->priv->profileFilename); self->priv->profileFilename = _tmp5_; moserial_main_window_ensureDisconnected (self); _tmp6_ = self->priv->profile; _tmp7_ = settings_loadFromProfile (_tmp6_); _g_object_unref0 (self->priv->currentSettings); self->priv->currentSettings = _tmp7_; _tmp8_ = self->priv->profile; _tmp9_ = preferences_loadFromProfile (_tmp8_); _g_object_unref0 (self->priv->currentPreferences); self->priv->currentPreferences = _tmp9_; _tmp10_ = self->priv->profile; _tmp11_ = default_paths_loadFromProfile (_tmp10_); _g_object_unref0 (self->priv->currentPaths); self->priv->currentPaths = _tmp11_; _tmp12_ = self->priv->currentPreferences; moserial_main_window_updatePreferences (self, NULL, _tmp12_); _tmp13_ = self->priv->statusbar; _tmp14_ = self->priv->statusbarContext; gtk_statusbar_pop (_tmp13_, _tmp14_); _tmp15_ = self->priv->statusbar; _tmp16_ = self->priv->statusbarContext; _tmp17_ = self->priv->currentSettings; _tmp18_ = settings_getStatusbarString (_tmp17_, FALSE); _tmp19_ = _tmp18_; gtk_statusbar_push (_tmp15_, _tmp16_, _tmp19_); _g_free0 (_tmp19_); moserial_main_window_setWindowTitle (self, NULL); self->priv->profileChanged = FALSE; _tmp20_ = gtk_recent_manager_get_default (); _tmp21_ = _g_object_ref0 (_tmp20_); recentManager = _tmp21_; { const gchar* _tmp22_; gchar* _tmp23_ = NULL; gchar* _tmp24_; GtkRecentManager* _tmp25_; gchar* _tmp26_; GtkRecentData _tmp27_; _tmp22_ = filename; _tmp23_ = g_filename_to_uri (_tmp22_, NULL, &_inner_error_); _tmp24_ = _tmp23_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch0_g_convert_error; } _g_object_unref0 (recentManager); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp25_ = recentManager; _tmp26_ = _tmp24_; _tmp27_ = self->priv->recentData; gtk_recent_manager_add_full (_tmp25_, _tmp26_, &_tmp27_); _g_free0 (_tmp26_); } goto __finally0; __catch0_g_convert_error: { GError* e = NULL; FILE* _tmp28_; GError* _tmp29_; const gchar* _tmp30_; e = _inner_error_; _inner_error_ = NULL; _tmp28_ = stdout; _tmp29_ = e; _tmp30_ = _tmp29_->message; fprintf (_tmp28_, "%s\n", _tmp30_); _g_error_free0 (e); } __finally0: if (_inner_error_ != NULL) { _g_object_unref0 (recentManager); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _g_object_unref0 (recentManager); } } static void moserial_main_window_setWindowTitle (moserialMainWindow* self, const gchar* recordingFilename) { GString* _tmp0_; GString* builder; GString* _tmp1_; const gchar* _tmp2_; const gchar* _tmp8_; GtkWindow* _tmp14_; GString* _tmp15_; const gchar* _tmp16_; g_return_if_fail (self != NULL); _tmp0_ = g_string_new (""); builder = _tmp0_; _tmp1_ = builder; g_string_append (_tmp1_, "moserial"); _tmp2_ = self->priv->profileFilename; if (_tmp2_ != NULL) { GString* _tmp3_; GString* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_ = NULL; gchar* _tmp7_; _tmp3_ = builder; g_string_append (_tmp3_, " - "); _tmp4_ = builder; _tmp5_ = self->priv->profileFilename; _tmp6_ = g_path_get_basename (_tmp5_); _tmp7_ = _tmp6_; g_string_append (_tmp4_, _tmp7_); _g_free0 (_tmp7_); } _tmp8_ = recordingFilename; if (_tmp8_ != NULL) { GString* _tmp9_; GString* _tmp10_; const gchar* _tmp11_; gchar* _tmp12_ = NULL; gchar* _tmp13_; _tmp9_ = builder; g_string_append (_tmp9_, " - "); _tmp10_ = builder; _tmp11_ = recordingFilename; _tmp12_ = g_path_get_basename (_tmp11_); _tmp13_ = _tmp12_; g_string_append (_tmp10_, _tmp13_); _g_free0 (_tmp13_); } _tmp14_ = self->priv->gtkWindow; _tmp15_ = builder; _tmp16_ = _tmp15_->str; gtk_window_set_title (_tmp14_, _tmp16_); _g_string_free0 (builder); } static void moserial_main_window_recentItemOpen (moserialMainWindow* self, GtkRecentChooser* r) { GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (r != NULL); { GtkRecentChooser* _tmp0_; const gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_; gchar* _tmp4_; _tmp0_ = r; _tmp1_ = gtk_recent_chooser_get_current_uri (_tmp0_); _tmp2_ = g_filename_from_uri (_tmp1_, NULL, &_inner_error_); _tmp3_ = _tmp2_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch1_g_convert_error; } g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp4_ = _tmp3_; moserial_main_window_applyProfile (self, _tmp4_); _g_free0 (_tmp4_); } goto __finally1; __catch1_g_convert_error: { GError* e = NULL; FILE* _tmp5_; GError* _tmp6_; const gchar* _tmp7_; e = _inner_error_; _inner_error_ = NULL; _tmp5_ = stdout; _tmp6_ = e; _tmp7_ = _tmp6_->message; fprintf (_tmp5_, "%s\n", _tmp7_); _g_error_free0 (e); } __finally1: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } static gunichar string_get_char (const gchar* self, glong index) { gunichar result = 0U; glong _tmp0_; gunichar _tmp1_ = 0U; g_return_val_if_fail (self != NULL, 0U); _tmp0_ = index; _tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_); result = _tmp1_; return result; } static void moserial_main_window_insertBufferEnd (moserialMainWindow* self, GtkTextBuffer* buf, const gchar* s) { GtkTextIter iter = {0}; gint i = 0; GString* _tmp0_; GString* builder; GtkTextBuffer* _tmp20_; GtkTextIter _tmp21_ = {0}; GtkTextBuffer* _tmp22_; GString* _tmp23_; const gchar* _tmp24_; GString* _tmp25_; const gchar* _tmp26_; gint _tmp27_; gint _tmp28_; g_return_if_fail (self != NULL); g_return_if_fail (buf != NULL); g_return_if_fail (s != NULL); _tmp0_ = g_string_new (""); builder = _tmp0_; { gboolean _tmp1_; i = 0; _tmp1_ = TRUE; while (TRUE) { gboolean _tmp2_; gint _tmp4_; const gchar* _tmp5_; gint _tmp6_; gint _tmp7_; const gchar* _tmp8_; gunichar _tmp9_ = 0U; gunichar c; gboolean _tmp10_ = FALSE; gunichar _tmp11_; gboolean _tmp12_ = FALSE; gboolean _tmp15_; const gchar* _tmp18_; const gchar* _tmp19_ = NULL; _tmp2_ = _tmp1_; if (!_tmp2_) { gint _tmp3_; _tmp3_ = i; i = _tmp3_ + 1; } _tmp1_ = FALSE; _tmp4_ = i; _tmp5_ = s; _tmp6_ = strlen (_tmp5_); _tmp7_ = _tmp6_; if (!(_tmp4_ < _tmp7_)) { break; } _tmp8_ = s; _tmp9_ = string_get_char (_tmp8_, (glong) 0); c = _tmp9_; _tmp11_ = c; _tmp12_ = g_unichar_isprint (_tmp11_); if (_tmp12_) { _tmp10_ = TRUE; } else { gunichar _tmp13_; gboolean _tmp14_ = FALSE; _tmp13_ = c; _tmp14_ = g_unichar_isspace (_tmp13_); _tmp10_ = _tmp14_; } _tmp15_ = _tmp10_; if (_tmp15_) { GString* _tmp16_; gunichar _tmp17_; _tmp16_ = builder; _tmp17_ = c; g_string_append_unichar (_tmp16_, _tmp17_); } _tmp18_ = s; _tmp19_ = g_utf8_next_char (_tmp18_); s = _tmp19_; } } _tmp20_ = buf; gtk_text_buffer_get_end_iter (_tmp20_, &_tmp21_); iter = _tmp21_; _tmp22_ = buf; _tmp23_ = builder; _tmp24_ = _tmp23_->str; _tmp25_ = builder; _tmp26_ = _tmp25_->str; _tmp27_ = strlen (_tmp26_); _tmp28_ = _tmp27_; gtk_text_buffer_insert (_tmp22_, &iter, _tmp24_, (gint) _tmp28_); _g_string_free0 (builder); } void moserial_main_window_sendString (moserialMainWindow* self, GtkWidget* w) { gboolean _tmp0_ = FALSE; gchar* s = NULL; GtkEntry* _tmp1_; const gchar* _tmp2_ = NULL; gchar* _tmp3_; moserialSerialConnection* _tmp4_; const gchar* _tmp5_; gchar* _tmp6_; glong len = 0L; GtkComboBox* _tmp7_; gint _tmp8_ = 0; GtkStatusbar* _tmp99_; guint _tmp100_; GtkStatusbar* _tmp101_; guint _tmp102_; moserialSerialConnection* _tmp103_; gchar* _tmp104_ = NULL; gchar* _tmp105_; GtkEntry* _tmp106_; moserialSerialConnection* _tmp107_; gchar* _tmp108_; GtkTextIter echoStartIter = {0}; GtkTextBuffer* _tmp109_; GtkTextIter _tmp110_ = {0}; GtkTextBuffer* _tmp111_; GtkTextIter _tmp112_; GtkTextMark* _tmp113_ = NULL; GtkTextMark* _tmp114_; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (w != NULL); _tmp0_ = moserial_main_window_ensureConnected (self); if (!_tmp0_) { return; } _tmp1_ = self->priv->entry; _tmp2_ = gtk_entry_get_text (_tmp1_); _tmp3_ = g_strdup (_tmp2_); _g_free0 (s); s = _tmp3_; _tmp4_ = self->priv->serialConnection; _tmp5_ = s; _tmp6_ = g_strdup (_tmp5_); _g_free0 (_tmp4_->echoReference); _tmp4_->echoReference = _tmp6_; _tmp7_ = self->priv->inputModeCombo; _tmp8_ = gtk_combo_box_get_active (_tmp7_); if (_tmp8_ == ((gint) MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_ASCII)) { const gchar* _tmp9_; gint _tmp10_; gint _tmp11_; moserialSerialConnection* _tmp34_; GtkComboBox* _tmp35_; gint _tmp36_ = 0; const gchar* _tmp37_; gchar* _tmp38_; gchar* t; const gchar* _tmp39_; gint _tmp40_; gint _tmp41_; _tmp9_ = s; _tmp10_ = strlen (_tmp9_); _tmp11_ = _tmp10_; len = (glong) _tmp11_; { gint x; x = 0; { gboolean _tmp12_; _tmp12_ = TRUE; while (TRUE) { gboolean _tmp13_; gint _tmp15_; glong _tmp16_; moserialSerialConnection* _tmp17_; const gchar* _tmp18_; gunichar _tmp19_ = 0U; moserialSerialStreamRecorder* _tmp20_; const gchar* _tmp21_; gunichar _tmp22_ = 0U; moserialHexTextBuffer* _tmp23_; const gchar* _tmp24_; gunichar _tmp25_ = 0U; GtkTextBuffer* _tmp26_; const gchar* _tmp27_; gunichar _tmp28_ = 0U; gchar* _tmp29_ = NULL; gchar* _tmp30_; const gchar* _tmp31_; const gchar* _tmp32_ = NULL; gchar* _tmp33_; _tmp13_ = _tmp12_; if (!_tmp13_) { gint _tmp14_; _tmp14_ = x; x = _tmp14_ + 1; } _tmp12_ = FALSE; _tmp15_ = x; _tmp16_ = len; if (!(((glong) _tmp15_) < _tmp16_)) { break; } _tmp17_ = self->priv->serialConnection; _tmp18_ = s; _tmp19_ = string_get_char (_tmp18_, (glong) 0); moserial_serial_connection_sendByte (_tmp17_, (guchar) _tmp19_); _tmp20_ = self->priv->streamRecorder; _tmp21_ = s; _tmp22_ = string_get_char (_tmp21_, (glong) 0); moserial_serial_stream_recorder_writeOutgoing (_tmp20_, (guchar) _tmp22_); _tmp23_ = self->priv->outgoingHexTextBuffer; _tmp24_ = s; _tmp25_ = string_get_char (_tmp24_, (glong) 0); moserial_hex_text_buffer_add (_tmp23_, (guchar) _tmp25_); _tmp26_ = self->priv->outgoingAsciiTextBuffer; _tmp27_ = s; _tmp28_ = string_get_char (_tmp27_, (glong) 0); _tmp29_ = g_strdup_printf ("%c", (gint) ((guchar) _tmp28_)); _tmp30_ = _tmp29_; moserial_main_window_insertBufferEnd (self, _tmp26_, _tmp30_); _g_free0 (_tmp30_); _tmp31_ = s; _tmp32_ = g_utf8_next_char (_tmp31_); _tmp33_ = g_strdup (_tmp32_); _g_free0 (s); s = _tmp33_; } } } _tmp34_ = self->priv->serialConnection; _tmp35_ = self->priv->lineEndModeCombo; _tmp36_ = gtk_combo_box_get_active (_tmp35_); _tmp37_ = MOSERIAL_SERIAL_CONNECTION_LineEndValues[_tmp36_]; _tmp38_ = g_strdup (_tmp37_); t = _tmp38_; _tmp39_ = t; _tmp40_ = strlen (_tmp39_); _tmp41_ = _tmp40_; len = (glong) _tmp41_; { gint x; x = 0; { gboolean _tmp42_; _tmp42_ = TRUE; while (TRUE) { gboolean _tmp43_; gint _tmp45_; glong _tmp46_; moserialSerialConnection* _tmp47_; const gchar* _tmp48_; gunichar _tmp49_ = 0U; moserialSerialStreamRecorder* _tmp50_; const gchar* _tmp51_; gunichar _tmp52_ = 0U; moserialHexTextBuffer* _tmp53_; const gchar* _tmp54_; gunichar _tmp55_ = 0U; gint _tmp56_; const gchar* _tmp62_; const gchar* _tmp63_ = NULL; gchar* _tmp64_; _tmp43_ = _tmp42_; if (!_tmp43_) { gint _tmp44_; _tmp44_ = x; x = _tmp44_ + 1; } _tmp42_ = FALSE; _tmp45_ = x; _tmp46_ = len; if (!(((glong) _tmp45_) < _tmp46_)) { break; } _tmp47_ = self->priv->serialConnection; _tmp48_ = t; _tmp49_ = string_get_char (_tmp48_, (glong) 0); moserial_serial_connection_sendByte (_tmp47_, (guchar) _tmp49_); _tmp50_ = self->priv->streamRecorder; _tmp51_ = t; _tmp52_ = string_get_char (_tmp51_, (glong) 0); moserial_serial_stream_recorder_writeOutgoing (_tmp50_, (guchar) _tmp52_); _tmp53_ = self->priv->outgoingHexTextBuffer; _tmp54_ = t; _tmp55_ = string_get_char (_tmp54_, (glong) 0); moserial_hex_text_buffer_add (_tmp53_, (guchar) _tmp55_); _tmp56_ = x; if (_tmp56_ == 0) { GtkTextBuffer* _tmp57_; const gchar* _tmp58_; gunichar _tmp59_ = 0U; gchar* _tmp60_ = NULL; gchar* _tmp61_; _tmp57_ = self->priv->outgoingAsciiTextBuffer; _tmp58_ = t; _tmp59_ = string_get_char (_tmp58_, (glong) 0); _tmp60_ = g_strdup_printf ("%c", (gint) ((guchar) _tmp59_)); _tmp61_ = _tmp60_; moserial_main_window_insertBufferEnd (self, _tmp57_, _tmp61_); _g_free0 (_tmp61_); } _tmp62_ = t; _tmp63_ = g_utf8_next_char (_tmp62_); _tmp64_ = g_strdup (_tmp63_); _g_free0 (t); t = _tmp64_; } } } _g_free0 (t); } else { { const gchar* _tmp65_; gint _tmp66_ = 0; guchar* _tmp67_ = NULL; guchar* h; gint h_length1; gint _h_size_; guchar* _tmp68_; gint _tmp68__length1; _tmp65_ = s; _tmp67_ = input_parser_parseHex (_tmp65_, &_tmp66_, &_inner_error_); h = _tmp67_; h_length1 = _tmp66_; _h_size_ = h_length1; if (_inner_error_ != NULL) { if (_inner_error_->domain == HEX_PARSE_ERROR) { goto __catch2_hex_parse_error; } _g_free0 (s); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp68_ = h; _tmp68__length1 = h_length1; len = (glong) _tmp68__length1; { gint x; x = 0; { gboolean _tmp69_; _tmp69_ = TRUE; while (TRUE) { gboolean _tmp70_; gint _tmp72_; glong _tmp73_; moserialSerialConnection* _tmp74_; guchar* _tmp75_; gint _tmp75__length1; gint _tmp76_; guchar _tmp77_; moserialSerialStreamRecorder* _tmp78_; guchar* _tmp79_; gint _tmp79__length1; gint _tmp80_; guchar _tmp81_; moserialHexTextBuffer* _tmp82_; guchar* _tmp83_; gint _tmp83__length1; gint _tmp84_; guchar _tmp85_; GtkTextBuffer* _tmp86_; guchar* _tmp87_; gint _tmp87__length1; gint _tmp88_; guchar _tmp89_; gchar* _tmp90_ = NULL; gchar* _tmp91_; _tmp70_ = _tmp69_; if (!_tmp70_) { gint _tmp71_; _tmp71_ = x; x = _tmp71_ + 1; } _tmp69_ = FALSE; _tmp72_ = x; _tmp73_ = len; if (!(((glong) _tmp72_) < _tmp73_)) { break; } _tmp74_ = self->priv->serialConnection; _tmp75_ = h; _tmp75__length1 = h_length1; _tmp76_ = x; _tmp77_ = _tmp75_[_tmp76_]; moserial_serial_connection_sendByte (_tmp74_, _tmp77_); _tmp78_ = self->priv->streamRecorder; _tmp79_ = h; _tmp79__length1 = h_length1; _tmp80_ = x; _tmp81_ = _tmp79_[_tmp80_]; moserial_serial_stream_recorder_writeOutgoing (_tmp78_, _tmp81_); _tmp82_ = self->priv->outgoingHexTextBuffer; _tmp83_ = h; _tmp83__length1 = h_length1; _tmp84_ = x; _tmp85_ = _tmp83_[_tmp84_]; moserial_hex_text_buffer_add (_tmp82_, _tmp85_); _tmp86_ = self->priv->outgoingAsciiTextBuffer; _tmp87_ = h; _tmp87__length1 = h_length1; _tmp88_ = x; _tmp89_ = _tmp87_[_tmp88_]; _tmp90_ = g_strdup_printf ("%c", (gint) _tmp89_); _tmp91_ = _tmp90_; moserial_main_window_insertBufferEnd (self, _tmp86_, _tmp91_); _g_free0 (_tmp91_); } } } h = (g_free (h), NULL); } goto __finally2; __catch2_hex_parse_error: { GError* e = NULL; GtkWindow* _tmp92_; GError* _tmp93_; const gchar* _tmp94_; GtkMessageDialog* _tmp95_; GtkMessageDialog* _tmp96_; GtkMessageDialog* errorDialog; GtkMessageDialog* _tmp97_; GtkMessageDialog* _tmp98_; e = _inner_error_; _inner_error_ = NULL; _tmp92_ = self->priv->gtkWindow; _tmp93_ = e; _tmp94_ = _tmp93_->message; _tmp95_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp92_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp94_); _tmp96_ = g_object_ref_sink (_tmp95_); errorDialog = _tmp96_; _tmp97_ = errorDialog; gtk_dialog_run ((GtkDialog*) _tmp97_); _tmp98_ = errorDialog; gtk_widget_destroy ((GtkWidget*) _tmp98_); _g_object_unref0 (errorDialog); _g_error_free0 (e); } __finally2: if (_inner_error_ != NULL) { _g_free0 (s); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } _tmp99_ = self->priv->bytecountbar; _tmp100_ = self->priv->bytecountbarContext; gtk_statusbar_pop (_tmp99_, _tmp100_); _tmp101_ = self->priv->bytecountbar; _tmp102_ = self->priv->bytecountbarContext; _tmp103_ = self->priv->serialConnection; _tmp104_ = moserial_serial_connection_getBytecountbarString (_tmp103_); _tmp105_ = _tmp104_; gtk_statusbar_push (_tmp101_, _tmp102_, _tmp105_); _g_free0 (_tmp105_); _tmp106_ = self->priv->entry; gtk_entry_set_text (_tmp106_, ""); _tmp107_ = self->priv->serialConnection; _tmp108_ = g_strdup (""); _g_free0 (_tmp107_->echoCompare); _tmp107_->echoCompare = _tmp108_; _tmp109_ = self->priv->incomingAsciiTextBuffer; gtk_text_buffer_get_end_iter (_tmp109_, &_tmp110_); echoStartIter = _tmp110_; _tmp111_ = self->priv->incomingAsciiTextBuffer; _tmp112_ = echoStartIter; _tmp113_ = gtk_text_buffer_create_mark (_tmp111_, "echo", &_tmp112_, TRUE); _tmp114_ = _g_object_ref0 (_tmp113_); _g_object_unref0 (self->priv->echoStartMark); self->priv->echoStartMark = _tmp114_; _g_free0 (s); } static void moserial_main_window_doSendChooser (moserialMainWindow* self, GtkToolButton* button) { gboolean _tmp0_ = FALSE; moserialSendChooserDialog* _tmp1_; DefaultPaths* _tmp2_; const gchar* _tmp3_; const gchar* _tmp4_; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); _tmp0_ = moserial_main_window_ensureConnected (self); if (!_tmp0_) { return; } _tmp1_ = self->priv->sendChooserDialog; _tmp2_ = self->priv->currentPaths; _tmp3_ = default_paths_get_sendFrom (_tmp2_); _tmp4_ = _tmp3_; moserial_send_chooser_dialog_show (_tmp1_, _tmp4_); } static void _moserial_send_progress_dialog_updateStatus_moserial_szwrapper_update_status (moserialSzwrapper* _sender, const gchar* newStatus, gpointer self) { moserial_send_progress_dialog_updateStatus (self, _sender, newStatus); } static void _moserial_szwrapper_transferCanceled_moserial_send_progress_dialog_transfer_canceled (moserialSendProgressDialog* _sender, gpointer self) { moserial_szwrapper_transferCanceled (self, _sender); } static void _moserial_main_window_sendComplete_moserial_szwrapper_transfer_complete (moserialSzwrapper* _sender, gpointer self) { moserial_main_window_sendComplete (self, _sender); } static void moserial_main_window_doSend (moserialMainWindow* self, moserialSendChooserDialog* dialog) { moserialSzwrapperProtocol protocol = 0; gchar* filename = NULL; moserialSendChooserDialog* _tmp0_; const gchar* _tmp1_; gchar* _tmp2_; DefaultPaths* _tmp3_; const gchar* _tmp4_; gchar* _tmp5_ = NULL; gchar* _tmp6_; moserialSendChooserDialog* _tmp7_; GtkComboBox* _tmp8_; gint _tmp9_ = 0; moserialSzwrapperProtocol _tmp10_; moserialSerialConnection* _tmp11_; const gchar* _tmp12_; moserialSzwrapper* _tmp13_; moserialSzwrapper* _tmp14_; gboolean _tmp15_; g_return_if_fail (self != NULL); g_return_if_fail (dialog != NULL); _tmp0_ = dialog; _tmp1_ = _tmp0_->filename; _tmp2_ = g_strdup (_tmp1_); _g_free0 (filename); filename = _tmp2_; _tmp3_ = self->priv->currentPaths; _tmp4_ = filename; _tmp5_ = mo_utils_getParentFolder (_tmp4_); _tmp6_ = _tmp5_; default_paths_set_sendFrom (_tmp3_, _tmp6_); _g_free0 (_tmp6_); _tmp7_ = dialog; _tmp8_ = _tmp7_->protocolCombo; _tmp9_ = gtk_combo_box_get_active (_tmp8_); switch (_tmp9_) { case 0: { protocol = MOSERIAL_SZWRAPPER_PROTOCOL_XMODEM; break; } case 1: { protocol = MOSERIAL_SZWRAPPER_PROTOCOL_YMODEM; break; } default: case 2: { protocol = MOSERIAL_SZWRAPPER_PROTOCOL_ZMODEM; break; } case 3: { protocol = MOSERIAL_SZWRAPPER_PROTOCOL_RAW; break; } } _tmp10_ = protocol; _tmp11_ = self->priv->serialConnection; _tmp12_ = filename; _tmp13_ = moserial_szwrapper_new (&_tmp10_, _tmp11_, _tmp12_); _g_object_unref0 (self->priv->sz); self->priv->sz = _tmp13_; _tmp14_ = self->priv->sz; _tmp15_ = _tmp14_->running; if (_tmp15_) { moserialSendProgressDialog* _tmp16_; moserialSzwrapper* _tmp17_; moserialSendProgressDialog* _tmp18_; moserialSendProgressDialog* _tmp19_; moserialSzwrapper* _tmp20_; moserialSzwrapper* _tmp21_; _tmp16_ = self->priv->sendProgressDialog; moserial_send_progress_dialog_show (_tmp16_); _tmp17_ = self->priv->sz; _tmp18_ = self->priv->sendProgressDialog; g_signal_connect_object (_tmp17_, "update-status", (GCallback) _moserial_send_progress_dialog_updateStatus_moserial_szwrapper_update_status, _tmp18_, 0); _tmp19_ = self->priv->sendProgressDialog; _tmp20_ = self->priv->sz; g_signal_connect_object (_tmp19_, "transfer-canceled", (GCallback) _moserial_szwrapper_transferCanceled_moserial_send_progress_dialog_transfer_canceled, _tmp20_, 0); _tmp21_ = self->priv->sz; g_signal_connect_object (_tmp21_, "transfer-complete", (GCallback) _moserial_main_window_sendComplete_moserial_szwrapper_transfer_complete, self, 0); } _g_free0 (filename); } void moserial_main_window_sendComplete (moserialMainWindow* self, GObject* o) { moserialSzwrapper* _tmp0_; moserialSendProgressDialog* _tmp1_; guint _tmp2_ = 0U; moserialSendProgressDialog* _tmp3_; moserialSzwrapper* _tmp4_; guint _tmp5_ = 0U; moserialSendProgressDialog* _tmp6_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); _tmp0_ = self->priv->sz; _tmp1_ = self->priv->sendProgressDialog; g_signal_parse_name ("update-status", MOSERIAL_TYPE_SZWRAPPER, &_tmp2_, NULL, FALSE); g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _moserial_send_progress_dialog_updateStatus_moserial_szwrapper_update_status, _tmp1_); _tmp3_ = self->priv->sendProgressDialog; _tmp4_ = self->priv->sz; g_signal_parse_name ("transfer-canceled", MOSERIAL_TYPE_SEND_PROGRESS_DIALOG, &_tmp5_, NULL, FALSE); g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _moserial_szwrapper_transferCanceled_moserial_send_progress_dialog_transfer_canceled, _tmp4_); _tmp6_ = self->priv->sendProgressDialog; moserial_send_progress_dialog_hide (_tmp6_); } static void moserial_main_window_doReceiveChooser (moserialMainWindow* self, GtkToolButton* button) { gboolean _tmp0_ = FALSE; moserialReceiveChooserDialog* _tmp1_; DefaultPaths* _tmp2_; const gchar* _tmp3_; const gchar* _tmp4_; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); _tmp0_ = moserial_main_window_ensureConnected (self); if (!_tmp0_) { return; } _tmp1_ = self->priv->receiveChooserDialog; _tmp2_ = self->priv->currentPaths; _tmp3_ = default_paths_get_receiveTo (_tmp2_); _tmp4_ = _tmp3_; moserial_receive_chooser_dialog_show (_tmp1_, _tmp4_); } static void _moserial_receive_progress_dialog_updateStatus_moserial_rzwrapper_update_status (moserialRzwrapper* _sender, const gchar* newStatus, gpointer self) { moserial_receive_progress_dialog_updateStatus (self, _sender, newStatus); } static void _moserial_rzwrapper_transferCanceled_moserial_receive_progress_dialog_transfer_canceled (moserialReceiveProgressDialog* _sender, gpointer self) { moserial_rzwrapper_transferCanceled (self, _sender); } static void _moserial_main_window_receiveComplete_moserial_rzwrapper_transfer_complete (moserialRzwrapper* _sender, gpointer self) { moserial_main_window_receiveComplete (self, _sender); } static void moserial_main_window_doReceive (moserialMainWindow* self, moserialReceiveChooserDialog* dialog) { gchar* _tmp0_; gchar* filename; DefaultPaths* _tmp1_; moserialReceiveChooserDialog* _tmp2_; const gchar* _tmp3_; moserialReceiveChooserDialog* _tmp4_; GtkComboBox* _tmp5_; gint _tmp6_ = 0; moserialRzwrapperProtocol protocol = 0; moserialReceiveChooserDialog* _tmp11_; GtkComboBox* _tmp12_; gint _tmp13_ = 0; moserialRzwrapperProtocol _tmp14_; moserialSerialConnection* _tmp15_; moserialReceiveChooserDialog* _tmp16_; const gchar* _tmp17_; const gchar* _tmp18_; moserialRzwrapper* _tmp19_; moserialRzwrapper* _tmp20_; gboolean _tmp21_; g_return_if_fail (self != NULL); g_return_if_fail (dialog != NULL); _tmp0_ = g_strdup (""); filename = _tmp0_; _tmp1_ = self->priv->currentPaths; _tmp2_ = dialog; _tmp3_ = _tmp2_->path; default_paths_set_receiveTo (_tmp1_, _tmp3_); _tmp4_ = dialog; _tmp5_ = _tmp4_->protocolCombo; _tmp6_ = gtk_combo_box_get_active (_tmp5_); if (_tmp6_ == 0) { moserialXmodemFilenameDialog* _tmp7_; moserialXmodemFilenameDialog* _tmp8_; const gchar* _tmp9_; gchar* _tmp10_; _tmp7_ = self->priv->xmodemFilenameDialog; moserial_xmodem_filename_dialog_show (_tmp7_); _tmp8_ = self->priv->xmodemFilenameDialog; _tmp9_ = _tmp8_->filename; _tmp10_ = g_strdup (_tmp9_); _g_free0 (filename); filename = _tmp10_; } _tmp11_ = dialog; _tmp12_ = _tmp11_->protocolCombo; _tmp13_ = gtk_combo_box_get_active (_tmp12_); switch (_tmp13_) { case 0: { protocol = MOSERIAL_RZWRAPPER_PROTOCOL_XMODEM; break; } case 1: { protocol = MOSERIAL_RZWRAPPER_PROTOCOL_YMODEM; break; } default: case 2: { protocol = MOSERIAL_RZWRAPPER_PROTOCOL_ZMODEM; break; } } _tmp14_ = protocol; _tmp15_ = self->priv->serialConnection; _tmp16_ = dialog; _tmp17_ = _tmp16_->path; _tmp18_ = filename; _tmp19_ = moserial_rzwrapper_new (&_tmp14_, _tmp15_, _tmp17_, _tmp18_); _g_object_unref0 (self->priv->rz); self->priv->rz = _tmp19_; _tmp20_ = self->priv->rz; _tmp21_ = _tmp20_->running; if (_tmp21_) { moserialReceiveProgressDialog* _tmp22_; moserialRzwrapper* _tmp23_; moserialReceiveProgressDialog* _tmp24_; moserialReceiveProgressDialog* _tmp25_; moserialRzwrapper* _tmp26_; moserialRzwrapper* _tmp27_; _tmp22_ = self->priv->receiveProgressDialog; moserial_receive_progress_dialog_show (_tmp22_); _tmp23_ = self->priv->rz; _tmp24_ = self->priv->receiveProgressDialog; g_signal_connect_object (_tmp23_, "update-status", (GCallback) _moserial_receive_progress_dialog_updateStatus_moserial_rzwrapper_update_status, _tmp24_, 0); _tmp25_ = self->priv->receiveProgressDialog; _tmp26_ = self->priv->rz; g_signal_connect_object (_tmp25_, "transfer-canceled", (GCallback) _moserial_rzwrapper_transferCanceled_moserial_receive_progress_dialog_transfer_canceled, _tmp26_, 0); _tmp27_ = self->priv->rz; g_signal_connect_object (_tmp27_, "transfer-complete", (GCallback) _moserial_main_window_receiveComplete_moserial_rzwrapper_transfer_complete, self, 0); } _g_free0 (filename); } void moserial_main_window_receiveComplete (moserialMainWindow* self, GObject* o) { moserialRzwrapper* _tmp0_; moserialReceiveProgressDialog* _tmp1_; guint _tmp2_ = 0U; moserialReceiveProgressDialog* _tmp3_; moserialRzwrapper* _tmp4_; guint _tmp5_ = 0U; moserialReceiveProgressDialog* _tmp6_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); _tmp0_ = self->priv->rz; _tmp1_ = self->priv->receiveProgressDialog; g_signal_parse_name ("update-status", MOSERIAL_TYPE_RZWRAPPER, &_tmp2_, NULL, FALSE); g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _moserial_receive_progress_dialog_updateStatus_moserial_rzwrapper_update_status, _tmp1_); _tmp3_ = self->priv->receiveProgressDialog; _tmp4_ = self->priv->rz; g_signal_parse_name ("transfer-canceled", MOSERIAL_TYPE_RECEIVE_PROGRESS_DIALOG, &_tmp5_, NULL, FALSE); g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _moserial_rzwrapper_transferCanceled_moserial_receive_progress_dialog_transfer_canceled, _tmp4_); _tmp6_ = self->priv->receiveProgressDialog; moserial_receive_progress_dialog_hide (_tmp6_); } void moserial_main_window_record (moserialMainWindow* self, GtkToggleToolButton* button) { GtkToggleToolButton* _tmp0_; gboolean _tmp1_ = FALSE; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); _tmp0_ = button; _tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_); if (_tmp1_) { gboolean _tmp2_ = FALSE; GtkToggleToolButton* _tmp4_; GtkLabel* _tmp5_; moserialRecordDialog* _tmp6_; DefaultPaths* _tmp7_; const gchar* _tmp8_; const gchar* _tmp9_; _tmp2_ = moserial_main_window_ensureConnected (self); if (!_tmp2_) { GtkToggleToolButton* _tmp3_; _tmp3_ = button; gtk_toggle_tool_button_set_active (_tmp3_, FALSE); return; } _tmp4_ = button; _tmp5_ = self->priv->stopRecordingLabel; gtk_tool_button_set_label_widget ((GtkToolButton*) _tmp4_, (GtkWidget*) _tmp5_); _tmp6_ = self->priv->recordDialog; _tmp7_ = self->priv->currentPaths; _tmp8_ = default_paths_get_recordTo (_tmp7_); _tmp9_ = _tmp8_; moserial_record_dialog_show (_tmp6_, _tmp9_); } else { moserialSerialStreamRecorder* _tmp10_; Preferences* _tmp11_; gboolean _tmp12_; gboolean _tmp13_; GtkToggleToolButton* _tmp14_; GtkLabel* _tmp15_; guint _tmp16_; _tmp10_ = self->priv->streamRecorder; _tmp11_ = self->priv->currentPreferences; _tmp12_ = preferences_get_recordLaunch (_tmp11_); _tmp13_ = _tmp12_; moserial_serial_stream_recorder_close (_tmp10_, _tmp13_); _tmp14_ = button; _tmp15_ = self->priv->recordLabel; gtk_tool_button_set_label_widget ((GtkToolButton*) _tmp14_, (GtkWidget*) _tmp15_); moserial_main_window_setWindowTitle (self, NULL); _tmp16_ = self->priv->recordTimeoutID; if (_tmp16_ > ((guint) 0)) { guint _tmp17_; _tmp17_ = self->priv->recordTimeoutID; g_source_remove (_tmp17_); self->priv->recordTimeoutID = (guint) 0; } } } void moserial_main_window_stopRecording (moserialMainWindow* self, moserialRecordDialog* dialog) { GtkToggleToolButton* _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (dialog != NULL); _tmp0_ = self->priv->recordButton; gtk_toggle_tool_button_set_active (_tmp0_, FALSE); } void moserial_main_window_startRecording (moserialMainWindow* self, moserialRecordDialog* dialog, const gchar* filename, moserialSerialStreamRecorderDirection direction) { GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); g_return_if_fail (dialog != NULL); g_return_if_fail (filename != NULL); { moserialSerialStreamRecorder* _tmp0_; const gchar* _tmp1_; moserialSerialStreamRecorderDirection _tmp2_; DefaultPaths* _tmp3_; const gchar* _tmp4_; gchar* _tmp5_ = NULL; gchar* _tmp6_; gboolean _tmp7_ = FALSE; const gchar* _tmp9_; _tmp0_ = self->priv->streamRecorder; _tmp1_ = filename; _tmp2_ = direction; moserial_serial_stream_recorder_open (_tmp0_, _tmp1_, _tmp2_, &_inner_error_); if (_inner_error_ != NULL) { goto __catch3_g_error; } _tmp3_ = self->priv->currentPaths; _tmp4_ = filename; _tmp5_ = mo_utils_getParentFolder (_tmp4_); _tmp6_ = _tmp5_; default_paths_set_recordTo (_tmp3_, _tmp6_); _g_free0 (_tmp6_); _tmp7_ = moserial_main_window_ensureConnected (self); if (!_tmp7_) { moserialRecordDialog* _tmp8_; _tmp8_ = dialog; moserial_main_window_stopRecording (self, _tmp8_); } _tmp9_ = filename; moserial_main_window_setWindowTitle (self, _tmp9_); } goto __finally3; __catch3_g_error: { GError* e = NULL; GtkWindow* _tmp10_; const gchar* _tmp11_ = NULL; const gchar* _tmp12_; GError* _tmp13_; const gchar* _tmp14_; GtkMessageDialog* _tmp15_; GtkMessageDialog* _tmp16_; GtkMessageDialog* errorDialog; GtkMessageDialog* _tmp17_; GtkMessageDialog* _tmp18_; moserialRecordDialog* _tmp19_; e = _inner_error_; _inner_error_ = NULL; _tmp10_ = self->priv->gtkWindow; _tmp11_ = _ ("Error: Could not open file"); _tmp12_ = filename; _tmp13_ = e; _tmp14_ = _tmp13_->message; _tmp15_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp10_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s: %s\n%s", _tmp11_, _tmp12_, _tmp14_); _tmp16_ = g_object_ref_sink (_tmp15_); errorDialog = _tmp16_; _tmp17_ = errorDialog; gtk_dialog_run ((GtkDialog*) _tmp17_); _tmp18_ = errorDialog; gtk_widget_destroy ((GtkWidget*) _tmp18_); _tmp19_ = dialog; moserial_main_window_stopRecording (self, _tmp19_); _g_object_unref0 (errorDialog); _g_error_free0 (e); } __finally3: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } gboolean moserial_main_window_recordTimeout (moserialMainWindow* self) { gboolean result = FALSE; GtkToggleToolButton* _tmp0_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->recordButton; gtk_toggle_tool_button_set_active (_tmp0_, FALSE); result = FALSE; return result; } void moserial_main_window_showWindow (moserialMainWindow* self) { GtkWindow* _tmp0_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->gtkWindow; gtk_widget_show_all ((GtkWidget*) _tmp0_); } static void moserial_main_window_updateSettings (moserialMainWindow* self, moserialSettingsDialog* d, Settings* newSettings) { Settings* _tmp0_; Settings* _tmp1_; GtkStatusbar* _tmp2_; guint _tmp3_; GtkStatusbar* _tmp4_; guint _tmp5_; Settings* _tmp6_; gchar* _tmp7_ = NULL; gchar* _tmp8_; g_return_if_fail (self != NULL); g_return_if_fail (d != NULL); g_return_if_fail (newSettings != NULL); _tmp0_ = newSettings; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->currentSettings); self->priv->currentSettings = _tmp1_; _tmp2_ = self->priv->statusbar; _tmp3_ = self->priv->statusbarContext; gtk_statusbar_pop (_tmp2_, _tmp3_); _tmp4_ = self->priv->statusbar; _tmp5_ = self->priv->statusbarContext; _tmp6_ = self->priv->currentSettings; _tmp7_ = settings_getStatusbarString (_tmp6_, FALSE); _tmp8_ = _tmp7_; gtk_statusbar_push (_tmp4_, _tmp5_, _tmp8_); _g_free0 (_tmp8_); self->priv->profileChanged = TRUE; } static void moserial_main_window_updatePreferences (moserialMainWindow* self, moserialPreferencesDialog* d, Preferences* newPreferences) { Preferences* _tmp0_; Preferences* _tmp1_; gchar* font = NULL; Preferences* _tmp2_; gboolean _tmp3_; gboolean _tmp4_; GtkTextView* _tmp10_; const gchar* _tmp11_; PangoFontDescription* _tmp12_ = NULL; PangoFontDescription* _tmp13_; GtkTextView* _tmp14_; Preferences* _tmp15_; const gchar* _tmp16_; const gchar* _tmp17_; GdkColor _tmp18_ = {0}; GtkTextView* _tmp19_; Preferences* _tmp20_; const gchar* _tmp21_; const gchar* _tmp22_; GdkColor _tmp23_ = {0}; GtkTextTag* _tmp24_; Preferences* _tmp25_; const gchar* _tmp26_; const gchar* _tmp27_; GtkTextView* _tmp28_; const gchar* _tmp29_; PangoFontDescription* _tmp30_ = NULL; PangoFontDescription* _tmp31_; GtkTextView* _tmp32_; Preferences* _tmp33_; const gchar* _tmp34_; const gchar* _tmp35_; GdkColor _tmp36_ = {0}; GtkTextView* _tmp37_; Preferences* _tmp38_; const gchar* _tmp39_; const gchar* _tmp40_; GdkColor _tmp41_ = {0}; moserialHexTextBuffer* _tmp42_; Preferences* _tmp43_; GtkTextView* _tmp44_; const gchar* _tmp45_; PangoFontDescription* _tmp46_ = NULL; PangoFontDescription* _tmp47_; GtkTextView* _tmp48_; Preferences* _tmp49_; const gchar* _tmp50_; const gchar* _tmp51_; GdkColor _tmp52_ = {0}; GtkTextView* _tmp53_; Preferences* _tmp54_; const gchar* _tmp55_; const gchar* _tmp56_; GdkColor _tmp57_ = {0}; GtkTextView* _tmp58_; const gchar* _tmp59_; PangoFontDescription* _tmp60_ = NULL; PangoFontDescription* _tmp61_; GtkTextView* _tmp62_; Preferences* _tmp63_; const gchar* _tmp64_; const gchar* _tmp65_; GdkColor _tmp66_ = {0}; GtkTextView* _tmp67_; Preferences* _tmp68_; const gchar* _tmp69_; const gchar* _tmp70_; GdkColor _tmp71_ = {0}; moserialHexTextBuffer* _tmp72_; Preferences* _tmp73_; GtkEntry* _tmp74_; const gchar* _tmp75_; PangoFontDescription* _tmp76_ = NULL; PangoFontDescription* _tmp77_; GtkEntry* _tmp78_; Preferences* _tmp79_; const gchar* _tmp80_; const gchar* _tmp81_; GdkColor _tmp82_ = {0}; GtkEntry* _tmp83_; Preferences* _tmp84_; const gchar* _tmp85_; const gchar* _tmp86_; GdkColor _tmp87_ = {0}; g_return_if_fail (self != NULL); g_return_if_fail (newPreferences != NULL); _tmp0_ = newPreferences; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->currentPreferences); self->priv->currentPreferences = _tmp1_; _tmp2_ = self->priv->currentPreferences; _tmp3_ = preferences_get_useSystemMonospaceFont (_tmp2_); _tmp4_ = _tmp3_; if (_tmp4_) { gchar* _tmp5_ = NULL; _tmp5_ = preferences_getSystemDefaultMonospaceFont (); _g_free0 (font); font = _tmp5_; } else { Preferences* _tmp6_; const gchar* _tmp7_; const gchar* _tmp8_; gchar* _tmp9_; _tmp6_ = self->priv->currentPreferences; _tmp7_ = preferences_get_font (_tmp6_); _tmp8_ = _tmp7_; _tmp9_ = g_strdup (_tmp8_); _g_free0 (font); font = _tmp9_; } _tmp10_ = self->priv->incomingAsciiTextView; _tmp11_ = font; _tmp12_ = pango_font_description_from_string (_tmp11_); _tmp13_ = _tmp12_; gtk_widget_modify_font ((GtkWidget*) _tmp10_, _tmp13_); _pango_font_description_free0 (_tmp13_); _tmp14_ = self->priv->incomingAsciiTextView; _tmp15_ = self->priv->currentPreferences; _tmp16_ = preferences_get_fontColor (_tmp15_); _tmp17_ = _tmp16_; preferences_getGdkColor (_tmp17_, &_tmp18_); gtk_widget_modify_text ((GtkWidget*) _tmp14_, GTK_STATE_NORMAL, &_tmp18_); _tmp19_ = self->priv->incomingAsciiTextView; _tmp20_ = self->priv->currentPreferences; _tmp21_ = preferences_get_backgroundColor (_tmp20_); _tmp22_ = _tmp21_; preferences_getGdkColor (_tmp22_, &_tmp23_); gtk_widget_modify_base ((GtkWidget*) _tmp19_, GTK_STATE_NORMAL, &_tmp23_); _tmp24_ = self->priv->echoTag; _tmp25_ = self->priv->currentPreferences; _tmp26_ = preferences_get_highlightColor (_tmp25_); _tmp27_ = _tmp26_; g_object_set (_tmp24_, "foreground", _tmp27_, NULL); _tmp28_ = self->priv->incomingHexTextView; _tmp29_ = font; _tmp30_ = pango_font_description_from_string (_tmp29_); _tmp31_ = _tmp30_; gtk_widget_modify_font ((GtkWidget*) _tmp28_, _tmp31_); _pango_font_description_free0 (_tmp31_); _tmp32_ = self->priv->incomingHexTextView; _tmp33_ = self->priv->currentPreferences; _tmp34_ = preferences_get_fontColor (_tmp33_); _tmp35_ = _tmp34_; preferences_getGdkColor (_tmp35_, &_tmp36_); gtk_widget_modify_text ((GtkWidget*) _tmp32_, GTK_STATE_NORMAL, &_tmp36_); _tmp37_ = self->priv->incomingHexTextView; _tmp38_ = self->priv->currentPreferences; _tmp39_ = preferences_get_backgroundColor (_tmp38_); _tmp40_ = _tmp39_; preferences_getGdkColor (_tmp40_, &_tmp41_); gtk_widget_modify_base ((GtkWidget*) _tmp37_, GTK_STATE_NORMAL, &_tmp41_); _tmp42_ = self->priv->incomingHexTextBuffer; _tmp43_ = self->priv->currentPreferences; moserial_hex_text_buffer_applyPreferences (_tmp42_, _tmp43_); _tmp44_ = self->priv->outgoingAsciiTextView; _tmp45_ = font; _tmp46_ = pango_font_description_from_string (_tmp45_); _tmp47_ = _tmp46_; gtk_widget_modify_font ((GtkWidget*) _tmp44_, _tmp47_); _pango_font_description_free0 (_tmp47_); _tmp48_ = self->priv->outgoingAsciiTextView; _tmp49_ = self->priv->currentPreferences; _tmp50_ = preferences_get_fontColor (_tmp49_); _tmp51_ = _tmp50_; preferences_getGdkColor (_tmp51_, &_tmp52_); gtk_widget_modify_text ((GtkWidget*) _tmp48_, GTK_STATE_NORMAL, &_tmp52_); _tmp53_ = self->priv->outgoingAsciiTextView; _tmp54_ = self->priv->currentPreferences; _tmp55_ = preferences_get_backgroundColor (_tmp54_); _tmp56_ = _tmp55_; preferences_getGdkColor (_tmp56_, &_tmp57_); gtk_widget_modify_base ((GtkWidget*) _tmp53_, GTK_STATE_NORMAL, &_tmp57_); _tmp58_ = self->priv->outgoingHexTextView; _tmp59_ = font; _tmp60_ = pango_font_description_from_string (_tmp59_); _tmp61_ = _tmp60_; gtk_widget_modify_font ((GtkWidget*) _tmp58_, _tmp61_); _pango_font_description_free0 (_tmp61_); _tmp62_ = self->priv->outgoingHexTextView; _tmp63_ = self->priv->currentPreferences; _tmp64_ = preferences_get_fontColor (_tmp63_); _tmp65_ = _tmp64_; preferences_getGdkColor (_tmp65_, &_tmp66_); gtk_widget_modify_text ((GtkWidget*) _tmp62_, GTK_STATE_NORMAL, &_tmp66_); _tmp67_ = self->priv->outgoingHexTextView; _tmp68_ = self->priv->currentPreferences; _tmp69_ = preferences_get_backgroundColor (_tmp68_); _tmp70_ = _tmp69_; preferences_getGdkColor (_tmp70_, &_tmp71_); gtk_widget_modify_base ((GtkWidget*) _tmp67_, GTK_STATE_NORMAL, &_tmp71_); _tmp72_ = self->priv->outgoingHexTextBuffer; _tmp73_ = self->priv->currentPreferences; moserial_hex_text_buffer_applyPreferences (_tmp72_, _tmp73_); _tmp74_ = self->priv->entry; _tmp75_ = font; _tmp76_ = pango_font_description_from_string (_tmp75_); _tmp77_ = _tmp76_; gtk_widget_modify_font ((GtkWidget*) _tmp74_, _tmp77_); _pango_font_description_free0 (_tmp77_); _tmp78_ = self->priv->entry; _tmp79_ = self->priv->currentPreferences; _tmp80_ = preferences_get_fontColor (_tmp79_); _tmp81_ = _tmp80_; preferences_getGdkColor (_tmp81_, &_tmp82_); gtk_widget_modify_text ((GtkWidget*) _tmp78_, GTK_STATE_NORMAL, &_tmp82_); _tmp83_ = self->priv->entry; _tmp84_ = self->priv->currentPreferences; _tmp85_ = preferences_get_backgroundColor (_tmp84_); _tmp86_ = _tmp85_; preferences_getGdkColor (_tmp86_, &_tmp87_); gtk_widget_modify_base ((GtkWidget*) _tmp83_, GTK_STATE_NORMAL, &_tmp87_); self->priv->profileChanged = TRUE; _g_free0 (font); } static void moserial_main_window_showSettingsDialog (moserialMainWindow* self, GObject* o) { moserialSettingsDialog* _tmp0_; Settings* _tmp1_; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); _tmp0_ = self->priv->settingsDialog; _tmp1_ = self->priv->currentSettings; moserial_settings_dialog_show (_tmp0_, _tmp1_); } static void moserial_main_window_showPreferencesDialog (moserialMainWindow* self, GObject* o) { moserialPreferencesDialog* _tmp0_; Preferences* _tmp1_; GtkToggleToolButton* _tmp2_; gboolean _tmp3_ = FALSE; g_return_if_fail (self != NULL); g_return_if_fail (o != NULL); _tmp0_ = self->priv->preferencesDialog; _tmp1_ = self->priv->currentPreferences; _tmp2_ = self->priv->recordButton; _tmp3_ = gtk_toggle_tool_button_get_active (_tmp2_); moserial_preferences_dialog_show (_tmp0_, _tmp1_, _tmp3_); } gboolean moserial_main_window_ensureConnected (moserialMainWindow* self) { gboolean result = FALSE; GtkToggleToolButton* _tmp0_; gboolean _tmp1_ = FALSE; GtkToggleToolButton* _tmp3_; gboolean _tmp4_ = FALSE; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->connectButton; _tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_); if (!_tmp1_) { GtkToggleToolButton* _tmp2_; _tmp2_ = self->priv->connectButton; gtk_toggle_tool_button_set_active (_tmp2_, TRUE); } _tmp3_ = self->priv->connectButton; _tmp4_ = gtk_toggle_tool_button_get_active (_tmp3_); result = _tmp4_; return result; } void moserial_main_window_ensureDisconnected (moserialMainWindow* self) { GtkToggleToolButton* _tmp0_; gboolean _tmp1_ = FALSE; g_return_if_fail (self != NULL); _tmp0_ = self->priv->connectButton; _tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_); if (_tmp1_) { GtkToggleToolButton* _tmp2_; _tmp2_ = self->priv->connectButton; gtk_toggle_tool_button_set_active (_tmp2_, FALSE); } } static void _moserial_main_window_updateIncoming_moserial_serial_connection_new_data (moserialSerialConnection* _sender, guchar* data, int data_length1, gint size, gpointer self) { moserial_main_window_updateIncoming (self, _sender, data, data_length1, size); } static gboolean moserial_main_window_startConnection (moserialMainWindow* self) { gboolean result = FALSE; moserialSerialConnection* _tmp0_; Settings* _tmp1_; gboolean _tmp2_ = FALSE; moserialHexTextBuffer* _tmp13_; GtkTextBuffer* _tmp14_; moserialHexTextBuffer* _tmp15_; GtkTextBuffer* _tmp16_; GtkToolButton* _tmp17_; GtkStatusbar* _tmp18_; guint _tmp19_; GtkStatusbar* _tmp20_; guint _tmp21_; Settings* _tmp22_; gchar* _tmp23_ = NULL; gchar* _tmp24_; moserialSerialConnection* _tmp25_; GtkToggleToolButton* _tmp26_; GtkLabel* _tmp27_; g_return_val_if_fail (self != NULL, FALSE); _tmp0_ = self->priv->serialConnection; _tmp1_ = self->priv->currentSettings; _tmp2_ = moserial_serial_connection_doConnect (_tmp0_, _tmp1_); if (!_tmp2_) { GtkToggleToolButton* _tmp3_; GtkWindow* _tmp4_; const gchar* _tmp5_ = NULL; Settings* _tmp6_; const gchar* _tmp7_; const gchar* _tmp8_; GtkMessageDialog* _tmp9_; GtkMessageDialog* _tmp10_; GtkMessageDialog* dialog; GtkMessageDialog* _tmp11_; GtkMessageDialog* _tmp12_; _tmp3_ = self->priv->connectButton; gtk_toggle_tool_button_set_active (_tmp3_, FALSE); _tmp4_ = self->priv->gtkWindow; _tmp5_ = _ ("Error: Could not open device"); _tmp6_ = self->priv->currentSettings; _tmp7_ = settings_get_device (_tmp6_); _tmp8_ = _tmp7_; _tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp4_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s: %s", _tmp5_, _tmp8_); _tmp10_ = g_object_ref_sink (_tmp9_); dialog = _tmp10_; _tmp11_ = dialog; gtk_dialog_run ((GtkDialog*) _tmp11_); _tmp12_ = dialog; gtk_widget_destroy ((GtkWidget*) _tmp12_); result = FALSE; _g_object_unref0 (dialog); return result; } _tmp13_ = self->priv->incomingHexTextBuffer; moserial_hex_text_buffer_clear (_tmp13_); _tmp14_ = self->priv->incomingAsciiTextBuffer; gtk_text_buffer_set_text (_tmp14_, "", 0); _tmp15_ = self->priv->outgoingHexTextBuffer; moserial_hex_text_buffer_clear (_tmp15_); _tmp16_ = self->priv->outgoingAsciiTextBuffer; gtk_text_buffer_set_text (_tmp16_, "", 0); _tmp17_ = self->priv->settingsButton; gtk_widget_set_sensitive ((GtkWidget*) _tmp17_, FALSE); _tmp18_ = self->priv->statusbar; _tmp19_ = self->priv->statusbarContext; gtk_statusbar_pop (_tmp18_, _tmp19_); _tmp20_ = self->priv->statusbar; _tmp21_ = self->priv->statusbarContext; _tmp22_ = self->priv->currentSettings; _tmp23_ = settings_getStatusbarString (_tmp22_, TRUE); _tmp24_ = _tmp23_; gtk_statusbar_push (_tmp20_, _tmp21_, _tmp24_); _g_free0 (_tmp24_); _tmp25_ = self->priv->serialConnection; g_signal_connect_object (_tmp25_, "new-data", (GCallback) _moserial_main_window_updateIncoming_moserial_serial_connection_new_data, self, 0); _tmp26_ = self->priv->connectButton; _tmp27_ = self->priv->disconnectLabel; gtk_tool_button_set_label_widget ((GtkToolButton*) _tmp26_, (GtkWidget*) _tmp27_); result = TRUE; return result; } static void moserial_main_window_connectButtonClick (moserialMainWindow* self, GtkToggleToolButton* button) { GtkToggleToolButton* _tmp0_; gboolean _tmp1_ = FALSE; g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); _tmp0_ = button; _tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_); if (_tmp1_) { moserial_main_window_startConnection (self); } else { GtkToolButton* _tmp2_; moserialSerialConnection* _tmp3_; moserialSerialConnection* _tmp4_; guint _tmp5_ = 0U; GtkStatusbar* _tmp6_; guint _tmp7_; GtkStatusbar* _tmp8_; guint _tmp9_; moserialSerialConnection* _tmp10_; gchar* _tmp11_ = NULL; gchar* _tmp12_; GtkStatusbar* _tmp13_; guint _tmp14_; GtkStatusbar* _tmp15_; guint _tmp16_; Settings* _tmp17_; gchar* _tmp18_ = NULL; gchar* _tmp19_; GtkToggleToolButton* _tmp20_; GtkLabel* _tmp21_; GtkToggleToolButton* _tmp22_; gboolean _tmp23_ = FALSE; _tmp2_ = self->priv->settingsButton; gtk_widget_set_sensitive ((GtkWidget*) _tmp2_, TRUE); _tmp3_ = self->priv->serialConnection; moserial_serial_connection_doDisconnect (_tmp3_); _tmp4_ = self->priv->serialConnection; g_signal_parse_name ("new-data", MOSERIAL_TYPE_SERIAL_CONNECTION, &_tmp5_, NULL, FALSE); g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _moserial_main_window_updateIncoming_moserial_serial_connection_new_data, self); _tmp6_ = self->priv->bytecountbar; _tmp7_ = self->priv->bytecountbarContext; gtk_statusbar_pop (_tmp6_, _tmp7_); _tmp8_ = self->priv->bytecountbar; _tmp9_ = self->priv->bytecountbarContext; _tmp10_ = self->priv->serialConnection; _tmp11_ = moserial_serial_connection_getBytecountbarString (_tmp10_); _tmp12_ = _tmp11_; gtk_statusbar_push (_tmp8_, _tmp9_, _tmp12_); _g_free0 (_tmp12_); _tmp13_ = self->priv->statusbar; _tmp14_ = self->priv->statusbarContext; gtk_statusbar_pop (_tmp13_, _tmp14_); _tmp15_ = self->priv->statusbar; _tmp16_ = self->priv->statusbarContext; _tmp17_ = self->priv->currentSettings; _tmp18_ = settings_getStatusbarString (_tmp17_, FALSE); _tmp19_ = _tmp18_; gtk_statusbar_push (_tmp15_, _tmp16_, _tmp19_); _g_free0 (_tmp19_); _tmp20_ = button; _tmp21_ = self->priv->connectLabel; gtk_tool_button_set_label_widget ((GtkToolButton*) _tmp20_, (GtkWidget*) _tmp21_); _tmp22_ = self->priv->recordButton; _tmp23_ = gtk_toggle_tool_button_get_active (_tmp22_); if (_tmp23_) { GtkToggleToolButton* _tmp24_; _tmp24_ = self->priv->recordButton; gtk_toggle_tool_button_set_active (_tmp24_, FALSE); } } } static gboolean _moserial_main_window_recordTimeout_gsource_func (gpointer self) { gboolean result; result = moserial_main_window_recordTimeout (self); return result; } static void moserial_main_window_updateIncoming (moserialMainWindow* self, moserialSerialConnection* sc, guchar* data, int data_length1, gint size) { moserialRzwrapper* _tmp0_; gboolean _tmp1_; g_return_if_fail (self != NULL); g_return_if_fail (sc != NULL); _tmp0_ = self->priv->rz; _tmp1_ = _tmp0_->running; if (_tmp1_) { moserialRzwrapper* _tmp11_; { gint x; x = 0; { gboolean _tmp2_; _tmp2_ = TRUE; while (TRUE) { gboolean _tmp3_; gint _tmp5_; gint _tmp6_; moserialRzwrapper* _tmp7_; guchar* _tmp8_; gint _tmp8__length1; gint _tmp9_; guchar _tmp10_; _tmp3_ = _tmp2_; if (!_tmp3_) { gint _tmp4_; _tmp4_ = x; x = _tmp4_ + 1; } _tmp2_ = FALSE; _tmp5_ = x; _tmp6_ = size; if (!(_tmp5_ < _tmp6_)) { break; } _tmp7_ = self->priv->rz; _tmp8_ = data; _tmp8__length1 = data_length1; _tmp9_ = x; _tmp10_ = _tmp8_[_tmp9_]; moserial_rzwrapper_writeChar (_tmp7_, _tmp10_); } } } _tmp11_ = self->priv->rz; moserial_rzwrapper_flush (_tmp11_); } else { moserialSzwrapper* _tmp12_; gboolean _tmp13_; _tmp12_ = self->priv->sz; _tmp13_ = _tmp12_->running; if (_tmp13_) { { gint x; x = 0; { gboolean _tmp14_; _tmp14_ = TRUE; while (TRUE) { gboolean _tmp15_; gint _tmp17_; gint _tmp18_; moserialSzwrapper* _tmp19_; guchar* _tmp20_; gint _tmp20__length1; gint _tmp21_; guchar _tmp22_; _tmp15_ = _tmp14_; if (!_tmp15_) { gint _tmp16_; _tmp16_ = x; x = _tmp16_ + 1; } _tmp14_ = FALSE; _tmp17_ = x; _tmp18_ = size; if (!(_tmp17_ < _tmp18_)) { break; } _tmp19_ = self->priv->sz; _tmp20_ = data; _tmp20__length1 = data_length1; _tmp21_ = x; _tmp22_ = _tmp20_[_tmp21_]; moserial_szwrapper_writeChar (_tmp19_, _tmp22_); } } } } else { moserialSerialStreamRecorder* _tmp149_; guchar* _tmp150_; gint _tmp150__length1; { gint x; x = 0; { gboolean _tmp23_; _tmp23_ = TRUE; while (TRUE) { gboolean _tmp24_; gint _tmp26_; gint _tmp27_; moserialHexTextBuffer* _tmp28_; guchar* _tmp29_; gint _tmp29__length1; gint _tmp30_; guchar _tmp31_; guchar* _tmp32_; gint _tmp32__length1; gint _tmp33_; guchar _tmp34_; gchar* _tmp35_ = NULL; gchar* _tmp36_; gunichar _tmp37_ = 0U; gunichar _tmp38_; gunichar c; guchar* _tmp39_; gint _tmp39__length1; gint _tmp40_; guchar _tmp41_; gchar* _tmp42_ = NULL; gchar* s; moserialSerialConnection* _tmp43_; const gchar* _tmp44_; gint _tmp45_; gint _tmp46_; moserialSerialConnection* _tmp47_; const gchar* _tmp48_; gint _tmp49_; gint _tmp50_; gboolean _tmp56_ = FALSE; const gchar* _tmp57_; gboolean _tmp58_ = FALSE; gboolean _tmp65_; moserialSerialConnection* _tmp76_; gunichar _tmp77_; gboolean _tmp78_ = FALSE; moserialSerialConnection* _tmp79_; const gchar* _tmp80_; gint _tmp81_; gint _tmp82_; gboolean _tmp91_; gboolean _tmp108_ = FALSE; gboolean _tmp109_ = FALSE; gboolean _tmp110_ = FALSE; moserialSerialConnection* _tmp111_; gulong _tmp112_; gboolean _tmp115_; gboolean _tmp120_; gboolean _tmp123_; gboolean _tmp126_ = FALSE; Preferences* _tmp127_; gboolean _tmp128_; gboolean _tmp129_; gboolean _tmp132_; GtkStatusbar* _tmp142_; guint _tmp143_; GtkStatusbar* _tmp144_; guint _tmp145_; moserialSerialConnection* _tmp146_; gchar* _tmp147_ = NULL; gchar* _tmp148_; _tmp24_ = _tmp23_; if (!_tmp24_) { gint _tmp25_; _tmp25_ = x; x = _tmp25_ + 1; } _tmp23_ = FALSE; _tmp26_ = x; _tmp27_ = size; if (!(_tmp26_ < _tmp27_)) { break; } _tmp28_ = self->priv->incomingHexTextBuffer; _tmp29_ = data; _tmp29__length1 = data_length1; _tmp30_ = x; _tmp31_ = _tmp29_[_tmp30_]; moserial_hex_text_buffer_add (_tmp28_, _tmp31_); _tmp32_ = data; _tmp32__length1 = data_length1; _tmp33_ = x; _tmp34_ = _tmp32_[_tmp33_]; _tmp35_ = g_strdup_printf ("%c", (gint) _tmp34_); _tmp36_ = _tmp35_; _tmp37_ = string_get_char (_tmp36_, (glong) 0); _tmp38_ = _tmp37_; _g_free0 (_tmp36_); c = _tmp38_; _tmp39_ = data; _tmp39__length1 = data_length1; _tmp40_ = x; _tmp41_ = _tmp39_[_tmp40_]; _tmp42_ = g_strdup_printf ("%c", (gint) _tmp41_); s = _tmp42_; _tmp43_ = sc; _tmp44_ = _tmp43_->echoCompare; _tmp45_ = strlen (_tmp44_); _tmp46_ = _tmp45_; _tmp47_ = sc; _tmp48_ = _tmp47_->echoReference; _tmp49_ = strlen (_tmp48_); _tmp50_ = _tmp49_; if (_tmp46_ < _tmp50_) { moserialSerialConnection* _tmp51_; moserialSerialConnection* _tmp52_; const gchar* _tmp53_; const gchar* _tmp54_; gchar* _tmp55_; _tmp51_ = sc; _tmp52_ = sc; _tmp53_ = _tmp52_->echoCompare; _tmp54_ = s; _tmp55_ = g_strconcat (_tmp53_, _tmp54_, NULL); _g_free0 (_tmp52_->echoCompare); _tmp52_->echoCompare = _tmp55_; } _tmp57_ = s; _tmp58_ = g_utf8_validate (_tmp57_, (gssize) (-1), NULL); if (_tmp58_) { gboolean _tmp59_ = FALSE; gunichar _tmp60_; gboolean _tmp61_ = FALSE; gboolean _tmp64_; _tmp60_ = c; _tmp61_ = g_unichar_isprint (_tmp60_); if (_tmp61_) { _tmp59_ = TRUE; } else { gunichar _tmp62_; gboolean _tmp63_ = FALSE; _tmp62_ = c; _tmp63_ = g_unichar_isspace (_tmp62_); _tmp59_ = _tmp63_; } _tmp64_ = _tmp59_; _tmp56_ = _tmp64_; } else { _tmp56_ = FALSE; } _tmp65_ = _tmp56_; if (_tmp65_) { gboolean _tmp66_ = FALSE; moserialSerialConnection* _tmp67_; gboolean _tmp68_; gboolean _tmp70_; _tmp67_ = sc; _tmp68_ = _tmp67_->lastRxCharWasCR; if (_tmp68_) { gunichar _tmp69_; _tmp69_ = c; _tmp66_ = _tmp69_ == ((gunichar) '\n'); } else { _tmp66_ = FALSE; } _tmp70_ = _tmp66_; if (!_tmp70_) { GtkTextBuffer* _tmp71_; const gchar* _tmp72_; _tmp71_ = self->priv->incomingAsciiTextBuffer; _tmp72_ = s; moserial_main_window_insertBufferEnd (self, _tmp71_, _tmp72_); } } else { moserialSerialConnection* _tmp73_; moserialSerialConnection* _tmp74_; gulong _tmp75_; _tmp73_ = sc; _tmp74_ = sc; _tmp75_ = _tmp74_->nonprintable; _tmp74_->nonprintable = _tmp75_ + 1; } _tmp76_ = sc; _tmp77_ = c; _tmp76_->lastRxCharWasCR = _tmp77_ == ((gunichar) '\r'); _tmp79_ = sc; _tmp80_ = _tmp79_->echoCompare; _tmp81_ = strlen (_tmp80_); _tmp82_ = _tmp81_; if (_tmp82_ > 0) { moserialSerialConnection* _tmp83_; const gchar* _tmp84_; gint _tmp85_; gint _tmp86_; moserialSerialConnection* _tmp87_; const gchar* _tmp88_; gint _tmp89_; gint _tmp90_; _tmp83_ = sc; _tmp84_ = _tmp83_->echoCompare; _tmp85_ = strlen (_tmp84_); _tmp86_ = _tmp85_; _tmp87_ = sc; _tmp88_ = _tmp87_->echoReference; _tmp89_ = strlen (_tmp88_); _tmp90_ = _tmp89_; _tmp78_ = _tmp86_ == _tmp90_; } else { _tmp78_ = FALSE; } _tmp91_ = _tmp78_; if (_tmp91_) { moserialSerialConnection* _tmp92_; const gchar* _tmp93_; moserialSerialConnection* _tmp94_; const gchar* _tmp95_; moserialSerialConnection* _tmp104_; gchar* _tmp105_; moserialSerialConnection* _tmp106_; gchar* _tmp107_; _tmp92_ = sc; _tmp93_ = _tmp92_->echoCompare; _tmp94_ = sc; _tmp95_ = _tmp94_->echoReference; if (g_strcmp0 (_tmp93_, _tmp95_) == 0) { GtkTextIter echoStartIter = {0}; GtkTextIter echoStopIter = {0}; GtkTextBuffer* _tmp96_; GtkTextMark* _tmp97_; GtkTextIter _tmp98_ = {0}; GtkTextBuffer* _tmp99_; GtkTextIter _tmp100_ = {0}; GtkTextBuffer* _tmp101_; GtkTextIter _tmp102_; GtkTextIter _tmp103_; _tmp96_ = self->priv->incomingAsciiTextBuffer; _tmp97_ = self->priv->echoStartMark; gtk_text_buffer_get_iter_at_mark (_tmp96_, &_tmp98_, _tmp97_); echoStartIter = _tmp98_; _tmp99_ = self->priv->incomingAsciiTextBuffer; gtk_text_buffer_get_end_iter (_tmp99_, &_tmp100_); echoStopIter = _tmp100_; _tmp101_ = self->priv->incomingAsciiTextBuffer; _tmp102_ = echoStartIter; _tmp103_ = echoStopIter; gtk_text_buffer_apply_tag_by_name (_tmp101_, "echo", &_tmp102_, &_tmp103_); } _tmp104_ = sc; _tmp105_ = g_strdup (""); _g_free0 (_tmp104_->echoCompare); _tmp104_->echoCompare = _tmp105_; _tmp106_ = sc; _tmp107_ = g_strdup (""); _g_free0 (_tmp106_->echoReference); _tmp106_->echoReference = _tmp107_; } _tmp111_ = sc; _tmp112_ = _tmp111_->rx; if (_tmp112_ > ((gulong) 32)) { moserialSerialConnection* _tmp113_; gulong _tmp114_; _tmp113_ = sc; _tmp114_ = _tmp113_->nonprintable; _tmp110_ = _tmp114_ > ((gulong) 0); } else { _tmp110_ = FALSE; } _tmp115_ = _tmp110_; if (_tmp115_) { moserialSerialConnection* _tmp116_; gulong _tmp117_; moserialSerialConnection* _tmp118_; gulong _tmp119_; _tmp116_ = sc; _tmp117_ = _tmp116_->rx; _tmp118_ = sc; _tmp119_ = _tmp118_->nonprintable; _tmp109_ = (_tmp117_ / _tmp119_) < ((gulong) 4); } else { _tmp109_ = FALSE; } _tmp120_ = _tmp109_; if (_tmp120_) { moserialSerialConnection* _tmp121_; gboolean _tmp122_; _tmp121_ = sc; _tmp122_ = _tmp121_->forced_hex_view; _tmp108_ = !_tmp122_; } else { _tmp108_ = FALSE; } _tmp123_ = _tmp108_; if (_tmp123_) { moserialSerialConnection* _tmp124_; GtkNotebook* _tmp125_; _tmp124_ = sc; _tmp124_->forced_hex_view = TRUE; _tmp125_ = self->priv->incoming_notebook; gtk_notebook_set_current_page (_tmp125_, 1); } _tmp127_ = self->priv->currentPreferences; _tmp128_ = preferences_get_enableTimeout (_tmp127_); _tmp129_ = _tmp128_; if (_tmp129_) { GtkToggleToolButton* _tmp130_; gboolean _tmp131_ = FALSE; _tmp130_ = self->priv->recordButton; _tmp131_ = gtk_toggle_tool_button_get_active (_tmp130_); _tmp126_ = _tmp131_; } else { _tmp126_ = FALSE; } _tmp132_ = _tmp126_; if (_tmp132_) { guint _tmp133_; Preferences* _tmp135_; gint _tmp136_; gint _tmp137_; _tmp133_ = self->priv->recordTimeoutID; if (_tmp133_ > ((guint) 0)) { guint _tmp134_; _tmp134_ = self->priv->recordTimeoutID; g_source_remove (_tmp134_); } _tmp135_ = self->priv->currentPreferences; _tmp136_ = preferences_get_timeout (_tmp135_); _tmp137_ = _tmp136_; if (_tmp137_ > 0) { Preferences* _tmp138_; gint _tmp139_; gint _tmp140_; guint _tmp141_ = 0U; _tmp138_ = self->priv->currentPreferences; _tmp139_ = preferences_get_timeout (_tmp138_); _tmp140_ = _tmp139_; _tmp141_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) _tmp140_, _moserial_main_window_recordTimeout_gsource_func, g_object_ref (self), g_object_unref); self->priv->recordTimeoutID = _tmp141_; } } self->priv->recordDataReceived = TRUE; _tmp142_ = self->priv->bytecountbar; _tmp143_ = self->priv->bytecountbarContext; gtk_statusbar_pop (_tmp142_, _tmp143_); _tmp144_ = self->priv->bytecountbar; _tmp145_ = self->priv->bytecountbarContext; _tmp146_ = sc; _tmp147_ = moserial_serial_connection_getBytecountbarString (_tmp146_); _tmp148_ = _tmp147_; gtk_statusbar_push (_tmp144_, _tmp145_, _tmp148_); _g_free0 (_tmp148_); _g_free0 (s); } } } _tmp149_ = self->priv->streamRecorder; _tmp150_ = data; _tmp150__length1 = data_length1; moserial_serial_stream_recorder_writeIncoming (_tmp149_, _tmp150_, _tmp150__length1); } } } static void moserial_main_window_inputModeChanged (moserialMainWindow* self, GtkComboBox* inputModeCombo) { GtkComboBox* _tmp0_; gint _tmp1_ = 0; g_return_if_fail (self != NULL); g_return_if_fail (inputModeCombo != NULL); _tmp0_ = inputModeCombo; _tmp1_ = gtk_combo_box_get_active (_tmp0_); if (_tmp1_ == ((gint) MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_HEX)) { GtkNotebook* _tmp2_; _tmp2_ = self->priv->outgoing_notebook; gtk_notebook_set_current_page (_tmp2_, 1); } else { GtkNotebook* _tmp3_; _tmp3_ = self->priv->outgoing_notebook; gtk_notebook_set_current_page (_tmp3_, 0); } } static void moserial_main_window_showHelpButton (moserialMainWindow* self, GtkToolButton* button) { g_return_if_fail (self != NULL); g_return_if_fail (button != NULL); moserial_main_window_showHelp (self); } static void moserial_main_window_showHelpAction (moserialMainWindow* self) { g_return_if_fail (self != NULL); moserial_main_window_showHelp (self); } static void moserial_main_window_showHelp (moserialMainWindow* self) { GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); { gtk_show_uri (NULL, "ghelp:moserial", (guint32) GDK_CURRENT_TIME, &_inner_error_); if (_inner_error_ != NULL) { goto __catch4_g_error; } } goto __finally4; __catch4_g_error: { GError* e = NULL; const gchar* _tmp0_ = NULL; GError* _tmp1_; const gchar* _tmp2_; e = _inner_error_; _inner_error_ = NULL; _tmp0_ = _ ("Unable to display help file: %s"); _tmp1_ = e; _tmp2_ = _tmp1_->message; g_warning (_tmp0_, _tmp2_); _g_error_free0 (e); } __finally4: if (_inner_error_ != NULL) { g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } } static void moserial_main_window_showAboutDialog (moserialMainWindow* self) { const gchar* _tmp0_; gchar* _tmp1_; gchar* _tmp2_; const gchar* _tmp3_; gchar* _tmp4_; gchar* _tmp5_; gchar* _tmp6_; gchar* _tmp7_; const gchar* _tmp8_; gchar* _tmp9_; gchar* _tmp10_; gchar* license_trans; GtkWindow* _tmp11_; const gchar* _tmp12_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = MOSERIAL_MAIN_WINDOW_license[0]; _tmp1_ = g_strconcat (_tmp0_, "\n", NULL); _tmp2_ = _tmp1_; _tmp3_ = MOSERIAL_MAIN_WINDOW_license[1]; _tmp4_ = g_strconcat (_tmp2_, _tmp3_, NULL); _tmp5_ = _tmp4_; _tmp6_ = g_strconcat (_tmp5_, "\n", NULL); _tmp7_ = _tmp6_; _tmp8_ = MOSERIAL_MAIN_WINDOW_license[2]; _tmp9_ = g_strconcat (_tmp7_, _tmp8_, NULL); _tmp10_ = _tmp9_; _g_free0 (_tmp7_); _g_free0 (_tmp5_); _g_free0 (_tmp2_); license_trans = _tmp10_; _tmp11_ = self->priv->gtkWindow; _tmp12_ = _ ("A serial terminal for the GNOME desktop, optimized for logging and fil" \ "e capture."); gtk_show_about_dialog (_tmp11_, "version", VERSION, "copyright", "Copyright © 2009-2012\nMichael J. Chudobiak\n", "comments", _tmp12_, "authors", MOSERIAL_MAIN_WINDOW_authors, "translator-credits", MOSERIAL_MAIN_WINDOW_translators, "logo-icon-name", "moserial", "wrap-license", TRUE, "license", license_trans, "website", "http://live.gnome.org/moserial", "website_label", "http://live.gnome.org/moserial", NULL, NULL); _g_free0 (license_trans); } static void moserial_main_window_quitSizeSave (moserialMainWindow* self) { g_return_if_fail (self != NULL); moserial_main_window_windowSizeSave (self); moserial_main_window_quitSave (self); } static gboolean moserial_main_window_deleteSaveSize (moserialMainWindow* self) { gboolean result = FALSE; g_return_val_if_fail (self != NULL, FALSE); moserial_main_window_windowSizeSave (self); moserial_main_window_quitSave (self); gtk_main_quit (); result = TRUE; return result; } static gboolean moserial_main_window_keyPress (moserialMainWindow* self, GtkWidget* widget, GdkEventKey* key) { gboolean result = FALSE; GdkEventKey _tmp0_; guint _tmp1_; guint _tmp2_ = 0U; g_return_val_if_fail (self != NULL, FALSE); g_return_val_if_fail (widget != NULL, FALSE); g_return_val_if_fail (key != NULL, FALSE); _tmp0_ = *key; _tmp1_ = _tmp0_.keyval; _tmp2_ = gdk_keyval_from_name ("Escape"); if (_tmp1_ == _tmp2_) { GtkAdjustment* _tmp3_; GtkAdjustment* _tmp4_; GtkAdjustment* _tmp5_; GtkAdjustment* _tmp6_; GtkEntry* _tmp7_; GtkEntry* _tmp8_; _tmp3_ = self->priv->va1; moserial_auto_scroll_scroll (_tmp3_); _tmp4_ = self->priv->va2; moserial_auto_scroll_scroll (_tmp4_); _tmp5_ = self->priv->va3; moserial_auto_scroll_scroll (_tmp5_); _tmp6_ = self->priv->va4; moserial_auto_scroll_scroll (_tmp6_); _tmp7_ = self->priv->entry; gtk_widget_grab_focus ((GtkWidget*) _tmp7_); _tmp8_ = self->priv->entry; gtk_editable_set_position ((GtkEditable*) _tmp8_, -1); result = TRUE; return result; } result = FALSE; return result; } static void moserial_main_window_windowSizeSave (moserialMainWindow* self) { gint width; gint height; GtkPaned* _tmp0_; gint _tmp1_ = 0; gint pos; GtkWindow* _tmp2_; gint _tmp3_ = 0; gint _tmp4_ = 0; Profile* _tmp5_; gint _tmp6_; gint _tmp7_; Profile* _tmp8_; g_return_if_fail (self != NULL); width = 0; height = 0; _tmp0_ = self->priv->paned; _tmp1_ = gtk_paned_get_position (_tmp0_); pos = _tmp1_; _tmp2_ = self->priv->gtkWindow; gtk_window_get_size (_tmp2_, &_tmp3_, &_tmp4_); width = _tmp3_; height = _tmp4_; _tmp5_ = self->priv->profile; _tmp6_ = width; _tmp7_ = height; profile_saveWindowSize (_tmp5_, _tmp6_, _tmp7_); _tmp8_ = self->priv->profile; profile_saveWindowPanedPosition (_tmp8_, pos); } static void moserial_main_window_quitSave (moserialMainWindow* self) { Preferences* _tmp0_; Profile* _tmp1_; Settings* _tmp2_; Profile* _tmp3_; DefaultPaths* _tmp4_; Profile* _tmp5_; const gchar* _tmp6_; Profile* _tmp16_; GtkWindow* _tmp17_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->currentPreferences; _tmp1_ = self->priv->profile; preferences_saveToProfile (_tmp0_, _tmp1_); _tmp2_ = self->priv->currentSettings; _tmp3_ = self->priv->profile; settings_saveToProfile (_tmp2_, _tmp3_); _tmp4_ = self->priv->currentPaths; _tmp5_ = self->priv->profile; default_paths_saveToProfile (_tmp4_, _tmp5_); _tmp6_ = self->priv->profileFilename; if (_tmp6_ != NULL) { gboolean _tmp7_; _tmp7_ = self->priv->profileChanged; if (_tmp7_) { GtkWindow* _tmp8_; const gchar* _tmp9_ = NULL; GtkMessageDialog* _tmp10_; GtkMessageDialog* _tmp11_; GtkMessageDialog* dialog; GtkMessageDialog* _tmp12_; gint _tmp13_ = 0; gint response; gint _tmp14_; GtkMessageDialog* _tmp15_; _tmp8_ = self->priv->gtkWindow; _tmp9_ = _ ("You have changed your setting or preferences. Do you want to save thes" \ "e changes to the loaded profile?"); _tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp8_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_YES_NO, "%s", _tmp9_); _tmp11_ = g_object_ref_sink (_tmp10_); dialog = _tmp11_; _tmp12_ = dialog; _tmp13_ = gtk_dialog_run ((GtkDialog*) _tmp12_); response = _tmp13_; _tmp14_ = response; if (_tmp14_ == ((gint) GTK_RESPONSE_YES)) { moserial_main_window_saveProfile (self); } _tmp15_ = dialog; gtk_widget_destroy ((GtkWidget*) _tmp15_); _g_object_unref0 (dialog); } else { moserial_main_window_saveProfile (self); } } _tmp16_ = self->priv->profile; _tmp17_ = self->priv->gtkWindow; profile_save (_tmp16_, NULL, _tmp17_); gtk_main_quit (); } static void moserial_main_window_saveProfile (moserialMainWindow* self) { Preferences* _tmp0_; Profile* _tmp1_; Settings* _tmp2_; Profile* _tmp3_; DefaultPaths* _tmp4_; Profile* _tmp5_; const gchar* _tmp6_; const gchar* _tmp7_; Profile* _tmp8_; const gchar* _tmp9_; GtkWindow* _tmp10_; GtkRecentManager* _tmp11_ = NULL; GtkRecentManager* _tmp12_; GtkRecentManager* recentManager; GError * _inner_error_ = NULL; g_return_if_fail (self != NULL); _tmp0_ = self->priv->currentPreferences; _tmp1_ = self->priv->profile; preferences_saveToProfile (_tmp0_, _tmp1_); _tmp2_ = self->priv->currentSettings; _tmp3_ = self->priv->profile; settings_saveToProfile (_tmp2_, _tmp3_); _tmp4_ = self->priv->currentPaths; _tmp5_ = self->priv->profile; default_paths_saveToProfile (_tmp4_, _tmp5_); _tmp6_ = self->priv->profileFilename; if (_tmp6_ == NULL) { moserial_main_window_saveProfileAs (self); } _tmp7_ = self->priv->profileFilename; if (_tmp7_ == NULL) { return; } _tmp8_ = self->priv->profile; _tmp9_ = self->priv->profileFilename; _tmp10_ = self->priv->gtkWindow; profile_save (_tmp8_, _tmp9_, _tmp10_); self->priv->profileChanged = FALSE; _tmp11_ = gtk_recent_manager_get_default (); _tmp12_ = _g_object_ref0 (_tmp11_); recentManager = _tmp12_; { const gchar* _tmp13_; gchar* _tmp14_ = NULL; gchar* _tmp15_; GtkRecentManager* _tmp16_; gchar* _tmp17_; GtkRecentData _tmp18_; _tmp13_ = self->priv->profileFilename; _tmp14_ = g_filename_to_uri (_tmp13_, NULL, &_inner_error_); _tmp15_ = _tmp14_; if (_inner_error_ != NULL) { if (_inner_error_->domain == G_CONVERT_ERROR) { goto __catch5_g_convert_error; } _g_object_unref0 (recentManager); g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _tmp16_ = recentManager; _tmp17_ = _tmp15_; _tmp18_ = self->priv->recentData; gtk_recent_manager_add_full (_tmp16_, _tmp17_, &_tmp18_); _g_free0 (_tmp17_); } goto __finally5; __catch5_g_convert_error: { GError* e = NULL; FILE* _tmp19_; GError* _tmp20_; const gchar* _tmp21_; e = _inner_error_; _inner_error_ = NULL; _tmp19_ = stdout; _tmp20_ = e; _tmp21_ = _tmp20_->message; fprintf (_tmp19_, "%s\n", _tmp21_); _g_error_free0 (e); } __finally5: if (_inner_error_ != NULL) { _g_object_unref0 (recentManager); g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); g_clear_error (&_inner_error_); return; } _g_object_unref0 (recentManager); } static void moserial_main_window_saveProfileAs (moserialMainWindow* self) { GtkWindow* _tmp0_; GtkFileChooserDialog* _tmp1_; GtkFileChooserDialog* _tmp2_; GtkFileChooserDialog* dialog; GtkFileChooserDialog* _tmp3_; GtkFileChooserDialog* _tmp4_; GtkFileChooserDialog* _tmp5_; GtkFileChooserDialog* _tmp6_; gint _tmp7_ = 0; gint response; gint _tmp8_; GtkFileChooserDialog* _tmp11_; gint _tmp12_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->gtkWindow; _tmp1_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (NULL, _tmp0_, GTK_FILE_CHOOSER_ACTION_SAVE, NULL); _tmp2_ = g_object_ref_sink (_tmp1_); dialog = _tmp2_; _tmp3_ = dialog; gtk_dialog_add_buttons ((GtkDialog*) _tmp3_, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL, NULL); _tmp4_ = dialog; gtk_file_chooser_set_do_overwrite_confirmation ((GtkFileChooser*) _tmp4_, TRUE); _tmp5_ = dialog; gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp5_, FALSE); _tmp6_ = dialog; _tmp7_ = gtk_dialog_run ((GtkDialog*) _tmp6_); response = _tmp7_; _tmp8_ = response; if (_tmp8_ == ((gint) GTK_RESPONSE_ACCEPT)) { GtkFileChooserDialog* _tmp9_; gchar* _tmp10_ = NULL; _tmp9_ = dialog; _tmp10_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp9_); _g_free0 (self->priv->profileFilename); self->priv->profileFilename = _tmp10_; } _tmp11_ = dialog; gtk_widget_destroy ((GtkWidget*) _tmp11_); _tmp12_ = response; if (_tmp12_ == ((gint) GTK_RESPONSE_ACCEPT)) { moserial_main_window_saveProfile (self); } _g_object_unref0 (dialog); } static void moserial_main_window_loadProfileOnStartup (moserialMainWindow* self, const gchar* profileFilename) { const gchar* _tmp0_; g_return_if_fail (self != NULL); g_return_if_fail (profileFilename != NULL); _tmp0_ = profileFilename; moserial_main_window_applyProfile (self, _tmp0_); } static void moserial_main_window_loadProfile (moserialMainWindow* self) { GtkWindow* _tmp0_; GtkFileChooserDialog* _tmp1_; GtkFileChooserDialog* _tmp2_; GtkFileChooserDialog* dialog; GtkFileChooserDialog* _tmp3_; GtkFileChooserDialog* _tmp4_; GtkFileChooserDialog* _tmp5_; gint _tmp6_ = 0; gint response; gint _tmp7_; GtkFileChooserDialog* _tmp11_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->gtkWindow; _tmp1_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (NULL, _tmp0_, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); _tmp2_ = g_object_ref_sink (_tmp1_); dialog = _tmp2_; _tmp3_ = dialog; gtk_dialog_add_buttons ((GtkDialog*) _tmp3_, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL, NULL); _tmp4_ = dialog; gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp4_, FALSE); _tmp5_ = dialog; _tmp6_ = gtk_dialog_run ((GtkDialog*) _tmp5_); response = _tmp6_; _tmp7_ = response; if (_tmp7_ == ((gint) GTK_RESPONSE_ACCEPT)) { GtkFileChooserDialog* _tmp8_; gchar* _tmp9_ = NULL; gchar* _tmp10_; _tmp8_ = dialog; _tmp9_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp8_); _tmp10_ = _tmp9_; moserial_main_window_applyProfile (self, _tmp10_); _g_free0 (_tmp10_); } _tmp11_ = dialog; gtk_widget_destroy ((GtkWidget*) _tmp11_); _g_object_unref0 (dialog); } static void moserial_main_window_copy (moserialMainWindow* self) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; GtkWindow* _tmp3_; GtkWidget* _tmp4_ = NULL; GtkTextView* _tmp5_; gboolean _tmp9_; gboolean _tmp13_; gboolean _tmp17_; g_return_if_fail (self != NULL); _tmp3_ = self->priv->gtkWindow; _tmp4_ = gtk_window_get_focus (_tmp3_); _tmp5_ = self->priv->outgoingAsciiTextView; if (_tmp4_ == GTK_WIDGET (_tmp5_)) { _tmp2_ = TRUE; } else { GtkWindow* _tmp6_; GtkWidget* _tmp7_ = NULL; GtkTextView* _tmp8_; _tmp6_ = self->priv->gtkWindow; _tmp7_ = gtk_window_get_focus (_tmp6_); _tmp8_ = self->priv->incomingAsciiTextView; _tmp2_ = _tmp7_ == GTK_WIDGET (_tmp8_); } _tmp9_ = _tmp2_; if (_tmp9_) { _tmp1_ = TRUE; } else { GtkWindow* _tmp10_; GtkWidget* _tmp11_ = NULL; GtkTextView* _tmp12_; _tmp10_ = self->priv->gtkWindow; _tmp11_ = gtk_window_get_focus (_tmp10_); _tmp12_ = self->priv->outgoingHexTextView; _tmp1_ = _tmp11_ == GTK_WIDGET (_tmp12_); } _tmp13_ = _tmp1_; if (_tmp13_) { _tmp0_ = TRUE; } else { GtkWindow* _tmp14_; GtkWidget* _tmp15_ = NULL; GtkTextView* _tmp16_; _tmp14_ = self->priv->gtkWindow; _tmp15_ = gtk_window_get_focus (_tmp14_); _tmp16_ = self->priv->incomingHexTextView; _tmp0_ = _tmp15_ == GTK_WIDGET (_tmp16_); } _tmp17_ = _tmp0_; if (_tmp17_) { GtkWindow* _tmp18_; GtkWidget* _tmp19_ = NULL; GtkTextView* _tmp20_; GtkTextView* tv; GtkTextView* _tmp21_; GtkTextBuffer* _tmp22_; GtkTextBuffer* _tmp23_; GtkClipboard* _tmp24_ = NULL; _tmp18_ = self->priv->gtkWindow; _tmp19_ = gtk_window_get_focus (_tmp18_); _tmp20_ = _g_object_ref0 (GTK_TEXT_VIEW (_tmp19_)); tv = _tmp20_; _tmp21_ = tv; _tmp22_ = gtk_text_view_get_buffer (_tmp21_); _tmp23_ = _tmp22_; _tmp24_ = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD); gtk_text_buffer_copy_clipboard (_tmp23_, _tmp24_); _g_object_unref0 (tv); } else { GtkWindow* _tmp25_; GtkWidget* _tmp26_ = NULL; GtkEntry* _tmp27_; _tmp25_ = self->priv->gtkWindow; _tmp26_ = gtk_window_get_focus (_tmp25_); _tmp27_ = self->priv->entry; if (_tmp26_ == GTK_WIDGET (_tmp27_)) { GtkEntry* _tmp28_; _tmp28_ = self->priv->entry; g_signal_emit_by_name (_tmp28_, "copy-clipboard"); } } } static void moserial_main_window_cut (moserialMainWindow* self) { GtkWindow* _tmp0_; GtkWidget* _tmp1_ = NULL; GtkEntry* _tmp2_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->gtkWindow; _tmp1_ = gtk_window_get_focus (_tmp0_); _tmp2_ = self->priv->entry; if (_tmp1_ == GTK_WIDGET (_tmp2_)) { GtkEntry* _tmp3_; _tmp3_ = self->priv->entry; g_signal_emit_by_name (_tmp3_, "cut-clipboard"); } } static void moserial_main_window_editMenu (moserialMainWindow* self) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; GtkWindow* _tmp3_; GtkWidget* _tmp4_ = NULL; GtkTextView* _tmp5_; gboolean _tmp9_; gboolean _tmp13_; gboolean _tmp17_; g_return_if_fail (self != NULL); _tmp3_ = self->priv->gtkWindow; _tmp4_ = gtk_window_get_focus (_tmp3_); _tmp5_ = self->priv->outgoingAsciiTextView; if (_tmp4_ == GTK_WIDGET (_tmp5_)) { _tmp2_ = TRUE; } else { GtkWindow* _tmp6_; GtkWidget* _tmp7_ = NULL; GtkTextView* _tmp8_; _tmp6_ = self->priv->gtkWindow; _tmp7_ = gtk_window_get_focus (_tmp6_); _tmp8_ = self->priv->incomingAsciiTextView; _tmp2_ = _tmp7_ == GTK_WIDGET (_tmp8_); } _tmp9_ = _tmp2_; if (_tmp9_) { _tmp1_ = TRUE; } else { GtkWindow* _tmp10_; GtkWidget* _tmp11_ = NULL; GtkTextView* _tmp12_; _tmp10_ = self->priv->gtkWindow; _tmp11_ = gtk_window_get_focus (_tmp10_); _tmp12_ = self->priv->outgoingHexTextView; _tmp1_ = _tmp11_ == GTK_WIDGET (_tmp12_); } _tmp13_ = _tmp1_; if (_tmp13_) { _tmp0_ = TRUE; } else { GtkWindow* _tmp14_; GtkWidget* _tmp15_ = NULL; GtkTextView* _tmp16_; _tmp14_ = self->priv->gtkWindow; _tmp15_ = gtk_window_get_focus (_tmp14_); _tmp16_ = self->priv->incomingHexTextView; _tmp0_ = _tmp15_ == GTK_WIDGET (_tmp16_); } _tmp17_ = _tmp0_; if (_tmp17_) { GtkImageMenuItem* _tmp18_; GtkWindow* _tmp19_; GtkWidget* _tmp20_ = NULL; GtkTextView* _tmp21_; GtkTextView* tv; GtkTextView* _tmp22_; GtkTextBuffer* _tmp23_; GtkTextBuffer* _tmp24_; gboolean _tmp25_; gboolean _tmp26_; _tmp18_ = self->priv->cutMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp18_, FALSE); _tmp19_ = self->priv->gtkWindow; _tmp20_ = gtk_window_get_focus (_tmp19_); _tmp21_ = _g_object_ref0 (GTK_TEXT_VIEW (_tmp20_)); tv = _tmp21_; _tmp22_ = tv; _tmp23_ = gtk_text_view_get_buffer (_tmp22_); _tmp24_ = _tmp23_; _tmp25_ = gtk_text_buffer_get_has_selection (_tmp24_); _tmp26_ = _tmp25_; if (_tmp26_) { GtkImageMenuItem* _tmp27_; _tmp27_ = self->priv->copyMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp27_, TRUE); } else { GtkImageMenuItem* _tmp28_; _tmp28_ = self->priv->copyMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp28_, FALSE); } _g_object_unref0 (tv); } else { GtkWindow* _tmp29_; GtkWidget* _tmp30_ = NULL; GtkEntry* _tmp31_; _tmp29_ = self->priv->gtkWindow; _tmp30_ = gtk_window_get_focus (_tmp29_); _tmp31_ = self->priv->entry; if (_tmp30_ == GTK_WIDGET (_tmp31_)) { GtkEntry* _tmp32_; gboolean _tmp33_ = FALSE; _tmp32_ = self->priv->entry; _tmp33_ = gtk_editable_get_selection_bounds ((GtkEditable*) _tmp32_, NULL, NULL); if (_tmp33_) { GtkImageMenuItem* _tmp34_; GtkImageMenuItem* _tmp35_; _tmp34_ = self->priv->cutMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp34_, TRUE); _tmp35_ = self->priv->copyMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp35_, TRUE); } else { GtkImageMenuItem* _tmp36_; GtkImageMenuItem* _tmp37_; _tmp36_ = self->priv->cutMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp36_, FALSE); _tmp37_ = self->priv->copyMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp37_, FALSE); } } else { GtkImageMenuItem* _tmp38_; GtkImageMenuItem* _tmp39_; _tmp38_ = self->priv->cutMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp38_, FALSE); _tmp39_ = self->priv->copyMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp39_, FALSE); } } } static void moserial_main_window_paste (moserialMainWindow* self) { GtkEntry* _tmp0_; GtkEntry* _tmp1_; gboolean _tmp2_ = FALSE; gboolean _tmp3_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->entry; g_signal_emit_by_name (_tmp0_, "paste-clipboard"); _tmp1_ = self->priv->entry; g_object_get ((GtkWidget*) _tmp1_, "has-focus", &_tmp2_, NULL); _tmp3_ = _tmp2_; if (!_tmp3_) { GtkEntry* _tmp4_; GtkEntry* _tmp5_; _tmp4_ = self->priv->entry; gtk_widget_grab_focus ((GtkWidget*) _tmp4_); _tmp5_ = self->priv->entry; gtk_editable_set_position ((GtkEditable*) _tmp5_, -1); } } static void moserial_main_window_clear (moserialMainWindow* self) { moserialHexTextBuffer* _tmp0_; GtkTextBuffer* _tmp1_; moserialHexTextBuffer* _tmp2_; GtkTextBuffer* _tmp3_; GtkEntry* _tmp4_; g_return_if_fail (self != NULL); _tmp0_ = self->priv->incomingHexTextBuffer; moserial_hex_text_buffer_clear (_tmp0_); _tmp1_ = self->priv->incomingAsciiTextBuffer; gtk_text_buffer_set_text (_tmp1_, "", 0); _tmp2_ = self->priv->outgoingHexTextBuffer; moserial_hex_text_buffer_clear (_tmp2_); _tmp3_ = self->priv->outgoingAsciiTextBuffer; gtk_text_buffer_set_text (_tmp3_, "", 0); _tmp4_ = self->priv->entry; gtk_entry_set_text (_tmp4_, ""); } GtkBuilder* moserial_main_window_get_builder (moserialMainWindow* self) { GtkBuilder* result; GtkBuilder* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_builder; result = _tmp0_; return result; } static void moserial_main_window_set_builder (moserialMainWindow* self, GtkBuilder* value) { GtkBuilder* _tmp0_; GtkBuilder* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = _g_object_ref0 (_tmp0_); _g_object_unref0 (self->priv->_builder); self->priv->_builder = _tmp1_; g_object_notify ((GObject *) self, "builder"); } const gchar* moserial_main_window_get_startupProfileFilename (moserialMainWindow* self) { const gchar* result; const gchar* _tmp0_; g_return_val_if_fail (self != NULL, NULL); _tmp0_ = self->priv->_startupProfileFilename; result = _tmp0_; return result; } static void moserial_main_window_set_startupProfileFilename (moserialMainWindow* self, const gchar* value) { const gchar* _tmp0_; gchar* _tmp1_; g_return_if_fail (self != NULL); _tmp0_ = value; _tmp1_ = g_strdup (_tmp0_); _g_free0 (self->priv->_startupProfileFilename); self->priv->_startupProfileFilename = _tmp1_; g_object_notify ((GObject *) self, "startupProfileFilename"); } static void _moserial_main_window_quitSave_gtk_widget_destroy (GtkWidget* _sender, gpointer self) { moserial_main_window_quitSave (self); } static gboolean _moserial_main_window_deleteSaveSize_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) { gboolean result; result = moserial_main_window_deleteSaveSize (self); return result; } static gboolean _moserial_main_window_keyPress_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) { gboolean result; result = moserial_main_window_keyPress (self, _sender, event); return result; } static void _moserial_main_window_quitSizeSave_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_quitSizeSave (self); } static void _moserial_main_window_saveProfileAs_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_saveProfileAs (self); } static void _moserial_main_window_saveProfile_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_saveProfile (self); } static void _moserial_main_window_loadProfile_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_loadProfile (self); } static void _moserial_main_window_copy_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_copy (self); } static void _moserial_main_window_editMenu_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_editMenu (self); } static void _moserial_main_window_cut_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_cut (self); } static void _moserial_main_window_paste_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_paste (self); } static void _moserial_main_window_clear_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_clear (self); } static void _moserial_main_window_updateSettings_moserial_settings_dialog_update_settings (moserialSettingsDialog* _sender, Settings* settings, gpointer self) { moserial_main_window_updateSettings (self, _sender, settings); } static void _moserial_main_window_showSettingsDialog_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) { moserial_main_window_showSettingsDialog (self, _sender); } static void _moserial_main_window_showHelpButton_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) { moserial_main_window_showHelpButton (self, _sender); } static void _moserial_main_window_showAboutDialog_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_showAboutDialog (self); } static void _moserial_main_window_doSendChooser_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) { moserial_main_window_doSendChooser (self, _sender); } static void _moserial_main_window_doSend_moserial_send_chooser_dialog_start_transfer (moserialSendChooserDialog* _sender, gpointer self) { moserial_main_window_doSend (self, _sender); } static void _moserial_main_window_doReceiveChooser_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) { moserial_main_window_doReceiveChooser (self, _sender); } static void _moserial_main_window_doReceive_moserial_receive_chooser_dialog_start_transfer (moserialReceiveChooserDialog* _sender, gpointer self) { moserial_main_window_doReceive (self, _sender); } static void _moserial_main_window_record_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) { moserial_main_window_record (self, _sender); } static void _moserial_main_window_stopRecording_moserial_record_dialog_stop_recording (moserialRecordDialog* _sender, gpointer self) { moserial_main_window_stopRecording (self, _sender); } static void _moserial_main_window_startRecording_moserial_record_dialog_start_recording (moserialRecordDialog* _sender, const gchar* fileName, moserialSerialStreamRecorderDirection direction, gpointer self) { moserial_main_window_startRecording (self, _sender, fileName, direction); } static void _moserial_main_window_updatePreferences_moserial_preferences_dialog_update_preferences (moserialPreferencesDialog* _sender, Preferences* preferences, gpointer self) { moserial_main_window_updatePreferences (self, _sender, preferences); } static void _moserial_main_window_showPreferencesDialog_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) { moserial_main_window_showPreferencesDialog (self, _sender); } static void _moserial_main_window_connectButtonClick_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) { moserial_main_window_connectButtonClick (self, _sender); } static void _moserial_main_window_showHelpAction_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) { moserial_main_window_showHelpAction (self); } static void _moserial_main_window_sendString_gtk_button_clicked (GtkButton* _sender, gpointer self) { moserial_main_window_sendString (self, _sender); } static void _moserial_main_window_sendString_gtk_entry_activate (GtkEntry* _sender, gpointer self) { moserial_main_window_sendString (self, _sender); } static void _moserial_main_window_inputModeChanged_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { moserial_main_window_inputModeChanged (self, _sender); } static void _moserial_main_window_recentItemOpen_gtk_recent_chooser_item_activated (GtkRecentChooser* _sender, gpointer self) { moserial_main_window_recentItemOpen (self, _sender); } static GObject * moserial_main_window_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) { GObject * obj; GObjectClass * parent_class; moserialMainWindow * self; GtkBuilder* _tmp0_; GObject* _tmp1_ = NULL; GtkWindow* _tmp2_; GtkBuilder* _tmp3_; GObject* _tmp4_ = NULL; GtkAccelGroup* _tmp5_; GtkWindow* _tmp6_; GtkAccelGroup* _tmp7_; GtkWindow* _tmp8_; GtkWindow* _tmp9_; GtkWindow* _tmp10_; Profile* _tmp11_; Profile* _tmp12_; GtkWindow* _tmp13_; Profile* _tmp14_; Settings* _tmp15_ = NULL; Profile* _tmp16_; gint _tmp17_ = 0; gint width; Profile* _tmp18_; gint _tmp19_ = 0; gint height; Profile* _tmp20_; gint _tmp21_ = 0; gint panedPosition; gboolean _tmp22_ = FALSE; gint _tmp23_; gboolean _tmp25_; GtkBuilder* _tmp29_; GObject* _tmp30_ = NULL; GtkPaned* _tmp31_; gint _tmp32_; GtkBuilder* _tmp36_; GObject* _tmp37_ = NULL; GtkImageMenuItem* _tmp38_; GtkImageMenuItem* quit; GtkImageMenuItem* _tmp39_; GtkBuilder* _tmp40_; GObject* _tmp41_ = NULL; GtkImageMenuItem* _tmp42_; GtkImageMenuItem* saveAs; GtkImageMenuItem* _tmp43_; GtkBuilder* _tmp44_; GObject* _tmp45_ = NULL; GtkImageMenuItem* _tmp46_; GtkImageMenuItem* save; GtkImageMenuItem* _tmp47_; GtkBuilder* _tmp48_; GObject* _tmp49_ = NULL; GtkImageMenuItem* _tmp50_; GtkImageMenuItem* open; GtkImageMenuItem* _tmp51_; GtkBuilder* _tmp52_; GObject* _tmp53_ = NULL; GtkImageMenuItem* _tmp54_; GtkImageMenuItem* _tmp55_; GtkBuilder* _tmp56_; GObject* _tmp57_ = NULL; GtkMenuItem* _tmp58_; GtkMenuItem* editMenuItem; GtkMenuItem* _tmp59_; GtkBuilder* _tmp60_; GObject* _tmp61_ = NULL; GtkImageMenuItem* _tmp62_; GtkImageMenuItem* _tmp63_; GtkImageMenuItem* _tmp64_; GtkImageMenuItem* _tmp65_; GtkBuilder* _tmp66_; GObject* _tmp67_ = NULL; GtkImageMenuItem* _tmp68_; GtkImageMenuItem* pasteMenuItem; GtkImageMenuItem* _tmp69_; GtkBuilder* _tmp70_; GObject* _tmp71_ = NULL; GtkImageMenuItem* _tmp72_; GtkImageMenuItem* clearMenuItem; GtkImageMenuItem* _tmp73_; GtkBuilder* _tmp74_; moserialSettingsDialog* _tmp75_; moserialSettingsDialog* _tmp76_; GtkBuilder* _tmp77_; GObject* _tmp78_ = NULL; GtkToolButton* _tmp79_; GtkToolButton* _tmp80_; GtkToolButton* _tmp81_; const gchar* _tmp82_ = NULL; GtkBuilder* _tmp83_; GObject* _tmp84_ = NULL; GtkToolButton* _tmp85_; GtkToolButton* helpButton; GtkToolButton* _tmp86_; GtkToolButton* _tmp87_; const gchar* _tmp88_ = NULL; GtkBuilder* _tmp89_; GObject* _tmp90_ = NULL; GtkStatusbar* _tmp91_; GtkStatusbar* _tmp92_; guint _tmp93_ = 0U; GtkStatusbar* _tmp94_; guint _tmp95_; Settings* _tmp96_; gchar* _tmp97_ = NULL; gchar* _tmp98_; GtkBuilder* _tmp99_; GObject* _tmp100_ = NULL; GtkStatusbar* _tmp101_; GtkStatusbar* _tmp102_; guint _tmp103_ = 0U; GtkStatusbar* _tmp104_; guint _tmp105_; const gchar* _tmp106_ = NULL; GtkBuilder* _tmp107_; GObject* _tmp108_ = NULL; GtkImageMenuItem* _tmp109_; GtkImageMenuItem* about; GtkImageMenuItem* _tmp110_; GtkBuilder* _tmp111_; moserialSendProgressDialog* _tmp112_; GtkBuilder* _tmp113_; moserialSendChooserDialog* _tmp114_; GtkBuilder* _tmp115_; GObject* _tmp116_ = NULL; GtkToolButton* _tmp117_; GtkToolButton* _tmp118_; GtkToolButton* _tmp119_; const gchar* _tmp120_ = NULL; moserialSendChooserDialog* _tmp121_; moserialSzwrapperProtocol _tmp122_; moserialSzwrapper* _tmp123_; GtkBuilder* _tmp124_; moserialReceiveProgressDialog* _tmp125_; GtkBuilder* _tmp126_; moserialReceiveChooserDialog* _tmp127_; GtkBuilder* _tmp128_; GObject* _tmp129_ = NULL; GtkToolButton* _tmp130_; GtkToolButton* _tmp131_; GtkToolButton* _tmp132_; const gchar* _tmp133_ = NULL; moserialReceiveChooserDialog* _tmp134_; GtkBuilder* _tmp135_; moserialXmodemFilenameDialog* _tmp136_; moserialRzwrapperProtocol _tmp137_; moserialRzwrapper* _tmp138_; GtkBuilder* _tmp139_; moserialRecordDialog* _tmp140_; GtkBuilder* _tmp141_; GObject* _tmp142_ = NULL; GtkToggleToolButton* _tmp143_; GtkToggleToolButton* _tmp144_; GtkToggleToolButton* _tmp145_; const gchar* _tmp146_ = NULL; moserialRecordDialog* _tmp147_; moserialRecordDialog* _tmp148_; GtkBuilder* _tmp149_; GObject* _tmp150_ = NULL; GtkLabel* _tmp151_; GtkBuilder* _tmp152_; GObject* _tmp153_ = NULL; GtkLabel* _tmp154_; GtkBuilder* _tmp155_; moserialPreferencesDialog* _tmp156_; moserialPreferencesDialog* _tmp157_; GtkBuilder* _tmp158_; GObject* _tmp159_ = NULL; GtkToolButton* _tmp160_; GtkToolButton* preferences; GtkToolButton* _tmp161_; GtkToolButton* _tmp162_; const gchar* _tmp163_ = NULL; GtkBuilder* _tmp164_; GObject* _tmp165_ = NULL; GtkToggleToolButton* _tmp166_; GtkToggleToolButton* _tmp167_; GtkToggleToolButton* _tmp168_; const gchar* _tmp169_ = NULL; GtkBuilder* _tmp170_; GObject* _tmp171_ = NULL; GtkLabel* _tmp172_; GtkBuilder* _tmp173_; GObject* _tmp174_ = NULL; GtkLabel* _tmp175_; GtkBuilder* _tmp176_; GObject* _tmp177_ = NULL; GtkImageMenuItem* _tmp178_; GtkImageMenuItem* contents; GtkImageMenuItem* _tmp179_; GtkBuilder* _tmp180_; GObject* _tmp181_ = NULL; GtkNotebook* _tmp182_; GtkBuilder* _tmp183_; GObject* _tmp184_ = NULL; GtkNotebook* _tmp185_; moserialHexTextBuffer* _tmp186_; GtkTextTagTable* _tmp187_; GtkTextTagTable* _tmp188_; GtkTextBuffer* _tmp189_; moserialHexTextBuffer* _tmp190_; GtkTextTagTable* _tmp191_; GtkTextTagTable* _tmp192_; GtkTextBuffer* _tmp193_; GtkTextBuffer* _tmp194_; GtkTextTag* _tmp195_ = NULL; GtkTextTag* _tmp196_; GtkBuilder* _tmp197_; GObject* _tmp198_ = NULL; GtkTextView* _tmp199_; GtkTextView* _tmp200_; moserialHexTextBuffer* _tmp201_; GtkBuilder* _tmp202_; GObject* _tmp203_ = NULL; GtkTextView* _tmp204_; GtkTextView* _tmp205_; GtkTextBuffer* _tmp206_; GtkBuilder* _tmp207_; GObject* _tmp208_ = NULL; GtkTextView* _tmp209_; GtkTextView* _tmp210_; moserialHexTextBuffer* _tmp211_; GtkBuilder* _tmp212_; GObject* _tmp213_ = NULL; GtkTextView* _tmp214_; GtkTextView* _tmp215_; GtkTextBuffer* _tmp216_; GtkBuilder* _tmp217_; GObject* _tmp218_ = NULL; GtkScrolledWindow* _tmp219_; GtkScrolledWindow* incomingAsciiScrolledWindow; GtkScrolledWindow* _tmp220_; GtkAdjustment* _tmp221_ = NULL; GtkAdjustment* _tmp222_; GtkBuilder* _tmp223_; GObject* _tmp224_ = NULL; GtkScrolledWindow* _tmp225_; GtkScrolledWindow* incomingHexScrolledWindow; GtkScrolledWindow* _tmp226_; GtkAdjustment* _tmp227_ = NULL; GtkAdjustment* _tmp228_; GtkBuilder* _tmp229_; GObject* _tmp230_ = NULL; GtkScrolledWindow* _tmp231_; GtkScrolledWindow* outgoingAsciiScrolledWindow; GtkScrolledWindow* _tmp232_; GtkAdjustment* _tmp233_ = NULL; GtkAdjustment* _tmp234_; GtkBuilder* _tmp235_; GObject* _tmp236_ = NULL; GtkScrolledWindow* _tmp237_; GtkScrolledWindow* outgoingHexScrolledWindow; GtkScrolledWindow* _tmp238_; GtkAdjustment* _tmp239_ = NULL; GtkAdjustment* _tmp240_; GtkAdjustment* _tmp241_; GtkAdjustment* _tmp242_; GtkAdjustment* _tmp243_; GtkAdjustment* _tmp244_; GtkBuilder* _tmp245_; GObject* _tmp246_ = NULL; GtkButton* _tmp247_; GtkButton* _tmp248_; GtkButton* _tmp249_; const gchar* _tmp250_ = NULL; GtkBuilder* _tmp251_; GObject* _tmp252_ = NULL; GtkEntry* _tmp253_; GtkEntry* _tmp254_; GtkEntry* _tmp255_; const gchar* _tmp256_ = NULL; GtkBuilder* _tmp257_; GObject* _tmp258_ = NULL; GtkComboBox* _tmp259_; GtkComboBox* _tmp260_; GtkComboBox* _tmp261_; GtkComboBox* _tmp262_; GtkBuilder* _tmp263_; GObject* _tmp264_ = NULL; GtkComboBox* _tmp265_; GtkComboBox* _tmp266_; moserialSerialConnection* _tmp267_; GtkComboBox* _tmp268_; gchar* _tmp269_; gchar** _tmp270_ = NULL; const gchar* _tmp271_ = NULL; gchar* _tmp272_; const gchar* _tmp273_ = NULL; gchar* _tmp274_; gchar* _tmp275_; GtkRecentManager* _tmp276_ = NULL; GtkRecentManager* _tmp277_; GtkRecentManager* recentManager; GtkRecentManager* _tmp278_; GtkRecentChooserMenu* _tmp279_; GtkRecentChooserMenu* _tmp280_; GtkRecentChooserMenu* recentChooserMenu; GtkRecentChooserMenu* _tmp281_; GtkRecentFilter* _tmp282_; GtkRecentFilter* _tmp283_; GtkRecentFilter* filter; GtkRecentFilter* _tmp284_; GtkRecentChooserMenu* _tmp285_; GtkRecentFilter* _tmp286_; GtkRecentChooserMenu* _tmp287_; GtkRecentChooserMenu* _tmp288_; GtkBuilder* _tmp289_; GObject* _tmp290_ = NULL; GtkMenuItem* _tmp291_; GtkMenuItem* recentFileItem; GtkMenuItem* _tmp292_; GtkRecentChooserMenu* _tmp293_; Profile* _tmp294_; Preferences* _tmp295_ = NULL; Preferences* _tmp296_; const gchar* _tmp297_; Profile* _tmp299_; DefaultPaths* _tmp300_ = NULL; parent_class = G_OBJECT_CLASS (moserial_main_window_parent_class); obj = parent_class->constructor (type, n_construct_properties, construct_properties); self = MOSERIAL_MAIN_WINDOW (obj); _tmp0_ = self->priv->_builder; _tmp1_ = gtk_builder_get_object (_tmp0_, "window"); _tmp2_ = _g_object_ref0 (GTK_WINDOW (_tmp1_)); _g_object_unref0 (self->priv->gtkWindow); self->priv->gtkWindow = _tmp2_; _tmp3_ = self->priv->_builder; _tmp4_ = gtk_builder_get_object (_tmp3_, "accelgroup1"); _tmp5_ = _g_object_ref0 (GTK_ACCEL_GROUP (_tmp4_)); _g_object_unref0 (self->priv->ag); self->priv->ag = _tmp5_; _tmp6_ = self->priv->gtkWindow; _tmp7_ = self->priv->ag; gtk_window_add_accel_group (_tmp6_, _tmp7_); _tmp8_ = self->priv->gtkWindow; g_signal_connect_object ((GtkWidget*) _tmp8_, "destroy", (GCallback) _moserial_main_window_quitSave_gtk_widget_destroy, self, 0); _tmp9_ = self->priv->gtkWindow; g_signal_connect_object ((GtkWidget*) _tmp9_, "delete-event", (GCallback) _moserial_main_window_deleteSaveSize_gtk_widget_delete_event, self, 0); _tmp10_ = self->priv->gtkWindow; g_signal_connect_object ((GtkWidget*) _tmp10_, "key-press-event", (GCallback) _moserial_main_window_keyPress_gtk_widget_key_press_event, self, 0); _tmp11_ = profile_new (); _g_object_unref0 (self->priv->profile); self->priv->profile = _tmp11_; _tmp12_ = self->priv->profile; _tmp13_ = self->priv->gtkWindow; profile_load (_tmp12_, NULL, _tmp13_); _tmp14_ = self->priv->profile; _tmp15_ = settings_loadFromProfile (_tmp14_); _g_object_unref0 (self->priv->currentSettings); self->priv->currentSettings = _tmp15_; _tmp16_ = self->priv->profile; _tmp17_ = profile_getWindowWidth (_tmp16_); width = _tmp17_; _tmp18_ = self->priv->profile; _tmp19_ = profile_getWindowHeight (_tmp18_); height = _tmp19_; _tmp20_ = self->priv->profile; _tmp21_ = profile_getWindowPanedPosition (_tmp20_); panedPosition = _tmp21_; _tmp23_ = width; if (_tmp23_ > 0) { gint _tmp24_; _tmp24_ = height; _tmp22_ = _tmp24_ > 0; } else { _tmp22_ = FALSE; } _tmp25_ = _tmp22_; if (_tmp25_) { GtkWindow* _tmp26_; gint _tmp27_; gint _tmp28_; _tmp26_ = self->priv->gtkWindow; _tmp27_ = width; _tmp28_ = height; gtk_window_resize (_tmp26_, _tmp27_, _tmp28_); } _tmp29_ = self->priv->_builder; _tmp30_ = gtk_builder_get_object (_tmp29_, "vpaned"); _tmp31_ = _g_object_ref0 (GTK_PANED (_tmp30_)); _g_object_unref0 (self->priv->paned); self->priv->paned = _tmp31_; _tmp32_ = panedPosition; if (_tmp32_ >= (-1)) { GtkPaned* _tmp33_; gint _tmp34_; _tmp33_ = self->priv->paned; _tmp34_ = panedPosition; gtk_paned_set_position (_tmp33_, _tmp34_); } else { GtkPaned* _tmp35_; _tmp35_ = self->priv->paned; gtk_paned_set_position (_tmp35_, -1); } _tmp36_ = self->priv->_builder; _tmp37_ = gtk_builder_get_object (_tmp36_, "menubar_quit"); _tmp38_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp37_)); quit = _tmp38_; _tmp39_ = quit; g_signal_connect_object ((GtkMenuItem*) _tmp39_, "activate", (GCallback) _moserial_main_window_quitSizeSave_gtk_menu_item_activate, self, 0); _tmp40_ = self->priv->_builder; _tmp41_ = gtk_builder_get_object (_tmp40_, "menubar_save_settings_as"); _tmp42_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp41_)); saveAs = _tmp42_; _tmp43_ = saveAs; g_signal_connect_object ((GtkMenuItem*) _tmp43_, "activate", (GCallback) _moserial_main_window_saveProfileAs_gtk_menu_item_activate, self, 0); _tmp44_ = self->priv->_builder; _tmp45_ = gtk_builder_get_object (_tmp44_, "menubar_save_settings"); _tmp46_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp45_)); save = _tmp46_; _tmp47_ = save; g_signal_connect_object ((GtkMenuItem*) _tmp47_, "activate", (GCallback) _moserial_main_window_saveProfile_gtk_menu_item_activate, self, 0); _tmp48_ = self->priv->_builder; _tmp49_ = gtk_builder_get_object (_tmp48_, "menubar_open_settings"); _tmp50_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp49_)); open = _tmp50_; _tmp51_ = open; g_signal_connect_object ((GtkMenuItem*) _tmp51_, "activate", (GCallback) _moserial_main_window_loadProfile_gtk_menu_item_activate, self, 0); _tmp52_ = self->priv->_builder; _tmp53_ = gtk_builder_get_object (_tmp52_, "menubar_copy"); _tmp54_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp53_)); _g_object_unref0 (self->priv->copyMenuItem); self->priv->copyMenuItem = _tmp54_; _tmp55_ = self->priv->copyMenuItem; g_signal_connect_object ((GtkMenuItem*) _tmp55_, "activate", (GCallback) _moserial_main_window_copy_gtk_menu_item_activate, self, 0); _tmp56_ = self->priv->_builder; _tmp57_ = gtk_builder_get_object (_tmp56_, "menubar_edit"); _tmp58_ = _g_object_ref0 (GTK_MENU_ITEM (_tmp57_)); editMenuItem = _tmp58_; _tmp59_ = editMenuItem; g_signal_connect_object (_tmp59_, "activate", (GCallback) _moserial_main_window_editMenu_gtk_menu_item_activate, self, 0); _tmp60_ = self->priv->_builder; _tmp61_ = gtk_builder_get_object (_tmp60_, "menubar_cut"); _tmp62_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp61_)); _g_object_unref0 (self->priv->cutMenuItem); self->priv->cutMenuItem = _tmp62_; _tmp63_ = self->priv->copyMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp63_, FALSE); _tmp64_ = self->priv->cutMenuItem; gtk_widget_set_sensitive ((GtkWidget*) _tmp64_, FALSE); _tmp65_ = self->priv->cutMenuItem; g_signal_connect_object ((GtkMenuItem*) _tmp65_, "activate", (GCallback) _moserial_main_window_cut_gtk_menu_item_activate, self, 0); _tmp66_ = self->priv->_builder; _tmp67_ = gtk_builder_get_object (_tmp66_, "menubar_paste"); _tmp68_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp67_)); pasteMenuItem = _tmp68_; _tmp69_ = pasteMenuItem; g_signal_connect_object ((GtkMenuItem*) _tmp69_, "activate", (GCallback) _moserial_main_window_paste_gtk_menu_item_activate, self, 0); _tmp70_ = self->priv->_builder; _tmp71_ = gtk_builder_get_object (_tmp70_, "menubar_clear"); _tmp72_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp71_)); clearMenuItem = _tmp72_; _tmp73_ = clearMenuItem; g_signal_connect_object ((GtkMenuItem*) _tmp73_, "activate", (GCallback) _moserial_main_window_clear_gtk_menu_item_activate, self, 0); _tmp74_ = self->priv->_builder; _tmp75_ = moserial_settings_dialog_new (_tmp74_); _g_object_unref0 (self->priv->settingsDialog); self->priv->settingsDialog = _tmp75_; _tmp76_ = self->priv->settingsDialog; g_signal_connect_object (_tmp76_, "update-settings", (GCallback) _moserial_main_window_updateSettings_moserial_settings_dialog_update_settings, self, 0); _tmp77_ = self->priv->_builder; _tmp78_ = gtk_builder_get_object (_tmp77_, "toolbar_settings"); _tmp79_ = _g_object_ref0 (GTK_TOOL_BUTTON (_tmp78_)); _g_object_unref0 (self->priv->settingsButton); self->priv->settingsButton = _tmp79_; _tmp80_ = self->priv->settingsButton; g_signal_connect_object (_tmp80_, "clicked", (GCallback) _moserial_main_window_showSettingsDialog_gtk_tool_button_clicked, self, 0); _tmp81_ = self->priv->settingsButton; _tmp82_ = _ ("Port configuration"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp81_, _tmp82_); _tmp83_ = self->priv->_builder; _tmp84_ = gtk_builder_get_object (_tmp83_, "toolbar_help"); _tmp85_ = _g_object_ref0 (GTK_TOOL_BUTTON (_tmp84_)); helpButton = _tmp85_; _tmp86_ = helpButton; g_signal_connect_object (_tmp86_, "clicked", (GCallback) _moserial_main_window_showHelpButton_gtk_tool_button_clicked, self, 0); _tmp87_ = helpButton; _tmp88_ = _ ("Read the manual"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp87_, _tmp88_); _tmp89_ = self->priv->_builder; _tmp90_ = gtk_builder_get_object (_tmp89_, "statusbar"); _tmp91_ = _g_object_ref0 (GTK_STATUSBAR (_tmp90_)); _g_object_unref0 (self->priv->statusbar); self->priv->statusbar = _tmp91_; _tmp92_ = self->priv->statusbar; _tmp93_ = gtk_statusbar_get_context_id (_tmp92_, "moserial port status"); self->priv->statusbarContext = _tmp93_; _tmp94_ = self->priv->statusbar; _tmp95_ = self->priv->statusbarContext; _tmp96_ = self->priv->currentSettings; _tmp97_ = settings_getStatusbarString (_tmp96_, FALSE); _tmp98_ = _tmp97_; gtk_statusbar_push (_tmp94_, _tmp95_, _tmp98_); _g_free0 (_tmp98_); _tmp99_ = self->priv->_builder; _tmp100_ = gtk_builder_get_object (_tmp99_, "bytecountbar"); _tmp101_ = _g_object_ref0 (GTK_STATUSBAR (_tmp100_)); _g_object_unref0 (self->priv->bytecountbar); self->priv->bytecountbar = _tmp101_; _tmp102_ = self->priv->statusbar; _tmp103_ = gtk_statusbar_get_context_id (_tmp102_, "moserial byte counts"); self->priv->bytecountbarContext = _tmp103_; _tmp104_ = self->priv->bytecountbar; _tmp105_ = self->priv->bytecountbarContext; _tmp106_ = _ ("TX: 0, RX: 0"); gtk_statusbar_push (_tmp104_, _tmp105_, _tmp106_); _tmp107_ = self->priv->_builder; _tmp108_ = gtk_builder_get_object (_tmp107_, "menubar_about"); _tmp109_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp108_)); about = _tmp109_; _tmp110_ = about; g_signal_connect_object ((GtkMenuItem*) _tmp110_, "activate", (GCallback) _moserial_main_window_showAboutDialog_gtk_menu_item_activate, self, 0); _tmp111_ = self->priv->_builder; _tmp112_ = moserial_send_progress_dialog_new (_tmp111_); _g_object_unref0 (self->priv->sendProgressDialog); self->priv->sendProgressDialog = _tmp112_; _tmp113_ = self->priv->_builder; _tmp114_ = moserial_send_chooser_dialog_new (_tmp113_); _g_object_unref0 (self->priv->sendChooserDialog); self->priv->sendChooserDialog = _tmp114_; _tmp115_ = self->priv->_builder; _tmp116_ = gtk_builder_get_object (_tmp115_, "toolbar_send"); _tmp117_ = _g_object_ref0 (GTK_TOOL_BUTTON (_tmp116_)); _g_object_unref0 (self->priv->send); self->priv->send = _tmp117_; _tmp118_ = self->priv->send; g_signal_connect_object (_tmp118_, "clicked", (GCallback) _moserial_main_window_doSendChooser_gtk_tool_button_clicked, self, 0); _tmp119_ = self->priv->send; _tmp120_ = _ ("Send a file"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp119_, _tmp120_); _tmp121_ = self->priv->sendChooserDialog; g_signal_connect_object (_tmp121_, "start-transfer", (GCallback) _moserial_main_window_doSend_moserial_send_chooser_dialog_start_transfer, self, 0); _tmp122_ = MOSERIAL_SZWRAPPER_PROTOCOL_NULL; _tmp123_ = moserial_szwrapper_new (&_tmp122_, NULL, NULL); _g_object_unref0 (self->priv->sz); self->priv->sz = _tmp123_; _tmp124_ = self->priv->_builder; _tmp125_ = moserial_receive_progress_dialog_new (_tmp124_); _g_object_unref0 (self->priv->receiveProgressDialog); self->priv->receiveProgressDialog = _tmp125_; _tmp126_ = self->priv->_builder; _tmp127_ = moserial_receive_chooser_dialog_new (_tmp126_); _g_object_unref0 (self->priv->receiveChooserDialog); self->priv->receiveChooserDialog = _tmp127_; _tmp128_ = self->priv->_builder; _tmp129_ = gtk_builder_get_object (_tmp128_, "toolbar_receive"); _tmp130_ = _g_object_ref0 (GTK_TOOL_BUTTON (_tmp129_)); _g_object_unref0 (self->priv->receive); self->priv->receive = _tmp130_; _tmp131_ = self->priv->receive; g_signal_connect_object (_tmp131_, "clicked", (GCallback) _moserial_main_window_doReceiveChooser_gtk_tool_button_clicked, self, 0); _tmp132_ = self->priv->receive; _tmp133_ = _ ("Receive a file"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp132_, _tmp133_); _tmp134_ = self->priv->receiveChooserDialog; g_signal_connect_object (_tmp134_, "start-transfer", (GCallback) _moserial_main_window_doReceive_moserial_receive_chooser_dialog_start_transfer, self, 0); _tmp135_ = self->priv->_builder; _tmp136_ = moserial_xmodem_filename_dialog_new (_tmp135_); _g_object_unref0 (self->priv->xmodemFilenameDialog); self->priv->xmodemFilenameDialog = _tmp136_; _tmp137_ = MOSERIAL_RZWRAPPER_PROTOCOL_NULL; _tmp138_ = moserial_rzwrapper_new (&_tmp137_, NULL, NULL, NULL); _g_object_unref0 (self->priv->rz); self->priv->rz = _tmp138_; _tmp139_ = self->priv->_builder; _tmp140_ = moserial_record_dialog_new (_tmp139_); _g_object_unref0 (self->priv->recordDialog); self->priv->recordDialog = _tmp140_; _tmp141_ = self->priv->_builder; _tmp142_ = gtk_builder_get_object (_tmp141_, "toolbar_logging"); _tmp143_ = _g_object_ref0 (GTK_TOGGLE_TOOL_BUTTON (_tmp142_)); _g_object_unref0 (self->priv->recordButton); self->priv->recordButton = _tmp143_; _tmp144_ = self->priv->recordButton; g_signal_connect_object (_tmp144_, "toggled", (GCallback) _moserial_main_window_record_gtk_toggle_tool_button_toggled, self, 0); _tmp145_ = self->priv->recordButton; _tmp146_ = _ ("Record sent and/or received data"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp145_, _tmp146_); _tmp147_ = self->priv->recordDialog; g_signal_connect_object (_tmp147_, "stop-recording", (GCallback) _moserial_main_window_stopRecording_moserial_record_dialog_stop_recording, self, 0); _tmp148_ = self->priv->recordDialog; g_signal_connect_object (_tmp148_, "start-recording", (GCallback) _moserial_main_window_startRecording_moserial_record_dialog_start_recording, self, 0); _tmp149_ = self->priv->_builder; _tmp150_ = gtk_builder_get_object (_tmp149_, "record_label"); _tmp151_ = _g_object_ref0 (GTK_LABEL (_tmp150_)); _g_object_unref0 (self->priv->recordLabel); self->priv->recordLabel = _tmp151_; _tmp152_ = self->priv->_builder; _tmp153_ = gtk_builder_get_object (_tmp152_, "stop_recording_label"); _tmp154_ = _g_object_ref0 (GTK_LABEL (_tmp153_)); _g_object_unref0 (self->priv->stopRecordingLabel); self->priv->stopRecordingLabel = _tmp154_; _tmp155_ = self->priv->_builder; _tmp156_ = moserial_preferences_dialog_new (_tmp155_); _g_object_unref0 (self->priv->preferencesDialog); self->priv->preferencesDialog = _tmp156_; _tmp157_ = self->priv->preferencesDialog; g_signal_connect_object (_tmp157_, "update-preferences", (GCallback) _moserial_main_window_updatePreferences_moserial_preferences_dialog_update_preferences, self, 0); _tmp158_ = self->priv->_builder; _tmp159_ = gtk_builder_get_object (_tmp158_, "toolbar_preferences"); _tmp160_ = _g_object_ref0 (GTK_TOOL_BUTTON (_tmp159_)); preferences = _tmp160_; _tmp161_ = preferences; g_signal_connect_object (_tmp161_, "clicked", (GCallback) _moserial_main_window_showPreferencesDialog_gtk_tool_button_clicked, self, 0); _tmp162_ = preferences; _tmp163_ = _ ("Other preferences"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp162_, _tmp163_); _tmp164_ = self->priv->_builder; _tmp165_ = gtk_builder_get_object (_tmp164_, "toolbar_connect"); _tmp166_ = _g_object_ref0 (GTK_TOGGLE_TOOL_BUTTON (_tmp165_)); _g_object_unref0 (self->priv->connectButton); self->priv->connectButton = _tmp166_; _tmp167_ = self->priv->connectButton; g_signal_connect_object (_tmp167_, "toggled", (GCallback) _moserial_main_window_connectButtonClick_gtk_toggle_tool_button_toggled, self, 0); _tmp168_ = self->priv->connectButton; _tmp169_ = _ ("Open/close port"); gtk_tool_item_set_tooltip_text ((GtkToolItem*) _tmp168_, _tmp169_); _tmp170_ = self->priv->_builder; _tmp171_ = gtk_builder_get_object (_tmp170_, "disconnect_label"); _tmp172_ = _g_object_ref0 (GTK_LABEL (_tmp171_)); _g_object_unref0 (self->priv->disconnectLabel); self->priv->disconnectLabel = _tmp172_; _tmp173_ = self->priv->_builder; _tmp174_ = gtk_builder_get_object (_tmp173_, "connect_label"); _tmp175_ = _g_object_ref0 (GTK_LABEL (_tmp174_)); _g_object_unref0 (self->priv->connectLabel); self->priv->connectLabel = _tmp175_; _tmp176_ = self->priv->_builder; _tmp177_ = gtk_builder_get_object (_tmp176_, "menubar_contents"); _tmp178_ = _g_object_ref0 (GTK_IMAGE_MENU_ITEM (_tmp177_)); contents = _tmp178_; _tmp179_ = contents; g_signal_connect_object ((GtkMenuItem*) _tmp179_, "activate", (GCallback) _moserial_main_window_showHelpAction_gtk_menu_item_activate, self, 0); _tmp180_ = self->priv->_builder; _tmp181_ = gtk_builder_get_object (_tmp180_, "incoming_notebook"); _tmp182_ = _g_object_ref0 (GTK_NOTEBOOK (_tmp181_)); _g_object_unref0 (self->priv->incoming_notebook); self->priv->incoming_notebook = _tmp182_; _tmp183_ = self->priv->_builder; _tmp184_ = gtk_builder_get_object (_tmp183_, "outgoing_notebook"); _tmp185_ = _g_object_ref0 (GTK_NOTEBOOK (_tmp184_)); _g_object_unref0 (self->priv->outgoing_notebook); self->priv->outgoing_notebook = _tmp185_; _tmp186_ = moserial_hex_text_buffer_new (); _g_object_unref0 (self->priv->incomingHexTextBuffer); self->priv->incomingHexTextBuffer = _tmp186_; _tmp187_ = gtk_text_tag_table_new (); _tmp188_ = _tmp187_; _tmp189_ = gtk_text_buffer_new (_tmp188_); _g_object_unref0 (self->priv->incomingAsciiTextBuffer); self->priv->incomingAsciiTextBuffer = _tmp189_; _g_object_unref0 (_tmp188_); _tmp190_ = moserial_hex_text_buffer_new (); _g_object_unref0 (self->priv->outgoingHexTextBuffer); self->priv->outgoingHexTextBuffer = _tmp190_; _tmp191_ = gtk_text_tag_table_new (); _tmp192_ = _tmp191_; _tmp193_ = gtk_text_buffer_new (_tmp192_); _g_object_unref0 (self->priv->outgoingAsciiTextBuffer); self->priv->outgoingAsciiTextBuffer = _tmp193_; _g_object_unref0 (_tmp192_); _tmp194_ = self->priv->incomingAsciiTextBuffer; _tmp195_ = gtk_text_buffer_create_tag (_tmp194_, "echo", NULL, NULL); _tmp196_ = _g_object_ref0 (_tmp195_); _g_object_unref0 (self->priv->echoTag); self->priv->echoTag = _tmp196_; _tmp197_ = self->priv->_builder; _tmp198_ = gtk_builder_get_object (_tmp197_, "incoming_hex_textview"); _tmp199_ = _g_object_ref0 (GTK_TEXT_VIEW (_tmp198_)); _g_object_unref0 (self->priv->incomingHexTextView); self->priv->incomingHexTextView = _tmp199_; _tmp200_ = self->priv->incomingHexTextView; _tmp201_ = self->priv->incomingHexTextBuffer; gtk_text_view_set_buffer (_tmp200_, (GtkTextBuffer*) _tmp201_); _tmp202_ = self->priv->_builder; _tmp203_ = gtk_builder_get_object (_tmp202_, "incoming_ascii_textview"); _tmp204_ = _g_object_ref0 (GTK_TEXT_VIEW (_tmp203_)); _g_object_unref0 (self->priv->incomingAsciiTextView); self->priv->incomingAsciiTextView = _tmp204_; _tmp205_ = self->priv->incomingAsciiTextView; _tmp206_ = self->priv->incomingAsciiTextBuffer; gtk_text_view_set_buffer (_tmp205_, _tmp206_); _tmp207_ = self->priv->_builder; _tmp208_ = gtk_builder_get_object (_tmp207_, "outgoing_hex_textview"); _tmp209_ = _g_object_ref0 (GTK_TEXT_VIEW (_tmp208_)); _g_object_unref0 (self->priv->outgoingHexTextView); self->priv->outgoingHexTextView = _tmp209_; _tmp210_ = self->priv->outgoingHexTextView; _tmp211_ = self->priv->outgoingHexTextBuffer; gtk_text_view_set_buffer (_tmp210_, (GtkTextBuffer*) _tmp211_); _tmp212_ = self->priv->_builder; _tmp213_ = gtk_builder_get_object (_tmp212_, "outgoing_ascii_textview"); _tmp214_ = _g_object_ref0 (GTK_TEXT_VIEW (_tmp213_)); _g_object_unref0 (self->priv->outgoingAsciiTextView); self->priv->outgoingAsciiTextView = _tmp214_; _tmp215_ = self->priv->outgoingAsciiTextView; _tmp216_ = self->priv->outgoingAsciiTextBuffer; gtk_text_view_set_buffer (_tmp215_, _tmp216_); _tmp217_ = self->priv->_builder; _tmp218_ = gtk_builder_get_object (_tmp217_, "incoming_ascii_scrolledwindow"); _tmp219_ = _g_object_ref0 (GTK_SCROLLED_WINDOW (_tmp218_)); incomingAsciiScrolledWindow = _tmp219_; _tmp220_ = incomingAsciiScrolledWindow; _tmp221_ = gtk_scrolled_window_get_vadjustment (_tmp220_); _tmp222_ = _g_object_ref0 (_tmp221_); _g_object_unref0 (self->priv->va1); self->priv->va1 = _tmp222_; _tmp223_ = self->priv->_builder; _tmp224_ = gtk_builder_get_object (_tmp223_, "incoming_hex_scrolledwindow"); _tmp225_ = _g_object_ref0 (GTK_SCROLLED_WINDOW (_tmp224_)); incomingHexScrolledWindow = _tmp225_; _tmp226_ = incomingHexScrolledWindow; _tmp227_ = gtk_scrolled_window_get_vadjustment (_tmp226_); _tmp228_ = _g_object_ref0 (_tmp227_); _g_object_unref0 (self->priv->va2); self->priv->va2 = _tmp228_; _tmp229_ = self->priv->_builder; _tmp230_ = gtk_builder_get_object (_tmp229_, "outgoing_ascii_scrolledwindow"); _tmp231_ = _g_object_ref0 (GTK_SCROLLED_WINDOW (_tmp230_)); outgoingAsciiScrolledWindow = _tmp231_; _tmp232_ = outgoingAsciiScrolledWindow; _tmp233_ = gtk_scrolled_window_get_vadjustment (_tmp232_); _tmp234_ = _g_object_ref0 (_tmp233_); _g_object_unref0 (self->priv->va3); self->priv->va3 = _tmp234_; _tmp235_ = self->priv->_builder; _tmp236_ = gtk_builder_get_object (_tmp235_, "outgoing_hex_scrolledwindow"); _tmp237_ = _g_object_ref0 (GTK_SCROLLED_WINDOW (_tmp236_)); outgoingHexScrolledWindow = _tmp237_; _tmp238_ = outgoingHexScrolledWindow; _tmp239_ = gtk_scrolled_window_get_vadjustment (_tmp238_); _tmp240_ = _g_object_ref0 (_tmp239_); _g_object_unref0 (self->priv->va4); self->priv->va4 = _tmp240_; _tmp241_ = self->priv->va1; _tmp242_ = self->priv->va2; _tmp243_ = self->priv->va3; _tmp244_ = self->priv->va4; moserial_auto_scroll_setup (_tmp241_, _tmp242_, _tmp243_, _tmp244_); _tmp245_ = self->priv->_builder; _tmp246_ = gtk_builder_get_object (_tmp245_, "send"); _tmp247_ = _g_object_ref0 (GTK_BUTTON (_tmp246_)); _g_object_unref0 (self->priv->sendButton); self->priv->sendButton = _tmp247_; _tmp248_ = self->priv->sendButton; g_signal_connect_object (_tmp248_, "clicked", (GCallback) _moserial_main_window_sendString_gtk_button_clicked, self, 0); _tmp249_ = self->priv->sendButton; _tmp250_ = _ ("Send the outgoing data now."); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp249_, _tmp250_); _tmp251_ = self->priv->_builder; _tmp252_ = gtk_builder_get_object (_tmp251_, "entry"); _tmp253_ = _g_object_ref0 (GTK_ENTRY (_tmp252_)); _g_object_unref0 (self->priv->entry); self->priv->entry = _tmp253_; _tmp254_ = self->priv->entry; g_signal_connect_object (_tmp254_, "activate", (GCallback) _moserial_main_window_sendString_gtk_entry_activate, self, 0); _tmp255_ = self->priv->entry; _tmp256_ = _ ("Type outgoing data here. Press Enter or Send to send it."); gtk_widget_set_tooltip_text ((GtkWidget*) _tmp255_, _tmp256_); _tmp257_ = self->priv->_builder; _tmp258_ = gtk_builder_get_object (_tmp257_, "input_mode"); _tmp259_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp258_)); _g_object_unref0 (self->priv->inputModeCombo); self->priv->inputModeCombo = _tmp259_; _tmp260_ = self->priv->inputModeCombo; mo_utils_populateComboBox (_tmp260_, MOSERIAL_MAIN_WINDOW_inputModeStrings, G_N_ELEMENTS (MOSERIAL_MAIN_WINDOW_inputModeStrings)); _tmp261_ = self->priv->inputModeCombo; gtk_combo_box_set_active (_tmp261_, (gint) MOSERIAL_MAIN_WINDOW_INPUT_MODE_VALUES_ASCII); _tmp262_ = self->priv->inputModeCombo; g_signal_connect_object (_tmp262_, "changed", (GCallback) _moserial_main_window_inputModeChanged_gtk_combo_box_changed, self, 0); _tmp263_ = self->priv->_builder; _tmp264_ = gtk_builder_get_object (_tmp263_, "termination_mode"); _tmp265_ = _g_object_ref0 (GTK_COMBO_BOX (_tmp264_)); _g_object_unref0 (self->priv->lineEndModeCombo); self->priv->lineEndModeCombo = _tmp265_; _tmp266_ = self->priv->lineEndModeCombo; _tmp267_ = self->priv->serialConnection; mo_utils_populateComboBox (_tmp266_, MOSERIAL_SERIAL_CONNECTION_LineEndStrings, G_N_ELEMENTS (MOSERIAL_SERIAL_CONNECTION_LineEndStrings)); _tmp268_ = self->priv->lineEndModeCombo; gtk_combo_box_set_active (_tmp268_, (gint) MOSERIAL_SERIAL_CONNECTION_LINE_END_CRLF); _tmp269_ = g_strdup (MOSERIAL_MAIN_WINDOW_recentGroup); _tmp270_ = g_new0 (gchar*, 1 + 1); _tmp270_[0] = _tmp269_; self->priv->recentData.groups = (_vala_array_free (self->priv->recentData.groups, _vala_array_length (self->priv->recentData.groups), (GDestroyNotify) g_free), NULL); self->priv->recentData.groups = _tmp270_; _tmp271_ = g_get_application_name (); _tmp272_ = g_strdup (_tmp271_); _g_free0 (self->priv->recentData.app_name); self->priv->recentData.app_name = _tmp272_; _tmp273_ = g_get_prgname (); _tmp274_ = g_strconcat (_tmp273_, " %u", NULL); _g_free0 (self->priv->recentData.app_exec); self->priv->recentData.app_exec = _tmp274_; _tmp275_ = g_strdup ("text/plain"); _g_free0 (self->priv->recentData.mime_type); self->priv->recentData.mime_type = _tmp275_; _tmp276_ = gtk_recent_manager_get_default (); _tmp277_ = _g_object_ref0 (_tmp276_); recentManager = _tmp277_; _tmp278_ = recentManager; _tmp279_ = (GtkRecentChooserMenu*) gtk_recent_chooser_menu_new_for_manager (_tmp278_); _tmp280_ = g_object_ref_sink (_tmp279_); recentChooserMenu = _tmp280_; _tmp281_ = recentChooserMenu; g_signal_connect_object ((GtkRecentChooser*) _tmp281_, "item-activated", (GCallback) _moserial_main_window_recentItemOpen_gtk_recent_chooser_item_activated, self, 0); _tmp282_ = gtk_recent_filter_new (); _tmp283_ = g_object_ref_sink (_tmp282_); filter = _tmp283_; _tmp284_ = filter; gtk_recent_filter_add_group (_tmp284_, MOSERIAL_MAIN_WINDOW_recentGroup); _tmp285_ = recentChooserMenu; _tmp286_ = filter; gtk_recent_chooser_add_filter ((GtkRecentChooser*) _tmp285_, _tmp286_); _tmp287_ = recentChooserMenu; gtk_recent_chooser_menu_set_show_numbers (_tmp287_, TRUE); _tmp288_ = recentChooserMenu; gtk_recent_chooser_set_show_not_found ((GtkRecentChooser*) _tmp288_, FALSE); _tmp289_ = self->priv->_builder; _tmp290_ = gtk_builder_get_object (_tmp289_, "menubar_open_recent"); _tmp291_ = _g_object_ref0 (GTK_MENU_ITEM (_tmp290_)); recentFileItem = _tmp291_; _tmp292_ = recentFileItem; _tmp293_ = recentChooserMenu; gtk_menu_item_set_submenu (_tmp292_, (GtkWidget*) _tmp293_); _tmp294_ = self->priv->profile; _tmp295_ = preferences_loadFromProfile (_tmp294_); _g_object_unref0 (self->priv->currentPreferences); self->priv->currentPreferences = _tmp295_; _tmp296_ = self->priv->currentPreferences; moserial_main_window_updatePreferences (self, NULL, _tmp296_); self->priv->profileChanged = FALSE; _tmp297_ = self->priv->_startupProfileFilename; if (!(_tmp297_ == NULL)) { const gchar* _tmp298_; _tmp298_ = self->priv->_startupProfileFilename; moserial_main_window_loadProfileOnStartup (self, _tmp298_); } _tmp299_ = self->priv->profile; _tmp300_ = default_paths_loadFromProfile (_tmp299_); _g_object_unref0 (self->priv->currentPaths); self->priv->currentPaths = _tmp300_; _g_object_unref0 (recentFileItem); _g_object_unref0 (filter); _g_object_unref0 (recentChooserMenu); _g_object_unref0 (recentManager); _g_object_unref0 (outgoingHexScrolledWindow); _g_object_unref0 (outgoingAsciiScrolledWindow); _g_object_unref0 (incomingHexScrolledWindow); _g_object_unref0 (incomingAsciiScrolledWindow); _g_object_unref0 (contents); _g_object_unref0 (preferences); _g_object_unref0 (about); _g_object_unref0 (helpButton); _g_object_unref0 (clearMenuItem); _g_object_unref0 (pasteMenuItem); _g_object_unref0 (editMenuItem); _g_object_unref0 (open); _g_object_unref0 (save); _g_object_unref0 (saveAs); _g_object_unref0 (quit); return obj; } static void moserial_main_window_class_init (moserialMainWindowClass * klass) { moserial_main_window_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (moserialMainWindowPrivate)); G_OBJECT_CLASS (klass)->get_property = _vala_moserial_main_window_get_property; G_OBJECT_CLASS (klass)->set_property = _vala_moserial_main_window_set_property; G_OBJECT_CLASS (klass)->constructor = moserial_main_window_constructor; G_OBJECT_CLASS (klass)->finalize = moserial_main_window_finalize; g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_MAIN_WINDOW_BUILDER, g_param_spec_object ("builder", "builder", "builder", GTK_TYPE_BUILDER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); g_object_class_install_property (G_OBJECT_CLASS (klass), MOSERIAL_MAIN_WINDOW_STARTUP_PROFILE_FILENAME, g_param_spec_string ("startupProfileFilename", "startupProfileFilename", "startupProfileFilename", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); } static void moserial_main_window_instance_init (moserialMainWindow * self) { moserialSerialConnection* _tmp0_; moserialSerialStreamRecorder* _tmp1_; self->priv = MOSERIAL_MAIN_WINDOW_GET_PRIVATE (self); _tmp0_ = moserial_serial_connection_new (); self->priv->serialConnection = _tmp0_; _tmp1_ = moserial_serial_stream_recorder_new (); self->priv->streamRecorder = _tmp1_; self->priv->recordDataReceived = FALSE; self->priv->recordTimeoutID = (guint) 0; self->priv->profileFilename = NULL; self->priv->profileChanged = FALSE; } static void moserial_main_window_finalize (GObject* obj) { moserialMainWindow * self; self = MOSERIAL_MAIN_WINDOW (obj); _g_object_unref0 (self->priv->_builder); _g_object_unref0 (self->priv->gtkWindow); _g_object_unref0 (self->priv->settingsDialog); _g_object_unref0 (self->priv->settingsButton); _g_object_unref0 (self->priv->recordButton); _g_object_unref0 (self->priv->currentSettings); _g_object_unref0 (self->priv->currentPreferences); _g_object_unref0 (self->priv->currentPaths); _g_object_unref0 (self->priv->statusbar); _g_object_unref0 (self->priv->bytecountbar); _g_object_unref0 (self->priv->send); _g_object_unref0 (self->priv->sendProgressDialog); _g_object_unref0 (self->priv->sendChooserDialog); _g_object_unref0 (self->priv->receive); _g_object_unref0 (self->priv->receiveProgressDialog); _g_object_unref0 (self->priv->receiveChooserDialog); _g_object_unref0 (self->priv->recordDialog); _g_object_unref0 (self->priv->preferencesDialog); _g_object_unref0 (self->priv->serialConnection); _g_object_unref0 (self->priv->incomingHexTextView); _g_object_unref0 (self->priv->incomingAsciiTextView); _g_object_unref0 (self->priv->outgoingHexTextView); _g_object_unref0 (self->priv->outgoingAsciiTextView); _g_object_unref0 (self->priv->inputModeCombo); _g_object_unref0 (self->priv->lineEndModeCombo); _g_object_unref0 (self->priv->connectButton); _g_object_unref0 (self->priv->disconnectLabel); _g_object_unref0 (self->priv->connectLabel); _g_object_unref0 (self->priv->recordLabel); _g_object_unref0 (self->priv->stopRecordingLabel); _g_object_unref0 (self->priv->paned); _g_object_unref0 (self->priv->incoming_notebook); _g_object_unref0 (self->priv->outgoing_notebook); _g_object_unref0 (self->priv->incomingHexTextBuffer); _g_object_unref0 (self->priv->outgoingHexTextBuffer); _g_object_unref0 (self->priv->incomingAsciiTextBuffer); _g_object_unref0 (self->priv->echoTag); _g_object_unref0 (self->priv->outgoingAsciiTextBuffer); _g_object_unref0 (self->priv->echoStartMark); _g_object_unref0 (self->priv->xmodemFilenameDialog); _g_object_unref0 (self->priv->entry); _g_object_unref0 (self->priv->sendButton); _moserial_serial_stream_recorder_unref0 (self->priv->streamRecorder); _g_object_unref0 (self->priv->rz); _g_object_unref0 (self->priv->sz); _g_object_unref0 (self->priv->profile); _g_free0 (self->priv->_startupProfileFilename); _g_free0 (self->priv->profileFilename); _g_object_unref0 (self->priv->cutMenuItem); _g_object_unref0 (self->priv->copyMenuItem); _g_object_unref0 (self->priv->va1); _g_object_unref0 (self->priv->va2); _g_object_unref0 (self->priv->va3); _g_object_unref0 (self->priv->va4); _g_object_unref0 (self->priv->ag); gtk_recent_data_destroy (&self->priv->recentData); G_OBJECT_CLASS (moserial_main_window_parent_class)->finalize (obj); } GType moserial_main_window_get_type (void) { static volatile gsize moserial_main_window_type_id__volatile = 0; if (g_once_init_enter (&moserial_main_window_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (moserialMainWindowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) moserial_main_window_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (moserialMainWindow), 0, (GInstanceInitFunc) moserial_main_window_instance_init, NULL }; GType moserial_main_window_type_id; moserial_main_window_type_id = g_type_register_static (GTK_TYPE_WINDOW, "moserialMainWindow", &g_define_type_info, 0); g_once_init_leave (&moserial_main_window_type_id__volatile, moserial_main_window_type_id); } return moserial_main_window_type_id__volatile; } static void _vala_moserial_main_window_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) { moserialMainWindow * self; self = MOSERIAL_MAIN_WINDOW (object); switch (property_id) { case MOSERIAL_MAIN_WINDOW_BUILDER: g_value_set_object (value, moserial_main_window_get_builder (self)); break; case MOSERIAL_MAIN_WINDOW_STARTUP_PROFILE_FILENAME: g_value_set_string (value, moserial_main_window_get_startupProfileFilename (self)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_moserial_main_window_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) { moserialMainWindow * self; self = MOSERIAL_MAIN_WINDOW (object); switch (property_id) { case MOSERIAL_MAIN_WINDOW_BUILDER: moserial_main_window_set_builder (self, g_value_get_object (value)); break; case MOSERIAL_MAIN_WINDOW_STARTUP_PROFILE_FILENAME: moserial_main_window_set_startupProfileFilename (self, g_value_get_string (value)); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { if ((array != NULL) && (destroy_func != NULL)) { int i; for (i = 0; i < array_length; i = i + 1) { if (((gpointer*) array)[i] != NULL) { destroy_func (((gpointer*) array)[i]); } } } } static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { _vala_array_destroy (array, array_length, destroy_func); g_free (array); } static gint _vala_array_length (gpointer array) { int length; length = 0; if (array) { while (((gpointer*) array)[length]) { length++; } } return length; }