! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfmedia 0.9.1 doesnt build against libxfce4util4
Status:
RESOLVED: FIXED
Product:
Xfmedia
Component:
general

Comments

Description Yves-Alexis Perez editbugs 2006-07-13 05:42:40 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.4) Gecko/20060608 (Debian-1.8.0.4-2) Epiphany/2.14
Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.8.0.4) Gecko/20060608 (Debian-1.8.0.4-2) Epiphany/2.14

I tried to build Xfmedia 0.9.1 using libxfce4util from Xfce 4.4Beta2. There was some changes in it, and the soname was bumped.

When I build it, I get:

cc -g -Wall -O2 -o xfmedia-remote xfmedia_remote-xfmedia-remote.o  ../xfmedia/.libs/libxfmedia-remote-client.a -ldbus-glib-1 -ldbus-1 /usr/lib/libglib-2.0.so
xfmedia_remote-xfmedia-remote.o: In function `main':
/home/corsac/xfce/pkg-xfce/goodies/build-area/xfmedia-0.9.1/src/xfmedia-remote.c:148: undefined reference to `xfce_textdomain'
collect2: ld returned 1 exit status


The content of /usr/lib/pkgconfig/libxfce4util-1.0.pc is :

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: libxfce4util
Description: Utility library for the Xfce 4 desktop environment
Requires: glib-2.0
Version: 4.3.90.2
Libs: -L${libdir} -lxfce4util
Cflags: -I${includedir}/xfce4


Reproducible: Always
Comment 1 Brian J. Tarricone (not reading bugmail) 2006-07-13 07:07:35 CEST
Ok, I know why.  xfce_textdomain() used to be a macro in one of libxfce4util's headers.  Since it didn't actually call any *functions* in libxfce4util, I never linked to the library.  Apparently sometime someone turned xfce_textdomain() into a real function, so now it doesn't work anymore.  Anyway, I updated the 0.9.x branch in SVN to fix it.  You can fetch it with:

svn co http://svn.xfce.org/svn/xfce/xfmedia/branches/xfmedia_0_9/

I'll also attach a patch in a second.
Comment 2 Brian J. Tarricone (not reading bugmail) 2006-07-13 07:08:13 CEST
Created attachment 665 
patch to fix build failure
Comment 3 Brian J. Tarricone (not reading bugmail) 2006-07-15 19:59:59 CEST
*** Bug 2041 has been marked as a duplicate of this bug. ***
Comment 4 Brian J. Tarricone (not reading bugmail) 2006-09-22 15:56:21 CEST
*** Bug 2353 has been marked as a duplicate of this bug. ***

Bug #2026

Reported by:
Yves-Alexis Perez
Reported on: 2006-07-13
Last modified on: 2006-09-22
Duplicates (2):
  • 2041 libxfce4util 4.3.90: libxfce4util/i18n.h not included in libxfce4util/libxfce4util.h
  • 2353 unable to compile xfmedia

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
2 users

Version

Version:
unspecified

Attachments

patch to fix build failure (2.34 KB, patch)
2006-07-13 07:08 CEST , Brian J. Tarricone (not reading bugmail)
no flags

Additional information