-
Notifications
You must be signed in to change notification settings - Fork 575
feat: add some x extensions #6233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxext) have been updated in this PR. |
|
@bazel-io skip_check unstable_url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds the libxext module version 1.3.6 to the Bazel Central Registry. The changes are well-structured, but I have identified two high-severity issues that should be addressed. First, the repository field in metadata.json should point to the canonical upstream repository. Second, the version parsing logic in the BUILD.bazel overlay is not robust and could fail with different version formats. Please see the detailed comments for suggestions.
|
@fmeum @meteorcloudy @Wyverald @kotlaja please add presubmit auto run label to check ci build. |
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxext, libxfixes) have been updated in this PR. |
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxext, libxfixes, libxrender) have been updated in this PR. |
|
@wep21 this seems ready for review? |
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
a014bf9 to
476e7ee
Compare
|
Hello @bazelbuild/bcr-maintainers, modules (libx11) have been updated in this PR. |
|
@kotlaja I'm sorry, but I'm still working in progress. |
|
No worries, take your time. Let me know when it's ready :) |
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
cb21fb0 to
a59e2c9
Compare
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxrender) have been updated in this PR. |
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxi, libxrender) have been updated in this PR. |
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxi, libxinerama, libxrender) have been updated in this PR. |
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (libxcursor, libxext, libxfixes, libxi, libxinerama, libxrandr, libxrender) have been updated in this PR. |
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
|
@kotlaja @meteorcloudy @fmeum Now ready to review. All ci errors come from unrelated 403 error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some documentation for the relatively-large overlays?
See bcr-policies.md:
* When a PR contains C++ modules with large BUILD overlays, ask for some documentation on how these BUILD files are created.
* Such documentation can either be in a README.md file under the module directory, or simply be some comments in the BUILD overlays.
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
|
@shameekganguly I appreciate it if you could review this PR. |
| #include <X11/Xlib.h> | ||
| #include <X11/Xlibint.h> | ||
| #include <X11/Xutil.h> | ||
| -#include "Xfixes.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really necessary? Xfixes.h is declared in the hdrs attribute of the same bazel target as this header file. So I'd expect quotes to work as well as long as include/X11/extensions is listed in the includes attribute?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ERROR: /Users/daisuke/workspace/libxfixes/BUILD.bazel:24:11: Compiling src/SaveSet.c failed: undeclared inclusion(s) in rule '//:xfixes':
this rule is missing dependency declarations for the following files included by 'src/SaveSet.c':
'bazel-out/darwin_arm64-fastbuild/bin/external/libxcb+/Xfixes.h'
ERROR: /Users/daisuke/workspace/libxfixes/BUILD.bazel:24:11: Compiling src/Selection.c failed: undeclared inclusion(s) in rule '//:xfixes':
this rule is missing dependency declarations for the following files included by 'src/Selection.c':
'bazel-out/darwin_arm64-fastbuild/bin/external/libxcb+/Xfixes.h'
Something confusing occurs with Xfixes.h of libxcb in macos environement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, this is coming from the apple file system being case-insensitive, so there is a contention between @libxcb//src/xfixes.h and include/X11/extensions/Xfixes.h within this repo.
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
| "src/*.c", | ||
| "src/*.h", | ||
| ], | ||
| exclude = ["src/XFreeLst.c"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: consider adding a comment for readability as to why XFreeLst.c is excluded from the target.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've referred this comment. I'm not sure why, but I'll add the same comment.
|
@kotlaja I've added some short notes about overlay. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few minor comments. But looks good overall. Thanks!
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Require module maintainers' approval for newly pushed changes.
No description provided.