Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 01/47] package/libsquish: New package
Date: Sat, 25 Jul 2015 19:01:25 +0200	[thread overview]
Message-ID: <20150725170125.GO3662@free.fr> (raw)
In-Reply-To: <1437597069-6448-2-git-send-email-bernd.kuhls@t-online.de>

Bernd, All,

On 2015-07-22 22:30 +0200, Bernd Kuhls spake thusly:
> Kodi 15.0 contains an updated version of libsquish:
> https://github.com/xbmc/xbmc/tree/master/tools/depends/native/libsquish-native
> 
> The OpenElec project provides a separate tarball including the Kodi-
> specific patches:
> http://sources.openelec.tv/devel/libsquish-1.10-openelec.tar.gz
> 
> This patch contains the relevant diff between upstream libsquish 1.13
> and the OpenElec tarball.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[--SNIP--]
> diff --git a/package/libsquish/libsquish.mk b/package/libsquish/libsquish.mk
> new file mode 100644
> index 0000000..f6b93c8
> --- /dev/null
> +++ b/package/libsquish/libsquish.mk
> @@ -0,0 +1,35 @@
> +################################################################################
> +#
> +# libsquish
> +#
> +################################################################################
> +
> +LIBSQUISH_VERSION = 1.13
> +LIBSQUISH_SOURCE = libsquish-$(LIBSQUISH_VERSION).tgz
> +LIBSQUISH_SITE = http://downloads.sourceforge.net/project/libsquish
> +LIBSQUISH_INSTALL_STAGING = YES
> +LIBSQUISH_STRIP_COMPONENTS = 0
> +LIBSQUISH_LICENSE = MIT
> +LIBSQUISH_LICENSE_FILES = README

There is a LICENSE file, too.

> +define LIBSQUISH_BUILD_CMDS
> +	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> +endef
> +
> +define LIBSQUISH_INSTALL_STAGING_CMDS
> +	mkdir -p $(STAGING_DIR)/usr/lib/pkgconfig/
> +	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \
> +		PREFIX=/usr INSTALL_DIR=$(STAGING_DIR)/usr
> +	$(INSTALL) -m 644 $(@D)/squish.pc $(STAGING_DIR)/usr/lib/pkgconfig
> +	ln -sf libsquish.so.0.0 $(STAGING_DIR)/usr/lib/libsquish.so
> +endef
> +
> +define LIBSQUISH_INSTALL_TARGET_CMDS
> +	mkdir -p $(TARGET_DIR)/usr/include/
> +	mkdir -p $(TARGET_DIR)/usr/lib/pkgconfig/
> +	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) install \
> +		PREFIX=/usr INSTALL_DIR=$(TARGET_DIR)/usr
> +	ln -sf libsquish.so.0.0 $(TARGET_DIR)/usr/lib/libsquish.so

The .so symlink is not needed in the target, since it is only needed by
ld at runtime.

However, the library's SONAME is libsquish.so.0 so even with this
symlink it would not be possible to fund the library at runtime.

