Skip to content

Commit

Permalink
Merge pull request #110 from tsutsui/use-gitlab-freedesktop.org
Browse files Browse the repository at this point in the history
* rescanproto.sh: use gitlab.freedesktop.org rather than cgit.freedesktop.org.
  • Loading branch information
arakiken authored Aug 23, 2024
2 parents 6b8ee78 + 4e47fc5 commit 665f3c2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions uitoolkit/wayland/rescanproto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
if test -f /usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml; then
XML_FILE=/usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml
else
curl https://cgit.freedesktop.org/wayland/wayland-protocols/plain/stable/xdg-shell/xdg-shell.xml > xdg-shell.xml
curl https://gitlab.freedesktop.org/wayland/wayland-protocols/-/raw/main/stable/xdg-shell/xdg-shell.xml > xdg-shell.xml
XML_FILE=xdg-shell.xml
fi
wayland-scanner $CODE $XML_FILE xdg-shell-client-protocol.c
Expand All @@ -29,7 +29,7 @@ wayland-scanner client-header $XML_FILE xdg-shell-client-protocol.h
if test -f /usr/share/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v6.xml; then
XML_FILE=/usr/share/wayland-protocols/unstable/xdg-shell/xdg-shell-unstable-v6.xml
else
curl https://cgit.freedesktop.org/wayland/wayland-protocols/plain/unstable/xdg-shell/xdg-shell-unstable-v6.xml > xdg-shell-unstable-v6.xml
curl https://gitlab.freedesktop.org/wayland/wayland-protocols/-/raw/main/unstable/xdg-shell/xdg-shell-unstable-v6.xml > xdg-shell-unstable-v6.xml
XML_FILE=xdg-shell-unstable-v6.xml
fi
wayland-scanner $CODE $XML_FILE xdg-shell-unstable-v6-client-protocol.c
Expand All @@ -38,7 +38,7 @@ wayland-scanner client-header $XML_FILE xdg-shell-unstable-v6-client-protocol.h
if test -f /usr/share/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml; then
XML_FILE=/usr/share/wayland-protocols/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml
else
curl https://cgit.freedesktop.org/wayland/wayland-protocols/plain/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml > xdg-decoration-unstable-v1.xml
curl https://gitlab.freedesktop.org/wayland/wayland-protocols/-/raw/main/unstable/xdg-decoration/xdg-decoration-unstable-v1.xml > xdg-decoration-unstable-v1.xml
XML_FILE=xdg-decoration-unstable-v1.xml
fi
wayland-scanner $CODE $XML_FILE xdg-decoration-unstable-v1-client-protocol.c
Expand All @@ -47,7 +47,7 @@ wayland-scanner client-header $XML_FILE xdg-decoration-unstable-v1-client-protoc
if test -f /usr/share/wayland-protocols/unstable/primary-selection/primary-selection-unstable-v1.xml; then
XML_FILE=/usr/share/wayland-protocols/unstable/primary-selection/primary-selection-unstable-v1.xml
else
curl https://cgit.freedesktop.org/wayland/wayland-protocols/plain/unstable/primary-selection/primary-selection-unstable-v1.xml > primary-selection-unstable-v1.xml
curl https://gitlab.freedesktop.org/wayland/wayland-protocols/-/raw/main/unstable/primary-selection/primary-selection-unstable-v1.xml > primary-selection-unstable-v1.xml
XML_FILE=primary-selection-unstable-v1.xml
fi
wayland-scanner $CODE $XML_FILE primary-selection-unstable-v1-client-protocol.c
Expand Down

0 comments on commit 665f3c2

Please sign in to comment.