Advanced wallpaper tool for X OBS-URL: https://build.opensuse.org/request/show/456840 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/hsetroot?expand=0&rev=1
34 lines
820 B
Diff
34 lines
820 B
Diff
Description: Actually link to libX11
|
|
Origin: vendor
|
|
Bug-Debian: http://bugs.debian.org/735758
|
|
Author: Alessandro Ghedini <ghedo@debian.org>
|
|
Last-Update: 2014-01-17
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -50,6 +50,12 @@
|
|
IMLIB2_LIBS=`$imlib2config_cmd --libs`
|
|
AC_SUBST(IMLIB2_LIBS)
|
|
|
|
+X11_CFLAGS=`pkg-config x11 --cflags`
|
|
+AC_SUBST(X11_CFLAGS)
|
|
+
|
|
+X11_LIBS=`pkg-config x11 --libs`
|
|
+AC_SUBST(X11_LIBS)
|
|
+
|
|
# Some extra definitions for config.h
|
|
AC_DEFINE(DESCRIPTION, "yet another wallpaper application", [single line package description])
|
|
|
|
--- a/src/Makefile.am
|
|
+++ b/src/Makefile.am
|
|
@@ -1,7 +1,7 @@
|
|
bin_PROGRAMS = hsetroot
|
|
|
|
-AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ -Wall
|
|
-LIBS = @IMLIB2_LIBS@
|
|
+AM_CFLAGS = @CFLAGS@ @IMLIB2_CFLAGS@ @X11_CFLAGS@ -Wall
|
|
+LIBS = @IMLIB2_LIBS@ @X11_LIBS@
|
|
|
|
hsetroot_SOURCES = hsetroot.c
|
|
|