1 |
commit: b64689e4b8e95ad1626444e959f4d40f1361e7b3 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 13 22:39:24 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 13 22:39:46 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b64689e4 |
7 |
|
8 |
media-sound/guayadeque: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
media-sound/guayadeque/Manifest | 1 - |
13 |
.../guayadeque-0.3.6_pre1887-underlinking.patch | 10 - |
14 |
.../files/guayadeque-0.3.7-headers-location.patch | 90 --- |
15 |
.../guayadeque/files/guayadeque-0.3.7-wx3.0.patch | 700 --------------------- |
16 |
media-sound/guayadeque/guayadeque-0.3.7-r1.ebuild | 120 ---- |
17 |
5 files changed, 921 deletions(-) |
18 |
|
19 |
diff --git a/media-sound/guayadeque/Manifest b/media-sound/guayadeque/Manifest |
20 |
index ad1a4931a1..b2abc9d5ff 100644 |
21 |
--- a/media-sound/guayadeque/Manifest |
22 |
+++ b/media-sound/guayadeque/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST guayadeque-0.3.7.tar.bz2 1620734 SHA256 d23eb1247add0bef8d5fef834294d7cb3d7c5fc20db9022b86f618a13d359938 SHA512 7fb15d0454281a9fb436a95b04054812d0758f643ab9a28e6cefc171d5d90ad6de19e0b97384f8304a24e417a53b8655d4d99babf86439f371d719cd4a00e58e WHIRLPOOL ed6863de7916d484dd8702e3f809b20691157f9ecfa3314e3d3bb2471d5d440f10a9a4bd646c767648be4c612f45d5de03c761c0487b53631bcad8c6a6f40d95 |
25 |
DIST guayadeque-0.4.5_p20170110.tar.gz 2070855 SHA256 07d160f74ad38e68bf003b9ba50349282625edbb129d5f4795bd18deac69cd80 SHA512 57215ba47574fba615b33d72f45279c3726035bea38746f7d927a39866fb3fa8a3fb1dbd13fe672c7daba16a2131fbf4b89afed6a3bf8d9a584e5112d926f518 WHIRLPOOL 487d80b9d5dff02d2e5254351505a349b665c40c0af997d75691740bb6965f3718545c427143c930b2f0cb3c4ea7c8f0ad2b2293f269a33c50e99b79a74a6f65 |
26 |
|
27 |
diff --git a/media-sound/guayadeque/files/guayadeque-0.3.6_pre1887-underlinking.patch b/media-sound/guayadeque/files/guayadeque-0.3.6_pre1887-underlinking.patch |
28 |
deleted file mode 100644 |
29 |
index c2b73e2585..0000000000 |
30 |
--- a/media-sound/guayadeque/files/guayadeque-0.3.6_pre1887-underlinking.patch |
31 |
+++ /dev/null |
32 |
@@ -1,10 +0,0 @@ |
33 |
---- guayadeque-svn1858/src/CMakeLists.txt.orig 2012-12-14 19:42:25.000000000 +0100 |
34 |
-+++ guayadeque-svn1858/src/CMakeLists.txt 2012-12-24 14:33:58.486362648 +0100 |
35 |
-@@ -321,6 +321,7 @@ |
36 |
- ${LIBINDICATE07_LIBRARIES} |
37 |
- ${LIBAPPINDICATOR_LIBRARIES} |
38 |
- ${LIBWXSQLITE3_LIBRARIES} |
39 |
-+ -lgdk_pixbuf-2.0 |
40 |
- ) |
41 |
- |
42 |
- INSTALL( TARGETS guayadeque |
43 |
|
44 |
diff --git a/media-sound/guayadeque/files/guayadeque-0.3.7-headers-location.patch b/media-sound/guayadeque/files/guayadeque-0.3.7-headers-location.patch |
45 |
deleted file mode 100644 |
46 |
index 8c6faae5e4..0000000000 |
47 |
--- a/media-sound/guayadeque/files/guayadeque-0.3.7-headers-location.patch |
48 |
+++ /dev/null |
49 |
@@ -1,90 +0,0 @@ |
50 |
-Description: Point sources to the correct wxcurl's headers location. |
51 |
-Author: Alessio Treglia <alessio@××××××.org> |
52 |
-Forwarded: no |
53 |
---- |
54 |
- src/LastFM.cpp | 2 +- |
55 |
- src/LastFMPanel.cpp | 2 +- |
56 |
- src/LyricsPanel.cpp | 2 +- |
57 |
- src/MainFrame.h | 2 +- |
58 |
- src/MusicBrainz.cpp | 2 +- |
59 |
- src/MusicDns.cpp | 2 +- |
60 |
- src/Podcasts.h | 2 +- |
61 |
- 7 files changed, 7 insertions(+), 7 deletions(-) |
62 |
- |
63 |
---- a/src/LastFM.cpp |
64 |
-+++ b/src/LastFM.cpp |
65 |
-@@ -24,7 +24,7 @@ |
66 |
- #include "DbCache.h" |
67 |
- #include "Utils.h" |
68 |
- |
69 |
--#include "curl/http.h" |
70 |
-+#include "wx/curl/http.h" |
71 |
- |
72 |
- #include <wx/arrimpl.cpp> |
73 |
- #include <wx/sstream.h> |
74 |
---- a/src/LastFMPanel.cpp |
75 |
-+++ b/src/LastFMPanel.cpp |
76 |
-@@ -21,7 +21,7 @@ |
77 |
- #include "LastFMPanel.h" |
78 |
- |
79 |
- #include "Commands.h" |
80 |
--#include "curl/http.h" |
81 |
-+#include "wx/curl/http.h" |
82 |
- #include "Images.h" |
83 |
- #include "MainApp.h" |
84 |
- #include "Settings.h" |
85 |
---- a/src/LyricsPanel.cpp |
86 |
-+++ b/src/LyricsPanel.cpp |
87 |
-@@ -23,7 +23,7 @@ |
88 |
- #include "Base64.h" |
89 |
- #include "Commands.h" |
90 |
- #include "Config.h" |
91 |
--#include "curl/http.h" |
92 |
-+#include "wx/curl/http.h" |
93 |
- #include "Preferences.h" |
94 |
- #include "Images.h" |
95 |
- #include "ListView.h" |
96 |
---- a/src/MainFrame.h |
97 |
-+++ b/src/MainFrame.h |
98 |
-@@ -26,7 +26,7 @@ |
99 |
- #include "Config.h" |
100 |
- #include "CoverPanel.h" |
101 |
- #include "Collections.h" |
102 |
--#include "curl/http.h" |
103 |
-+#include "wx/curl/http.h" |
104 |
- #include "dbus/gudbus.h" |
105 |
- #include "dbus/mpris.h" |
106 |
- #include "dbus/mpris2.h" |
107 |
---- a/src/MusicBrainz.cpp |
108 |
-+++ b/src/MusicBrainz.cpp |
109 |
-@@ -21,7 +21,7 @@ |
110 |
- #include "MusicBrainz.h" |
111 |
- |
112 |
- #include "Utils.h" |
113 |
--#include "curl/http.h" |
114 |
-+#include "wx/curl/http.h" |
115 |
- |
116 |
- #include <wx/arrimpl.cpp> |
117 |
- #include <wx/sstream.h> |
118 |
---- a/src/MusicDns.cpp |
119 |
-+++ b/src/MusicDns.cpp |
120 |
-@@ -21,7 +21,7 @@ |
121 |
- #include "MusicDns.h" |
122 |
- |
123 |
- #include "Commands.h" |
124 |
--#include "curl/http.h" |
125 |
-+#include "wx/curl/http.h" |
126 |
- #include "MusicBrainz.h" |
127 |
- #include "Utils.h" |
128 |
- #include "Version.h" |
129 |
---- a/src/Podcasts.h |
130 |
-+++ b/src/Podcasts.h |
131 |
-@@ -21,7 +21,7 @@ |
132 |
- #ifndef PODCASTS_H |
133 |
- #define PODCASTS_H |
134 |
- |
135 |
--#include "curl/http.h" |
136 |
-+#include "wx/curl/http.h" |
137 |
- |
138 |
- #include <wx/dynarray.h> |
139 |
- #include <wx/xml/xml.h> |
140 |
|
141 |
diff --git a/media-sound/guayadeque/files/guayadeque-0.3.7-wx3.0.patch b/media-sound/guayadeque/files/guayadeque-0.3.7-wx3.0.patch |
142 |
deleted file mode 100644 |
143 |
index 1071de0984..0000000000 |
144 |
--- a/media-sound/guayadeque/files/guayadeque-0.3.7-wx3.0.patch |
145 |
+++ /dev/null |
146 |
@@ -1,700 +0,0 @@ |
147 |
-Description: Fix to work with wxwidgets3.0 |
148 |
- Based on partial patch by dam. |
149 |
-Author: Olly Betts <olly@××××××.com> |
150 |
-Bug-Debian: http://bugs.debian.org/749978 |
151 |
-Forwarded: no |
152 |
-Last-Update: 2014-08-14 |
153 |
- |
154 |
---- a/src/ListView.h |
155 |
-+++ b/src/ListView.h |
156 |
-@@ -28,6 +28,7 @@ |
157 |
- #include <wx/scrolwin.h> |
158 |
- #include <wx/vlbox.h> |
159 |
- #include <wx/settings.h> |
160 |
-+#include <wx/listbase.h> |
161 |
- |
162 |
- class guListViewClient; |
163 |
- class guListViewHeader; |
164 |
-@@ -330,7 +331,7 @@ |
165 |
- size_t GetVisibleEnd( void ) const { return m_ListBox->GetVisibleEnd(); } |
166 |
- size_t GetFirstVisibleLine() const { return m_ListBox->GetFirstVisibleLine(); } |
167 |
- size_t GetLastVisibleLine() const { return m_ListBox->GetLastVisibleLine(); } |
168 |
-- bool ScrollLines( int lines ) { return m_ListBox->ScrollLines( lines ); } |
169 |
-+ bool ScrollLines( int lines ) { return m_ListBox->wxWindow::ScrollLines( lines ); } |
170 |
- |
171 |
- bool ScrollToLine( size_t line ) { return m_ListBox->ScrollToLine( line ); } |
172 |
- |
173 |
---- a/src/FileBrowser.cpp |
174 |
-+++ b/src/FileBrowser.cpp |
175 |
-@@ -36,6 +36,7 @@ |
176 |
- #include <wx/arrimpl.cpp> |
177 |
- #include <wx/artprov.h> |
178 |
- #include <wx/clipbrd.h> |
179 |
-+#include <wx/gtk/tglbtn.h> |
180 |
- |
181 |
- WX_DEFINE_OBJARRAY(guFileItemArray); |
182 |
- |
183 |
-@@ -221,7 +222,7 @@ |
184 |
- |
185 |
- DirBtnSizer->Add( 0, 0, 1, wxEXPAND, 5 ); |
186 |
- |
187 |
-- m_ShowLibPathsBtn = new wxToggleBitmapButton( this, wxID_ANY, guImage( guIMAGE_INDEX_tiny_library ), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW ); |
188 |
-+ m_ShowLibPathsBtn = new wxBitmapToggleButton( this, wxID_ANY, guImage( guIMAGE_INDEX_tiny_library ), wxDefaultPosition, wxDefaultSize, wxBU_AUTODRAW ); |
189 |
- m_ShowLibPathsBtn->SetToolTip( ShowPaths == guFILEBROWSER_SHOWPATH_SYSTEM ? |
190 |
- _( "See used locations" ) : |
191 |
- _( "See system files" ) ); |
192 |
---- a/src/FileBrowser.h |
193 |
-+++ b/src/FileBrowser.h |
194 |
-@@ -36,6 +36,7 @@ |
195 |
- #include <wx/sizer.h> |
196 |
- #include <wx/string.h> |
197 |
- #include <wx/tglbtn.h> |
198 |
-+#include <wx/gtk/tglbtn.h> |
199 |
- |
200 |
- |
201 |
- #define guPANEL_FILEBROWSER_DIRCTRL ( 1 << 0 ) |
202 |
-@@ -122,7 +123,7 @@ |
203 |
- guMediaViewer * m_MediaViewer; |
204 |
- guGenericDirCtrl * m_DirCtrl; |
205 |
- bool m_AddingFolder; |
206 |
-- wxToggleBitmapButton * m_ShowLibPathsBtn; |
207 |
-+ wxBitmapToggleButton * m_ShowLibPathsBtn; |
208 |
- |
209 |
- void OnShowLibPathsClick( wxCommandEvent& event ); |
210 |
- |
211 |
---- a/src/AuiNotebook.cpp |
212 |
-+++ b/src/AuiNotebook.cpp |
213 |
-@@ -47,8 +47,8 @@ |
214 |
- m_TextFgColor = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT ); |
215 |
- m_SelTextFgColour = wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOWTEXT ); |
216 |
- |
217 |
-- m_disabled_close_bmp = guImage( guIMAGE_INDEX_tiny_close_normal ); |
218 |
-- m_active_close_bmp = guImage( guIMAGE_INDEX_tiny_close_highlight ); |
219 |
-+ m_disabledCloseBmp = guImage( guIMAGE_INDEX_tiny_close_normal ); |
220 |
-+ m_activeCloseBmp = guImage( guIMAGE_INDEX_tiny_close_highlight ); |
221 |
- } |
222 |
- |
223 |
- // -------------------------------------------------------------------------------- // |
224 |
-@@ -60,9 +60,9 @@ |
225 |
- wxAuiTabArt * guAuiTabArt::Clone() |
226 |
- { |
227 |
- guAuiTabArt * art = new guAuiTabArt; |
228 |
-- art->SetNormalFont( m_normal_font ); |
229 |
-- art->SetSelectedFont( m_selected_font ); |
230 |
-- art->SetMeasuringFont( m_measuring_font ); |
231 |
-+ art->SetNormalFont( m_normalFont ); |
232 |
-+ art->SetSelectedFont( m_selectedFont ); |
233 |
-+ art->SetMeasuringFont( m_measuringFont ); |
234 |
- // art->m_BgColor = m_BgColor; |
235 |
- // art->m_SelBgColor = m_SelBgColor; |
236 |
- // art->m_TextFgColor = m_TextFgColor; |
237 |
-@@ -75,7 +75,7 @@ |
238 |
- // draw background |
239 |
- //wxColor top_color = m_base_colour; |
240 |
- wxColor top_color = m_BgColor; |
241 |
-- wxColor bottom_color = wxAuiStepColour( m_base_colour, 120 ); |
242 |
-+ wxColor bottom_color = wxAuiStepColour( m_baseColour, 120 ); |
243 |
- wxRect r; |
244 |
- |
245 |
- if( m_flags & wxAUI_NB_BOTTOM ) |
246 |
-@@ -88,7 +88,7 @@ |
247 |
- dc.GradientFillLinear( r, top_color, bottom_color, wxNORTH ); |
248 |
- |
249 |
- // draw base lines |
250 |
-- dc.SetPen( m_border_pen ); |
251 |
-+ dc.SetPen( m_borderPen ); |
252 |
- int y = rect.GetHeight(); |
253 |
- int w = rect.GetWidth(); |
254 |
- |
255 |
-@@ -120,10 +120,10 @@ |
256 |
- if( caption.empty() ) |
257 |
- caption = wxT("Xj"); |
258 |
- |
259 |
-- dc.SetFont(m_selected_font); |
260 |
-+ dc.SetFont(m_selectedFont); |
261 |
- dc.GetTextExtent(caption, &selected_textx, &selected_texty); |
262 |
- |
263 |
-- dc.SetFont(m_normal_font); |
264 |
-+ dc.SetFont(m_normalFont); |
265 |
- dc.GetTextExtent(caption, &normal_textx, &normal_texty); |
266 |
- |
267 |
- // figure out the size of the tab |
268 |
-@@ -135,7 +135,7 @@ |
269 |
- close_button_state, |
270 |
- x_extent); |
271 |
- |
272 |
-- wxCoord tab_height = m_tab_ctrl_height - 1; |
273 |
-+ wxCoord tab_height = m_tabCtrlHeight - 1; |
274 |
- if( !page.active ) |
275 |
- tab_height -= 2; |
276 |
- wxCoord tab_width = tab_size.x; |
277 |
-@@ -150,12 +150,12 @@ |
278 |
- |
279 |
- if( page.active ) |
280 |
- { |
281 |
-- dc.SetFont( m_selected_font ); |
282 |
-+ dc.SetFont( m_selectedFont ); |
283 |
- texty = selected_texty; |
284 |
- } |
285 |
- else |
286 |
- { |
287 |
-- dc.SetFont(m_normal_font); |
288 |
-+ dc.SetFont(m_normalFont); |
289 |
- texty = normal_texty; |
290 |
- } |
291 |
- |
292 |
-@@ -221,7 +221,7 @@ |
293 |
- // } |
294 |
- |
295 |
- // draw tab outline |
296 |
-- dc.SetPen( m_border_pen ); |
297 |
-+ dc.SetPen( m_borderPen ); |
298 |
- dc.SetBrush( * wxTRANSPARENT_BRUSH ); |
299 |
- dc.DrawPolygon( WXSIZEOF( border_points ), border_points ); |
300 |
- |
301 |
-@@ -230,7 +230,7 @@ |
302 |
- if( page.active ) |
303 |
- { |
304 |
- if( m_flags & wxAUI_NB_BOTTOM ) |
305 |
-- dc.SetPen( wxPen( wxColour( wxAuiStepColour( m_base_colour, 170 ) ) ) ); |
306 |
-+ dc.SetPen( wxPen( wxColour( wxAuiStepColour( m_baseColour, 170 ) ) ) ); |
307 |
- // TODO: else if (m_flags &wxAUI_NB_LEFT) {} |
308 |
- // TODO: else if (m_flags &wxAUI_NB_RIGHT) {} |
309 |
- else //for wxAUI_NB_TOP |
310 |
-@@ -246,7 +246,7 @@ |
311 |
- int close_button_width = 0; |
312 |
- if (close_button_state != wxAUI_BUTTON_STATE_HIDDEN) |
313 |
- { |
314 |
-- close_button_width = m_active_close_bmp.GetWidth(); |
315 |
-+ close_button_width = m_activeCloseBmp.GetWidth(); |
316 |
- } |
317 |
- |
318 |
- |
319 |
-@@ -284,12 +284,12 @@ |
320 |
- // draw close button if necessary |
321 |
- if (close_button_state != wxAUI_BUTTON_STATE_HIDDEN) |
322 |
- { |
323 |
-- wxBitmap bmp = m_disabled_close_bmp; |
324 |
-+ wxBitmap bmp = m_disabledCloseBmp; |
325 |
- |
326 |
- if (close_button_state == wxAUI_BUTTON_STATE_HOVER || |
327 |
- close_button_state == wxAUI_BUTTON_STATE_PRESSED) |
328 |
- { |
329 |
-- bmp = m_active_close_bmp; |
330 |
-+ bmp = m_activeCloseBmp; |
331 |
- } |
332 |
- |
333 |
- wxRect rect(tab_x + tab_width - close_button_width - 1, |
334 |
-@@ -367,14 +367,14 @@ |
335 |
- // UpdateTabCtrlHeight() does the actual tab resizing. It's meant |
336 |
- // to be used interally |
337 |
- // -------------------------------------------------------------------------------- // |
338 |
--void guAuiNotebook::UpdateTabCtrlHeight() |
339 |
-+bool guAuiNotebook::UpdateTabCtrlHeight() |
340 |
- { |
341 |
- // get the tab ctrl height we will use |
342 |
- int height = CalculateTabCtrlHeight(); |
343 |
- |
344 |
- wxAuiTabArt* art = m_tabs.GetArtProvider(); |
345 |
- |
346 |
-- m_tab_ctrl_height = height; |
347 |
-+ m_tabCtrlHeight = height; |
348 |
- |
349 |
- wxAuiPaneInfoArray& all_panes = m_mgr.GetAllPanes(); |
350 |
- size_t i, pane_count = all_panes.GetCount(); |
351 |
-@@ -385,10 +385,12 @@ |
352 |
- continue; |
353 |
- wxTabFrame* tab_frame = (wxTabFrame*)pane.window; |
354 |
- wxAuiTabCtrl* tabctrl = tab_frame->m_tabs; |
355 |
-- tab_frame->SetTabCtrlHeight(m_tab_ctrl_height); |
356 |
-+ tab_frame->SetTabCtrlHeight(m_tabCtrlHeight); |
357 |
- tabctrl->SetArtProvider(art->Clone()); |
358 |
- tab_frame->DoSizing(); |
359 |
- } |
360 |
-+ |
361 |
-+ return true; |
362 |
- } |
363 |
- |
364 |
- // -------------------------------------------------------------------------------- // |
365 |
-@@ -447,7 +449,7 @@ |
366 |
- if( p ) |
367 |
- tabs += wxT( "," ); |
368 |
- |
369 |
-- if( ( int ) page_idx == m_curpage ) |
370 |
-+ if( ( int ) page_idx == m_curPage ) |
371 |
- tabs += wxT( "*" ); |
372 |
- else if( ( int ) p == tabframe->m_tabs->GetActivePage() ) |
373 |
- tabs += wxT( "+" ); |
374 |
-@@ -501,12 +503,12 @@ |
375 |
- // create a new tab frame |
376 |
- wxTabFrame * new_tabs = new wxTabFrame; |
377 |
- new_tabs->m_tabs = new wxAuiTabCtrl( this, |
378 |
-- m_tab_id_counter++, |
379 |
-+ m_tabIdCounter++, |
380 |
- wxDefaultPosition, |
381 |
- wxDefaultSize, |
382 |
- wxNO_BORDER | wxWANTS_CHARS ); |
383 |
- new_tabs->m_tabs->SetArtProvider( m_tabs.GetArtProvider()->Clone() ); |
384 |
-- new_tabs->SetTabCtrlHeight( m_tab_ctrl_height ); |
385 |
-+ new_tabs->SetTabCtrlHeight( m_tabCtrlHeight ); |
386 |
- new_tabs->m_tabs->SetFlags( m_flags ); |
387 |
- wxAuiTabCtrl * dest_tabs = new_tabs->m_tabs; |
388 |
- |
389 |
-@@ -555,7 +557,7 @@ |
390 |
- m_mgr.LoadPerspective( frames ); |
391 |
- |
392 |
- // Force refresh of selection |
393 |
-- m_curpage = -1; |
394 |
-+ m_curPage = -1; |
395 |
- SetSelection( sel_page ); |
396 |
- |
397 |
- return true; |
398 |
---- a/src/AuiNotebook.h |
399 |
-+++ b/src/AuiNotebook.h |
400 |
-@@ -205,7 +205,7 @@ |
401 |
- |
402 |
- virtual ~guAuiNotebook(); |
403 |
- |
404 |
-- virtual void UpdateTabCtrlHeight(); |
405 |
-+ virtual bool UpdateTabCtrlHeight(); |
406 |
- |
407 |
- wxString SavePerspective( void ); |
408 |
- bool LoadPerspective( const wxString &layout ); |
409 |
---- a/CMakeLists.txt |
410 |
-+++ b/CMakeLists.txt |
411 |
-@@ -120,7 +120,7 @@ |
412 |
- SET( ADD_WXSQLITE_SUPPORT 0 ) |
413 |
- PKG_CHECK_MODULES( LIBWXSQLITE3 wxsqlite3 ) |
414 |
- IF( NOT LIBWXSQLITE3_LIBRARIES ) |
415 |
-- PKG_CHECK_MODULES( LIBWXSQLITE3 wxsqlite3-2.8 ) |
416 |
-+ PKG_CHECK_MODULES( LIBWXSQLITE3 wxsqlite3-3.0 ) |
417 |
- IF( NOT LIBWXSQLITE3_LIBRARIES ) |
418 |
- ADD_DEFINITIONS(-DADD_WXSQLITE_SUPPORT=1) |
419 |
- SET( ADD_WXSQLITE_SUPPORT 1 ) |
420 |
---- a/src/LastFMPanel.cpp |
421 |
-+++ b/src/LastFMPanel.cpp |
422 |
-@@ -2812,7 +2812,7 @@ |
423 |
- if( event.GetKeyCode() == WXK_RETURN ) |
424 |
- { |
425 |
- wxCommandEvent CmdEvent( wxEVT_COMMAND_TEXT_ENTER ); |
426 |
-- m_ArtistTextCtrl->AddPendingEvent( CmdEvent ); |
427 |
-+ m_ArtistTextCtrl->GetEventHandler()->AddPendingEvent( CmdEvent ); |
428 |
- return; |
429 |
- } |
430 |
- event.Skip(); |
431 |
---- a/src/MainApp.cpp |
432 |
-+++ b/src/MainApp.cpp |
433 |
-@@ -360,8 +360,7 @@ |
434 |
- if( LangInfo ) |
435 |
- { |
436 |
- guLogError( wxT( "Could not initialize the translations engine for ( %s )" ), LangInfo->CanonicalName.c_str() ); |
437 |
-- wxStandardPaths StdPaths; |
438 |
-- guLogError( wxT( "Locale directory '%s'" ), StdPaths.GetLocalizedResourcesDir( LangInfo->CanonicalName, wxStandardPaths::ResourceCat_Messages).c_str() ); |
439 |
-+ guLogError( wxT( "Locale directory '%s'" ), wxStandardPaths::Get().GetLocalizedResourcesDir( LangInfo->CanonicalName, wxStandardPaths::ResourceCat_Messages).c_str() ); |
440 |
- } |
441 |
- else |
442 |
- { |
443 |
---- a/src/PLSoListBox.cpp |
444 |
-+++ b/src/PLSoListBox.cpp |
445 |
-@@ -179,7 +179,7 @@ |
446 |
- if( event.GetKeyCode() == WXK_DELETE ) |
447 |
- { |
448 |
- wxCommandEvent evt( wxEVT_COMMAND_MENU_SELECTED, ID_TRACKS_DELETE ); |
449 |
-- GetParent()->AddPendingEvent( evt ); |
450 |
-+ GetParent()->GetEventHandler()->AddPendingEvent( evt ); |
451 |
- return; |
452 |
- } |
453 |
- |
454 |
---- a/src/StatusBar.cpp |
455 |
-+++ b/src/StatusBar.cpp |
456 |
-@@ -509,7 +509,7 @@ |
457 |
- } |
458 |
- |
459 |
- // -------------------------------------------------------------------------------- // |
460 |
--void guStatusBar::DrawField( wxDC &dc, int i ) |
461 |
-+void guStatusBar::DrawField( wxDC &dc, int i, int textHeight ) |
462 |
- { |
463 |
- wxRect rect; |
464 |
- GetFieldRect( i, rect ); |
465 |
-@@ -521,7 +521,7 @@ |
466 |
- dc.DrawLine( rect.x + rect.width, rect.y + 1, rect.x + rect.width, rect.y + rect.height - 1 ); |
467 |
- } |
468 |
- |
469 |
-- DrawFieldText( dc, i ); |
470 |
-+ DrawFieldText( dc, rect, i, textHeight ); |
471 |
- } |
472 |
- |
473 |
- // -------------------------------------------------------------------------------- // |
474 |
---- a/src/TagInfo.cpp |
475 |
-+++ b/src/TagInfo.cpp |
476 |
-@@ -2453,7 +2453,7 @@ |
477 |
- } |
478 |
- |
479 |
- // -------------------------------------------------------------------------------- // |
480 |
--bool guTagSetLyrics( const wxString &filename, wxString &lyrics ) |
481 |
-+bool guTagSetLyrics( const wxString &filename, const wxString &lyrics ) |
482 |
- { |
483 |
- guMainFrame * MainFrame = ( guMainFrame * ) wxTheApp->GetTopWindow(); |
484 |
- |
485 |
---- a/src/TagInfo.h |
486 |
-+++ b/src/TagInfo.h |
487 |
-@@ -329,7 +329,7 @@ |
488 |
- bool guTagSetPicture( const wxString &filename, wxImage * picture ); |
489 |
- bool guTagSetPicture( const wxString &filename, const wxString &imagefile ); |
490 |
- wxString guTagGetLyrics( const wxString &filename ); |
491 |
--bool guTagSetLyrics( const wxString &filename, wxString &lyrics ); |
492 |
-+bool guTagSetLyrics( const wxString &filename, const wxString &lyrics ); |
493 |
- //void guUpdateTrack( const guTrack &track, const wxImage * image, const wxString &lyrics, const int &changedflags ); |
494 |
- void guUpdateTracks( const guTrackArray &tracks, const guImagePtrArray &images, |
495 |
- const wxArrayString &lyrics, const wxArrayInt &changedflags ); |
496 |
---- a/src/PlayListAppend.cpp |
497 |
-+++ b/src/PlayListAppend.cpp |
498 |
-@@ -128,7 +128,7 @@ |
499 |
- int guPlayListAppend::GetSelectedPlayList( void ) |
500 |
- { |
501 |
- int Selection = m_PlayListComboBox->GetSelection(); |
502 |
-- if( Selection == wxNOT_FOUND && !m_PlayListComboBox->IsEmpty() ) |
503 |
-+ if( Selection == wxNOT_FOUND && m_PlayListComboBox->GetCount() != 0 ) |
504 |
- { |
505 |
- Selection = FindPlayListItem( m_PlayListItems, m_PlayListComboBox->GetValue().Lower().Trim().Trim( false ) ); |
506 |
- } |
507 |
---- a/src/AlbumBrowser.cpp |
508 |
-+++ b/src/AlbumBrowser.cpp |
509 |
-@@ -2308,7 +2308,7 @@ |
510 |
- // Its a LeftUp event |
511 |
- event.SetEventType( wxEVT_LEFT_DOWN ); |
512 |
- event.m_leftDown = true; |
513 |
-- m_BigCoverTracksListBox->AddPendingEvent( event ); |
514 |
-+ m_BigCoverTracksListBox->GetEventHandler()->AddPendingEvent( event ); |
515 |
- } |
516 |
- return; |
517 |
- } |
518 |
---- a/src/AuiDockArt.cpp |
519 |
-+++ b/src/AuiDockArt.cpp |
520 |
-@@ -23,7 +23,34 @@ |
521 |
- #include "Images.h" |
522 |
- #include "Utils.h" |
523 |
- |
524 |
--extern wxString wxAuiChopText( wxDC &dc, const wxString &text, int max_size ); |
525 |
-+wxString wxAuiChopText(wxDC& dc, const wxString& text, int max_size) |
526 |
-+{ |
527 |
-+ wxCoord x,y; |
528 |
-+ |
529 |
-+ // first check if the text fits with no problems |
530 |
-+ dc.GetTextExtent(text, &x, &y); |
531 |
-+ if (x <= max_size) |
532 |
-+ return text; |
533 |
-+ |
534 |
-+ size_t i, len = text.Length(); |
535 |
-+ size_t last_good_length = 0; |
536 |
-+ for (i = 0; i < len; ++i) |
537 |
-+ { |
538 |
-+ wxString s = text.Left(i); |
539 |
-+ s += wxT("..."); |
540 |
-+ |
541 |
-+ dc.GetTextExtent(s, &x, &y); |
542 |
-+ if (x > max_size) |
543 |
-+ break; |
544 |
-+ |
545 |
-+ last_good_length = i; |
546 |
-+ } |
547 |
-+ |
548 |
-+ wxString ret = text.Left(last_good_length); |
549 |
-+ ret += wxT("..."); |
550 |
-+ return ret; |
551 |
-+} |
552 |
-+ |
553 |
- |
554 |
- // -------------------------------------------------------------------------------- // |
555 |
- guAuiDockArt::guAuiDockArt() : wxAuiDefaultDockArt() |
556 |
-@@ -42,12 +69,12 @@ |
557 |
- // -------------------------------------------------------------------------------- // |
558 |
- void guAuiDockArt::DrawCaptionBackground( wxDC &dc, const wxRect &rect, bool active ) |
559 |
- { |
560 |
-- if( m_gradient_type == wxAUI_GRADIENT_NONE ) |
561 |
-+ if( m_gradientType == wxAUI_GRADIENT_NONE ) |
562 |
- { |
563 |
- if( active ) |
564 |
-- dc.SetBrush( wxBrush( m_active_caption_colour ) ); |
565 |
-+ dc.SetBrush( wxBrush( m_activeCaptionColour ) ); |
566 |
- else |
567 |
-- dc.SetBrush( wxBrush( m_inactive_caption_colour ) ); |
568 |
-+ dc.SetBrush( wxBrush( m_inactiveCaptionColour ) ); |
569 |
- |
570 |
- dc.DrawRectangle( rect.x, rect.y, rect.width, rect.height ); |
571 |
- } |
572 |
-@@ -58,15 +85,15 @@ |
573 |
- // on mac the gradients are expected to become darker from the top |
574 |
- #ifdef __WXMAC__ |
575 |
- DrawGradientRectangle( dc, rect, |
576 |
-- m_active_caption_colour, |
577 |
-- m_active_caption_gradient_colour, |
578 |
-- m_gradient_type ); |
579 |
-+ m_activeCaptionColour, |
580 |
-+ m_activeCaptionGradientColour, |
581 |
-+ m_gradientType ); |
582 |
- #else |
583 |
- // on other platforms, active gradients become lighter at the top |
584 |
- DrawGradientRectangle( dc, rect, |
585 |
-- m_active_caption_colour, |
586 |
-- m_active_caption_gradient_colour, |
587 |
-- m_gradient_type ); |
588 |
-+ m_activeCaptionColour, |
589 |
-+ m_activeCaptionGradientColour, |
590 |
-+ m_gradientType ); |
591 |
- #endif |
592 |
- } |
593 |
- else |
594 |
-@@ -74,20 +101,20 @@ |
595 |
- #ifdef __WXMAC__ |
596 |
- // on mac the gradients are expected to become darker from the top |
597 |
- DrawGradientRectangle( dc, rect, |
598 |
-- m_inactive_caption_colour, |
599 |
-- m_inactive_caption_gradient_colour, |
600 |
-- m_gradient_type ); |
601 |
-+ m_inactiveCaptionColour, |
602 |
-+ m_inactiveCaptionGradientColour, |
603 |
-+ m_gradientType ); |
604 |
- #else |
605 |
- // on other platforms, inactive gradients become lighter at the bottom |
606 |
- DrawGradientRectangle( dc, rect, |
607 |
-- m_inactive_caption_colour, |
608 |
-- m_inactive_caption_gradient_colour, |
609 |
-- m_gradient_type ); |
610 |
-+ m_inactiveCaptionColour, |
611 |
-+ m_inactiveCaptionGradientColour, |
612 |
-+ m_gradientType ); |
613 |
- #endif |
614 |
- } |
615 |
- } |
616 |
- |
617 |
-- dc.SetPen( m_border_pen ); |
618 |
-+ dc.SetPen( m_borderPen ); |
619 |
- int y = rect.y + rect.height - 1; |
620 |
- dc.DrawLine( rect.x, y, rect.x + rect.width, y ); |
621 |
- } |
622 |
-@@ -97,11 +124,11 @@ |
623 |
- void guAuiDockArt::DrawCaption( wxDC &dc, wxWindow * window, const wxString &text, const wxRect &rect, wxAuiPaneInfo &pane ) |
624 |
- { |
625 |
- dc.SetPen( * wxTRANSPARENT_PEN ); |
626 |
-- dc.SetFont( m_caption_font ); |
627 |
-+ dc.SetFont( m_captionFont ); |
628 |
- |
629 |
- DrawCaptionBackground( dc, rect, bool( pane.state & wxAuiPaneInfo::optionActive ) ); |
630 |
- |
631 |
-- dc.SetTextForeground( pane.state & wxAuiPaneInfo::optionActive ? m_active_caption_text_colour : m_inactive_caption_text_colour ); |
632 |
-+ dc.SetTextForeground( pane.state & wxAuiPaneInfo::optionActive ? m_activeCaptionTextColour : m_inactiveCaptionTextColour ); |
633 |
- |
634 |
- wxCoord w, h; |
635 |
- dc.GetTextExtent( wxT( "ABCDEFHXfgkj" ), &w, &h ); |
636 |
-@@ -110,11 +137,11 @@ |
637 |
- clip_rect.width -= 3; // text offset |
638 |
- clip_rect.width -= 2; // button padding |
639 |
- if( pane.HasCloseButton() ) |
640 |
-- clip_rect.width -= m_button_size; |
641 |
-+ clip_rect.width -= m_buttonSize; |
642 |
- if( pane.HasPinButton() ) |
643 |
-- clip_rect.width -= m_button_size; |
644 |
-+ clip_rect.width -= m_buttonSize; |
645 |
- if( pane.HasMaximizeButton() ) |
646 |
-- clip_rect.width -= m_button_size; |
647 |
-+ clip_rect.width -= m_buttonSize; |
648 |
- |
649 |
- wxString draw_text = wxAuiChopText( dc, text, clip_rect.width ); |
650 |
- |
651 |
---- a/src/SmartMode.cpp |
652 |
-+++ b/src/SmartMode.cpp |
653 |
-@@ -500,7 +500,7 @@ |
654 |
- int guGenSmartPlaylist::GetPlayListId( void ) |
655 |
- { |
656 |
- int Selection = m_SaveToComboBox->GetSelection(); |
657 |
-- if( Selection == wxNOT_FOUND && !m_SaveToComboBox->IsEmpty() ) |
658 |
-+ if( Selection == wxNOT_FOUND && m_SaveToComboBox->GetCount() != 0 ) |
659 |
- { |
660 |
- Selection = FindPlayListItem( &m_Playlists, m_SaveToComboBox->GetValue().Lower().Trim().Trim( false ) ); |
661 |
- } |
662 |
---- a/src/StaticBitmap.cpp |
663 |
-+++ b/src/StaticBitmap.cpp |
664 |
-@@ -70,7 +70,7 @@ |
665 |
- { |
666 |
- wxCommandEvent event( guStaticBitmapMouseOverEvent, guEVT_STATICBITMAP_MOUSE_OVER ); |
667 |
- event.SetEventObject( this ); |
668 |
-- m_Bitmap->AddPendingEvent( event ); |
669 |
-+ m_Bitmap->GetEventHandler()->AddPendingEvent( event ); |
670 |
- } |
671 |
- } |
672 |
- |
673 |
---- a/src/Equalizer.cpp |
674 |
-+++ b/src/Equalizer.cpp |
675 |
-@@ -537,7 +537,7 @@ |
676 |
- { |
677 |
- int Sel = m_PresetComboBox->GetSelection(); |
678 |
- |
679 |
-- m_SaveButton->Enable( !m_PresetComboBox->IsEmpty() && |
680 |
-+ m_SaveButton->Enable( m_PresetComboBox->GetCount() != 0 && |
681 |
- ( m_BandChanged || !FindPresetName( m_PresetComboBox->GetValue(), m_EQPresets ) ) ); |
682 |
- |
683 |
- m_DelButton->Enable( Sel != wxNOT_FOUND ); |
684 |
---- a/src/LocationPanel.cpp |
685 |
-+++ b/src/LocationPanel.cpp |
686 |
-@@ -161,7 +161,52 @@ |
687 |
- return 1; |
688 |
- } |
689 |
- |
690 |
--extern wxColor wxAuiStepColour( const wxColor & c, int percent ); |
691 |
-+unsigned char wxAuiBlendColour(unsigned char fg, unsigned char bg, double alpha) |
692 |
-+{ |
693 |
-+ double result = bg + (alpha * (fg - bg)); |
694 |
-+ if (result < 0.0) |
695 |
-+ result = 0.0; |
696 |
-+ if (result > 255) |
697 |
-+ result = 255; |
698 |
-+ return (unsigned char)result; |
699 |
-+} |
700 |
-+ |
701 |
-+wxColor wxAuiStepColour(const wxColor& c, int ialpha) |
702 |
-+{ |
703 |
-+ if (ialpha == 100) |
704 |
-+ return c; |
705 |
-+ |
706 |
-+ unsigned char r = c.Red(), |
707 |
-+ g = c.Green(), |
708 |
-+ b = c.Blue(); |
709 |
-+ unsigned char bg; |
710 |
-+ |
711 |
-+ // ialpha is 0..200 where 0 is completely black |
712 |
-+ // and 200 is completely white and 100 is the same |
713 |
-+ // convert that to normal alpha 0.0 - 1.0 |
714 |
-+ ialpha = wxMin(ialpha, 200); |
715 |
-+ ialpha = wxMax(ialpha, 0); |
716 |
-+ double alpha = ((double)(ialpha - 100.0))/100.0; |
717 |
-+ |
718 |
-+ if (ialpha > 100) |
719 |
-+ { |
720 |
-+ // blend with white |
721 |
-+ bg = 255; |
722 |
-+ alpha = 1.0 - alpha; // 0 = transparent fg; 1 = opaque fg |
723 |
-+ } |
724 |
-+ else |
725 |
-+ { |
726 |
-+ // blend with black |
727 |
-+ bg = 0; |
728 |
-+ alpha += 1.0; // 0 = transparent fg; 1 = opaque fg |
729 |
-+ } |
730 |
-+ |
731 |
-+ r = wxAuiBlendColour(r, bg, alpha); |
732 |
-+ g = wxAuiBlendColour(g, bg, alpha); |
733 |
-+ b = wxAuiBlendColour(b, bg, alpha); |
734 |
-+ |
735 |
-+ return wxColour(r, g, b); |
736 |
-+} |
737 |
- |
738 |
- // -------------------------------------------------------------------------------- // |
739 |
- void guLocationTreeCtrl::ReloadItems( const bool loadstate ) |
740 |
---- a/src/StatusBar.h |
741 |
-+++ b/src/StatusBar.h |
742 |
-@@ -46,7 +46,7 @@ |
743 |
- public : |
744 |
- guGauge() : wxControl() { m_LastValue = wxNOT_FOUND; m_PaintWidth = 0; }; |
745 |
- guGauge( wxWindow * parent, const wxString &label = wxEmptyString, bool showporcent = true, wxWindowID id = wxID_ANY, unsigned int max = 100, |
746 |
-- const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxGA_HORIZONTAL ); |
747 |
-+ const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxGA_HORIZONTAL | wxBORDER_NONE ); |
748 |
- ~guGauge( void ); |
749 |
- |
750 |
- void SetRange( int range ); |
751 |
-@@ -101,7 +101,7 @@ |
752 |
- void SetPlayMode( const bool forcegapless ); |
753 |
- void SetAudioScrobble( const bool audioscrobble ); |
754 |
- |
755 |
-- virtual void DrawField( wxDC &dc, int i ); |
756 |
-+ virtual void DrawField( wxDC &dc, int i, int textHeight ); |
757 |
- |
758 |
- }; |
759 |
- |
760 |
---- a/src/Utils.cpp |
761 |
-+++ b/src/Utils.cpp |
762 |
-@@ -311,7 +311,7 @@ |
763 |
- static const wxChar marks[] = wxT( "-_.\"!~*()'" ); |
764 |
- |
765 |
- wxString RetVal; |
766 |
-- unsigned char CurChar; |
767 |
-+ wxChar CurChar; |
768 |
- |
769 |
- wxCharBuffer CharBuffer = url.ToUTF8(); |
770 |
- int Index; |
771 |
-@@ -352,7 +352,7 @@ |
772 |
- |
773 |
- for( index = 0; index < StrLen; index++ ) |
774 |
- { |
775 |
-- unsigned char C = CharBuffer[ index ]; |
776 |
-+ wxChar C = CharBuffer[ index ]; |
777 |
- { |
778 |
- static const wxChar marks[] = wxT( " -_.\"/+!~*()'[]%" ); //~!@#$&*()=:/,;?+' |
779 |
- |
780 |
---- a/src/ListView.cpp |
781 |
-+++ b/src/ListView.cpp |
782 |
-@@ -914,7 +914,7 @@ |
783 |
- // iterate over all visible lines |
784 |
- for( ; line < lineMax; line++ ) |
785 |
- { |
786 |
-- const wxCoord hLine = OnGetLineHeight( line ); |
787 |
-+ const wxCoord hLine = OnGetRowHeight( line ); |
788 |
- |
789 |
- rectLine.height = hLine; |
790 |
- |
791 |
---- a/src/TimeLine.h |
792 |
-+++ b/src/TimeLine.h |
793 |
-@@ -115,7 +115,7 @@ |
794 |
- |
795 |
- virtual void TimerEvent( void ); |
796 |
- virtual int TimerCreate( void ); |
797 |
-- virtual void TimerDestroy( void ) { g_source_remove( m_TimerId ); } |
798 |
-+ virtual void TimerDestroy( void ) { int id = m_TimerId; m_TimerId = 0; if (id) g_source_remove( id ); } |
799 |
- |
800 |
- }; |
801 |
- |
802 |
---- a/src/SplashWin.cpp |
803 |
-+++ b/src/SplashWin.cpp |
804 |
-@@ -79,7 +79,7 @@ |
805 |
- |
806 |
- Show( true ); |
807 |
- SetThemeEnabled( false ); |
808 |
-- SetBackgroundStyle( wxBG_STYLE_CUSTOM ); |
809 |
-+ SetBackgroundStyle( wxBG_STYLE_ERASE ); |
810 |
- |
811 |
- m_Timer.SetOwner( this ); |
812 |
- m_Timer.Start( timeout, wxTIMER_ONE_SHOT ); |
813 |
---- a/src/RoundButton.cpp |
814 |
-+++ b/src/RoundButton.cpp |
815 |
-@@ -33,7 +33,7 @@ |
816 |
- |
817 |
- // -------------------------------------------------------------------------------- // |
818 |
- guRoundButton::guRoundButton( wxWindow * parent, const wxImage &image, const wxImage &selimage, const int flags ) : |
819 |
-- wxControl( parent, wxID_ANY ) |
820 |
-+ wxControl( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE ) |
821 |
- { |
822 |
- m_Bitmap = wxBitmap( image ); |
823 |
- m_HoverBitmap = wxBitmap( selimage ); |
824 |
---- a/src/RatingCtrl.cpp |
825 |
-+++ b/src/RatingCtrl.cpp |
826 |
-@@ -34,7 +34,8 @@ |
827 |
- END_EVENT_TABLE() |
828 |
- |
829 |
- // -------------------------------------------------------------------------------- // |
830 |
--guRating::guRating( wxWindow * parent, const int style ) : wxControl( parent, wxID_ANY ) |
831 |
-+guRating::guRating( wxWindow * parent, const int style ) : |
832 |
-+ wxControl( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE ) |
833 |
- { |
834 |
- m_Rating = wxNOT_FOUND; |
835 |
- m_Style = style; |
836 |
---- a/src/ToggleRoundButton.cpp |
837 |
-+++ b/src/ToggleRoundButton.cpp |
838 |
-@@ -35,7 +35,7 @@ |
839 |
- // -------------------------------------------------------------------------------- // |
840 |
- guToggleRoundButton::guToggleRoundButton( wxWindow * parent, const wxImage &image, |
841 |
- const wxImage &selimage, const wxImage &hoverimage ) : |
842 |
-- wxControl( parent, wxID_ANY ) |
843 |
-+ wxControl( parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE ) |
844 |
- { |
845 |
- m_Bitmap = wxBitmap( selimage ); |
846 |
- m_DisBitmap = wxBitmap( image ); |
847 |
|
848 |
diff --git a/media-sound/guayadeque/guayadeque-0.3.7-r1.ebuild b/media-sound/guayadeque/guayadeque-0.3.7-r1.ebuild |
849 |
deleted file mode 100644 |
850 |
index 4ec6097be2..0000000000 |
851 |
--- a/media-sound/guayadeque/guayadeque-0.3.7-r1.ebuild |
852 |
+++ /dev/null |
853 |
@@ -1,120 +0,0 @@ |
854 |
-# Copyright 1999-2016 Gentoo Foundation |
855 |
-# Distributed under the terms of the GNU General Public License v2 |
856 |
-# $Id$ |
857 |
- |
858 |
-EAPI=5 |
859 |
- |
860 |
-WX_GTK_VER="3.0" |
861 |
- |
862 |
-inherit cmake-utils eutils wxwidgets |
863 |
- |
864 |
-DESCRIPTION="Music management program designed for all music enthusiasts" |
865 |
-HOMEPAGE="http://guayadeque.org/" |
866 |
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
867 |
- |
868 |
-LICENSE="GPL-2" |
869 |
-SLOT="0" |
870 |
-KEYWORDS="amd64 x86" |
871 |
-IUSE="ayatana ipod +minimal" |
872 |
- |
873 |
-# No test available, Making src_test fail |
874 |
-RESTRICT="test" |
875 |
- |
876 |
-# Missing |
877 |
-# gstreamer0.10-fluendo-mp3 #120237 |
878 |
-# gstreamer0.10-plugins-bad-multiverse ?? |
879 |
-# gstreamer0.10-plugins-base-apps ?? |
880 |
- |
881 |
-GST_VERSION=0.10 |
882 |
-GST_DEPS=" |
883 |
- dev-perl/GStreamer |
884 |
- media-libs/gnonlin:${GST_VERSION} |
885 |
- media-plugins/gst-plugins-alsa:${GST_VERSION} |
886 |
- media-plugins/gst-plugins-ffmpeg:${GST_VERSION} |
887 |
- media-plugins/gst-plugins-gio:${GST_VERSION} |
888 |
- media-plugins/gst-plugins-gnomevfs:${GST_VERSION} |
889 |
- media-plugins/gst-plugins-libnice:${GST_VERSION} |
890 |
- media-plugins/gst-plugins-pulse:${GST_VERSION} |
891 |
- media-plugins/gst-plugins-soup:${GST_VERSION} |
892 |
- media-plugins/gst-plugins-x:${GST_VERSION} |
893 |
- media-libs/gst-plugins-bad:${GST_VERSION} |
894 |
- media-libs/gst-plugins-base:${GST_VERSION} |
895 |
- media-libs/gst-plugins-good:${GST_VERSION} |
896 |
- media-libs/gst-plugins-ugly:${GST_VERSION} |
897 |
-" |
898 |
- |
899 |
-RDEPEND=" |
900 |
- dev-db/sqlite:3 |
901 |
- >=dev-db/wxsqlite3-3.2.1 |
902 |
- dev-libs/glib:2 |
903 |
- media-libs/flac |
904 |
- media-libs/gstreamer:${GST_VERSION}[introspection] |
905 |
- >=media-libs/taglib-1.6.4 |
906 |
- net-misc/curl |
907 |
- sys-apps/dbus |
908 |
- x11-libs/wxGTK:3.0[X] |
909 |
- ayatana? ( >=dev-libs/libindicate-0.7 ) |
910 |
- ipod? ( media-libs/libgpod ) |
911 |
- !minimal? ( ${GST_DEPS} )" |
912 |
-DEPEND="${RDEPEND} |
913 |
- app-arch/unzip |
914 |
- sys-devel/gettext |
915 |
- virtual/pkgconfig" |
916 |
- |
917 |
-# echo $(cat po/CMakeLists.txt | grep ADD_SUBDIRECTORY | sed 's#ADD_SUBDIRECTORY( \(\w\+\) )#\1#') |
918 |
-LANGS="es uk it de fr is nb th cs ru hu sv nl pt_BR pt el sk pl tr ja sr bg ca_ES hr" |
919 |
-for l in ${LANGS}; do |
920 |
- IUSE="$IUSE linguas_${l}" |
921 |
-done |
922 |
- |
923 |
-PATCHES=( |
924 |
- "${FILESDIR}"/${PN}-0.3.6*-underlinking.patch |
925 |
- "${FILESDIR}"/${P}-wx3.0.patch |
926 |
- "${FILESDIR}"/${P}-headers-location.patch |
927 |
-) |
928 |
- |
929 |
-src_prepare() { |
930 |
- for l in ${LANGS} ; do |
931 |
- if ! use linguas_${l} ; then |
932 |
- sed \ |
933 |
- -e "/${l}/d" \ |
934 |
- -i po/CMakeLists.txt || die |
935 |
- fi |
936 |
- done |
937 |
- |
938 |
- if ! use ipod; then |
939 |
- sed \ |
940 |
- -e '/PKG_CHECK_MODULES( LIBGPOD/,/^ENDIF/d' \ |
941 |
- -i CMakeLists.txt || die |
942 |
- fi |
943 |
- |
944 |
- if ! use ayatana; then |
945 |
- sed \ |
946 |
- -e '/PKG_CHECK_MODULES( LIBINDICATE/,/^ENDIF/d' \ |
947 |
- -i CMakeLists.txt || die |
948 |
- fi |
949 |
- |
950 |
- rm -rf src/wx/wxsql* src/wxsqlite3 || die |
951 |
- |
952 |
- cmake-utils_src_prepare |
953 |
- |
954 |
- # otherwise cmake checks for svn |
955 |
- esvn_clean |
956 |
- |
957 |
- sed 's:-O2::g' -i CMakeLists.txt || die |
958 |
- |
959 |
- sed \ |
960 |
- -e '/Encoding/d' \ |
961 |
- -i guayadeque.desktop || die |
962 |
-} |
963 |
- |
964 |
-pkg_postinst() { |
965 |
- local pkg |
966 |
- if use minimal; then |
967 |
- elog "If you are missing functionalities consider setting USE=-minimal" |
968 |
- elog "or install any of the following packages:" |
969 |
- for pkg in ${GST_DEPS}; do |
970 |
- elog "\t ${pkg}" |
971 |
- done |
972 |
- fi |
973 |
-} |