Commit 9de0cbfbb1c48fbc4ecea3b1d9e0388367199de4

Authored by Perry Werneck
1 parent cf4268c3
Exists in v5.2

Fixing windows build.

Showing 3 changed files with 8 additions and 6 deletions   Show diff stats
Makefile.in
... ... @@ -254,8 +254,8 @@ locale: \
254 254  
255 255 locale/$(PACKAGE_TARNAME).pot: \
256 256 $(POTDIR)/pw3270.pot \
257   - /usr/share/@PRODUCT_NAME@/pot/lib3270.pot \
258   - /usr/share/@PRODUCT_NAME@/pot/libv3270.pot \
  257 + $(datarootdir)/$(PRODUCT_NAME)/pot/lib3270.pot \
  258 + $(datarootdir)/$(PRODUCT_NAME)/pot/libv3270.pot \
259 259 $(POTDIR)/ui.pot
260 260  
261 261 @rm -f $@
... ...
win/pack.sh
... ... @@ -30,7 +30,7 @@ PRODUCT_NAME="pw3270"
30 30 LIBRARY_NAME="lib3270"
31 31 CORE_LIBRARIES="lib3270 libv3270 libipc3270"
32 32 PACKAGE_PLUGINS=""
33   -PACKAGE_EXTRAS="libhllapi"
  33 +PACKAGE_EXTRAS="libhllapi tn3270-mono"
34 34 TARGET_ARCHS="x86_64 x86_32"
35 35 GIT_URL="https://github.com/PerryWerneck"
36 36  
... ... @@ -78,11 +78,13 @@ prepare()
78 78 mkdir -p ${WORKDIR}/sources
79 79  
80 80 TEMPVAR=${1}_branch
81   - BRANCH=${!TEMPVAR}
  81 + BRANCH=${!TEMPVAR} 2> /dev/null
82 82  
83 83 if [ -z ${BRANCH} ]; then
84 84 git clone --quiet ${GIT_URL}/${1}.git ${WORKDIR}/sources/${1}
85 85 else
  86 + echo "Preparing ${1} ${BRANCH}"
  87 + echo -e "\e]2;Preparing ${1} ${BRANCH}\a"
86 88 git clone --quiet --branch "${BRANCH}" ${GIT_URL}/${1}.git ${WORKDIR}/sources/${1}
87 89 fi
88 90  
... ...
win/pw3270.nsi.in
... ... @@ -287,7 +287,7 @@ Section "Uninstall"
287 287 delete $SYSDIR\hllapi.dll
288 288 !endif
289 289  
290   -!ifdef WITHMONO
  290 +!ifdef WITHMONO-TN3270
291 291 delete $SYSDIR\mono-tn3270.dll
292 292 !endif
293 293  
... ... @@ -299,7 +299,7 @@ Function .onInit
299 299  
300 300 #---[ Check DOTNET Command line option ]0-------------------------------------------------------------
301 301  
302   -!ifdef WITHMONO
  302 +!ifdef WITHMONO-TN3270
303 303 Push $0
304 304  
305 305 ${GetParameters} $R0
... ...