From 2e6471e446687537d4e08e2accf9218d90356b8b Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Mon, 25 Feb 2019 20:09:13 -0300 Subject: [PATCH] Fixing .deb builds --- Makefile.in | 15 ++++++++++++--- locale/pt_BR.po | 48 ++++++++++++++++++++++++------------------------ locale/pw3270.pot | 52 ++++++++++++++++++++++++++-------------------------- sdk/Makefile.in | 14 +++++++++++--- src/pw3270/Makefile.in | 23 +---------------------- 5 files changed, 74 insertions(+), 78 deletions(-) diff --git a/Makefile.in b/Makefile.in index 1715c15..ac8eaed 100644 --- a/Makefile.in +++ b/Makefile.in @@ -115,8 +115,20 @@ publish-release: \ #---[ Install Rules ]-------------------------------------------------------------------- install: \ + install-application \ + install-devel + +install-devel: \ $(foreach MODULE, $(MODULES), install-$(MODULE)) \ locale/$(PACKAGE_TARNAME).pot \ + install-sdk + + @$(MAKE) \ + -C src/libpw3270cpp \ + DESTDIR=$(DESTDIR) \ + install + +install-application: \ install-pw3270 \ install-branding \ install-ui \ @@ -133,11 +145,8 @@ ifneq ($(HELP2MAN),no) $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ | gzip --best --stdout - > $(DESTDIR)/$(mandir)/man1/$(PACKAGE_NAME).1.gz endif - @$(MAKE) -C src/libpw3270cpp DESTDIR=$(DESTDIR) install - @$(MKDIR) $(DESTDIR)$(libdir)/pw3270-plugins - install-%: \ modules/%/Makefile diff --git a/locale/pt_BR.po b/locale/pt_BR.po index c0b8198..fe64240 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: 2019-02-25 17:29-0300\n" +"POT-Creation-Date: 2019-02-25 19:57-0300\n" "PO-Revision-Date: 2019-02-06 11:14-0200\n" "Last-Translator: Perry Werneck \n" "Language-Team: Português <>\n" @@ -55,7 +55,7 @@ msgstr "Ação %s precisa de um valor válido" msgid "%s action needs src attribute" msgstr "Ação %s precisa do atributo src" -#: main.c:97 +#: main.c:96 #, c-format msgid "%s requires GTK version %d.%d.%d" msgstr "%s requer GTK versão %d.%d.%d" @@ -95,7 +95,7 @@ msgstr "%s: Tabulação vertical não é suportada" msgid "%s%s for %s" msgstr "%s%s para %s" -#: main.c:380 +#: main.c:379 msgid "- 3270 Emulator for Gtk" msgstr "- Emulador 3270 para GTK" @@ -168,7 +168,7 @@ msgstr "" msgid "Text options" msgstr "Opções de texto" -#: main.c:400 +#: main.c:399 msgid "" "Valid options:\n" "\n" @@ -261,7 +261,7 @@ msgstr "Um parametro de ENVIO/RECEBIMENTO inválido foi enviado para o host." msgid "Appends the source file to the destination file." msgstr "Adiciona conteúdo do arquivo origem ao final do arquivo destino." -#: main.c:369 +#: main.c:368 msgid "Application name" msgstr "Nome da aplicação" @@ -1046,7 +1046,7 @@ msgstr "" msgid "Function bar" msgstr "Barra de funções" -#: main.c:101 main.c:476 +#: main.c:100 main.c:475 msgid "GTK Version mismatch" msgstr "Divergência de versão GTK" @@ -1107,11 +1107,11 @@ msgstr "Servidor rejeitou o tipo de dispositivo ou requisição" msgid "Host rejected resource(s)" msgstr "Servidor rejeitou recurso(s)" -#: main.c:360 +#: main.c:359 msgid "Host system type" msgstr "Tipo do sistema no servidor" -#: main.c:358 +#: main.c:357 msgid "Host to connect" msgstr "Servidor a conectar" @@ -1323,7 +1323,7 @@ msgstr "Load" msgid "Load queue from file" msgstr "Ler a fila de um arquivo" -#: config.c:430 +#: config.c:423 #, c-format msgid "Loading %s" msgstr "Carregando %s" @@ -1337,11 +1337,11 @@ msgstr "Arquivo _local:" msgid "Local:" msgstr "Local:" -#: main.c:375 +#: main.c:374 msgid "Log to file" msgstr "Enviar log para arquivo" -#: main.c:366 +#: main.c:365 msgid "Minutes for auto-disconnect" msgstr "Minutos para desconexão automática" @@ -1608,7 +1608,7 @@ msgstr "PF8" msgid "PF9" msgstr "PF9" -#: main.c:398 +#: main.c:397 msgid "Parse error" msgstr "Erro de interpretação" @@ -1637,7 +1637,7 @@ msgstr "Colar com margem esquerda" msgid "Path and name of the local file" msgstr "Caminho e nome do arquivo local" -#: main.c:367 +#: main.c:366 msgid "Path for plugin files" msgstr "Caminho para os arquivos de plugin" @@ -1841,7 +1841,7 @@ msgstr "Recarregar conteúdo do buffer" msgid "Remap Failed" msgstr "Remapeamento falhou" -#: main.c:364 +#: main.c:363 msgid "Remap charset from xml file" msgstr "Remapear caracteres por um arquivo xml" @@ -2113,7 +2113,7 @@ msgstr "Certificado auto assinado na cadeia de certificados" msgid "Send file" msgstr "Enviar arquivo" -#: main.c:372 +#: main.c:371 msgid "Send messages to syslog" msgstr "Enviar mensagens para o log do sistema" @@ -2129,11 +2129,11 @@ msgstr "Enviar/Receber" msgid "Sending file" msgstr "Enviando arquivo" -#: main.c:353 main.c:355 +#: main.c:352 main.c:354 msgid "Session name" msgstr "Nome da sessão" -#: main.c:363 +#: main.c:362 msgid "Set host charset" msgstr "Define página de código do host" @@ -2141,19 +2141,19 @@ msgstr "Define página de código do host" msgid "Set insert mode" msgstr "Set insert mode" -#: main.c:359 +#: main.c:358 msgid "Set reported colors (8/16)" msgstr "Define número de cores informadas (8/16)" -#: main.c:362 +#: main.c:361 msgid "Set toggles OFF" msgstr "Desativa toggles" -#: main.c:361 +#: main.c:360 msgid "Set toggles ON" msgstr "Ativa toggles" -#: main.c:374 +#: main.c:373 msgid "Set trace filename" msgstr "Define o nome do arquivo de trace" @@ -2523,7 +2523,7 @@ msgstr "Os tipos conhecidos são %s" msgid "The model number" msgstr "Nº do modelo" -#: main.c:365 +#: main.c:364 msgid "The model of 3270 display to be emulated" msgstr "Modelo de tela 3270 a ser emulada" @@ -2632,7 +2632,7 @@ msgstr "" "programa; se não, escreva para a Free Software Foundation, Inc., 59 Temple " "Place, Suite 330, Boston, MA, 02111-1307, USA" -#: main.c:472 +#: main.c:471 #, c-format msgid "This program requires GTK version %d.%d.%d" msgstr "Este programa precisa do GTK versão %d.%d.%d" @@ -2830,7 +2830,7 @@ msgstr "O resultado da verificação TLS/SSL foi inesperado" msgid "Unexpected or invalid attribute value \"%s\"" msgstr "Valor de attributo inesperado ou inválido: \"%s\"" -#: main.c:157 +#: main.c:156 #, c-format msgid "Unexpected or invalid color value \"%s\"" msgstr "Valor de cor inválido ou inesperado: \"%s\"" diff --git a/locale/pw3270.pot b/locale/pw3270.pot index a7c8d46..d60f47c 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: 2019-02-25 17:37-0300\n" +"POT-Creation-Date: 2019-02-25 20:07-0300\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: 2019-02-22 14:46+0000\n" +"POT-Creation-Date: 2019-02-25 21:25+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -31,7 +31,7 @@ msgstr "" "#-#-#-#-# libv3270.pot (PACKAGE VERSION) #-#-#-#-#\n" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-02-22 14:48+0000\n" +"POT-Creation-Date: 2019-02-25 21:45+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -87,7 +87,7 @@ msgstr "" msgid "%s action needs src attribute" msgstr "" -#: main.c:97 +#: main.c:96 #, c-format msgid "%s requires GTK version %d.%d.%d" msgstr "" @@ -127,7 +127,7 @@ msgstr "" msgid "%s%s for %s" msgstr "" -#: main.c:380 +#: main.c:379 msgid "- 3270 Emulator for Gtk" msgstr "" @@ -198,7 +198,7 @@ msgstr "" msgid "Text options" msgstr "" -#: main.c:400 +#: main.c:399 msgid "" "Valid options:\n" "\n" @@ -284,7 +284,7 @@ msgstr "" msgid "Appends the source file to the destination file." msgstr "" -#: main.c:369 +#: main.c:368 msgid "Application name" msgstr "" @@ -1033,7 +1033,7 @@ msgstr "" msgid "Function bar" msgstr "" -#: main.c:101 main.c:476 +#: main.c:100 main.c:475 msgid "GTK Version mismatch" msgstr "" @@ -1093,11 +1093,11 @@ msgstr "" msgid "Host rejected resource(s)" msgstr "" -#: main.c:360 +#: main.c:359 msgid "Host system type" msgstr "" -#: main.c:358 +#: main.c:357 msgid "Host to connect" msgstr "" @@ -1293,7 +1293,7 @@ msgstr "" msgid "Load queue from file" msgstr "" -#: config.c:430 +#: config.c:423 #, c-format msgid "Loading %s" msgstr "" @@ -1306,11 +1306,11 @@ msgstr "" msgid "Local:" msgstr "" -#: main.c:375 +#: main.c:374 msgid "Log to file" msgstr "" -#: main.c:366 +#: main.c:365 msgid "Minutes for auto-disconnect" msgstr "" @@ -1574,7 +1574,7 @@ msgstr "" msgid "PF9" msgstr "" -#: main.c:398 +#: main.c:397 msgid "Parse error" msgstr "" @@ -1603,7 +1603,7 @@ msgstr "" msgid "Path and name of the local file" msgstr "" -#: main.c:367 +#: main.c:366 msgid "Path for plugin files" msgstr "" @@ -1805,7 +1805,7 @@ msgstr "" msgid "Remap Failed" msgstr "" -#: main.c:364 +#: main.c:363 msgid "Remap charset from xml file" msgstr "" @@ -2063,7 +2063,7 @@ msgstr "" msgid "Send file" msgstr "" -#: main.c:372 +#: main.c:371 msgid "Send messages to syslog" msgstr "" @@ -2079,11 +2079,11 @@ msgstr "" msgid "Sending file" msgstr "" -#: main.c:353 main.c:355 +#: main.c:352 main.c:354 msgid "Session name" msgstr "" -#: main.c:363 +#: main.c:362 msgid "Set host charset" msgstr "" @@ -2091,19 +2091,19 @@ msgstr "" msgid "Set insert mode" msgstr "" -#: main.c:359 +#: main.c:358 msgid "Set reported colors (8/16)" msgstr "" -#: main.c:362 +#: main.c:361 msgid "Set toggles OFF" msgstr "" -#: main.c:361 +#: main.c:360 msgid "Set toggles ON" msgstr "" -#: main.c:374 +#: main.c:373 msgid "Set trace filename" msgstr "" @@ -2421,7 +2421,7 @@ msgstr "" msgid "The model number" msgstr "" -#: main.c:365 +#: main.c:364 msgid "The model of 3270 display to be emulated" msgstr "" @@ -2508,7 +2508,7 @@ msgid "" "Franklin St, Fifth Floor, Boston, MA 02111-1307 USA" msgstr "" -#: main.c:472 +#: main.c:471 #, c-format msgid "This program requires GTK version %d.%d.%d" msgstr "" @@ -2703,7 +2703,7 @@ msgstr "" msgid "Unexpected or invalid attribute value \"%s\"" msgstr "" -#: main.c:157 +#: main.c:156 #, c-format msgid "Unexpected or invalid color value \"%s\"" msgstr "" diff --git a/sdk/Makefile.in b/sdk/Makefile.in index 767586a..70c6246 100644 --- a/sdk/Makefile.in +++ b/sdk/Makefile.in @@ -83,8 +83,14 @@ install: \ $(LIBNAME).@PACKAGE_MAJOR_VERSION@ \ $(DESTDIR)$(libdir)/$(LIBNAME) - @$(MKDIR) $(DESTDIR)$(libdir)/pkgconfig - @$(INSTALL_DATA) pw3270.pc $(DESTDIR)$(libdir)/pkgconfig/$(PACKAGE_TARNAME).pc + # Install PKG-CONFIG files + + @mkdir -p $(DESTDIR)$(libdir)/pkgconfig + + @$(INSTALL_DATA) \ + $(BASEDIR)/sdk/*.pc \ + $(DESTDIR)$(libdir)/pkgconfig + $(SRCDIR)/sdk: \ $(foreach SRC, $(notdir $(wildcard $(BASEDIR)/src/include/lib3270/*.h)), $(SRCDIR)/src/include/lib3270/$(SRC)) \ @@ -96,7 +102,9 @@ $(SRCDIR)/sdk: \ @$(MKDIR) $@ @$(INSTALL_DATA) *.in $@ - @$(INSTALL_DATA) $(BASEDIR)/src/include/*.in $(SRCDIR)/src/include + @$(INSTALL_DATA) \ + $(BASEDIR)/src/include/*.in \ + $(SRCDIR)/src/include diff --git a/src/pw3270/Makefile.in b/src/pw3270/Makefile.in index 31af8f3..eee389d 100644 --- a/src/pw3270/Makefile.in +++ b/src/pw3270/Makefile.in @@ -266,8 +266,7 @@ $(BINRLS)/$(LIBNAME).@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@: \ $(LIBS) install: \ - $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ \ - install-devel + $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ @$(MKDIR) $(DESTDIR)$(libdir) @@ -281,26 +280,6 @@ install: \ $(BINRLS)/$(PACKAGE_TARNAME)@EXEEXT@ \ $(DESTDIR)$(bindir) - -install-devel: - - @mkdir -p $(DESTDIR)$(libdir)/pkgconfig - @mkdir -p $(DESTDIR)$(includedir)/pw3270 - - # 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