Mercurial > mxe-octave
changeset 6727:79d39636ab7a
Add xrandr
* src/randrproto.mk, src/xrandr.mk: new files
* dist-files.mk, index.html: add ref to new files
* src/mesa.mk: add as rxrandr as x11 dependancy
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 28 May 2023 08:18:44 -0400 |
parents | 32eed9f14d0f |
children | e1442a971f16 |
files | dist-files.mk index.html src/mesa.mk src/randrproto.mk src/xrandr.mk |
diffstat | 5 files changed, 66 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dist-files.mk Sat May 27 07:12:18 2023 -0400 +++ b/dist-files.mk Sun May 28 08:18:44 2023 -0400 @@ -655,6 +655,7 @@ qwt.mk \ qwtplot3d-1-fixes.patch \ qwtplot3d.mk \ + randrproto.mk \ rapidjson-1-prettywriter.patch \ rapidjson.mk \ readline-0-001-upstream.patch \ @@ -813,6 +814,7 @@ xkbcommon.mk \ xmlwrapp.mk \ xproto.mk \ + xrandr.mk \ xrender.mk \ xt.mk \ xtrans.mk \
--- a/index.html Sat May 27 07:12:18 2023 -0400 +++ b/index.html Sun May 28 08:18:44 2023 -0400 @@ -2722,6 +2722,10 @@ <td class="website"><a href="https://octave.org/">Release Octave</a></td> </tr> <tr> + <td class="package">randrproto</td> + <td class="website"><a href="http://xorg.freedesktop.org/">randrproto</a></td> + </tr> + <tr> <td class="package">renderproto</td> <td class="website"><a href="http://xorg.freedesktop.org/">renderproto</a></td> </tr> @@ -3022,6 +3026,10 @@ <td class="website"><a href="http://xorg.freedesktop.org/">xproto></a></td> </tr> <tr> + <td class="package">xrandr</td> + <td class="website"><a href="http://xorg.freedesktop.org/">xrandr</a></td> + </tr> + <tr> <td class="package">xrender</td> <td class="website"><a href="http://xorg.freedesktop.org/">xrender</a></td> </tr>
--- a/src/mesa.mk Sat May 27 07:12:18 2023 -0400 +++ b/src/mesa.mk Sun May 28 08:18:44 2023 -0400 @@ -26,7 +26,7 @@ $(PKG)_MESON_TOOLCHAIN_FILE := --cross-file '$(MESON_TOOLCHAIN_FILE)' else ifeq ($(USE_SYSTEM_X11_LIBS),no) - $(PKG)_DEPS += dri2proto glproto libdrm libxshmfence x11 xdamage xext xfixes + $(PKG)_DEPS += dri2proto glproto libdrm libxshmfence x11 xdamage xext xfixes xrandr $(PKG)_BUILD_X11_LIBS_FLAGS = -Dxlib-lease=disabled else $(PKG)_PKG_CONFIG_PATH := $(PKG_CONFIG_PATH):$(BUILD_PKG_CONFIG_PATH) @@ -38,7 +38,6 @@ $(PKG)_X11_FLAGS := -Dplatforms='x11' \ -Dglx=xlib \ - -Ddri-drivers='' \ $($(PKG)_BUILD_X11_LIBS_FLAGS) endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/randrproto.mk Sun May 28 08:18:44 2023 -0400 @@ -0,0 +1,28 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := randrproto +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.5.0 +$(PKG)_CHECKSUM := bc420745dc4af011988e9dcabdadf8829cbc2374 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 + +$(PKG)_URL := http://www.x.org/archive/individual/proto/$($(PKG)_FILE) +$(PKG)_DEPS := + +ifeq ($(MXE_WINDOWS_BUILD),yes) + define $(PKG)_BUILD + endef +else + define $(PKG)_BUILD + mkdir '$(1)/.build' + cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ + $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ + $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ + --prefix='$(HOST_PREFIX)' \ + && $(CONFIGURE_POST_HOOK) + + $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' + endef +endif
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/xrandr.mk Sun May 28 08:18:44 2023 -0400 @@ -0,0 +1,27 @@ +# This file is part of MXE. +# See index.html for further information. + +PKG := xrandr +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.5.3 +$(PKG)_CHECKSUM := 7230e6ee8d25e9882618d770008dd3637e6e2171 +$(PKG)_SUBDIR := libXrandr-$($(PKG)_VERSION) +$(PKG)_FILE := libXrandr-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://www.x.org/archive/individual/lib/$($(PKG)_FILE) +$(PKG)_DEPS := randrproto xext xextproto xrender renderproto + +ifeq ($(MXE_WINDOWS_BUILD),yes) + define $(PKG)_BUILD + endef +else + define $(PKG)_BUILD + mkdir '$(1)/.build' + cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ + $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ + $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ + --prefix='$(HOST_PREFIX)' \ + && $(CONFIGURE_POST_HOOK) + + $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' + endef +endif