tebako 0.7.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f401cd856745a3bf5936d3805342314d03b2fb08d6972c3a3c80164333af135c
4
- data.tar.gz: 6c6db56b7763e6e0412539b20a0d6b5f679a1da55ceb8cc722293315df2f3cea
3
+ metadata.gz: 690c1fae126210478beca87208f26cc10aaad5b7081f41d7e25bcc994677d201
4
+ data.tar.gz: 6cce9afe63c5195679c8fb31a2462a52dce5e31be005e4b1187e2c95672cb2f5
5
5
  SHA512:
6
- metadata.gz: '028f3c468930c81829d693900dc9adb10a477877fdb5f65376b3c3f3a846672845389e83d4f361a207a15f1c4e824904fb4de88363c04aeb74b547504a03a01a'
7
- data.tar.gz: a7aadebf1ec8b478e156d571ef9e7f48cb50965efdf1c629b895b96a039a8ffd116722460a80d042ab97e43a15ded8843148e0469079744f3ed8c6e5a55973bc
6
+ metadata.gz: e507d6cb7f1cae51c154c10678a14f2954bca20876950979d3c47d9cccbce098e62bfc11f0a1d0514e3de49bf5f51dc5c9acad842a34ea30bddcf1db3a481d70
7
+ data.tar.gz: cf04ee58de3be8691c9f1e949707f5161d76fd0b056f039c6aa9b5cfd1261978d7458714810e7d5a62c4e73bb4eee536dc2a7a4c42646f9d283dc96c7f6f0ed3
data/CMakeLists.txt CHANGED
@@ -116,13 +116,9 @@ set(IS_MUSL OFF)
116
116
  set(IS_MSYS OFF)
117
117
  set(IS_DARWIN OFF)
118
118
  set(RB_W32 OFF)
119
- set(RUBY_WITHOUT_EXT "dbm,win32,win32ole,-test-\*")
119
+ set(RUBY_WITHOUT_EXT "dbm,win32,win32ole,-test-/*")
120
120
  set(RUBY_NAME "ruby")
121
- set(RUBY_SUFFIX "")
122
121
  set(EXE_SUFFIX "")
123
- set(CMD_SUFFIX "")
124
- set(BAT_SUFFIX "")
125
- set(RUBY_MAKEFILE "")
126
122
  set(DWARFS_PRELOAD OFF)
127
123
 
128
124
  if("${OSTYPE_TXT}" MATCHES "^linux-musl.*")
@@ -131,12 +127,8 @@ elseif("${OSTYPE_TXT}" MATCHES "^msys*")
131
127
  set(IS_MSYS ON)
132
128
  # set(DWARFS_PRELOAD ON)
133
129
  set(RB_W32 ON)
134
- set(RUBY_WITHOUT_EXT "dbm,syslog,pty,gdbm,readline,-test-\*")
135
- #set(RUBY_SUFFIX "w")
130
+ set(RUBY_WITHOUT_EXT "dbm,syslog,pty,gdbm,readline,-test-/*")
136
131
  set(EXE_SUFFIX ".exe")
137
- set(CMD_SUFFIX ".cmd")
138
- set(BAT_SUFFIX ".bat")
139
- #set(RUBY_MAKEFILE "--file=GNUmakefile")
140
132
  elseif("${OSTYPE_TXT}" MATCHES "^darwin.*")
141
133
  set(IS_DARWIN ON)
142
134
  if(${RUBY_VER} VERSION_LESS "3.1.0")
@@ -202,7 +194,7 @@ string(SUBSTRING ${RUBY_VER} 0 3 RUBY_VER_BASE)
202
194
  string(CONCAT RUBY_API_VER ${RUBY_VER_BASE} ".0")
203
195
 
204
196
  if(DWARFS_PRELOAD)
205
- def_ext_prj_t(LIBDWARFS_WR "0.5.1" "7bf8e5b4432f35b65f6034f614067c2018995c1bebaf935e8cdddc1a3e045c01")
197
+ def_ext_prj_t(LIBDWARFS_WR "0.5.5" "7bf8e5b4432f35b65f6034f614067c2018995c1bebaf935e8cdddc1a3e045c01")
206
198
 
