forked from ruby-gnome/ruby-gnome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release.rd
303 lines (197 loc) · 8.22 KB
/
release.rd
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
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
= Release
This document describes how to release Ruby-GNOME2.
== Packages
Here are packages to be released:
* tar.gz: For distribution packagers such as pkgsrc.
* gem: For normal users.
* gem for Windows: For Windows users.
== How to create and confirm packages
=== tar.gz
The following command generates ruby-gtk2-X.Y.Z.tar.gz and
ruby-gnome2-all-X.Y.Z.tar.gz:
% rake dist
Here are confirmation steps:
% cp *.tar.gz /tmp
% cd /tmp
% tar xvf ruby-gtk2-X.Y.Z.tar.gz
% cd ruby-gtk2-X.Y.Z
% ruby extconf.rb
% make
% make install DESTDIR=/tmp/ruby
% cd gtk2/sample/gtk-demo
% ruby -I/tmp/ruby/usr/local/lib/site_ruby/1.8/{,x86_64-linux} main.rb
(...try demo application...)
% cd /tmp
% rm -rf ruby
% tar xvf ruby-gnome2-all-X.Y.Z.tar.gz
% cd ruby-gnome2-all-X.Y.Z
% ruby extconf.rb
% make
% make install DESTDIR=/tmp/ruby
% cd gtk2/sample/gtk-demo
% ruby -I/tmp/ruby/usr/local/lib/site_ruby/1.8/{,x86_64-linux} main.rb
(...try demo application...)
=== gem
The following command generates gem files to */pkg/:
% rake gem:build
The following command install all generated gems to user
locally:
% rake gem:install
Here are confirmation steps:
% cd gtk2/sample/gtk-demo
% ruby -rubygems main.rb
(...try demo application...)
% cd -
The following command uninstall all gems installed by 'rake
gem:install':
% rake gem:uninstall
=== gem for Windows
NOTE: This steps are confirmed on Debian GNU/Linux
sid. (2011-09-18)
Ruby-GNOME2 gems bundled Windows binary are created by
cross-compiling. It means that you require GNU/Linux not
Windows for releasing.
The following steps are needed only the first setup:
% sudo gem install rake-compiler
% sudo aptitude install -y mingw-w64
% rake-compiler cross-ruby VERSION=1.8.7-p352 EXTS=--without-extensions
% rake-compiler cross-ruby VERSION=1.9.2-p290 EXTS=--without-extensions
The following command downloads GTK+ related binaries for
Windows:
% rake gem:win32:download
The following command rebuilds binary gems for Windows:
% rake gem:win32:clean gem:win32:build
Here are confirmation steps:
(1) copy */pkg/*-X.Y.Z-x86-mingw32.gem to Windows.
(2) install copied gems on Windows.
(3) cd GEM_PATH/gtk2/sample/gtk-demo/.
(4) run 'ruby main.rb' and try the demo application.
== How to release packages
=== tar.gz
The following command uploads ruby-gtk2-X.Y.Z.tar.gz and
ruby-gnome2-all-X.Y.Z.tar.gz to SF.net:
% rake release SVN_USER=YOUR_SF_NET_USER_NAME
=== gem
The following command uploads */pkg/*-X.Y.Z.gem to rubygems.org:
% rake gem:push
=== gem for Windows
The following command uploads */pkg/*-X.Y.Z-x86-mingw32.gem to rubygems.org:
% rake gem:win32:push
== After releasing packages
=== Tags the current revision
% rake tag
=== Increments the version
% editor glib2/ext/glib2/rbglib.h
(increments RBGLIB_*_VERSION.)
=== Announces the current release
(1) post release announce to
http://ruby-gnome2.sourceforge.jp/hiki.cgi?create_news
Here is a template:
Your name: kou
Subject: Ruby-GNOME2 X.Y.Z released
Body:
SUMMARY OF THIS RELEASE.
== Install
% sudo gem install gtk2
== Downloads
: ((<ruby-gtk2-X.Y.Z.tar.gz|URL:http://downloads.sourceforge.net/ruby-gnome2/ruby-gtk2-X.Y.Z.tar.gz>))
The minimum package which includes Ruby/GLib2, Ruby/GIO2, Ruby/ATK, Ruby/GdkPixbuf2, Ruby/Pango, Ruby/GTK2.
: ((<ruby-gnome2-all-X.Y.Z.tar.gz|URL:http://downloads.sourceforge.net/ruby-gnome2/ruby-gnome2-all-X.Y.Z.tar.gz>))
All of Ruby-GNOME2 libraries.
== Changes
COPIED CHANGES FROM NEWS.
(2) post release announce to [email protected]
Here is a template:
Hi,
The Ruby-GNOME2 project released Ruby-GNOME2 X.Y.Z:
http://ruby-gnome2.sourceforge.jp/hiki.cgi?News_20110713_1
REPLACE THIS WITH POSTED URL AT (1).
SUMMARY OF THIS RELEASE.
=== Install
% gem install gtk2
=== Changes
COPIED CHANGES FROM NEWS.
YOUR SIGNATURE
(3) post release announce to [email protected]
(optional)
Here is a template:
Hi,
The Ruby-GNOME2 project released Ruby-GNOME2 X.Y.Z.
Web:
http://ruby-gnome2.sourceforge.jp/
Install:
gem install gtk2
= About Ruby-GNOME2
Ruby-GNOME2 is a set of Ruby language bindings for the GTK+
2.x and GNOME 2.x development environment.
= About GTK+
from http://www.gtk.org/
GTK+ is a highly usable, feature rich toolkit for creating
graphical user interfaces which boasts cross platform
compatibility and an easy to use API. GTK+ it is written
in C, but has bindings to many other popular programming
languages such as C++, Python and C# among others. GTK+ is
licensed under the GNU LGPL 2.1 allowing development of
both free and proprietary software with GTK+ without any
license fees or royalties.
= About GNOME
from http://www.gnome.org/about/
The GNOME project provides two things: The GNOME desktop
environment, an intuitive and attractive desktop for
users, and the GNOME development platform, an extensive
framework for building applications that integrate into
the rest of the desktop.
= About this release
SUMMARY OF THIS RELEASE.
YOUR SIGNATURE
(4) post release announce to [email protected]
(optional)
Here is a template:
「あなたの名前」
Ruby-GNOME2プロジェクトはRuby-GNOME2 X.Y.Zをリリースしまし
た。
「このリリースの要約」
=== インストール方法
% gem install gtk2
=== このリリースの概要
「NEWSからコピーして翻訳する」
(5) post release announce to [email protected]
(optional)
Here is a template:
「あなたの名前」
Ruby-GNOME2プロジェクトはRuby-GNOME2 1.0.0をリリースしました。
Web:
http://ruby-gnome2.sourceforge.jp/
インストール:
gem install gtk2
= Ruby-GNOME2について
Ruby-GNOME2はGNOME 2.xで使用されるGTK+ 2.xなどの主要なライブ
ラリのRubyバインディング集です。
GTK+はマルチプラットフォーム対応のGUIツールキットなので、マ
ルチプラットフォーム対応のGUIアプリケーションをRubyで書くこ
とができます。
サポートしているライブラリは以下の通りです。
* Ruby/GLib2 - 基本的かつ便利なユーティリティクラス群。および、
GLib::Objectをはじめとする基本クラスを提供。他のライブラリ
から参照される
* Ruby/ATK - アクセシビリティ
* Ruby/Pango - 国際化されたテキスト・フォント処理
* Ruby/GdkPixbuf2 - イメージ(画像)処理
* Ruby/GTK2 - GUIコンポーネント
* Ruby/GStreamer - 動画・音声処理
* Ruby/GooCanvas - cairoで描画するキャンバスウィジェット
* Ruby/GtkSourceView2- テキストエディタ向けの高度なテキスト表示コンポーネント
(言語毎にキーワードを強調する等)
(gtksourceview 2.x用)
* Ruby/Poppler - PDFレンダリング用のライブラリ
* Ruby/RSVG - SVG処理
* Ruby/VTE - ターミナルエミュレータ用のウィジェット
= このリリースについて
「このリリースの要約」
= 各種リソース
- メーリングリスト
http://sourceforge.net/mail/?group_id=53614
- Ruby-GNOME2 APIリファレンス
http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?Ruby-GNOME2+API+Reference
- チュートリアル
http://ruby-gnome2.sourceforge.jp/ja/hiki.cgi?tutorials