diff --git a/Makefile.in b/Makefile.in index 7dbd606..0ff497f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -77,6 +77,8 @@ datarootdir=@datarootdir@ localedir=@localedir@ docdir=@docdir@ sysconfdir=@sysconfdir@ +datadir=$(datarootdir)/@PRODUCT_NAME@ +confdir=$(sysconfdir)/@PRODUCT_NAME@ BASEDIR=@BASEDIR@ @@ -295,9 +297,12 @@ install-shared: \ $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@ \ $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ - # Install default configs - @mkdir -p $(DESTDIR)$(datarootdir)/pw3270 + @mkdir -p $(DESTDIR)$(datadir) + + @$(INSTALL_DATA) \ + conf/colors.conf + $(DESTDIR)$(datadir)/colors.conf install-static: \ $(BINRLS)/static/$(LIBNAME).a @@ -327,8 +332,8 @@ install-dev: \ $(DESTDIR)$(libdir)/pkgconfig/libv3270.pc # Install translation files - @$(MKDIR) $(DESTDIR)$(datarootdir)/pw3270/pot - @$(INSTALL_DATA) $(POTDIR)/$(LIBNAME).pot $(DESTDIR)$(datarootdir)/pw3270/pot/$(LIBNAME).pot + @$(MKDIR) $(DESTDIR)$(datadir)/pot + @$(INSTALL_DATA) $(POTDIR)/$(LIBNAME).pot $(DESTDIR)$(datadir)/pot/$(LIBNAME).pot install-glade: diff --git a/conf/colors.conf b/conf/colors.conf new file mode 100644 index 0000000..bc8c8e8 --- /dev/null +++ b/conf/colors.conf @@ -0,0 +1,103 @@ +# +# Software pw3270; desenvolvido com base nos códigos fontes do WC3270 e X3270 +# (Paul Mattes Paul.Mattes@usa.net); de emulação de terminal 3270 para acesso a +# aplicativos mainframe. Registro no INPI sob o nome G3270. +# +# Copyright (C) <2008> +# +# Este programa é software livre. Você pode redistribuí-lo e/ou modificá-lo sob +# os termos da GPL v.2 - Licença Pública Geral GNU; conforme publicado pela +# Free Software Foundation. +# +# Este programa é distribuído na expectativa de ser útil; mas SEM QUALQUER +# GARANTIA; sem mesmo a garantia implícita de COMERCIALIZAÇÃO ou de ADEQUAÇÃO +# A QUALQUER PROPÓSITO EM PARTICULAR. Consulte a Licença Pública Geral GNU para +# obter mais detalhes. +# +# Você deve ter recebido uma cópia da Licença Pública Geral GNU junto com este +# programa; se não; escreva para a Free Software Foundation; Inc.; 51 Franklin +# St; Fifth Floor; Boston; MA 02110-1301 USA +# +# +# Contatos: +# +# perry.werneck@gmail.com (Alexandre Perry de Souza Werneck) +# erico.mendonca@gmail.com (Erico Mascarenhas Mendonça) +# + +[default] +label=PW3270 default + +base=#000000;#7890F0;#FF0000;#FF00FF;#00FF00;#00FFFF;#FFFF00;#FFFFFF;#000000;#000080;#FFA200;#800080;#008000;#008080;#A0A000;#C0C0C0 +field=#00FF00;#FF0000;#00FFFF;#FFFFFF +selection=#404040;#ffffff +OIA=#000000;#00FF00;#7890F0;#FFFFFF;#FF0000 + +cross-hair=#00FF00 + +[X3270] +label=X3270 + +base=black;deepSkyBlue;red;pink;green;turquoise;yellow;white;black;blue3;orange;purple;paleGreen;paleTurquoise2;grey;white +field=green;red;deepSkyBlue;white +selection=dimGrey;black +OIA=black;turquoise;turquoise;white;red + +cross-hair=white + +[Reverse] +label=Reverse +label[pt_BR]=Invertido + +base=white;blue;firebrick;pink;green4;cadetBlue;goldenrod;black;white;blue3;orange;purple;paleGreen;darkTurquoise;grey;black +selection=dimGrey;black +OIA=white;blue;blue;black;black + +cross-hair=black + +[Bright] +label=Bright +label[pt_BR]=Cores fortes + +base=black;blue;red;magenta;green;turquoise;yellow;white;black;blue3;orange;purple;paleGreen;cyan;grey;white +selection=dimGrey;black +OIA=black;blue;blue;white;red + +cross-hair=white + +[CPE] +label=CPE +base=black;LightBlue1;PaleVioletRed1;pink;green;turquoise;yellow;white;black;LightBlue3;orange;MediumPurple1;paleGreen;paleTurquoise2;grey80;white +selection=dimGrey;black +OIA=black;turquoise;turquoise;white;red + +cross-hair=white + +[Green] +label=Green +label[pt_BR]=Verde + +base=black;green + +[WB] +label=White on Black +label[pt_BR]=Branco com fundo preto + +base=black;white + +[BW] +label=Black on White +label[pt_BR]=Preto com fundo branco +base=white;black + +[selenized] + +# https://github.com/jan-warchol/selenized +label=Selenized color palette by Jan Warchoł + +base=rgb(24,24,24);rgb(79,156,254);rgb(237,74,70);rgb(235,110,183);rgb(131,199,70);rgb(86,216,201);rgb(239,197,65);rgb(222,222,222);rgb(59,59,59);rgb(54,142,171);rgb(250,145,83);rgb(165,128,226);rgb(112,180,51);rgb(65,199,185);rgb(219,179,45);rgb(119,119,119) +field=rgb(131,199,70);rgb(237,74,70);rgb(65,199,185);rgb(250,145,83) +selection=rgb(37,37,37);rgb(222,222,222) +OIA=rgb(24,24,24);rgb(222,222,222);rgb(79,156,254);rgb(131,199,70);rgb(239,197,65) +cross-hair=rgb(222,222,222) + -- libgit2 0.21.2