[packages/xorg-app-grandr] - fix building with current gtk+/glib set - rel 3
baggins
baggins at pld-linux.org
Fri Dec 6 20:09:34 CET 2013
commit 669f14c3adbc66cd2065c2e3d03ac88d7aa77cb7
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Dec 6 20:08:38 2013 +0100
- fix building with current gtk+/glib set
- rel 3
gthread.patch | 11 +++++++++++
xorg-app-grandr.spec | 5 ++++-
2 files changed, 15 insertions(+), 1 deletion(-)
---
diff --git a/xorg-app-grandr.spec b/xorg-app-grandr.spec
index a14c614..66552e9 100644
--- a/xorg-app-grandr.spec
+++ b/xorg-app-grandr.spec
@@ -2,15 +2,17 @@ Summary: grandr - GTK+ application to configure RandR
Summary(pl.UTF-8): grandr - aplikacja GTK+ do konfiguracji RandR
Name: xorg-app-grandr
Version: 0.1
-Release: 2
+Release: 3
License: MIT
Group: X11/Applications
Source0: http://xorg.freedesktop.org/releases/individual/app/grandr-%{version}.tar.bz2
# Source0-md5: e265c8e89aab39c55cb24ad8230c3933
Patch0: %{name}-gconf.patch
Patch1: %{name}-fix-crash-on-inactive-display.patch
+Patch2: gthread.patch
URL: http://xorg.freedesktop.org/
BuildRequires: GConf2-devel >= 2.0
+BuildRequires: glib2-devel
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: gtk+2-devel >= 1:2.0.0
@@ -30,6 +32,7 @@ grandr - aplikacja GTK+ do konfiguracji RandR.
%setup -q -n grandr-%{version}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__aclocal}
diff --git a/gthread.patch b/gthread.patch
new file mode 100644
index 0000000..7a8279c
--- /dev/null
+++ b/gthread.patch
@@ -0,0 +1,11 @@
+--- grandr-0.1/configure.in~ 2007-06-19 16:39:59.000000000 +0200
++++ grandr-0.1/configure.in 2013-12-06 20:04:01.478994256 +0100
+@@ -31,7 +31,7 @@
+ AM_PROG_CC_STDC
+ AC_HEADER_STDC
+
+-pkg_modules="gtk+-2.0 >= 2.0.0 gconf-2.0 xrandr >= 1.2"
++pkg_modules="gtk+-2.0 >= 2.0.0 gconf-2.0 xrandr >= 1.2 gthread-2.0"
+ PKG_CHECK_MODULES(PACKAGE, [$pkg_modules])
+ AC_SUBST(PACKAGE_CFLAGS)
+ AC_SUBST(PACKAGE_LIBS)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/xorg-app-grandr.git/commitdiff/669f14c3adbc66cd2065c2e3d03ac88d7aa77cb7
More information about the pld-cvs-commit
mailing list