WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
131099
[GTK] Compile all installed resources as GResources
https://bugs.webkit.org/show_bug.cgi?id=131099
Summary
[GTK] Compile all installed resources as GResources
Carlos Garcia Campos
Reported
2014-04-02 04:24:22 PDT
We currently install a few images and wav file in $prefix/share. These resources are shared between wk1 and wk2. If we compile them as gresources, we don't have to worry anymore about resources not being available because wk was not yet installed, or using hacks to make out tools find the resources. This also avoid conflicts for parallel installable versions of webkit, since the resources dir installed is not versioned.
Attachments
Patch
(13.72 KB, patch)
2014-05-14 11:38 PDT
,
Carlos Garcia Campos
pnormand
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2014-05-14 11:38:38 PDT
Created
attachment 231460
[details]
Patch
Philippe Normand
Comment 2
2014-05-14 12:39:06 PDT
Comment on
attachment 231460
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=231460&action=review
> Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp:-42 > - return createBusFromAudioFile(absoluteFilename.get(), false, sampleRate);
Is this function used anywhere else now? I haven't checked :)
Carlos Garcia Campos
Comment 3
2014-05-15 00:14:25 PDT
(In reply to
comment #2
)
> (From update of
attachment 231460
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=231460&action=review
> > > Source/WebCore/platform/audio/gtk/AudioBusGtk.cpp:-42 > > - return createBusFromAudioFile(absoluteFilename.get(), false, sampleRate); > > Is this function used anywhere else now? I haven't checked :)
It seems that mac also implements it (in both mac and IOS), but only EFL uses it. platform/audio/AudioFileReader.h:PassRefPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, float sampleRate); platform/audio/efl/AudioBusEfl.cpp: return createBusFromAudioFile(absoluteFilename.utf8().data(), false, sampleRate); platform/audio/gstreamer/AudioFileReaderGStreamer.cpp:PassRefPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, float sampleRate) platform/audio/ios/AudioFileReaderIOS.cpp:PassRefPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, float sampleRate) platform/audio/mac/AudioFileReaderMac.cpp:PassRefPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, float sampleRate)
Philippe Normand
Comment 4
2014-05-15 00:23:51 PDT
Comment on
attachment 231460
[details]
Patch Looks good, thanks!
Carlos Garcia Campos
Comment 5
2014-05-15 01:07:10 PDT
Committed
r168894
: <
http://trac.webkit.org/changeset/168894
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug