WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
137148
[GTK] Don't include full path names in WebKitEnumTypes.h
https://bugs.webkit.org/show_bug.cgi?id=137148
Summary
[GTK] Don't include full path names in WebKitEnumTypes.h
Alberto Garcia
Reported
2014-09-26 09:22:55 PDT
In short, we should replace @filename@ with @basename@ here: /*** BEGIN file-production ***/ /* Enumerations from @filename@. */ /*** END file-production ***/ The former puts the full path of the compilation directory in the generated file, which should not be there, which among other things makes it more difficult to have a multiarch-compliant header.
Attachments
Patch
(1.14 KB, patch)
2014-09-26 09:27 PDT
,
Alberto Garcia
cgarcia
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Alberto Garcia
Comment 1
2014-09-26 09:27:03 PDT
Created
attachment 238722
[details]
Patch
WebKit Commit Bot
Comment 2
2014-09-26 09:28:22 PDT
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Carlos Garcia Campos
Comment 3
2014-09-26 09:30:58 PDT
(In reply to
comment #0
)
> In short, we should replace @filename@ with @basename@ here: > > /*** BEGIN file-production ***/ > /* Enumerations from @filename@. */ > /*** END file-production ***/ > > The former puts the full path of the compilation directory in the generated file, > which should not be there, which among other things makes it more difficult to > have a multiarch-compliant header.
How does affect that multi-arch if it's just a comment?
Alberto Garcia
Comment 4
2014-09-26 09:48:22 PDT
(In reply to
comment #3
)
> How does affect that multi-arch if it's just a comment?
Multi-arch requires that all architecture-independent files are identical among different architectures. This file is architecture-indepent however it will be different among builds if those builds are made in different directories.
Carlos Garcia Campos
Comment 5
2014-09-26 09:51:20 PDT
(In reply to
comment #4
)
> (In reply to
comment #3
) > > How does affect that multi-arch if it's just a comment? > > Multi-arch requires that all architecture-independent files are > identical among different architectures. > > This file is architecture-indepent however it will be different among > builds if those builds are made in different directories.
Ah, I see, thanks!
Alberto Garcia
Comment 6
2014-09-26 09:57:59 PDT
Committed
r174008
: <
http://trac.webkit.org/changeset/174008
>
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