1
0

Accepting request 84065 from X11:xfce

- added xfce4-screenshooter-fix-libm-underlinking.patch in order to
  explicitly link against libm

OBS-URL: https://build.opensuse.org/request/show/84065
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xfce4-screenshooter?expand=0&rev=12
This commit is contained in:
Sascha Peilicke 2011-09-21 15:28:54 +00:00 committed by Git OBS Bridge
commit 66242eb990
3 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
diff -ur xfce4-screenshooter-1.8.0.orig/configure.ac xfce4-screenshooter-1.8.0/configure.ac
--- xfce4-screenshooter-1.8.0.orig/configure.ac 2011-07-31 23:20:01.000000000 +0200
+++ xfce4-screenshooter-1.8.0/configure.ac 2011-09-19 17:21:50.427999986 +0200
@@ -63,6 +63,7 @@
XDT_CHECK_PACKAGE([LIBXEXT], [xext], [1.0.0])
XDT_CHECK_OPTIONAL_PACKAGE([XFIXES], [xfixes], [4.0.0], [xfixes], [XFIXES extension support])
XDT_CHECK_LIBX11()
+AC_SEARCH_LIBS(sin, m)
dnl **************************
dnl *** Check for xsltproc ***

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 19 15:24:38 UTC 2011 - gber@opensuse.org
- added xfce4-screenshooter-fix-libm-underlinking.patch in order to
explicitly link against libm
-------------------------------------------------------------------
Mon Aug 1 11:53:31 UTC 2011 - gber@opensuse.org

View File

@ -27,12 +27,15 @@ Summary: Screenshot Tool
Url: http://goodies.xfce.org/projects/applications/xfce4-screenshooter
Group: Productivity/Graphics/Other
Source: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM xfce4-screenshooter-fix-libm-underlinking.patch bxo#7985 gber@opensuse.org -- Link explicitly against libm
Patch0: xfce4-screenshooter-fix-libm-underlinking.patch
BuildRequires: pkgconfig(exo-1)
BuildRequires: pkgconfig(libxfce4ui-1)
BuildRequires: pkgconfig(libxfce4panel-1.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xfixes)
BuildRequires: xfce4-dev-tools
BuildRequires: libxslt
BuildRequires: xml2po
BuildRequires: intltool
@ -77,8 +80,10 @@ This package contains the HTML documentation for Xfce4 Screenshooter.
%lang_package
%prep
%setup -q
%patch0 -p1
%build
xdt-autogen
%configure \
--enable-xsltproc \
--enable-xml2po