-
Notifications
You must be signed in to change notification settings - Fork 13
/
geany.modules
216 lines (198 loc) · 9.19 KB
/
geany.modules
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<?xml version="1.0"?><!--*- mode: nxml; indent-tabs-mode: nil -*-->
<!DOCTYPE moduleset SYSTEM "moduleset.dtd">
<?xml-stylesheet type="text/xsl" href="moduleset.xsl"?>
<moduleset>
<repository type="tarball" name="ftp.gnome.org"
href="https://ftp.gnome.org/pub/GNOME/sources/"/>
<repository type="git" name="gitlab.gnome.org"
href="https://gitlab.gnome.org/GNOME/"/>
<repository type="tarball" name="download.gitlab.gnome.org"
href="https://gitlab.gnome.org/GNOME/"/>
<repository type="tarball" name="download.github.com"
href="https://github.com/"/>
<repository type="tarball" name="download.geany.org"
href="https://download.geany.org/"/>
<repository type="tarball" name="files.pythonhosted.org"
href="https://files.pythonhosted.org/"/>
<repository type="tarball" name="lua.org"
href="https://www.lua.org/ftp/"/>
<repository name="github"
href="https://github.com/"
type="git" />
<include href="https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/modulesets-stable/gtk-osx.modules" />
<!-- Needed for Geany manual -->
<distutils id="docutils"
supports-non-srcdir-builds="no">
<branch repo="files.pythonhosted.org"
module="packages/1f/53/a5da4f2c5739cf66290fac1431ee52aff6851c7c8ffd8264f13affd7bcdd/docutils-${version}.tar.gz"
version="0.20.1"/>
</distutils>
<autotools id="lz4"
makeargs="DESTDIR=$PREFIX"
skip-autogen="true"
supports-non-srcdir-builds="no">
<branch repo="download.github.com"
module="lz4/lz4/releases/download/v${version}/lz4-${version}.tar.gz"
version="1.10.0">
</branch>
</autotools>
<meson id="vte291"
mesonargs="-Dicu=false -Dvapi=false -Dgtk4=false -D_b_symbolic_functions=false">
<branch repo="download.gitlab.gnome.org"
module="vte/-/archive/${version}/vte-${version}.tar.bz2"
version="0.76.5">
<!-- Make paths relative to bundle (fallback to system paths if not found) -->
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/vte_2.91_relpath.patch" strip="1" />
</branch>
<dependencies>
<dep package="libpcre2" />
<dep package="gnutls" />
</dependencies>
</meson>
<!-- Used by the git-changebar plugin -->
<cmake id="libgit2"
cmakeargs="-DCMAKE_INSTALL_NAME_DIR=${PREFIX}/lib">
<branch repo="download.github.com"
module="libgit2/libgit2/archive/refs/tags/v${version}.tar.gz"
checkoutdir="libgit2-${version}"
version="1.8.4"/>
</cmake>
<autotools id="lua"
makeargs="macosx"
skip-autogen="true"
supports-non-srcdir-builds="no">
<branch repo="lua.org"
module="lua-5.1.5.tar.gz"
version="5.1.5">
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/lua51_set_correct_install_prefix.patch" strip="1" />
</branch>
</autotools>
<!-- The mac integration library with a fix for radio menu items -->
<autotools id="gtk-mac-integration-fixed"
autogen-sh="configure"
autogenargs="--disable-python">
<branch repo="ftp.gnome.org"
module="gtk-mac-integration/3.0/gtk-mac-integration-${version}.tar.xz"
checkoutdir="gtk-mac-integration-fixed"
version="3.0.2">
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/gtk_mac_integration_radio_fix.patch" strip="1" />
</branch>
</autotools>
<!-- The bundling tool -->
<autotools id="gtk-mac-bundler"
skip-autogen="true"
skip-install="true"
supports-non-srcdir-builds="no"
makeargs="install"> <!-- all we need to do is 'make install' -->
<branch repo="gitlab.gnome.org"
module="gtk-mac-bundler">
<!-- using git clone - potential patches here wouldn't work -->
</branch>
</autotools>
<metamodule id="geany-deps">
<dependencies>
<dep package="vte291" />
<dep package="docutils" />
<dep package="meta-gtk-osx-gtk3-core-themes" />
<dep package="gtk-mac-bundler" />
<dep package="gtk-mac-integration-fixed" />
<!-- mime information for g_content_type_guess() -->
<dep package="shared-mime-info" />
</dependencies>
</metamodule>
<!-- Geany from git master - use tarball download otherwise patches don't work -->
<meson id="geany-git" mesonargs="-Dmac-integration=enabled">
<branch repo="download.github.com"
module="geany/geany/archive/refs/heads/master.tar.gz"
rename-tarball="geany-git.tar.gz"
checkoutdir="geany-git"
version="master" >
<!-- This patch corresponds to https://github.com/geany/geany/pull/2363 -->
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_config_shell.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_scintilla_candidate_window_pos.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_vte_login_shell.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_scintilla_block_copy.patch" strip="1" />
<!-- Don't forget to add to release!!! -->
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_disable_meson_forth_parsers.patch" strip="1" />
</branch>
<dependencies>
<dep package="geany-deps" />
</dependencies>
</meson>
<!-- Geany tarball release -->
<autotools id="geany-release"
autogenargs="--enable-mac-integration"
supports-non-srcdir-builds="no">
<branch repo="download.geany.org"
module="geany-${version}.tar.bz2"
checkoutdir="geany-${version}"
version="2.0">
<!-- This patch corresponds to https://github.com/geany/geany/pull/2363 -->
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_config_shell_stable.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_scintilla_candidate_window_pos.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_vte_login_shell.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_scintilla_block_copy.patch" strip="1" />
</branch>
<dependencies>
<dep package="geany-deps" />
</dependencies>
</autotools>
<metamodule id="geany-plugins-deps">
<dependencies>
<dep package="vala" />
<dep package="libgit2" />
<dep package="hunspell" />
<dep package="enchant" />
<dep package="lua" />
</dependencies>
</metamodule>
<!-- Geany-plugins from git master - use tarball download otherwise patches don't work -->
<autotools id="geany-plugins-git"
supports-non-srcdir-builds="no">
<branch repo="download.github.com"
module="geany/geany-plugins/archive/refs/heads/master.tar.gz"
rename-tarball="geany-plugins-git.tar.gz"
checkoutdir="geany-plugins-git"
version="master" >
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_plugins_spellcheck_relocation.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_plugins_geanylua_link_against_statically_built_liblua.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_plugins_geanylua_make_lib_data_directories_relocatable.patch" strip="1" />
</branch>
<dependencies>
<dep package="geany-git" />
<dep package="geany-plugins-deps" />
</dependencies>
</autotools>
<!-- Geany-plugins tarball release -->
<autotools id="geany-plugins-release"
supports-non-srcdir-builds="no">
<branch repo="download.geany.org"
module="geany-plugins/geany-plugins-${version}.tar.bz2"
checkoutdir="geany-plugins-${version}"
version="2.0">
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_plugins_spellcheck_relocation.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_plugins_geanylua_link_against_statically_built_liblua.patch" strip="1" />
<patch file="https://github.com/geany/geany-osx/raw/master/geany_patches/geany_plugins_geanylua_make_lib_data_directories_relocatable.patch" strip="1" />
</branch>
<dependencies>
<dep package="geany-release" />
<dep package="geany-plugins-deps" />
</dependencies>
</autotools>
<meson id="geany-lsp">
<branch repo="github"
module="techee/geany-lsp"/>
</meson>
<!-- Build everything necessary for Geany bundle from git -->
<metamodule id="geany-bundle-git">
<dependencies>
<dep package="geany-plugins-git" />
</dependencies>
</metamodule>
<!-- Build everything necessary for Geany bundle from release tarballs -->
<metamodule id="geany-bundle-release">
<dependencies>
<dep package="geany-plugins-release" />
</dependencies>
</metamodule>
</moduleset>