bare-gtk 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt
CHANGED
|
@@ -2,17 +2,17 @@ cmake_minimum_required(VERSION 4.0)
|
|
|
2
2
|
|
|
3
3
|
find_package(cmake-bare REQUIRED PATHS node_modules/cmake-bare)
|
|
4
4
|
find_package(cmake-fetch REQUIRED PATHS node_modules/cmake-fetch)
|
|
5
|
+
find_package(cmake-prelude REQUIRED PATHS node_modules/cmake-prelude)
|
|
5
6
|
|
|
6
7
|
find_package(PkgConfig REQUIRED)
|
|
7
8
|
|
|
8
9
|
project(bare_gtk C)
|
|
9
10
|
|
|
10
|
-
fetch_package("github:holepunchto/bare@1.
|
|
11
|
-
fetch_package("github:holepunchto/libpath")
|
|
11
|
+
fetch_package("github:holepunchto/bare@1.38.0")
|
|
12
|
+
fetch_package("github:holepunchto/libpath#a68d099")
|
|
12
13
|
|
|
13
14
|
pkg_check_modules(GTK REQUIRED IMPORTED_TARGET GLOBAL gtk4>=4.6)
|
|
14
15
|
|
|
15
|
-
# The version the prebuilds are built against.
|
|
16
16
|
target_compile_definitions(
|
|
17
17
|
PkgConfig::GTK
|
|
18
18
|
INTERFACE
|
|
@@ -20,12 +20,12 @@ target_compile_definitions(
|
|
|
20
20
|
GDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_6
|
|
21
21
|
)
|
|
22
22
|
|
|
23
|
-
add_bare_module(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
${bare_gtk}
|
|
27
|
-
PRIVATE
|
|
23
|
+
add_bare_module(
|
|
24
|
+
bare_gtk
|
|
25
|
+
SOURCES
|
|
28
26
|
binding.c
|
|
27
|
+
LINK
|
|
28
|
+
PkgConfig::GTK
|
|
29
29
|
)
|
|
30
30
|
|
|
31
31
|
target_include_directories(
|
|
@@ -34,44 +34,28 @@ target_include_directories(
|
|
|
34
34
|
node_modules/bare-gobject-registry/lib
|
|
35
35
|
)
|
|
36
36
|
|
|
37
|
-
|
|
38
|
-
${bare_gtk}
|
|
39
|
-
PUBLIC
|
|
40
|
-
PkgConfig::GTK
|
|
41
|
-
)
|
|
42
|
-
|
|
43
|
-
add_executable(bare_runtime)
|
|
37
|
+
bare_target(target)
|
|
44
38
|
|
|
45
|
-
|
|
39
|
+
add_executable_target(
|
|
46
40
|
bare_runtime
|
|
47
|
-
|
|
41
|
+
SOURCES
|
|
48
42
|
lib/runtime.c
|
|
43
|
+
LINK
|
|
44
|
+
$<LINK_LIBRARY:WHOLE_ARCHIVE,bare::static>
|
|
45
|
+
bare::exports
|
|
46
|
+
rlimit::static
|
|
47
|
+
path::static
|
|
48
|
+
PkgConfig::GTK
|
|
49
|
+
EXPORTS
|
|
50
|
+
bare_gtk_app
|
|
51
|
+
RPATH ../lib
|
|
52
|
+
DESTINATION ${target}
|
|
53
|
+
OUTPUT_DIRECTORY bin
|
|
54
|
+
EXPORT OFF
|
|
49
55
|
)
|
|
50
56
|
|
|
51
|
-
set(bare_runtime_rpath "$ORIGIN/../lib")
|
|
52
|
-
|
|
53
57
|
set_target_properties(
|
|
54
|
-
|
|
58
|
+
bare_runtime_executable
|
|
55
59
|
PROPERTIES
|
|
56
|
-
C_STANDARD 99
|
|
57
|
-
POSITION_INDEPENDENT_CODE ON
|
|
58
60
|
OUTPUT_NAME bare
|
|
59
|
-
INSTALL_RPATH "${bare_runtime_rpath}"
|
|
60
|
-
BUILD_WITH_INSTALL_RPATH ON
|
|
61
|
-
ENABLE_EXPORTS ON
|
|
62
61
|
)
|
|
63
|
-
|
|
64
|
-
target_link_libraries(
|
|
65
|
-
bare_runtime
|
|
66
|
-
PUBLIC
|
|
67
|
-
$<LINK_LIBRARY:WHOLE_ARCHIVE,bare_static>
|
|
68
|
-
PRIVATE
|
|
69
|
-
rlimit_static
|
|
70
|
-
path_static
|
|
71
|
-
PRIVATE
|
|
72
|
-
PkgConfig::GTK
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
bare_target(target)
|
|
76
|
-
|
|
77
|
-
install(TARGETS bare_runtime RUNTIME DESTINATION ${target})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare-gtk",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "GTK bindings and runtime for Bare",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package": "./package.json",
|
|
@@ -54,8 +54,9 @@
|
|
|
54
54
|
"bare-pointer": "^0.1.1",
|
|
55
55
|
"bare-tap": "^1.1.0",
|
|
56
56
|
"bare-x11": "^0.1.0",
|
|
57
|
-
"cmake-bare": "^1.
|
|
58
|
-
"cmake-fetch": "^1.
|
|
57
|
+
"cmake-bare": "^1.18.0",
|
|
58
|
+
"cmake-fetch": "^1.5.5",
|
|
59
|
+
"cmake-prelude": "^0.1.11",
|
|
59
60
|
"lunte": "^1.8.0",
|
|
60
61
|
"prettier": "^3.4.1",
|
|
61
62
|
"prettier-config-holepunch": "^2.0.0"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/prebuilds/linux-arm64/bare
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 47015048 bytes
|
|
4
|
+
sha256: 8d9d77a4bcd86204a09ea0c23155588d2cf7560038d24a380819871d68599a48
|
|
Binary file
|
package/prebuilds/linux-x64/bare
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
[diffend] Oversized file quarantined before diffing.
|
|
2
2
|
name: package/prebuilds/linux-x64/bare
|
|
3
|
-
size:
|
|
4
|
-
sha256:
|
|
3
|
+
size: 48145624 bytes
|
|
4
|
+
sha256: 7703482d232cbde2ac3556775d808d24bfb75db0806c189126a35fcd3cabf78b
|
|
Binary file
|