Skip to content

Commit

Permalink
libx11 dso for 4.6 on fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
herd committed May 8, 2011
1 parent 96d7fe5 commit c9365a7
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 3 deletions.
6 changes: 6 additions & 0 deletions config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@
/* Define if your <locale.h> file defines LC_MESSAGES. */
#undef HAVE_LC_MESSAGES

/* Define if libX11 is available */
#undef HAVE_LIBX11

/* Define to 1 if you have the <locale.h> header file. */
#undef HAVE_LOCALE_H

Expand Down Expand Up @@ -146,6 +149,9 @@
/* Version number of package */
#undef VERSION

/* Define to 1 if the X Window System is missing or not being used. */
#undef X_DISPLAY_MISSING

/* Define to 1 if on MINIX. */
#undef _MINIX

Expand Down
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dnl
m4_define([squeeze_version_major], [0])
m4_define([squeeze_version_minor], [1])
m4_define([squeeze_version_micro], [2])
m4_define([squeeze_version_build], [r00203])
m4_define([squeeze_version_build], [r00212])
m4_define([squeeze_version_tag], [])
m4_define([squeeze_vers], [squeeze_version_major().squeeze_version_minor().squeeze_version_micro()])
m4_define([squeeze_version], [squeeze_version_major().squeeze_version_minor().squeeze_version_micro()ifelse(squeeze_version_tag(), [svn], [squeeze_version_tag()-squeeze_version_build()], [squeeze_version_tag()])])
Expand All @@ -39,6 +39,9 @@ LT_INIT
dnl Check for standard header files
AC_HEADER_STDC

dnl Check for X11 installed
XDT_CHECK_LIBX11_REQUIRE()

dnl configure the panel plugin
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.99])

Expand Down
3 changes: 3 additions & 0 deletions configure.ac.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ LT_INIT
dnl Check for standard header files
AC_HEADER_STDC

dnl Check for X11 installed
XDT_CHECK_LIBX11_REQUIRE()

dnl configure the panel plugin
XDT_CHECK_PACKAGE([LIBXFCE4PANEL], [libxfce4panel-1.0], [4.3.99])

Expand Down
2 changes: 2 additions & 0 deletions panel-plugin/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ plugin_PROGRAMS = xfce4-squeezebox-plugin

xfce4_squeezebox_plugin_CFLAGS = -Wall -DDATA_DIR=\"$(datadir)/xfce4/xfce4-squeezebox-plugin\" \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" @LIBXFCE4PANEL_CFLAGS@ \
$(LIBX11_CFLAGS) \
@EXO_CFLAGS@ @LIBWNCK_CFLAGS@ $(PATH_DEFINES) \
-DG_LOG_DOMAIN=\"SBP\" \
@LIBGIO_CFLAGS@ @ID3TAG_CFLAGS@ @LIBXFCONF_CFLAGS@ \
Expand All @@ -12,6 +13,7 @@ xfce4_squeezebox_plugin_CFLAGS = -Wall -DDATA_DIR=\"$(datadir)/xfce4/xfce4-squee
# -Wl -rdynamic

xfce4_squeezebox_plugin_LDFLAGS = @LIBXFCE4PANEL_LIBS@ @LIBXFCONF_LIBS@ \
$(LIBX11_LIBS) \
@EXO_LIBS@ @LIBWNCK_LIBS@ @LIBGIO_LIBS@ @ID3TAG_LIBS@ @LIBGTHREAD_LIBS@ \
-Wl -rdynamic

