[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#491220: Request to steal unicap ITP



2008/12/4 Jonas Smedegaard <dr@jones.dk>:

> I have now published my packaging work here:
>
> git://git.debian.org/git/collab-maint/unicap.git

Great! Thanks! :)

> First draft of usage guide is here:
>
> http://git.debian.org/?p=collab-maint/unicap.git;a=blob;f=debian/README.source
>
>
> As I said earlier, I would appreciate working together on maintaining
> this.

I would be very glad to do so. My rationale for this was that I'm
going to need this library for some personal project. I have no clue
about CDBS but I don't think that would be a real problem as long as
you don't take into account any stupid question that I might do ;)

> I must admin that I have not looked at your draft packaging. I have been
> working on my own for some time (on and off) and it seemed from your
> description that it was only preliminary. If you did smart stuff
> valuable to adopt feel free to do it, or if you don't want to work
> together then tell me and I'll have a look at your packaging.

I remade it yesterday and divided the stuff in different proper
libraries, but I used debhelper. Of course no problem in using yours
:)

I found some problems that you might want to look at:

1) I'm using this configuration parameters:

		--enable-unicapgtk \
		--enable-ucil-alsa \
		--enable-ucil-theora \
		--enable-ucil-png \
		--enable-ucil-avcodec \
		--enable-gtk-doc

2) There must be something wrong with the building system, as I have
to do 2 commands

	$(MAKE)
	$(MAKE) -C libunicapgtk libunicapgtk.la

3) There is something wrong in the building system and some libraries
cannot be found unless:

		CFLAGS="$(CFLAGS) $$(pkg-config libavcodec libavutil xv x11 --cflags)"

4) If you also want to be able to compile the package with
debian-multimedia files, without hurting Debian's, do:

		CFLAGS="$(CFLAGS) $$(pkg-config libavcodec libavutil xv x11
--cflags) -I/usr/include/ffmpeg/libavcodec
-I/usr/include/ffmpeg/libavutil"

5) You have to especially mention -pthread in LDFLAGS, as well as
$$(pkg-config libavcodec libavutil xv x11 --libs)

6) For safety, I'm using the following parameter:

		LDFLAGS="-pthread -Wl,-z,defs -Wl,--as-needed -Wl,--no-undefined
$$(pkg-config libavcodec libavutil xv x11 --libs)"

The rest seems to be OK :)

My packages should be OK, lintian clean and properly configured now,
in case you want to look at them:

http://www.miriamruiz.es/debian/unicap/

I've tested them with uvview, and of course it compiles and runs
without any problem in my computer.

> I am cc'ing Andrew, as he might be interested in teaming u on this as
> well.

Of course :)

Greetings,
Miry



Reply to: