Compare commits
14 Commits
3.12.2-1ma
...
3.28.3-1ma
Author | SHA1 | Date | |
---|---|---|---|
04ef859da1 | |||
4de0a8b793 | |||
a1932bb529 | |||
9ed8a78ed7 | |||
e88068bf2c | |||
7657f70946 | |||
c56c33cc7c | |||
178dadf42e | |||
fabe7a8400 | |||
00a511ffba | |||
ab7c8be434 | |||
cdffbacbbf | |||
eea9825e25 | |||
25f2489583 |
10
mutter-3.14.1-gcc-4.9.patch
Normal file
10
mutter-3.14.1-gcc-4.9.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- mutter-3.14.1/src/core/screen.c.orig 2014-10-16 13:17:31.325165609 +0200
|
||||
+++ mutter-3.14.1/src/core/screen.c 2014-10-16 13:17:53.250166692 +0200
|
||||
@@ -3022,7 +3022,6 @@
|
||||
{
|
||||
MetaScreen *screen = data;
|
||||
MetaWindow *window;
|
||||
- GSList *tmp;
|
||||
GSList *fullscreen_monitors = NULL;
|
||||
GSList *obscured_monitors = NULL;
|
||||
gboolean in_fullscreen_changed = FALSE;
|
20
mutter-3.14.2-build-fix-x86.patch
Normal file
20
mutter-3.14.2-build-fix-x86.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- mutter-3.14.2/src/core/window.c.orig 2014-12-28 12:45:03.578000000 +0100
|
||||
+++ mutter-3.14.2/src/core/window.c 2014-12-28 12:45:32.097000000 +0100
|
||||
@@ -3481,7 +3481,7 @@
|
||||
|
||||
static MetaMonitorInfo *
|
||||
find_monitor_by_winsys_id (MetaWindow *window,
|
||||
- guint winsys_id)
|
||||
+ gint winsys_id)
|
||||
{
|
||||
int i;
|
||||
|
||||
@@ -3602,7 +3602,7 @@
|
||||
*/
|
||||
|
||||
gboolean did_placement;
|
||||
- guint old_output_winsys_id;
|
||||
+ gint old_output_winsys_id;
|
||||
MetaRectangle unconstrained_rect;
|
||||
MetaRectangle constrained_rect;
|
||||
MetaMoveResizeResultFlags result = 0;
|
11
mutter-3.16.1.1-gcc-4.9.2.patch
Normal file
11
mutter-3.16.1.1-gcc-4.9.2.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- mutter-3.16.1.1/src/backends/native/meta-barrier-native.c.orig 2015-04-30 01:50:45.985747451 +0200
|
||||
+++ mutter-3.16.1.1/src/backends/native/meta-barrier-native.c 2015-04-30 01:49:57.490401299 +0200
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "config.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
-
|
||||
+#include <math.h>
|
||||
#include <meta/barrier.h>
|
||||
#include <meta/util.h>
|
||||
#include "backends/meta-backend-private.h"
|
10
mutter-3.18.2-missing_math_header.patch
Normal file
10
mutter-3.18.2-missing_math_header.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- mutter-3.18.2/src/backends/meta-cursor-renderer.c.orig 2015-12-13 13:57:50.161557488 +0100
|
||||
+++ mutter-3.18.2/src/backends/meta-cursor-renderer.c 2015-12-13 13:56:43.415124424 +0100
|
||||
@@ -33,6 +33,7 @@
|
||||
#include <clutter/clutter.h>
|
||||
|
||||
#include "meta-stage.h"
|
||||
+#include <math.h>
|
||||
|
||||
struct _MetaCursorRendererPrivate
|
||||
{
|
11
mutter-3.20.3-x86-longlong.patch
Normal file
11
mutter-3.20.3-x86-longlong.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- mutter-3.20.3/src/core/startup-notification.c.orig 2016-07-08 23:09:06.728564374 +0200
|
||||
+++ mutter-3.20.3/src/core/startup-notification.c 2016-07-08 23:09:56.925482612 +0200
|
||||
@@ -418,7 +418,7 @@
|
||||
elapsed = ctod->now - timestamp;
|
||||
|
||||
meta_topic (META_DEBUG_STARTUP,
|
||||
- "Sequence used %ld ms vs. %d max: %s\n",
|
||||
+ "Sequence used %lld ms vs. %d max: %s\n",
|
||||
elapsed, STARTUP_TIMEOUT,
|
||||
meta_startup_notification_sequence_get_id (sequence));
|
||||
|
11
mutter-3.28.3-x86-printf-llx-type.patch
Normal file
11
mutter-3.28.3-x86-printf-llx-type.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- mutter-3.28.3/src/backends/meta-input-settings.c.orig 2018-08-16 10:52:09.588761885 +0200
|
||||
+++ mutter-3.28.3/src/backends/meta-input-settings.c 2018-08-16 10:52:24.214825217 +0200
|
||||
@@ -1299,7 +1299,7 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
- path = g_strdup_printf ("/org/gnome/desktop/peripherals/stylus/%lx/", serial);
|
||||
+ path = g_strdup_printf ("/org/gnome/desktop/peripherals/stylus/%llx/", serial);
|
||||
}
|
||||
|
||||
tool_settings =
|
@ -1,20 +0,0 @@
|
||||
--- mutter-3.6.0/src/core/prefs.c.orig 2012-10-03 04:07:48.000000000 +0200
|
||||
+++ mutter-3.6.0/src/core/prefs.c 2012-10-03 04:08:33.000000000 +0200
|
||||
@@ -1664,7 +1664,7 @@
|
||||
void
|
||||
meta_prefs_set_num_workspaces (int n_workspaces)
|
||||
{
|
||||
- MetaBasePreference *pref;
|
||||
+ MetaBasePreference *pref = NULL;
|
||||
|
||||
find_pref (preferences_int, sizeof(MetaIntPreference),
|
||||
KEY_NUM_WORKSPACES, &pref);
|
||||
@@ -2144,7 +2144,7 @@
|
||||
void
|
||||
meta_prefs_set_no_tab_popup (gboolean whether)
|
||||
{
|
||||
- MetaBasePreference *pref;
|
||||
+ MetaBasePreference *pref = NULL;
|
||||
|
||||
find_pref (preferences_bool, sizeof(MetaBoolPreference),
|
||||
KEY_NO_TAB_POPUP, &pref);
|
164
mutter.spec
164
mutter.spec
@ -1,6 +1,6 @@
|
||||
%define majver %(echo %version | cut -d. -f1-2)
|
||||
Name: mutter
|
||||
Version: 3.12.2
|
||||
Version: 3.28.3
|
||||
Release: 1mamba
|
||||
Summary: A compositing window manager based on Metacity
|
||||
Group: Graphical Desktop/Libraries/GNOME
|
||||
@ -9,12 +9,20 @@ Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://live.gnome.org
|
||||
Source: ftp://ftp.gnome.org/pub/gnome/sources/mutter/%{majver}/mutter-%{version}.tar.xz
|
||||
Patch0: mutter-3.8.0-gcc-4.7.patch
|
||||
Patch0: mutter-3.14.1-gcc-4.9.patch
|
||||
Patch1: mutter-3.14.2-build-fix-x86.patch
|
||||
Patch2: mutter-3.16.1.1-gcc-4.9.2.patch
|
||||
Patch3: mutter-3.18.2-missing_math_header.patch
|
||||
Patch4: mutter-3.20.3-x86-longlong.patch
|
||||
Patch5: mutter-3.28.3-x86-printf-llx-type.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: gnome-desktop-devel
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gsettings-desktop-schemas-devel
|
||||
BuildRequires: libEGL-devel
|
||||
BuildRequires: libGL-devel
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libX11-devel
|
||||
@ -29,34 +37,52 @@ BuildRequires: libXi-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: libatk-devel
|
||||
BuildRequires: libblkid-devel
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libcanberra-devel
|
||||
BuildRequires: libclutter-devel
|
||||
BuildRequires: libcogl-devel
|
||||
BuildRequires: libdrm-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libffi-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libfribidi-devel
|
||||
BuildRequires: libgbm-devel
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgraphite2-devel
|
||||
BuildRequires: libgtk-devel
|
||||
BuildRequires: libgudev-devel
|
||||
BuildRequires: libharfbuzz-devel
|
||||
BuildRequires: libinput-devel
|
||||
BuildRequires: libjson-glib-devel
|
||||
BuildRequires: libltdl-devel
|
||||
BuildRequires: libmount-devel
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: libpango-devel
|
||||
BuildRequires: libpcre-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsepol-devel
|
||||
BuildRequires: libstartup-notification-devel
|
||||
BuildRequires: libsystemd-devel
|
||||
BuildRequires: libtdb-devel
|
||||
BuildRequires: libthai-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libupower-devel
|
||||
BuildRequires: libuuid-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libwacom-devel
|
||||
BuildRequires: libwayland-devel
|
||||
BuildRequires: libwayland-egl-devel
|
||||
BuildRequires: libxcb-devel
|
||||
BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: libxkbfile-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: upower-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libcogl-devel >= 1.18
|
||||
BuildRequires: libgnome-desktop-devel >= %{majver}
|
||||
@ -78,8 +104,7 @@ This package contains shared libraries for %{name}.
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
## note: you can add this requirement if .pc files are provided by this package
|
||||
#Requires: pkg-config
|
||||
Requires: pkg-config
|
||||
|
||||
%description -n lib%{name}-devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
@ -98,9 +123,20 @@ This package includes the %{name} API documentation.
|
||||
%prep
|
||||
%setup -q
|
||||
#%patch0 -p1
|
||||
#%patch1 -p1
|
||||
#%patch2 -p1
|
||||
#%patch3 -p1
|
||||
#%patch4 -p1
|
||||
%ifnarch x86_64
|
||||
%patch5 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure
|
||||
%configure \
|
||||
%ifnarch x86_64
|
||||
CFLAGS="-Wno-error=sign-compare"
|
||||
%endif
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
@ -112,53 +148,113 @@ This package includes the %{name} API documentation.
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -n lib%{name} -p /sbin/ldconfig
|
||||
%postun -n lib%{name} -p /sbin/ldconfig
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
if [ $1 -ge 1 ]; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
||||
fi
|
||||
:
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
if [ $1 -eq 0 ]; then
|
||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
||||
fi
|
||||
:
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/mutter
|
||||
#%{_bindir}/mutter-message
|
||||
#%{_bindir}/mutter-theme-viewer
|
||||
#%{_bindir}/mutter-window-demo
|
||||
%{_datadir}/applications/mutter.desktop
|
||||
#%{_datadir}/mutter/icons/mutter-window-demo.png
|
||||
%{_datadir}/GConf/gsettings/mutter-schemas.convert
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
|
||||
%{_datadir}/gnome-control-center/keybindings/50-mutter-*.xml
|
||||
%{_datadir}/gnome/wm-properties/mutter-wm.desktop
|
||||
#%{_mandir}/man1/mutter-message.1.gz
|
||||
#%{_mandir}/man1/mutter-theme-viewer.1.gz
|
||||
#%{_mandir}/man1/mutter-window-demo.1.gz
|
||||
%{_mandir}/man1/mutter.1.gz
|
||||
%{_mandir}/man1/mutter.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libmutter.so.*
|
||||
%{_libdir}/libmutter-2.so.*
|
||||
%dir %{_libdir}/mutter
|
||||
%dir %{_libdir}/mutter/plugins
|
||||
%{_libdir}/mutter/plugins/default.so
|
||||
%{_libdir}/mutter/Meta-3.0.typelib
|
||||
%doc AUTHORS COPYING
|
||||
%{_libdir}/mutter/*.typelib
|
||||
%{_libdir}/mutter/libmutter-*.la
|
||||
%{_libdir}/mutter/libmutter-*.so
|
||||
%{_libexecdir}/mutter-restart-helper
|
||||
%doc COPYING
|
||||
|
||||
%files -n lib%{name}-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/mutter
|
||||
%dir %{_includedir}/mutter/meta
|
||||
%{_includedir}/mutter/meta/*.h
|
||||
%{_libdir}/libmutter.a
|
||||
%{_libdir}/libmutter.la
|
||||
%{_libdir}/libmutter.so
|
||||
%{_libdir}/mutter/Meta-3.0.gir
|
||||
%{_libdir}/pkgconfig/libmutter.pc
|
||||
%{_libdir}/pkgconfig/mutter-plugins.pc
|
||||
%doc ChangeLog NEWS README
|
||||
%{_includedir}/mutter/*
|
||||
%{_libdir}/libmutter-2.la
|
||||
%{_libdir}/libmutter-2.so
|
||||
%{_libdir}/pkgconfig/libmutter-2.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-2.pc
|
||||
%{_libdir}/pkgconfig/mutter-clutter-x11-2.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-2.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-pango-2.pc
|
||||
%{_libdir}/pkgconfig/mutter-cogl-path-2.pc
|
||||
%{_libdir}/mutter/*.gir
|
||||
%doc NEWS
|
||||
|
||||
%files apidocs
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/gtk-doc/html/meta/*
|
||||
#%files apidocs
|
||||
#%defattr(-,root,root)
|
||||
#%{_datadir}/gtk-doc/html/meta/*
|
||||
|
||||
%changelog
|
||||
* Sun Aug 12 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.3-1mamba
|
||||
- update to 3.28.3
|
||||
|
||||
* Mon Aug 14 2017 Automatic Build System <autodist@mambasoft.it> 3.24.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Mar 03 2017 Automatic Build System <autodist@mambasoft.it> 3.22.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Nov 11 2016 Automatic Build System <autodist@mambasoft.it> 3.22.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 18 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.22.1-2mamba
|
||||
- move %{_libdir}/mutter plugin libraries from -devel to lib- package
|
||||
|
||||
* Mon Oct 17 2016 Automatic Build System <autodist@mambasoft.it> 3.22.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Jun 29 2016 Automatic Build System <autodist@mambasoft.it> 3.20.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon May 16 2016 Automatic Build System <autodist@mambasoft.it> 3.20.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Mar 06 2016 Automatic Build System <autodist@mambasoft.it> 3.18.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.2-1mamba
|
||||
- update to 3.18.2
|
||||
|
||||
* Thu Jul 02 2015 Automatic Build System <autodist@mambasoft.it> 3.16.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri May 15 2015 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 30 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Apr 02 2015 Automatic Build System <autodist@mambasoft.it> 3.14.4-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Sun Dec 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.3-1mamba
|
||||
- update to 3.14.3
|
||||
|
||||
* Sat Nov 22 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.1-1mamba
|
||||
- update to 3.14.1
|
||||
|
||||
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.2-1mamba
|
||||
- update to 3.12.2
|
||||
|
||||
|
Reference in New Issue
Block a user