Either rename the library, or symlink it as libsquish.so.0

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-07-25 17:01 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-22 20:30 [Buildroot] [PATCH 00/47] package/kodi: bump version to 15.0 Isengard Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 01/47] package/libsquish: New package Bernd Kuhls
2015-07-25 17:01   ` Yann E. MORIN [this message]
2015-07-27 20:19   ` Thomas Petazzoni
2015-07-30 13:25   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 02/47] package/libplatform: new package Bernd Kuhls
2015-07-25 16:55   ` Yann E. MORIN
2015-07-30 13:26   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 03/47] package/libcec: bump to version 3.0.1 Bernd Kuhls
2015-07-25 16:43   ` Yann E. MORIN
2015-07-25 16:48     ` Yann E. MORIN
2015-07-30 13:27   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 04/47] package/kodi: bump version to 15.0 Isengard Bernd Kuhls
2015-07-30 13:27   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 05/47] package/kodi: Add option for lirc support Bernd Kuhls
2015-07-25 17:14   ` Yann E. MORIN
2015-07-22 20:30 ` [Buildroot] [PATCH 06/47] package/kodi: Rework audio encoder support Bernd Kuhls
2015-07-25 22:31   ` Yann E. MORIN
2015-07-22 20:30 ` [Buildroot] [PATCH 07/47] package/kodi-audioencoder-flac: bump version Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 08/47] package/kodi-audioencoder-lame: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 09/47] package/kodi-audioencoder-vorbis: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 10/47] package/kodi-audioencoder-wav: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 11/47] package/kodi-addon-xvdr: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 12/47] package/kodi-pvr-addons: Prepare to split into addon-specific packages Bernd Kuhls
2015-07-25 17:09   ` Yann E. MORIN
2015-07-22 20:30 ` [Buildroot] [PATCH 13/47] package/kodi-platform: new package Bernd Kuhls
2015-07-25 17:13   ` Yann E. MORIN
2015-07-30 13:27   ` Thomas Petazzoni
2015-07-22 20:30 ` [Buildroot] [PATCH 14/47] package/kodi-pvr-argustv: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 15/47] package/kodi-pvr-dvblink: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 16/47] package/kodi-pvr-dvbviewer: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 17/47] package/kodi-pvr-filmon: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 18/47] package/kodi-pvr-hts: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 19/47] package/kodi-pvr-iptvsimple: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 20/47] package/kodi-pvr-mediaportal-tvserver: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 21/47] package/kodi-pvr-mythtv: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 22/47] package/kodi-pvr-nextpvr: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 23/47] package/kodi-pvr-njoy: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 24/47] package/kodi-pvr-pctv: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 25/47] package/kodi-pvr-stalker: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 26/47] package/kodi-pvr-vbox: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 27/47] package/kodi-pvr-vdr-vnsi: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 28/47] package/kodi-pvr-vuplus: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 29/47] package/kodi-pvr-wmc: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 30/47] package/kodi-audiodecoder-modplug: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 31/47] package/kodi-audiodecoder-nosefart: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 32/47] package/kodi-audiodecoder-sidplay: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 33/47] package/kodi-audiodecoder-snesapu: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 34/47] package/kodi-audiodecoder-stsound: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 35/47] package/kodi-audiodecoder-timidity: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 36/47] package/kodi-audiodecoder-vgmstream: " Bernd Kuhls
2015-07-22 20:30 ` [Buildroot] [PATCH 37/47] package/kodi-screensaver-asteroids: " Bernd Kuhls
2015-07-30 13:29   ` Thomas Petazzoni
2015-07-22 20:31 ` [Buildroot] [PATCH 38/47] package/kodi-screensaver-biogenesis: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 39/47] package/kodi-screensaver-crystalmorph: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 40/47] package/kodi-screensaver-greynetic: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 41/47] package/kodi-screensaver-pingpong: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 42/47] package/kodi-screensaver-pyro: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 43/47] package/kodi-screensaver-stars: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 44/47] package/kodi-visualisation-shadertoy: " Bernd Kuhls
2015-07-30 13:31   ` Thomas Petazzoni
2015-07-22 20:31 ` [Buildroot] [PATCH 45/47] package/kodi-visualisation-waveform: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 46/47] package/kodi-visualisation-spectrum: " Bernd Kuhls
2015-07-22 20:31 ` [Buildroot] [PATCH 47/47] package/kodi-visualisation-waveforhue: " Bernd Kuhls
2015-07-30 13:30   ` Thomas Petazzoni
2015-07-24  9:39 ` [Buildroot] [PATCH 00/47] package/kodi: bump version to 15.0 Isengard Stanislav Vlasic
2015-07-24 10:45   ` Stanislav Vlasic
2015-07-30 13:25 ` Thomas Petazzoni
2015-07-30 13:34 ` Thomas Petazzoni
2015-08-01  8:21   ` Waldemar Brodkorb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150725170125.GO3662@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox