tebako 0.12.2 → 0.12.3

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: 3acd4d518e560abf4901a25e53452f910db850469375deb7e13b5ebc7c8173c4
4
- data.tar.gz: 260a96de335ba92231b01543f4a19ef41a59156ae8ea8546ac7b277bb8b3d7de
3
+ metadata.gz: 7f8ba6c5001a0f85b9ce548a1eb6c6a1d2bfc91315996b67f5b6073464912ead
4
+ data.tar.gz: 5b254551b21adeb112681cc7c67bf260d7b0659e95a14d1b31b2d9c75a89d24a
5
5
  SHA512:
6
- metadata.gz: 3899ed838eb003e918e9adc91efeeb1eae7d6248bff9e664ace699c1042503b19dce0179cffacaf9c7e7d7418691f0142d9a30388059e82fdb5a07b9a6a395cc
7
- data.tar.gz: 499099ca4dfc86e43f8de369b590e052a46156f2bcbce28081562687dbc42fa3de044e944163df36955f639ab82655921beba41e5e8d29e884e1e2fcb69e874f
6
+ metadata.gz: 937ea025ebed046f071e216a26f735b92fd65a2af19b16544f6b720493e86c314bf7fb04a4fb13a8d2b16c60a75ff5831f2cb62571829164e8d943a9be969f33
7
+ data.tar.gz: 7f164193fcdae2f6a425867ae37587d4f74a5461075867f7eca1a0f34cc3e55b9c7c6959c4ae14637ef59077885c5840db57f40eba415605495786c2cf85d350
data/CMakeLists.txt CHANGED
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2021-2024 [Ribose Inc](https://www.ribose.com).
1
+ # Copyright (c) 2021-2025 [Ribose Inc](https://www.ribose.com).
2
2
  # All rights reserved.
3
3
  # This file is a part of tebako
4
4
  #
@@ -361,8 +361,10 @@ ExternalProject_Add(${RUBY_PRJ}
361
361
  DOWNLOAD_NO_PROGRESS true
362
362
  SOURCE_DIR ${RUBY_SOURCE_DIR}
363
363
  BUILD_IN_SOURCE true
364
- PATCH_COMMAND ruby ${EXE}/tebako-packager pass1 ${OSTYPE_TXT} ${RUBY_SOURCE_DIR} ${FS_MOUNT_POINT} ${DATA_SRC_DIR} ${RUBY_VER}
365
- CONFIGURE_COMMAND ${GNU_BASH} -c "${RUBY_SOURCE_DIR}/configure ${OPENSSL_RUBY_OPTION} ${LIBYAML_RUBY_OPTION} \
364
+ CONFIGURE_COMMAND ruby ${EXE}/tebako-packager pass1 ${OSTYPE_TXT} ${RUBY_SOURCE_DIR} ${FS_MOUNT_POINT} ${DATA_SRC_DIR} ${RUBY_VER}
365
+ # Make it for MacOS otherwise LDFLAGS are invalid
366
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${DEPS_LIB_DIR}
367
+ COMMAND ${GNU_BASH} -c "${RUBY_SOURCE_DIR}/configure ${OPENSSL_RUBY_OPTION} ${LIBYAML_RUBY_OPTION} \
366
368
  --without-gmp \
367
369
  --disable-dtrace \
368
370
  --disable-debug-env \
@@ -379,23 +381,27 @@ ExternalProject_Add(${RUBY_PRJ}
379
381
  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}"
380
382
  )
381
383
 
382
- add_dependencies(${RUBY_PRJ} ${DWARFS_WR_PRJ} ${LIBDWARFS_WR_PRJ})
383
-
384
- if(IS_GNU)
385
- add_dependencies(${RUBY_PRJ} ${PATCHELF_PRJ})
386
- endif(IS_GNU)
387
-
384
+ # add_dependencies(${RUBY_PRJ} ${DWARFS_WR_PRJ})
388
385
 
389
386
  if (${SETUP_MODE})
390
387
  add_custom_target(setup
391
388
  ${CMAKE_COMMAND} -E echo "Tebako setup has completed"
392
389
  DEPENDS ${DWARFS_WR_PRJ} ${RUBY_PRJ}
393
390
  )
394
- else (${SETUP_MODE})
391
+ if(IS_GNU)
392
+ add_dependencies(setup ${PATCHELF_PRJ})
393
+ endif(IS_GNU)
394
+
395
+ else (${SETUP_MODE})
395
396
  add_custom_target(setup
396
397
  ${CMAKE_COMMAND} -E echo "Tebako setup has been verified"
397
398
  DEPENDS ${DWARFS_WR_PRJ} ${RUBY_PRJ}
398
399
  )
400
+ if(IS_GNU)
401
+ add_dependencies(setup ${PATCHELF_PRJ})
402
+ endif(IS_GNU)
403
+
404
+
399
405
 
400
406
  set(CMAKE_CXX_STANDARD 20)
401
407
  set(CMAKE_CXX_STANDARD_REQUIRED ON)
@@ -406,7 +412,7 @@ else (${SETUP_MODE})
406
412
 
407
413
  add_custom_target(packaged_filesystem
408
414
  COMMAND ruby ${DEPS_BIN_DIR}/deploy.rb
409
- DEPENDS ${RUBY_PRJ}
415
+ DEPENDS setup
410
416
  BYPRODUCTS ${DATA_BIN_FILE}
411
417
  )
412
418
 
@@ -121,6 +121,10 @@ module Tebako
121
121
  @deps_bin_dir ||= File.join(deps, "bin")
122
122
  end
123
123
 
124
+ def deps_lib_dir
125
+ @deps_lib_dir ||= File.join(deps, "lib")
126
+ end
127
+
124
128
  def fs_current
125
129
  fs_current = Dir.pwd
126
130
  if RUBY_PLATFORM =~ /msys|mingw|cygwin/
@@ -26,5 +26,5 @@
26
26
  # POSSIBILITY OF SUCH DAMAGE.
27
27
 
28
28
  module Tebako
29
- VERSION = "0.12.2"
29
+ VERSION = "0.12.3"
30
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tebako
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-15 00:00:00.000000000 Z
11
+ date: 2025-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor