zik 0.16.1
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.
- data.tar.gz.sig +0 -0
- data/ChangeLog +222 -0
- data/INSTALL +34 -0
- data/Makefile.in +199 -0
- data/README +53 -0
- data/ZiK.desktop +11 -0
- data/ZiK.rb +377 -0
- data/configure +269 -0
- data/dependencies +142 -0
- data/doc/COPYING +340 -0
- data/doc/ChangeLog +222 -0
- data/doc/html/fr/index.html +128 -0
- data/doc/html/index.html +126 -0
- data/doc/html/pix/ZiK3.png +0 -0
- data/doc/html/pix/capture.png +0 -0
- data/doc/html/pix/capture_cd.png +0 -0
- data/doc/html/pix/capture_compact.png +0 -0
- data/doc/html/pix/capture_radio.png +0 -0
- data/doc/html/pix/icon.png +0 -0
- data/doc/html/pix/logo.png +0 -0
- data/doc/html/styles/main.css +47 -0
- data/doc/man/manpage.1 +43 -0
- data/gui/assistant.rb +133 -0
- data/gui/cdgui.rb +54 -0
- data/gui/common.rb +56 -0
- data/gui/config.rb +120 -0
- data/gui/edit.rb +413 -0
- data/gui/error.rb +124 -0
- data/gui/gui.rb +1383 -0
- data/gui/mod.rb +239 -0
- data/gui/preference.rb +496 -0
- data/gui/progress.rb +50 -0
- data/gui/radiogui.rb +404 -0
- data/gui/search.rb +249 -0
- data/gui/socket.rb +107 -0
- data/mod/brainz.rb +76 -0
- data/mod/brainz/dialogs.rb +132 -0
- data/mod/brainz/functions.rb +55 -0
- data/mod/brainz/ofa.rb +76 -0
- data/mod/brainz/song.rb +139 -0
- data/mod/brainz/widget.rb +34 -0
- data/mod/cover.rb +90 -0
- data/mod/cover/application-x-cd-image.svg +666 -0
- data/mod/cover/config.rb +79 -0
- data/mod/cover/configwidget.rb +35 -0
- data/mod/cover/widget.rb +147 -0
- data/mod/hotkeys.rb +137 -0
- data/mod/hotkeys/config.rb +84 -0
- data/mod/hotkeys/configwidget.rb +93 -0
- data/mod/interact.rb +131 -0
- data/mod/interact/configwidget.rb +107 -0
- data/mod/interact/interaction.rb +79 -0
- data/mod/notify.rb +128 -0
- data/mod/notify/config.rb +96 -0
- data/mod/notify/configwidget.rb +76 -0
- data/mod/notify/window.rb +56 -0
- data/mod/trayicon.rb +83 -0
- data/mod/trayicon/config.rb +79 -0
- data/mod/trayicon/configwidget.rb +35 -0
- data/mod/trayicon/icon.rb +99 -0
- data/pix/ZiK.svg +78 -0
- data/pix/ZiK3.png +0 -0
- data/pix/assistant/capture.png +0 -0
- data/pix/gtk-directory.svg +287 -0
- data/pix/media-cdrom.svg +292 -0
- data/pix/network-wireless.svg +429 -0
- data/pix/player_play.svg +286 -0
- data/pix/sound.svg +244 -0
- data/pix/sound_directory.svg +464 -0
- data/player/cdplayer.rb +108 -0
- data/player/player.rb +132 -0
- data/player/radioplayer.rb +124 -0
- data/playlist/cdlist.rb +140 -0
- data/playlist/common.rb +343 -0
- data/playlist/editlist.rb +50 -0
- data/playlist/export.rb +108 -0
- data/playlist/playlist.rb +143 -0
- data/playlist/radiolist.rb +148 -0
- data/playlist/song.rb +122 -0
- data/po/ZiK.pot +622 -0
- data/po/fr/ZiK.po +658 -0
- data/zik +2 -0
- metadata +265 -0
- metadata.gz.sig +0 -0
data.tar.gz.sig
ADDED
Binary file
|
data/ChangeLog
ADDED
@@ -0,0 +1,222 @@
|
|
1
|
+
###Version 0.16.1
|
2
|
+
Fix a bug in french translation
|
3
|
+
|
4
|
+
###Version 0.16.0
|
5
|
+
Install missing gstreamer plugins.
|
6
|
+
Export current songs to a directory and write a playlist file. (close #28702)
|
7
|
+
Add gemspec file.
|
8
|
+
Add --show-* options to choose the view on ZiK start.
|
9
|
+
|
10
|
+
Add an option to hide errors dialogs.
|
11
|
+
Fix an infinite loop triggered when all songs are inacessible.
|
12
|
+
Fix a bug in cover module: covers where hidden.
|
13
|
+
Fix a bug in sessions (Multi and single were switched in preferences dialog).
|
14
|
+
Show the right time remaining when playing a "taglib unsupported format" song.
|
15
|
+
|
16
|
+
Add ModError class so ZiK can handle errors in modules.
|
17
|
+
Improve description of version for git version.
|
18
|
+
|
19
|
+
translation:
|
20
|
+
update french.
|
21
|
+
|
22
|
+
###Version 0.15.3
|
23
|
+
Bug fixes (in assistant and others).
|
24
|
+
|
25
|
+
translation:
|
26
|
+
fix typos in french translation.
|
27
|
+
|
28
|
+
###Version 0.15.2
|
29
|
+
Fix ZiK crash when running the assistant.
|
30
|
+
Do not crash on ZiK start if gstreamer ofa element is not found (brainz module).
|
31
|
+
Hide edit in playlist menu to avoid a bug (#28638).
|
32
|
+
|
33
|
+
translation:
|
34
|
+
fix typos in french.
|
35
|
+
|
36
|
+
###Version 0.15.1
|
37
|
+
Fix a bug in hotkeys module.
|
38
|
+
|
39
|
+
###Version 0.15.0
|
40
|
+
|
41
|
+
An assistant is showed first time ZiK is launched.
|
42
|
+
Do not show a new window when editing playlist.
|
43
|
+
You can now edit playlist in main window even if you still need to hit the edit button before.
|
44
|
+
Searching for tracks in playlist is now integrated to the main window.
|
45
|
+
Add a compact view option to show more tracks in playlist.
|
46
|
+
Hide modules configuration in preferences dialog.
|
47
|
+
Move buttons to left side of the window in radio and cd views.
|
48
|
+
Fix a bug in search window: do not show results of previous searches.
|
49
|
+
Add a man page.
|
50
|
+
Use sexier interface for extensions and directories configuration in preferences dialog and in assistant.
|
51
|
+
Support new version (0.2.0) of rghk.
|
52
|
+
Old versions are still supported for now.
|
53
|
+
Support ruby-taglib2
|
54
|
+
ruby-taglib is still supported but depracated
|
55
|
+
Support gtk 2.22+
|
56
|
+
Set the license for pix/ZiK.svg.
|
57
|
+
|
58
|
+
translation:
|
59
|
+
fix typo in french translation.
|
60
|
+
update french translation.
|
61
|
+
|
62
|
+
###Version 0.14.0
|
63
|
+
|
64
|
+
Improve experience with ruby 1.9. (Thanks to Joël Obrecht for his reports on the forum)
|
65
|
+
New feature: Single session.
|
66
|
+
New Module: Brainz. Use musicbrainz.org to tag your tracks.
|
67
|
+
Add modules authors in credits.
|
68
|
+
Fix a typo: the playlist format is xspf not xspdf!
|
69
|
+
|
70
|
+
Let users acces module configuration even if the module is not load. Close bug #27912.
|
71
|
+
Update the displayed track name in player zone when the playlist is refreshed.
|
72
|
+
Get track duration from GStreamer if taglib return a negative duration.
|
73
|
+
|
74
|
+
Improve support of xspf format.
|
75
|
+
Add xspf and pls support in desktop file.
|
76
|
+
Reduce main menu. Show only items corresponding to the selected view.
|
77
|
+
Deactivate previous/next buttons when playing webradios.
|
78
|
+
Show module area when the expander is point down.
|
79
|
+
Bug #27950: the add button can now add severals audio files. Only a playlist file could be add in previous versions.
|
80
|
+
Fix bug #27948: tags of song longer than 1 hours cannot be edited.
|
81
|
+
Add the quiet option on .desktop file to avoid filling ~/.xsession_errors file.
|
82
|
+
Fix a bug: `ZiK --version` did not display the current version.
|
83
|
+
Fix a bug: convert track to integer when reading configuration.
|
84
|
+
Build modules area only when a module requires it.
|
85
|
+
|
86
|
+
Drop support for old configuration file format.
|
87
|
+
Redefine methods handling modules expander.
|
88
|
+
|
89
|
+
translation:
|
90
|
+
update french.
|
91
|
+
|
92
|
+
###Version 0.13.1
|
93
|
+
Add credit for artists.
|
94
|
+
Fix a bug. Playing radio could freeze ZiK.
|
95
|
+
|
96
|
+
###Version 0.13.0
|
97
|
+
ZiK will now use the active playlist when next/previous buttons are hitted and
|
98
|
+
do not rely on active view for choosing the next song.
|
99
|
+
New module to define global hotkeys.
|
100
|
+
Import of radios list in m3u format.
|
101
|
+
|
102
|
+
More tooltips.
|
103
|
+
Show hours if the song length is greater than 60 min.
|
104
|
+
Add an expander in Cover module.
|
105
|
+
Redirect error output to /dev/null when ZiK is called with the quiet option.
|
106
|
+
Some change in the module API.
|
107
|
+
Fix a bug: player could stop when deleting a radio.
|
108
|
+
Fix a bug: seeking was disable when current view was different from current player.
|
109
|
+
Fix a bug: the wrong track is played if player is paused when trying to play another tracks.
|
110
|
+
|
111
|
+
I thank ubuntu-fr forum users for their tests.
|
112
|
+
|
113
|
+
###Version 0.12.0
|
114
|
+
Notify module : use of system notifications as an option.
|
115
|
+
Trayicon module : icon can now interact with ZiK on scroll events.
|
116
|
+
Cover module : hide if no cover is found (option).
|
117
|
+
|
118
|
+
The mouse cursor show that ZiK is busy when refreshing the browser view.
|
119
|
+
Show hours if song's duration > 3600 s. Reported by nexus5 on linuxfr.org
|
120
|
+
Add some tooltips in preferences window.
|
121
|
+
Add spaces between widgets in preferences window.
|
122
|
+
Display ZiK version on start.
|
123
|
+
Do not modify ruby LOAD_PATH anymore.
|
124
|
+
Do not add track number to songs' name if this number is negative.
|
125
|
+
|
126
|
+
Fix a bug : preferences dialog can crash ZiK. Thanks Simon Arnaud from ruby/gnome2 mailling list.
|
127
|
+
Fix bug 27520: Finding in browser was broken. Reported by Balint Dobai-Pataky.
|
128
|
+
Fix a bug in cover modules. Thanks soupaloignon for report on forum.ubuntu-fr.org
|
129
|
+
Fix a small bug in configure script.
|
130
|
+
|
131
|
+
###Version 0.11.2
|
132
|
+
Previous versious was released with 0.11.0 code.
|
133
|
+
|
134
|
+
###Version 0.11.1
|
135
|
+
Drop Gtk.idle (deprecated) to GLib::IDle.
|
136
|
+
Fix severals minor bugs in modules.
|
137
|
+
|
138
|
+
###Version 0.11.0
|
139
|
+
Radios list can now be reordered.
|
140
|
+
Starting ZiK is faster.
|
141
|
+
Save the list of files shown on browser.
|
142
|
+
Change the code used to build browser tree.
|
143
|
+
Save tags of songs.
|
144
|
+
Show song's name in trayicon tooltip.
|
145
|
+
Hide covers when playing radios.
|
146
|
+
Users can now choose forground color for notify module.
|
147
|
+
Implements destdir in configure script.
|
148
|
+
|
149
|
+
Fix a bug in configure script (bindir, datadir, etc were not set correctly).
|
150
|
+
Fix bugs when dealing with xspdf files containing relative paths.
|
151
|
+
|
152
|
+
###Version 0.10.0
|
153
|
+
New module: cover.
|
154
|
+
Display remaining time.
|
155
|
+
New key binding to focus on current song.
|
156
|
+
|
157
|
+
###Version 0.9.1
|
158
|
+
Fix a bug: crash while reading configuration file.
|
159
|
+
Fix a bug that occurs when deleting a "paused song".
|
160
|
+
|
161
|
+
###Version 0.9.0
|
162
|
+
Support xspdf format.
|
163
|
+
Save playlist using relative path (option).
|
164
|
+
New module: Notify.
|
165
|
+
Improve launch time.
|
166
|
+
Improve integration with desktop.
|
167
|
+
Add a desktop file.
|
168
|
+
Add some minetypes.
|
169
|
+
Fix bug: crash when adding a playlist containing wrong path.
|
170
|
+
Fix bug: song's name with "&" were not correctly displayed.
|
171
|
+
Enable ZiK command (ZiK is a link to ZiK.rb).
|
172
|
+
Enable double-click in browser to add a file in playlist.
|
173
|
+
Add options to disable features.
|
174
|
+
Write modclass (used to wrrite a module) and rewrite TrayIcon module.
|
175
|
+
|
176
|
+
###Version 0.8.1
|
177
|
+
Improve command line (add or append severals files).
|
178
|
+
Add a dialog to edit webradios.
|
179
|
+
Reorder playlist by drag&drop in "Edit playlist" window.
|
180
|
+
Reorder directories in preferences.
|
181
|
+
Add sort by track option.
|
182
|
+
Add shuffle and repeat items in menu.
|
183
|
+
Play next song on errors instead of stopping the player.
|
184
|
+
Check for gst-plugins-base and svg rendering in dependencies script.
|
185
|
+
See bug 23569
|
186
|
+
Thanks to le.nox from the ubuntu-fr for the report.
|
187
|
+
Display audio properties in edit tag windows.
|
188
|
+
|
189
|
+
###Version 0.8.0
|
190
|
+
Follow redirection when a webradio is moved (url changed).
|
191
|
+
Drag&drop from browser to playlist.
|
192
|
+
Drag&drop from other applications (nautilus).
|
193
|
+
Add sort options for browser
|
194
|
+
directories before files,
|
195
|
+
case sensitive.
|
196
|
+
Add tooltips
|
197
|
+
Delete songs using delete key.
|
198
|
+
|
199
|
+
Fix bug in webradio player.
|
200
|
+
Use other urls in playlist if the first one failed.
|
201
|
+
Fix bug #23435 (crash when editing tags)
|
202
|
+
Fix bug (Files not always added when directory names contain [ or ] carcters)
|
203
|
+
Thanks to draco for his test.
|
204
|
+
Fix bug (crash when editing an empty playlist)
|
205
|
+
Thanks to mathieuI from the ubuntu-fr for the report.
|
206
|
+
Fix bug #23436 (crash when using a invalid search pattern)
|
207
|
+
thanks to le.nox for the report.
|
208
|
+
|
209
|
+
###Version 0.7.1
|
210
|
+
Fix bug #23404 (crash when selecting radio view).
|
211
|
+
Thanks to le.nox from ubntu-fr for the report.
|
212
|
+
|
213
|
+
#***0.7.0***
|
214
|
+
Change for ruby-gstreamer librairy (from ruby-gnome2 project).
|
215
|
+
This change seems to fix bugs with recent gstreamer version (?).
|
216
|
+
|
217
|
+
#***0.6.0***
|
218
|
+
Rewrite from scratch.
|
219
|
+
Add cd support.
|
220
|
+
|
221
|
+
#***0.5.5***
|
222
|
+
First public version on rubyforge.
|
data/INSTALL
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
For a basic installation see README file.
|
2
|
+
|
3
|
+
#***Installation path
|
4
|
+
By default, files are installed in /usr/local. You can change this path by the configure script with the --prefix option.
|
5
|
+
For example:
|
6
|
+
./configure --prefix=/my_path
|
7
|
+
|
8
|
+
Path options are:
|
9
|
+
--prefix root default: /usr/local
|
10
|
+
--bindir executable default: EXEC-PREFIX/bin -> /usr/local/bin
|
11
|
+
--datadir datas default: DATAROOTDIR -> /usr/local/share
|
12
|
+
--docdir documentation default: DATAROOTDIR/doc/NAME -> /usr/local/share/doc/ZiK
|
13
|
+
--localedir translations default: DATAROOTDIR/locale -> /usr/local/share/locale
|
14
|
+
--srcdir sources default: guess by configure script.
|
15
|
+
--destdir destination default: none
|
16
|
+
|
17
|
+
#***Translation
|
18
|
+
By default, all available translations are installed.
|
19
|
+
|
20
|
+
Translation options are:
|
21
|
+
--lang-none Do not install translations.
|
22
|
+
|
23
|
+
|
24
|
+
#***Modules
|
25
|
+
By default, all modules are installed.
|
26
|
+
If --module-* options are used only selected modules are installed.
|
27
|
+
|
28
|
+
Module options are:
|
29
|
+
--module-none Do not install modules
|
30
|
+
--module-trayicon install trayicon module
|
31
|
+
--module-notify install notify module
|
32
|
+
--module-cover install cover module
|
33
|
+
--module-hotkeys install hotkeys module
|
34
|
+
--module-brainz install brainz module
|
data/Makefile.in
ADDED
@@ -0,0 +1,199 @@
|
|
1
|
+
NAME=ZiK
|
2
|
+
VERSION=0.16.1
|
3
|
+
|
4
|
+
SHELL=/bin/sh
|
5
|
+
RUBY=/usr/bin/ruby
|
6
|
+
GZIP=/bin/gzip -c
|
7
|
+
INSTALL=install
|
8
|
+
INSTALL_PROGRAM=$(INSTALL) -m 755
|
9
|
+
INSTALL_DATA=$(INSTALL) -m 644
|
10
|
+
INSTALL_DIR=$(INSTALL) -m 755 -d
|
11
|
+
|
12
|
+
MSGFMT=/usr/bin/msgfmt
|
13
|
+
LANGUAGES=fr
|
14
|
+
|
15
|
+
PREFIX=/usr/local
|
16
|
+
EXEC_PREFIX=$(PREFIX)
|
17
|
+
BINDIR=$(EXEC_PREFIX)/bin
|
18
|
+
DATAROOTDIR=$(PREFIX)/share
|
19
|
+
DATADIR=$(DATAROOTDIR)
|
20
|
+
LOCALEDIR=$(DATAROOTDIR)/locale
|
21
|
+
DOCDIR=$(DATAROOTDIR)/doc/$(NAME)
|
22
|
+
MANDIR=$(DATAROOTDIR)/man
|
23
|
+
|
24
|
+
DESKTOPDIR=$(DATADIR)/applications
|
25
|
+
INSTALL_DESKTOP=desktop-file-install --rebuild-mime-info-cache --mode 644 --dir
|
26
|
+
UPDATE_MIME=update-desktop-database $(DESTDIR)$(DESKTOPDIR)
|
27
|
+
|
28
|
+
DOCFILES=$(SRCDIR)/doc/COPYING $(SRCDIR)/doc/ChangeLog
|
29
|
+
HTMLDIRS=$(DESTDIR)$(DOCDIR)/html $(DESTDIR)$(DOCDIR)/html/pix $(DESTDIR)$(DOCDIR)/html/styles
|
30
|
+
HTMLFILES=$(wildcard $(SRCDIR)/doc/html/*.html)
|
31
|
+
HTMLFILESPIX=$(wildcard $(SRCDIR)/doc/html/pix/*.png)
|
32
|
+
HTMLFILESCSS=$(wildcard $(SRCDIR)/doc/html/styles/*.css)
|
33
|
+
HTMLLANGUAGES=fr
|
34
|
+
GUIDIR=$(DATADIR)/$(NAME)/gui
|
35
|
+
GUIFILES=$(wildcard $(SRCDIR)/gui/*.rb)
|
36
|
+
PIXDIR=$(DATADIR)/$(NAME)/pix
|
37
|
+
PIXFILES=$(wildcard $(SRCDIR)/pix/*.*) $(wildcard $(SRCDIR)/pix/assistant/*.*)
|
38
|
+
PLAYLISTDIR=$(DATADIR)/$(NAME)/playlist
|
39
|
+
PLAYLISTFILES=$(wildcard $(SRCDIR)/playlist/*.rb)
|
40
|
+
PLAYERDIR=$(DATADIR)/$(NAME)/player
|
41
|
+
PLAYERFILES=$(wildcard $(SRCDIR)/player/*.rb)
|
42
|
+
MODULEDIR=$(DATADIR)/$(NAME)/mod
|
43
|
+
TMODULES=install-module-trayicon install-module-notify install-module-cover install-module-hotkeys install-module-brainz
|
44
|
+
|
45
|
+
all: ZiK.rb local desktop man
|
46
|
+
sed -e "s!File.dirname(__FILE__)!\'$(DATADIR)/$(NAME)\'!" \
|
47
|
+
-e "s!Version='version'!Version='$(VERSION)'!" \
|
48
|
+
-e "s!File.join(Data_dir,'doc')!\'$(DOCDIR)\'!" \
|
49
|
+
-e "s!File.join(Data_dir,'locale')!\'$(LOCALEDIR)\'!" \
|
50
|
+
$(SRCDIR)/ZiK.rb > $(SRCDIR)/zik
|
51
|
+
|
52
|
+
local:
|
53
|
+
for lang in $(LANGUAGES); do \
|
54
|
+
$(INSTALL_DIR) $(SRCDIR)/locale/$$lang/LC_MESSAGES; \
|
55
|
+
$(MSGFMT) $(SRCDIR)/po/$$lang/ZiK.po -o $(SRCDIR)/locale/$$lang/LC_MESSAGES/ZiK.mo; \
|
56
|
+
done
|
57
|
+
|
58
|
+
desktop:
|
59
|
+
sed -e "s!^Icon\=!Icon\=$(PIXDIR)/ZiK.svg!" \
|
60
|
+
-e "s!^TryExec\=!TryExec\=$(BINDIR)/zik!" \
|
61
|
+
-e "s!^Exec\=!Exec\=$(BINDIR)/zik -q \%F!" \
|
62
|
+
$(SRCDIR)/ZiK.desktop > $(SRCDIR)/zik.desktop
|
63
|
+
|
64
|
+
man: doc/man/manpage.1
|
65
|
+
$(GZIP) $(SRCDIR)/doc/man/manpage.1 > $(SRCDIR)/doc/man/zik.1.gz
|
66
|
+
|
67
|
+
check-depend: dependencies
|
68
|
+
@@$(SHELL) dependencies
|
69
|
+
|
70
|
+
test: zik
|
71
|
+
$(RUBY) -c zik
|
72
|
+
|
73
|
+
install: install-exec install-link install-data install-desktop install-module install-doc install-local
|
74
|
+
|
75
|
+
install-exec: zik
|
76
|
+
$(INSTALL_DIR) $(DESTDIR)$(BINDIR)
|
77
|
+
$(INSTALL_PROGRAM) $(SRCDIR)/zik $(DESTDIR)$(BINDIR)/zik
|
78
|
+
|
79
|
+
install-link:
|
80
|
+
ln --symbolic $(BINDIR)/zik $(DESTDIR)$(BINDIR)/ZiK
|
81
|
+
|
82
|
+
install-data:
|
83
|
+
$(INSTALL_DIR) $(DESTDIR)$(GUIDIR) $(DESTDIR)$(PIXDIR) $(DESTDIR)$(PIXDIR)/assistant $(DESTDIR)$(PLAYLISTDIR) $(DESTDIR)$(PLAYERDIR)
|
84
|
+
$(INSTALL_DATA) $(GUIFILES) $(DESTDIR)$(GUIDIR)
|
85
|
+
$(INSTALL_DATA) $(PIXFILES) $(DESTDIR)$(PIXDIR)
|
86
|
+
$(INSTALL_DATA) $(PLAYLISTFILES) $(DESTDIR)$(PLAYLISTDIR)
|
87
|
+
$(INSTALL_DATA) $(PLAYERFILES) $(DESTDIR)$(PLAYERDIR)
|
88
|
+
|
89
|
+
install-desktop:
|
90
|
+
$(INSTALL_DIR) $(DESTDIR)$(DESKTOPDIR)
|
91
|
+
$(INSTALL_DESKTOP) $(DESTDIR)$(DESKTOPDIR) $(SRCDIR)/zik.desktop
|
92
|
+
|
93
|
+
install-module: install-module-dir $(TMODULES)
|
94
|
+
|
95
|
+
install-module-dir:
|
96
|
+
$(INSTALL_DIR) $(DESTDIR)$(MODULEDIR)
|
97
|
+
|
98
|
+
install-module-trayicon:
|
99
|
+
$(INSTALL_DATA) $(SRCDIR)/mod/trayicon.rb $(DESTDIR)$(MODULEDIR)
|
100
|
+
$(INSTALL_DIR) $(DESTDIR)$(MODULEDIR)/trayicon
|
101
|
+
$(INSTALL_DATA) $(wildcard $(SRCDIR)/mod/trayicon/*) $(DESTDIR)$(MODULEDIR)/trayicon
|
102
|
+
|
103
|
+
install-module-notify:
|
104
|
+
$(INSTALL_DATA) $(SRCDIR)/mod/notify.rb $(DESTDIR)$(MODULEDIR)
|
105
|
+
$(INSTALL_DIR) $(DESTDIR)$(MODULEDIR)/notify
|
106
|
+
$(INSTALL_DATA) $(wildcard $(SRCDIR)/mod/notify/*) $(DESTDIR)$(MODULEDIR)/notify
|
107
|
+
|
108
|
+
install-module-cover:
|
109
|
+
$(INSTALL_DATA) $(SRCDIR)/mod/cover.rb $(DESTDIR)$(MODULEDIR)
|
110
|
+
$(INSTALL_DIR) $(DESTDIR)$(MODULEDIR)/cover
|
111
|
+
$(INSTALL_DATA) $(wildcard $(SRCDIR)/mod/cover/*) $(DESTDIR)$(MODULEDIR)/cover
|
112
|
+
|
113
|
+
install-module-hotkeys:
|
114
|
+
$(INSTALL_DATA) $(SRCDIR)/mod/hotkeys.rb $(DESTDIR)$(MODULEDIR)
|
115
|
+
$(INSTALL_DIR) $(DESTDIR)$(MODULEDIR)/hotkeys
|
116
|
+
$(INSTALL_DATA) $(wildcard $(SRCDIR)/mod/hotkeys/*) $(DESTDIR)$(MODULEDIR)/hotkeys
|
117
|
+
|
118
|
+
install-module-brainz:
|
119
|
+
$(INSTALL_DATA) $(SRCDIR)/mod/brainz.rb $(DESTDIR)$(MODULEDIR)
|
120
|
+
$(INSTALL_DIR) $(DESTDIR)$(MODULEDIR)/brainz
|
121
|
+
$(INSTALL_DATA) $(wildcard $(SRCDIR)/mod/brainz/*) $(DESTDIR)$(MODULEDIR)/brainz
|
122
|
+
|
123
|
+
install-doc: install-html install-man
|
124
|
+
$(INSTALL_DIR) $(DESTDIR)$(DOCDIR)
|
125
|
+
$(INSTALL_DATA) $(DOCFILES) $(DESTDIR)$(DOCDIR)
|
126
|
+
|
127
|
+
install-html: install-html-base install-html-lang
|
128
|
+
|
129
|
+
install-html-base:
|
130
|
+
$(INSTALL_DIR) $(HTMLDIRS)
|
131
|
+
$(INSTALL_DATA) $(HTMLFILES) $(DESTDIR)$(DOCDIR)/html
|
132
|
+
$(INSTALL_DATA) $(HTMLFILESPIX) $(DESTDIR)$(DOCDIR)/html/pix
|
133
|
+
$(INSTALL_DATA) $(HTMLFILESCSS) $(DESTDIR)$(DOCDIR)/html/styles
|
134
|
+
|
135
|
+
install-html-lang:
|
136
|
+
for lang in $(HTMLLANGUAGES); do \
|
137
|
+
$(INSTALL_DIR) $(DESTDIR)$(DOCDIR)/html/$$lang; \
|
138
|
+
$(INSTALL_DATA) $(SRCDIR)/doc/html/$$lang/*.html $(DESTDIR)$(DOCDIR)/html/$$lang; \
|
139
|
+
done
|
140
|
+
|
141
|
+
install-man:
|
142
|
+
$(INSTALL_DIR) $(DESTDIR)$(MANDIR)/man1
|
143
|
+
$(INSTALL_DATA) $(SRCDIR)/doc/man/zik.1.gz $(DESTDIR)$(MANDIR)/man1
|
144
|
+
|
145
|
+
install-local:
|
146
|
+
for lang in $(LANGUAGES); do \
|
147
|
+
$(INSTALL_DIR) $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES; \
|
148
|
+
$(INSTALL_DATA) $(SRCDIR)/locale/$$lang/LC_MESSAGES/ZiK.mo $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES; \
|
149
|
+
done
|
150
|
+
|
151
|
+
uninstall: uninstall-exec uninstall-link uninstall-data uninstall-desktop uninstall-module uninstall-doc uninstall-local
|
152
|
+
|
153
|
+
uninstall-exec:
|
154
|
+
rm -f $(DESTDIR)$(BINDIR)/zik
|
155
|
+
|
156
|
+
uninstall-link:
|
157
|
+
rm -f $(DESTDIR)$(BINDIR)/ZiK
|
158
|
+
|
159
|
+
uninstall-data:
|
160
|
+
rm -rf $(DESTDIR)$(GUIDIR) $(DESTDIR)$(PIXDIR) $(DESTDIR)$(PLAYLISTDIR) $(DESTDIR)$(PLAYERDIR)
|
161
|
+
rmdir $(DESTDIR)$(DATADIR)/$(NAME) --ignore-fail-on-non-empty
|
162
|
+
|
163
|
+
uninstall-desktop:
|
164
|
+
rm -f $(DESTDIR)$(DESKTOPDIR)/zik.desktop
|
165
|
+
$(UPDATE_MIME)
|
166
|
+
|
167
|
+
uninstall-module:
|
168
|
+
rm -rf $(DESTDIR)$(MODULEDIR)
|
169
|
+
|
170
|
+
uninstall-doc: uninstall-html uninstall-man
|
171
|
+
rm -f $(DESTDIR)$(DOCDIR)/COPYING $(DESTDIR)$(DOCDIR)/ChangeLog
|
172
|
+
rmdir $(DESTDIR)$(DOCDIR) --ignore-fail-on-non-empty
|
173
|
+
|
174
|
+
uninstall-html:
|
175
|
+
rm -rf $(DESTDIR)$(DOCDIR)/html
|
176
|
+
|
177
|
+
uninstall-man:
|
178
|
+
rm -f $(DESTDIR)$(MANDIR)/man1/zik.1.gz
|
179
|
+
|
180
|
+
uninstall-local:
|
181
|
+
for lang in $(LANGUAGES); do \
|
182
|
+
rm -f $(DESTDIR)$(LOCALEDIR)/$$lang/LC_MESSAGES/ZiK.mo; \
|
183
|
+
done
|
184
|
+
|
185
|
+
clean: clean-local
|
186
|
+
rm -f $(SRCDIR)/config.sed
|
187
|
+
rm -f $(SRCDIR)/zik.desktop
|
188
|
+
rm -f $(SRCDIR)/zik
|
189
|
+
|
190
|
+
clean-local:
|
191
|
+
rm -rf $(SRCDIR)/locale
|
192
|
+
|
193
|
+
distclean: clean
|
194
|
+
rm -f $(SRCDIR)/Makefile
|
195
|
+
rm -f $(SRCDIR)/doc/man/zik.1.gz
|
196
|
+
|
197
|
+
realclean: distclean
|
198
|
+
|
199
|
+
.PHONY: clean-local uninstall-html uninstall-data uninstall-exec install-doc install-data install-html-base
|