Commit 37bf41dbec69fc9f36ffbb22b424f65b0161b598
1 parent
13866a43
Exists in
master
and in
2 other branches
Working on windows package.
Showing
5 changed files
with
21 additions
and
1 deletions
Show diff stats
win/makeruntime.sh.in
... | ... | @@ -25,6 +25,13 @@ |
25 | 25 | # erico.mendonca@gmail.com (Erico Mascarenhas de Mendonça) |
26 | 26 | # |
27 | 27 | |
28 | +# | |
29 | +# Referencias: | |
30 | +# | |
31 | +# https://www.gtk.org/docs/installations/windows/ | |
32 | +# http://drup.org/gtk-warning-error-loading-icon-couldnt-recognize-image-file-format | |
33 | +# | |
34 | + | |
28 | 35 | # Get myDIR |
29 | 36 | myDIR=$(dirname $(readlink -f "${0}")) |
30 | 37 | ... | ... |
win/pack.sh
... | ... | @@ -129,7 +129,8 @@ prepare() |
129 | 129 | for spec in $(find ${WORKDIR}/sources/${1}/win/${ARCH} -name "*.spec") |
130 | 130 | do |
131 | 131 | echo "Parsing ${spec}" |
132 | - grep -i buildrequires "${spec}" | grep -v "%" | cut -d: -f2- | tr -d '[:blank:]' >> ${WORKDIR}/sources/pre-reqs | |
132 | + grep -i "^Requires:" "${spec}" | grep -v "%" | cut -d: -f2- | tr -d '[:blank:]' >> ${WORKDIR}/sources/pre-reqs | |
133 | + grep -i "^BuildRequires:" "${spec}" | grep -v "%" | cut -d: -f2- | tr -d '[:blank:]' >> ${WORKDIR}/sources/pre-reqs | |
133 | 134 | done |
134 | 135 | |
135 | 136 | fi | ... | ... |
win/pw3270.nsi.in
... | ... | @@ -124,6 +124,8 @@ SubSection "@PRODUCT_NAME@" SecMain |
124 | 124 | file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-application.gschema.xml" "share\glib-2.0\schemas\pw3270-application.gschema.xml" |
125 | 125 | file "/oname=$INSTDIR\schemas\@PRODUCT_NAME@-window.gschema.xml" "share\glib-2.0\schemas\pw3270-window.gschema.xml" |
126 | 126 | |
127 | + file "/oname=$INSTDIR\gschemas.compiled" "runtime/share/glib-2.0/schemas/gschemas.compiled" | |
128 | + | |
127 | 129 | # Configuration files |
128 | 130 | file "/oname=$INSTDIR\colors.conf" "share\@PRODUCT_NAME@\colors.conf" |
129 | 131 | |
... | ... | @@ -523,5 +525,10 @@ Function .onInit |
523 | 525 | |
524 | 526 | FunctionEnd |
525 | 527 | |
528 | +Function .onInstSuccess | |
529 | + | |
530 | + # Update GTK Image loaders | |
531 | + | |
526 | 532 | |
533 | +FunctionEnd | |
527 | 534 | ... | ... |
win/x86_32/mingw32-pw3270.spec
... | ... | @@ -39,6 +39,10 @@ Url: http://www.softwarepublico.gov.br/dotlrn/clubs/pw3270 |
39 | 39 | Source: pw3270-%{version}.tar.xz |
40 | 40 | BuildRoot: %{_tmppath}/%{name}-%{version}-build |
41 | 41 | |
42 | +Requires: mingw32-gtk3 | |
43 | +Requires: mingw32-lib3270 = %{version} | |
44 | +Requires: mingw32-hicolor-icon-theme | |
45 | + | |
42 | 46 | Provides: mingw32-pw3270-%{MAJOR_VERSION}_%{MINOR_VERSION} |
43 | 47 | Conflicts: otherproviders(mingw32-pw3270-%{MAJOR_VERSION}_%{MINOR_VERSION}) |
44 | 48 | ... | ... |
win/x86_64/mingw64-pw3270.spec
... | ... | @@ -41,6 +41,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build |
41 | 41 | |
42 | 42 | Requires: mingw64-gtk3 |
43 | 43 | Requires: mingw64-lib3270 = %{version} |
44 | +Requires: mingw64-hicolor-icon-theme | |
44 | 45 | |
45 | 46 | Provides: mingw64(lib:pw3270) = %{version} |
46 | 47 | Requires: mingw64-lib3270-%{MAJOR_VERSION}_%{MINOR_VERSION} = %{version} | ... | ... |