Skip to Content.
Sympa Menu

cc-devel - Re: [cc-devel] liblicense-0.8.1

cc-devel AT lists.ibiblio.org

Subject: Developer discussion for Creative Commons technology and tools

List archive

Chronological Thread  
  • From: Sebastian Pipping <webmaster AT hartwork.org>
  • To: Asheesh Laroia <asheesh AT creativecommons.org>
  • Cc: cc-devel AT lists.ibiblio.org
  • Subject: Re: [cc-devel] liblicense-0.8.1
  • Date: Thu, 26 Feb 2009 03:51:43 +0100

First thanks for your quick and friendly reply.

Sorry for the things I should have done better,
like sending the mail to cc-de before by mistake.
It seems in moderation - anybody got the power to stop it?


Asheesh Laroia wrote:
> On Thu, 26 Feb 2009, Sebastian Pipping wrote:
>
>> A few comments and questions:
>>
>> - liblicense-0.8.1 gives a link error for me, though configure
>> went through all fine:
>> ../liblicense/.libs/liblicense.so: undefined reference to `dlsym'
>> ../liblicense/.libs/liblicense.so: undefined reference to `dlerror'
>> ../liblicense/.libs/liblicense.so: undefined reference to `dlopen'
>> ../liblicense/.libs/liblicense.so: undefined reference to `dlclose'
>> A -ldl is missing in utils/Makefile.am
>
> Thanks. I just committed and pushed a probable fix. Does that do it for
> you?

On [1] it reads:

"[LDADD] is used to specify additional objects or libraries to link
with; it is inappropriate for specifying specific linker flags, you
should use AM_LDFLAGS for this purpose."

Attached is a little patch to improve on that.

[1] http://www.gnu.org/software/hello/manual/automake/Linking.html


>> - Why is the "licenses" folder empty in the liblicense git repo?
>> This makes autoconf fail from ./autogen.sh
>>
>> - The "Developers: Using git" [3] section lists the command
>> git submodule init
>> git submodule update
>> I think the page should explain why that is needed.
>
> These two issues are related; doing the "git submodule init ; git
> submodule update" fills out the licenses directory. (It's like
> svn:externals.) Once you see what I mean, would you be willing to
> improve the wiki page to explain this?

I created a wiki account but my permission do not suffice.
Great to find out Git can do externals.


>> - Whom could I team up with when creating an I/O module
>> for XSPF [2] files?
>
> What does your [2] refer to?

Sorry:

[2] http://xspf.org/


> Regardless, I'd be the person to talk to, but hopefully you can do a lot
> of the work!

:-)


>> - How can I get emblems auto-detected emblems like this?:
>> http://wiki.creativecommons.org/Image:Ll_nautilus_emblem.png
>> It seems installing liblicense-0.8.1 is not enough?
>
> Yeah - it relates to a module called liblicense-gnome that we've been
> doing a poor job of maintaining due to really spread-out developer
> resources. It lives in svn at
> http://code.creativecommons.org/svnroot/liblicense-gnome/.

I gave liblicense-gnome-0.4 a try. Emblem icons are now available
but licensing dialogs seem missing. Are they in there, too?



Sebastian
>From 143d88887b66a3b3aa78dceefd419de97754a11e Mon Sep 17 00:00:00 2001
From: Sebastian Pipping <sebastian AT pipping.org>
Date: Thu, 26 Feb 2009 03:28:39 +0100
Subject: [PATCH] Improve on libdl.so link error fix

---
utils/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/utils/Makefile.am b/utils/Makefile.am
index d535cda..cbea42d 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -26,4 +26,6 @@ bin_PROGRAMS = $(UTILS)
license_SOURCES = \
license.c

-license_LDADD = -ldl $(top_builddir)/liblicense/liblicense.la
$(top_builddir)/xdgmime/libxdgmime.la
+license_LDADD = $(top_builddir)/liblicense/liblicense.la
$(top_builddir)/xdgmime/libxdgmime.la
+
+license_LDFLAGS = -ldl
--
1.6.1.3




Archive powered by MHonArc 2.6.24.

Top of Page