[Sawfish] librep-0.92.1: librep.pc issue

[ Thread Index | Date Index | More lists.tuxfamily.org/sawfish Archives ]


hello,

apologies if I am missing some point.

Just installed librep-0.92.1 and found the following problem.

The final librep.pc file defines datadir in terms of datarootdir, but
datarootdir is defined downstream of datadir.

The result is that the build of rep-gtk (e.g.) stops at configure time
since the pkg-config call for librep fails.

This fixes everything for me:

diff -c ./librep.pc.in.FIX_LIBREP_PC ./librep.pc.in
*** ./librep.pc.in.FIX_LIBREP_PC	Tue Aug 23 11:08:26 2011
--- ./librep.pc.in	Tue Aug 23 11:08:26 2011
***************
*** 2,14 ****
  prefix=@prefix@
  exec_prefix=@exec_prefix@
  libdir=@libdir@
  datadir=@datadir@
  repdir=@repdir@
  replispdir=@replispdir@
  repexecdir=@repexecdir@
  repcommonexecdir=@repcommonexecdir@
  includedir=@includedir@
- datarootdir=@datarootdir@
  
  Cflags: -I${includedir}/ -I${repcommonexecdir}/
  Libs: -L@libdir@ -lrep -lcrypt -lgmp -lm
--- 2,14 ----
  prefix=@prefix@
  exec_prefix=@exec_prefix@
  libdir=@libdir@
+ datarootdir=@datarootdir@
  datadir=@datadir@
  repdir=@repdir@
  replispdir=@replispdir@
  repexecdir=@repexecdir@
  repcommonexecdir=@repcommonexecdir@
  includedir=@includedir@
  
  Cflags: -I${includedir}/ -I${repcommonexecdir}/
  Libs: -L@libdir@ -lrep -lcrypt -lgmp -lm



(I was not able to open a bug in bugzilla: I get: "Sorry, entering a bug
into the product librep has been disabled.")

I thank you very much for your work and hope to have been of some use

ciao
gabriele

-- 
Gabriele Balducci - Dipartimento di Scienze Chimiche - Via L. Giorgieri 1
I-34127 TRIESTE tel: I-040-5583957 fax: I-040-5583903 e-mail: balducci@xxxxxxxx
Please, if possible, don't send me MS Word or PowerPoint attachments
Why? See: http://www.gnu.org/philosophy/no-word-attachments.html

---
--
Sawfish ML


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/