Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
37a0f047
Commit
37a0f047
authored
Mar 26, 2019
by
François Revol
Committed by
Max Kellermann
Mar 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Haiku: add version info to the resources like win32 does
parent
cde93480
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
2 deletions
+26
-2
NEWS
NEWS
+1
-0
meson.build
src/haiku/meson.build
+16
-1
mpd.rdef.in
src/haiku/mpd.rdef.in
+9
-1
No files found.
NEWS
View file @
37a0f047
...
@@ -3,6 +3,7 @@ ver 0.21.7 (not yet released)
...
@@ -3,6 +3,7 @@ ver 0.21.7 (not yet released)
* fix build failure with -Dlocal_socket=false
* fix build failure with -Dlocal_socket=false
* Haiku
* Haiku
- fix build
- fix build
- add version info
ver 0.21.6 (2019/03/17)
ver 0.21.6 (2019/03/17)
* protocol
* protocol
...
...
src/haiku/meson.build
View file @
37a0f047
haiku_conf = configuration_data()
haiku_conf.set('VERSION', meson.project_version())
splitted_version = meson.project_version().split('~')[0].split('.')
haiku_conf.set('VERSION_MAJOR', splitted_version[0])
haiku_conf.set('VERSION_MINOR', splitted_version.get(1, '0'))
haiku_conf.set('VERSION_REVISION', splitted_version.get(2, '0'))
haiku_conf.set('VERSION_EXTRA', splitted_version.get(3, '0'))
mpd_rdef = configure_file(
input: 'mpd.rdef.in',
output: 'mpd.rdef',
configuration: haiku_conf,
)
rc = find_program('rc')
rc = find_program('rc')
xres = find_program('xres')
xres = find_program('xres')
rsrc = custom_target(
rsrc = custom_target(
'mpd.rsrc',
'mpd.rsrc',
output: 'mpd.rsrc',
output: 'mpd.rsrc',
input:
'mpd.rdef'
,
input:
mpd_rdef
,
command: [rc, '-o', '@OUTPUT@', '@INPUT@'],
command: [rc, '-o', '@OUTPUT@', '@INPUT@'],
)
)
...
...
src/haiku/mpd.rdef
→
src/haiku/mpd.rdef
.in
View file @
37a0f047
...
@@ -2,7 +2,15 @@ resource app_signature "application/x-vnd.MusicPD";
...
@@ -2,7 +2,15 @@ resource app_signature "application/x-vnd.MusicPD";
resource app_flags B_BACKGROUND_APP;
resource app_flags B_BACKGROUND_APP;
// TODO: resource app_version {};
resource app_version {
major = @VERSION_MAJOR@,
middle = @VERSION_MINOR@,
minor = @VERSION_REVISION@,
variety = B_APPV_ALPHA,
internal = @VERSION_EXTRA@,
short_info = "Music Player Daemon @VERSION@",
long_info = "Music Player Daemon @VERSION@ ©The Music Player Daemon Project"
};
resource vector_icon {
resource vector_icon {
$"6E6369661F050102031604BEE29BBEC5403EC540BEE29B4A10004A10000001C6"
$"6E6369661F050102031604BEE29BBEC5403EC540BEE29B4A10004A10000001C6"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment