Update to v1.0.0, the first stable release of the fork.
- Switch from imake/xmkmf to the new upstream Makefile build system. - Add libXrender-devel, libXfixes-devel and pkgconf-pkg-config BuildRequires.
This commit is contained in:
parent
7313e246eb
commit
b3bf845e59
1 changed files with 24 additions and 25 deletions
49
12to11.spec
49
12to11.spec
|
|
@ -9,32 +9,29 @@
|
||||||
# dnf copr enable @xlibre/xlibre-xserver
|
# dnf copr enable @xlibre/xlibre-xserver
|
||||||
# or build/install libXpresent from source (https://gitlab.freedesktop.org/xorg/lib/libxpresent).
|
# or build/install libXpresent from source (https://gitlab.freedesktop.org/xorg/lib/libxpresent).
|
||||||
#
|
#
|
||||||
# The build uses the legacy imake/xmkmf build system (provided by the
|
# Since v1.0.0 the build uses a plain Makefile; the legacy imake/xmkmf
|
||||||
# 'imake' package, available in EPEL on EL9/EL10).
|
# build system is no longer needed.
|
||||||
|
|
||||||
%global commit b6745cc4236415983ff9f19a03f5c83a9def7429
|
|
||||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
||||||
%global snapdate 20260824
|
|
||||||
|
|
||||||
Name: 12to11
|
Name: 12to11
|
||||||
Version: 0
|
Version: 1.0.0
|
||||||
Release: 0.1.%{snapdate}git%{shortcommit}%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Wayland to X11 protocol translator
|
Summary: Wayland to X11 protocol translator
|
||||||
|
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
URL: https://github.com/fish4terrisa-MSDSM/12to11
|
URL: https://github.com/fish4terrisa-MSDSM/12to11
|
||||||
Source0: %{url}/archive/%{commit}/12to11-%{commit}.tar.gz
|
Source0: %{url}/archive/refs/tags/v%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
# Build dependencies
|
# Build dependencies
|
||||||
# imake is in EPEL on EL9/EL10.
|
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: imake
|
BuildRequires: pkgconf-pkg-config
|
||||||
BuildRequires: gawk
|
BuildRequires: gawk
|
||||||
BuildRequires: wayland-devel
|
BuildRequires: wayland-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXext-devel
|
BuildRequires: libXext-devel
|
||||||
BuildRequires: libXrandr-devel
|
BuildRequires: libXrandr-devel
|
||||||
|
BuildRequires: libXrender-devel
|
||||||
|
BuildRequires: libXfixes-devel
|
||||||
BuildRequires: libXi-devel
|
BuildRequires: libXi-devel
|
||||||
BuildRequires: libxcb-devel
|
BuildRequires: libxcb-devel
|
||||||
BuildRequires: pixman-devel
|
BuildRequires: pixman-devel
|
||||||
|
|
@ -58,7 +55,7 @@ displaying Wayland applications as normal X windows. It implements a
|
||||||
broad set of Wayland protocols including wl_data_device_manager (clipboard),
|
broad set of Wayland protocols including wl_data_device_manager (clipboard),
|
||||||
zwp_linux_dmabuf_v1, xdg_wm_base, zwp_text_input_manager_v3, and more.
|
zwp_linux_dmabuf_v1, xdg_wm_base, zwp_text_input_manager_v3, and more.
|
||||||
|
|
||||||
When built with EGL support (the default in this package), it uses
|
When built with EGL support (the upstream default), it uses
|
||||||
OpenGL ES 2.0 for rendering, enabling YUV video format support and
|
OpenGL ES 2.0 for rendering, enabling YUV video format support and
|
||||||
hardware-accelerated compositing.
|
hardware-accelerated compositing.
|
||||||
|
|
||||||
|
|
@ -72,30 +69,32 @@ fish4terrisa-MSDSM; the original SourceForge project has been
|
||||||
unmaintained since 2022.
|
unmaintained since 2022.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n 12to11-%{commit}
|
%autosetup
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Generate Makefile from Imakefile using the legacy imake system.
|
# Export the RPM build flags: the Makefile uses CFLAGS ?= / LDFLAGS +=
|
||||||
xmkmf -a
|
# so exported values are picked up (and -pthread is still appended).
|
||||||
|
export CFLAGS="%{optflags}"
|
||||||
# Build with EGL support (already enabled by default in 12to11.conf).
|
export LDFLAGS="%{?build_ldflags}"
|
||||||
# The Makefile picks up HaveEglSupport from 12to11.conf.
|
# ANALYZE=0 disables GCC's -fanalyzer (on by default upstream); it only
|
||||||
%{make_build}
|
# produces diagnostics and slows the build down considerably.
|
||||||
|
%make_build ANALYZE=0
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{make_install} DESTDIR=%{buildroot}
|
%{make_install} DESTDIR=%{buildroot} PREFIX=%{_prefix} BINDIR=%{_bindir} MANDIR=%{_mandir}
|
||||||
|
|
||||||
# Install the manual page manually (imake's install.man target can be
|
|
||||||
# unreliable across distros due to CppManTarget/nroff dependencies).
|
|
||||||
install -D -p -m 0644 12to11.man %{buildroot}%{_mandir}/man1/12to11.1
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README
|
%doc README.md
|
||||||
%{_bindir}/12to11
|
%{_bindir}/12to11
|
||||||
%{_mandir}/man1/12to11.1*
|
%{_mandir}/man1/12to11.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 15 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 1.0.0-1
|
||||||
|
- Update to v1.0.0, the first stable release of the fork.
|
||||||
|
- Switch from imake/xmkmf to the new upstream Makefile build system.
|
||||||
|
- Add libXrender-devel, libXfixes-devel and pkgconf-pkg-config BuildRequires.
|
||||||
|
|
||||||
* Thu Sep 03 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 0-0.1.20260824gitb6745cc
|
* Thu Sep 03 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 0-0.1.20260824gitb6745cc
|
||||||
- Initial RPM package for 12to11 (fish4terrisa-MSDSM fork).
|
- Initial RPM package for 12to11 (fish4terrisa-MSDSM fork).
|
||||||
- Built with EGL/GLESv2 rendering support.
|
- Built with EGL/GLESv2 rendering support.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue