Skip to Content.
Sympa Menu

sm-commit - Re: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (adc9e32d8739d7dd3d12a1d4ad959265eb9ef56c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ladislav Hagara <ladislav.hagara AT unob.cz>
  • Cc: "sm-commit AT lists.ibiblio.org" <sm-commit AT lists.ibiblio.org>
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Ladislav Hagara (adc9e32d8739d7dd3d12a1d4ad959265eb9ef56c)
  • Date: Thu, 12 Mar 2009 02:44:58 +0100

Hi,
quite hack.

I updated libusb to 1.0.0. Not only to be on bleeding edge (seems not
updated in other distros yet) I also hope it resolve bug
http://bugs.sourcemage.org/show_bug.cgi?id=10713.
Libusb 0.1.12 is from 2006-03-04 and seems it can has problem with new
libtool.

Version 1.0.0 is not compatible with old 0.1.12 so I created also
libusb-compat spell and up_triggers cast it automatically.
When libusb 1.0.0 is installed then gnupg compiled with libusb is broken
and libusb-compat's source can't be verified.
I verify source of libusb-compat in libusb spell and in libusb-compat
use SOURCE_IGNORE=signature.
Seems after libusb-compat is installed, all is OK again.

I didn't changed libusb to libusb-compat in DEPENDS file yet. This need
some testing.
Now if you cast libusb both spells libusb and libusb-compat are cast.

--
Ladislav Hagara



> GIT changes to master grimoire by Ladislav Hagara <ladislav.hagara AT unob.cz>:
>
> ChangeLog | 4 ++++
> libs/libusb-compat/DEPENDS | 1 +
> libs/libusb-compat/DETAILS | 18 ++++++++++++++++++
> libs/libusb-compat/HISTORY | 5 +++++
> libs/libusb/DETAILS | 13 ++++++++-----
> libs/libusb/HISTORY | 5 +++++
> libs/libusb/PRE_BUILD | 4 ++++
> libs/libusb/UP_TRIGGERS | 1 +
> 8 files changed, 46 insertions(+), 5 deletions(-)
>
> New commits:
> commit adc9e32d8739d7dd3d12a1d4ad959265eb9ef56c
> Author: Ladislav Hagara <ladislav.hagara AT unob.cz>
> Commit: Ladislav Hagara <ladislav.hagara AT unob.cz>
>
> libusb-compat: ChangeLog entry
>
> commit d6420d3749c038dfe9bb4e1f8f4ec6c03d9b6555
> Author: Ladislav Hagara <ladislav.hagara AT unob.cz>
> Commit: Ladislav Hagara <ladislav.hagara AT unob.cz>
>
> libusb-compat 0.1.0 - new spell, USB access library (libusb-1.0 compat
> wrapper)
>
> commit 56a7dd4d6038ab2cf122ee7e35361c582bbf1909
> Author: Ladislav Hagara <ladislav.hagara AT unob.cz>
> Commit: Ladislav Hagara <ladislav.hagara AT unob.cz>
>
> libusb 1.0.0
>
> diff --git a/ChangeLog b/ChangeLog
> index 7772fc1..61e6869 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,3 +1,7 @@
> +2009-03-11 Ladislav Hagara <hgr AT vabo.cz>
> + * libs/libusb-compat: new spell
> + USB access library (libusb-1.0 compat wrapper)
> +
> 2009-03-11 Arjan Bouter <abouter AT sourcemage.org>
> * kernels/rt2870: new spell ralink 2870 driver
>
> diff --git a/libs/libusb-compat/DEPENDS b/libs/libusb-compat/DEPENDS
> new file mode 100755
> index 0000000..5487d07
> --- /dev/null
> +++ b/libs/libusb-compat/DEPENDS
> @@ -0,0 +1 @@
> +depends libusb
> diff --git a/libs/libusb-compat/DETAILS b/libs/libusb-compat/DETAILS
> new file mode 100755
> index 0000000..7bdada2
> --- /dev/null
> +++ b/libs/libusb-compat/DETAILS
> @@ -0,0 +1,18 @@
> + SPELL=libusb-compat
> + VERSION=0.1.0
> + SOURCE=$SPELL-$VERSION.tar.bz2
> +SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
> + SOURCE_URL[0]=$SOURCEFORGE_URL/libusb/$SOURCE
> + SOURCE_IGNORE=signature
> +#
> SOURCE_HASH=sha512:266837aa71c061ef4cc189a384ecceb26f74c1c7ab2df5a65249bcf2b54bd87cc931240856da4a3e550e57e116f4597d3a384a468f99acdc4d48e656a1d5c8b4
> + LICENSE[0]=LGPL
> + WEB_SITE=http://sourceforge.net/projects/libusb/
> + ENTERED=20090311
> + KEYWORDS="usb libs"
> + SHORT="USB access library (libusb-1.0 compat wrapper)"
> +cat << EOF
> +USB access library (libusb-1.0 compat wrapper).
> +A compatibility layer allowing applications written for libusb-0.1 to work
> +with libusb-1.0. libusb-compat-0.1 attempts to look, feel, smell and walk
> +like libusb-0.1.
> +EOF
> diff --git a/libs/libusb-compat/HISTORY b/libs/libusb-compat/HISTORY
> new file mode 100644
> index 0000000..b555006
> --- /dev/null
> +++ b/libs/libusb-compat/HISTORY
> @@ -0,0 +1,5 @@
> +2009-03-11 Ladislav Hagara <hgr AT vabo.cz>
> + * DETAILS, DEPENDS: spell created, version 0.1.0
> + SOURCE_IGNORE=signature, gnupg is broken if compiled with libusb
> + verified by libusb spell as SOURCE2
> +
> diff --git a/libs/libusb/DETAILS b/libs/libusb/DETAILS
> index b401603..2ac1bec 100755
> --- a/libs/libusb/DETAILS
> +++ b/libs/libusb/DETAILS
> @@ -1,14 +1,17 @@
> SPELL=libusb
> - VERSION=0.1.12
> - SOURCE=$SPELL-$VERSION.tar.gz
> + VERSION=1.0.0
> + SOURCE=$SPELL-$VERSION.tar.bz2
> SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
> SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
> - SOURCE_URL[1]=http://belnet.dl.sourceforge.net/$SPELL/$SOURCE
> -
> SOURCE_HASH=sha512:08c10e899f93b5f8567d1a1e1ed87dd5631ad0a1463975404709c1d165e545e340afb474a66788efcfdd8193542e2a2eb9cf133f55cbbf76441244191d0bb825
> +
> SOURCE_HASH=sha512:2114e5c4ab69fe91192a8d22424c9da83b521dba3bb938f2b66589f48ccac1a95dc502ca592c6e230ebc453aff82bad3e6f58b455d9cfb8e13b4357fb5f88a8e
> +
> + SOURCE2=libusb-compat-0.1.0.tar.bz2
> + SOURCE2_URL[0]=$SOURCEFORGE_URL/libusb/$SOURCE2
> +
> SOURCE2_HASH=sha512:266837aa71c061ef4cc189a384ecceb26f74c1c7ab2df5a65249bcf2b54bd87cc931240856da4a3e550e57e116f4597d3a384a468f99acdc4d48e656a1d5c8b4
> +
> LICENSE[0]=LGPL
> WEB_SITE=http://sourceforge.net/projects/libusb/
> ENTERED=20020213
> - UPDATED=20050526
> KEYWORDS="usb libs"
> SHORT="Library for USB devices."
> cat << EOF
> diff --git a/libs/libusb/HISTORY b/libs/libusb/HISTORY
> index d527f88..1774c27 100644
> --- a/libs/libusb/HISTORY
> +++ b/libs/libusb/HISTORY
> @@ -1,3 +1,8 @@
> +2009-03-11 Ladislav Hagara <hgr AT vabo.cz>
> + * DETAILS: 1.0.0, gz -> bz2, removed useless SOURCE_URL[1] and UPDATED
> + * UP_TRIGGERS: added to cast libusb-compat to be compatible with
> 0.1.12
> + * DETAILS, PRE_BUILD: added and verified SOURCE2 for libusb-compat
> +
> 2006-09-21 Juuso Alasuutari <iuso AT sourcemage.org>
> * DETAILS: [automated] Removed BUILD_API=2.
>
> diff --git a/libs/libusb/PRE_BUILD b/libs/libusb/PRE_BUILD
> new file mode 100755
> index 0000000..5031d10
> --- /dev/null
> +++ b/libs/libusb/PRE_BUILD
> @@ -0,0 +1,4 @@
> +default_pre_build &&
> +cd $SOURCE_DIRECTORY &&
> +
> +unpack_file 2
> diff --git a/libs/libusb/UP_TRIGGERS b/libs/libusb/UP_TRIGGERS
> new file mode 100755
> index 0000000..dfd894b
> --- /dev/null
> +++ b/libs/libusb/UP_TRIGGERS
> @@ -0,0 +1 @@
> +up_trigger libusb-compat cast_self




Archive powered by MHonArc 2.6.24.

Top of Page