This commit is contained in:
xgui4 2025-07-04 12:10:34 -04:00
commit 997a89617e
9 changed files with 17 additions and 34 deletions

View File

@ -43,19 +43,26 @@ jobs:
- name: Setup Pages - name: Setup Pages
id: pages id: pages
uses: actions/configure-pages@v5 uses: actions/configure-pages@v5
- name: Setup Jekyll
run: bundle install
working-directory: ./website
- name: Build with Jekyll - name: Build with Jekyll
# Outputs to the './_site' directory by default # Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" run: bundle exec jekyll build --baseurl "/website"
working-directory: ./website
env: env:
JEKYLL_ENV: production JEKYLL_ENV: production
- name: Upload artifact - name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default # Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: "./website/_site"
# Deployment job # Deployment job
deploy: deploy:
environment: environment:
name: github-pages name: xlibre_website
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build

View File

@ -11,14 +11,6 @@
#include "namespace.h" #include "namespace.h"
#include "hooks.h" #include "hooks.h"
static inline Bool winIsRoot(WindowPtr pWin) {
if (!pWin)
return FALSE;
if (pWin->drawable.pScreen->root == pWin)
return TRUE;
return FALSE;
}
void hookWindowProperty(CallbackListPtr *pcbl, void *unused, void *calldata) void hookWindowProperty(CallbackListPtr *pcbl, void *unused, void *calldata)
{ {
XNS_HOOK_HEAD(PropertyFilterParam); XNS_HOOK_HEAD(PropertyFilterParam);

View File

@ -259,13 +259,6 @@ ddxGiveUp(enum ExitCode error)
} }
} }
#ifdef __APPLE__
void
DarwinHandleGUI(int argc, char *argv[])
{
}
#endif
void void
OsVendorInit(void) OsVendorInit(void)
{ {

View File

@ -154,13 +154,6 @@ ddxGiveUp(enum ExitCode error)
xnestCloseDisplay(); xnestCloseDisplay();
} }
#ifdef __APPLE__
void
DarwinHandleGUI(int argc, char *argv[])
{
}
#endif
void void
OsVendorInit(void) OsVendorInit(void)
{ {

View File

@ -690,7 +690,6 @@ SNotifyEvent(xAppleWMNotifyEvent *from, xAppleWMNotifyEvent *to)
static int static int
SProcAppleWMQueryVersion(register ClientPtr client) SProcAppleWMQueryVersion(register ClientPtr client)
{ {
REQUEST(xAppleWMQueryVersionReq);
return ProcAppleWMQueryVersion(client); return ProcAppleWMQueryVersion(client);
} }

View File

@ -50,7 +50,7 @@
* needs and simply execs the startup script which then execs the main binary. * needs and simply execs the startup script which then execs the main binary.
*/ */
static char *executable_path() { static char *executable_path(void) {
uint32_t bufsize = PATH_MAX; uint32_t bufsize = PATH_MAX;
char *buf = calloc(1, bufsize); char *buf = calloc(1, bufsize);

View File

@ -394,7 +394,6 @@ SNotifyEvent(xAppleDRINotifyEvent *from,
static int static int
SProcAppleDRIQueryVersion(register ClientPtr client) SProcAppleDRIQueryVersion(register ClientPtr client)
{ {
REQUEST(xAppleDRIQueryVersionReq);
return ProcAppleDRIQueryVersion(client); return ProcAppleDRIQueryVersion(client);
} }

View File

@ -23,7 +23,7 @@ title: X11Libre
description: >- # this means to ignore newlines until "baseurl:" description: >- # this means to ignore newlines until "baseurl:"
This is the website for the X11Libre project which is an open-source initiative This is the website for the X11Libre project which is an open-source initiative
focused on providing a modern, libre implementation of the X11 protocol and related tools. focused on providing a modern, libre implementation of the X11 protocol and related tools.
baseurl: "/xlibre/website" # the subpath of your site, e.g. /blog baseurl: "/xlibre" # the subpath of your site, e.g. /blog
url: "https://xgui4.github.io" # the base hostname & protocol for your site, e.g. http://example.com url: "https://xgui4.github.io" # the base hostname & protocol for your site, e.g. http://example.com
github_username: xgui4 github_username: xgui4

View File

@ -1,16 +1,16 @@
- name: Home - name: Home
page: / page: /
link: /x11libre-website/ link: /xlibre/
link: /x11libre-website/index.html link: /xlibre/index.html
- name: About - name: About
page: /about.html page: /about.html
link: /x11libre-website/about.html link: /xlibre/about.html
- name: Download - name: Download
page: /download.html page: /download.html
link: /x11libre-website/download.html link: /xlibre/download.html
- name: FAQ & Privacy - name: FAQ & Privacy
page: /faq.html page: /faq.html
link: /x11libre-website/faq.html link: /xlibre/faq.html
- name: Wiki - name: Wiki
page: /wiki.html page: /wiki.html
link: /x11libre-website/wiki.html link: /xlibre/wiki.html