Expand Down
11 changes: 10 additions & 1 deletion panel-plugin/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ LIBWNCK_CFLAGS = @LIBWNCK_CFLAGS@
LIBWNCK_LIBS = @LIBWNCK_LIBS@
LIBWNCK_REQUIRED_VERSION = @LIBWNCK_REQUIRED_VERSION@
LIBWNCK_VERSION = @LIBWNCK_VERSION@
LIBX11_CFLAGS = @LIBX11_CFLAGS@
LIBX11_LDFLAGS = @LIBX11_LDFLAGS@
LIBX11_LIBS = @LIBX11_LIBS@
LIBXFCE4PANEL_CFLAGS = @LIBXFCE4PANEL_CFLAGS@
LIBXFCE4PANEL_LIBS = @LIBXFCE4PANEL_LIBS@
LIBXFCE4PANEL_REQUIRED_VERSION = @LIBXFCE4PANEL_REQUIRED_VERSION@
Expand Down Expand Up @@ -249,6 +252,11 @@ VERMINOR = @VERMINOR@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
XGETTEXT_ARGS = @XGETTEXT_ARGS@
XMKMF = @XMKMF@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
Expand Down Expand Up @@ -285,7 +293,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
Expand All @@ -305,6 +312,7 @@ top_srcdir = @top_srcdir@
plugindir = $(libexecdir)/xfce4/panel-plugins
xfce4_squeezebox_plugin_CFLAGS = -Wall -DDATA_DIR=\"$(datadir)/xfce4/xfce4-squeezebox-plugin\" \
-DPACKAGE_LOCALE_DIR=\"$(localedir)\" @LIBXFCE4PANEL_CFLAGS@ \
$(LIBX11_CFLAGS) \
@EXO_CFLAGS@ @LIBWNCK_CFLAGS@ $(PATH_DEFINES) \
-DG_LOG_DOMAIN=\"SBP\" \
@LIBGIO_CFLAGS@ @ID3TAG_CFLAGS@ @LIBXFCONF_CFLAGS@ \
Expand All @@ -314,6 +322,7 @@ xfce4_squeezebox_plugin_CFLAGS = -Wall -DDATA_DIR=\"$(datadir)/xfce4/xfce4-squee
#todo: use --dynamic-list=someFile instead of -Wl -rdynamic
# -Wl -rdynamic
xfce4_squeezebox_plugin_LDFLAGS = @LIBXFCE4PANEL_LIBS@ @LIBXFCONF_LIBS@ \
$(LIBX11_LIBS) \
@EXO_LIBS@ @LIBWNCK_LIBS@ @LIBGIO_LIBS@ @ID3TAG_LIBS@ @LIBGTHREAD_LIBS@ \
-Wl -rdynamic

Expand Down
9 changes: 8 additions & 1 deletion redhat/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ LIBWNCK_CFLAGS = @LIBWNCK_CFLAGS@
LIBWNCK_LIBS = @LIBWNCK_LIBS@
LIBWNCK_REQUIRED_VERSION = @LIBWNCK_REQUIRED_VERSION@
LIBWNCK_VERSION = @LIBWNCK_VERSION@
LIBX11_CFLAGS = @LIBX11_CFLAGS@
LIBX11_LDFLAGS = @LIBX11_LDFLAGS@
LIBX11_LIBS = @LIBX11_LIBS@
LIBXFCE4PANEL_CFLAGS = @LIBXFCE4PANEL_CFLAGS@
LIBXFCE4PANEL_LIBS = @LIBXFCE4PANEL_LIBS@
LIBXFCE4PANEL_REQUIRED_VERSION = @LIBXFCE4PANEL_REQUIRED_VERSION@
Expand Down Expand Up @@ -189,6 +192,11 @@ VERMINOR = @VERMINOR@
VERSION = @VERSION@
XGETTEXT = @XGETTEXT@
XGETTEXT_ARGS = @XGETTEXT_ARGS@
XMKMF = @XMKMF@
X_CFLAGS = @X_CFLAGS@
X_EXTRA_LIBS = @X_EXTRA_LIBS@
X_LIBS = @X_LIBS@
X_PRE_LIBS = @X_PRE_LIBS@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
Expand Down Expand Up @@ -225,7 +233,6 @@ libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
lt_ECHO = @lt_ECHO@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
Expand Down

0 comments on commit c9365a7

Please sign in to comment.