207
199
  string(REGEX REPLACE "^([0-9]+)\\.([0-9]+)\\.([0-9]+).*" "\\1;\\2;\\3" LIBDWARFS_WR_VER_COMPONENTS ${LIBDWARFS_WR_VER})
208
200
 
@@ -211,7 +203,7 @@ if(DWARFS_PRELOAD)
211
203
  list(GET LIBDWARFS_WR_VER_COMPONENTS 2 LIBDWARFS_WR_VER_PATCH)
212
204
  set (LIBDWARFS_WR_VER_M ${LIBDWARFS_WR_VER_MAJOR}.${LIBDWARFS_WR_VER_MINOR}.${LIBDWARFS_WR_VER_PATCH})
213
205
  else(DWARFS_PRELOAD)
214
- def_ext_prj_g(DWARFS_WR "v0.5.4")
206
+ def_ext_prj_g(DWARFS_WR "v0.5.5")
215
207
  endif(DWARFS_PRELOAD)
216
208
 
217
209
  set(LIBYAML_RUBY_OPTION "")
@@ -385,8 +377,8 @@ ExternalProject_Add(${RUBY_PRJ}
385
377
  ${C_FLAGS_DEST}=\"${RUBY_C_FLAGS}\" \
386
378
  LDFLAGS=\"${RUBY_L_FLAGS}\""
387
379
  COMMAND ruby ${EXE}/tebako-packager pass1a ${RUBY_SOURCE_DIR}
388
- BUILD_COMMAND make ${RUBY_MAKEFILE} -j${NCORES}
389
- INSTALL_COMMAND make ${RUBY_MAKEFILE} install
380
+ BUILD_COMMAND make -j${NCORES}
381
+ INSTALL_COMMAND make install -j${NCORES}
390
382
  COMMAND ${GNU_BASH} -c "ruby ${EXE}/tebako-packager pass2 ${OSTYPE_TXT} ${RUBY_SOURCE_DIR} ${DEPS_LIB_DIR} ${DATA_SRC_DIR} ${RUBY_STASH_DIR} ${RUBY_VER}"
391
383
  )
392
384
 
@@ -483,17 +475,21 @@ else (${SETUP_MODE})
483
475
  ${DEPS_INCLUDE_DIR}/tebako/tebako-version.h
484
476
  )
485
477
 
478
+ if(${RUBY_VER} VERSION_LESS "3.3.0" AND "${OSTYPE_TXT}" MATCHES "^msys*")
479
+ target_compile_definitions(tebako-fs PUBLIC RB_W32_PRE_33)
480
+ endif(${RUBY_VER} VERSION_LESS "3.3.0" AND "${OSTYPE_TXT}" MATCHES "^msys*")
481
+
486
482
  add_dependencies(tebako-fs packaged_filesystem)
487
483
 
488
484
  if (${RUBY_VER} VERSION_LESS "3.0.0")
489
485
  add_custom_target(tebako
490
- COMMAND ${CMAKE_COMMAND} -E chdir ${RUBY_SOURCE_DIR} make ${RUBY_MAKEFILE} -j${NCORES}
486
+ COMMAND ${CMAKE_COMMAND} -E chdir ${RUBY_SOURCE_DIR} make -j${NCORES}
491
487
  COMMAND ruby ${EXE}/tebako-packager finalize ${OSTYPE_TXT} ${RUBY_SOURCE_DIR} ${APP_NAME}
492
488
  )
493
489
  else()
494
490
  add_custom_target(tebako
495
- COMMAND ${CMAKE_COMMAND} -E chdir ${RUBY_SOURCE_DIR} make ruby ${RUBY_MAKEFILE} -j${NCORES}
496
- COMMAND ${CMAKE_COMMAND} -E chdir ${RUBY_SOURCE_DIR} make ${RUBY_MAKEFILE} -j${NCORES}
491
+ COMMAND ${CMAKE_COMMAND} -E chdir ${RUBY_SOURCE_DIR} make ruby -j${NCORES}
492
+ COMMAND ${CMAKE_COMMAND} -E chdir ${RUBY_SOURCE_DIR} make -j${NCORES}
497
493
  COMMAND ruby ${EXE}/tebako-packager finalize ${OSTYPE_TXT} ${RUBY_SOURCE_DIR} ${APP_NAME}
498
494
  )
499
495
  endif()