diff --git a/Makefile.in b/Makefile.in index 1be4399..13b7a4e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -151,9 +151,10 @@ install: \ ifneq ($(HELP2MAN),no) @$(MKDIR) $(DESTDIR)/$(mandir)/man1 - @$(HELP2MAN) \ + @LD_LIBRARY_PATH=$(BINRLS) \ + $(HELP2MAN) \ --version-string="$(PACKAGE_TARNAME) - $(PACKAGE_DESCRIPTION) Vrs. $(PACKAGE_VERSION)" \ - $(DESTDIR)$(bindir)/$(PACKAGE_TARNAME)@EXEEXT@ | gzip --best --stdout - > $(DESTDIR)/$(mandir)/man1/$(PACKAGE_NAME).1.gz + $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ | gzip --best --stdout - > $(DESTDIR)/$(mandir)/man1/$(PACKAGE_NAME).1.gz endif install-plugins: \ diff --git a/locale/pt_BR.po b/locale/pt_BR.po index ee00e6d..27fe8f7 100644 --- a/locale/pt_BR.po +++ b/locale/pt_BR.po @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: pw3270 5.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-09 15:19-0200\n" +"POT-Creation-Date: 2018-11-12 09:35-0200\n" "PO-Revision-Date: 2018-10-22 14:38-0300\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português <>\n" @@ -423,6 +423,10 @@ msgstr "Não foi possível conectar a %s" msgid "Can't connect to %s:%s" msgstr "Não foi possível conectar a %s:%s" +#: main.c:70 +msgid "Can't connect to DBUS server" +msgstr "Não foi possível conectar ao servidor DBUS" + #: selection.c:466 #, c-format msgid "Can't convert line %d from %s to %s" @@ -437,6 +441,10 @@ msgstr "Recortar não permitido em seleção retangular" msgid "Can't determine value for environment variable \"%s\" " msgstr "Não consigo determinar o valor da variável de ambiente \"%s\" " +#: main.c:115 +msgid "Can't get DBUS object name" +msgstr "Não foi possível obter o nome do objeto DBUS" + #: src/lib3270/ft.c:413 msgid "Can't get file size" msgstr "Não foi possível obter o tamanho do arquivo" @@ -671,6 +679,10 @@ msgstr "Configurar host" msgid "Connect on startup" msgstr "Conectar ao iniciar" +#: gobject.c:205 +msgid "Connecting to host" +msgstr "Conectando ao servidor" + #: src/lib3270/connect.c:215 src/lib3270/connect.c:311 #: src/lib3270/connect.c:320 src/lib3270/connect.c:382 #: src/lib3270/connect.c:397 src/lib3270/connect.c:413 @@ -1956,6 +1968,11 @@ msgstr "Iniciar transferência de arquivo" msgid "Starting" msgstr "Iniciando" +#: gobject.c:193 +#, c-format +msgid "State %04d can't accept requests" +msgstr "Não é possível receber requisições no estado %04d" + #: security.c:237 msgid "Subject issuer mismatch" msgstr "Divergência na identidade do emissor" @@ -2469,6 +2486,11 @@ msgstr "Valor de cor inválido ou inesperado: \"%s\"" msgid "Unexpected or unknown security status" msgstr "Estado de segurança inesperado ou desconhecido." +#: gobject.c:208 +#, c-format +msgid "Unexpected state %04d" +msgstr "Estado inesperado %04d" + #: actions.c:391 #, c-format msgid "Unexpected target \"%s\"" @@ -2875,12 +2897,6 @@ msgstr "translator-credits" #~ "32768. Valores maiores trazem maior performance, porem, nem todos os " #~ "hosts podem suportá-los." -#~ msgid "Can't connect to DBUS server" -#~ msgstr "Não foi possível conectar ao servidor DBUS" - -#~ msgid "Can't get DBUS object name" -#~ msgstr "Não foi possível obter o nome do objeto DBUS" - #~ msgid "Can't start download." #~ msgstr "Não foi possível iniciar o download." @@ -2917,9 +2933,6 @@ msgstr "translator-credits" #~ msgid "Complete" #~ msgstr "Completo" -#~ msgid "Connecting to host" -#~ msgstr "Conectando ao servidor" - #~ msgid "Copiar tudo" #~ msgstr "Copiar tudo" @@ -3248,9 +3261,6 @@ msgstr "translator-credits" #~ msgid "Start upload." #~ msgstr "Iniciar envio." -#~ msgid "State %04d can't accept requests" -#~ msgstr "Não é possível receber requisições no estado %04d" - #~ msgid "Status" #~ msgstr "Situação" @@ -3285,9 +3295,6 @@ msgstr "translator-credits" #~ msgid "Unexpected element <%s>" #~ msgstr "Elemento <%s> inesperado" -#~ msgid "Unexpected state %04d" -#~ msgstr "Estado inesperado %04d" - #~ msgid "" #~ "Unknown host:\n" #~ "%s" diff --git a/locale/pw3270.pot b/locale/pw3270.pot index 0aad8b0..d217bd1 100644 --- a/locale/pw3270.pot +++ b/locale/pw3270.pot @@ -9,7 +9,7 @@ msgstr "" "#-#-#-#-# pw3270.pot (PACKAGE VERSION) #-#-#-#-#\n" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-09 17:21-0200\n" +"POT-Creation-Date: 2018-11-12 09:41-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -20,7 +20,7 @@ msgstr "" "#-#-#-#-# lib3270.pot (PACKAGE VERSION) #-#-#-#-#\n" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-09 17:21-0200\n" +"POT-Creation-Date: 2018-11-12 09:41-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -42,7 +42,7 @@ msgstr "" "#-#-#-#-# dbus3270.pot (PACKAGE VERSION) #-#-#-#-#\n" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-11-09 17:21-0200\n" +"POT-Creation-Date: 2018-11-12 09:41-0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/rpm/pw3270.spec b/rpm/pw3270.spec index 4510047..b18d246 100644 --- a/rpm/pw3270.spec +++ b/rpm/pw3270.spec @@ -312,8 +312,8 @@ rm %{buildroot}/%{_datadir}/pw3270/ui/*rexx*.xml %{_libdir}/libpw3270.so %{_libdir}/pkgconfig/pw3270.pc -%{_libdir}/libpw3270cpp.a -%{_includedir}/pw3270cpp.h +#%{_libdir}/libpw3270cpp.a +#%{_includedir}/pw3270cpp.h %if 0%{?_dbus} %files plugin-dbus diff --git a/src/pw3270/Makefile.in b/src/pw3270/Makefile.in index 04941ad..1f0fcb6 100644 --- a/src/pw3270/Makefile.in +++ b/src/pw3270/Makefile.in @@ -45,6 +45,7 @@ bindir=@bindir@ libdir=@libdir@ datarootdir=@datarootdir@ localedir=@localedir@ +includedir=@includedir@ desktopdir=$(datarootdir)/applications BASEDIR=@BASEDIR@ @@ -233,7 +234,8 @@ $(BINRLS)/$(LIBNAME).@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@: \ @$(LD) -shared -Wl,-soname,$(@F) $(LDFLAGS) -L$(BINRLS) -o $@ $^ $(LIBS) install: \ - $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ + $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ \ + install-devel @$(MKDIR) $(DESTDIR)$(libdir) @@ -255,6 +257,26 @@ install: \ $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ \ $(DESTDIR)$(bindir) + +install-devel: + + @mkdir -p $(DESTDIR)$(includedir)/pw3270 + @mkdir -p $(DESTDIR)$(libdir)/pkgconfig + + # Install includes + @$(INSTALL_DATA) \ + $(BASEDIR)/src/include/pw3270/*.h \ + $(DESTDIR)$(includedir)/pw3270 + + @$(INSTALL_DATA) \ + $(BASEDIR)/src/include/pw3270.h \ + $(DESTDIR)$(includedir) + + # Install PKG-CONFIG files + @$(INSTALL_DATA) \ + $(BASEDIR)/sdk/*.pc \ + $(DESTDIR)$(libdir)/pkgconfig + $(SRCDIR): \ clean \ $(foreach MOD, $(MODULES), $(SRCDIR)/$(MOD)) -- libgit2 0.21.2