Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4454DC369A1 for ; Wed, 9 Apr 2025 14:12:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9C24040576; Wed, 9 Apr 2025 14:12:06 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 5Q6HNhDrLmZe; Wed, 9 Apr 2025 14:12:05 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org A00E340578 Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id A00E340578; Wed, 9 Apr 2025 14:12:05 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136]) by lists1.osuosl.org (Postfix) with ESMTP id 4DE1B1F1 for ; Wed, 9 Apr 2025 14:12:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 33E81600D4 for ; Wed, 9 Apr 2025 14:12:03 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Jx_KbUvujIrt for ; Wed, 9 Apr 2025 14:12:02 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=176.9.145.28; helo=smtp.bubu1.eu; envelope-from=buildroot@bubu1.eu; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org C0278608F0 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org C0278608F0 Received: from smtp.bubu1.eu (smtp.bubu1.eu [176.9.145.28]) by smtp3.osuosl.org (Postfix) with ESMTPS id C0278608F0 for ; Wed, 9 Apr 2025 14:12:01 +0000 (UTC) Received: from tuxedoOT.fritz.box (unknown [212.37.174.96]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.bubu1.eu (Postfix) with ESMTPSA id 5CDEF2C841F6; Wed, 09 Apr 2025 16:11:59 +0200 (CEST) To: buildroot@buildroot.org Cc: Romain Naour Date: Wed, 9 Apr 2025 16:11:57 +0200 Message-ID: <20250409141158.2740670-1-buildroot@bubu1.eu> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bubu1.eu; s=bubu; t=1744207919; bh=kTuvA1Yrw2wiI90yky2tZlsnhFo05IsauiFR0BtzUMQ=; h=From:To:Cc:Subject:Date; b=fWPU7H9BMQDkiziFR0d6elKdqO291/yHJrhy182jAvlEhpPtGLRCdwrIvr2j2NwIW 4rzB/UEaQJUFz0YGJ2Ee+znX90RcYZpHBXPiJqm/1CzI5WZw4XIndyQuWpdyiGAXAz 9KRWi1Z/A8cG0PLkjuuoqhj4UW1WxnbRj5jl2cAeHCAYNfPfkr5zbjhRThADMVioHp inJsm/m0Gny+eCmpeo9xLbgZq0DC3kVWWtMvo7sLtfMlWFYqXcbJ4A5L06n+pqzw2U E/fIVEEqbeRKSzhK3mh6FHv5joxJwtxrrJLejKv2iNt1tZ4GMZsy0AL0pLuiTPHgew 6FFbtgpfKiPWQ== X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=pass (p=reject dis=none) header.from=bubu1.eu X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dkim=pass (2048-bit key) header.d=bubu1.eu header.i=@bubu1.eu header.a=rsa-sha256 header.s=bubu header.b=fWPU7H9B Subject: [Buildroot] [PATCH v2 1/1] package/liblinear: bump to 2.48 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marcus Hoffmann via buildroot Reply-To: Marcus Hoffmann Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Rebase patch for new version. Soname changed, so updating accordingly in the mk file. COPYRIGHT year got updated[2] [1] https://github.com/cjlin1/liblinear/commit/818442728081980e9786cd3e87034d4e2912f0c4 [2] https://github.com/cjlin1/liblinear/commit/6c0108dcf3f84262530b909c53e778007235bff5 Signed-off-by: Marcus Hoffmann --- Changes v2: Rebase patch on top of latest version package/liblinear/0001-build-static-lib.patch | 27 ++++++++++++++----- package/liblinear/liblinear.hash | 4 +-- package/liblinear/liblinear.mk | 6 ++--- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/package/liblinear/0001-build-static-lib.patch b/package/liblinear/0001-build-static-lib.patch index f3497b767e..69769a8005 100644 --- a/package/liblinear/0001-build-static-lib.patch +++ b/package/liblinear/0001-build-static-lib.patch @@ -1,14 +1,24 @@ -Makefile: add a rule to build a static library +From 43a6b4c7b3a63b1cd7f1ed2772a1147be892560f Mon Sep 17 00:00:00 2001 +From: Marcus Hoffmann +Date: Wed, 9 Apr 2025 16:03:59 +0200 +Subject: [PATCH] Makefile: add a rule to build a static library Signed-off-by: "Yann E. MORIN" [Fabrice: update for 2.43] Signed-off-by: Fabrice Fontaine -diff -durN liblinear-1.96.orig/Makefile liblinear-1.96/Makefile ---- liblinear-1.96.orig/Makefile 2014-11-15 07:50:23.000000000 +0100 -+++ liblinear-1.96/Makefile 2014-12-14 00:23:00.135893956 +0100 -@@ -16,6 +16,11 @@ - fi; \ - $(CXX) $${SHARED_LIB_FLAG} linear.o newton.o blas/blas.a -o liblinear.so.$(SHVER) +[Marcus: update for 2.48] +Signed-off-by: Marcus Hoffmann +--- + Makefile | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/Makefile b/Makefile +index 4f22d17..5cf9b26 100644 +--- a/Makefile ++++ b/Makefile +@@ -16,6 +16,11 @@ all: train predict + lib: linear.o newton.o blas/blas.a + $(CXX) $(SHARED_LIB_FLAG) linear.o newton.o blas/blas.a -o liblinear.so.$(SHVER) +# Keeping blas/blas.a as a pre-requisite, to ensure all .o files are built +static-lib: linear.o newton.o blas/blas.a @@ -18,3 +28,6 @@ diff -durN liblinear-1.96.orig/Makefile liblinear-1.96/Makefile train: newton.o linear.o train.c blas/blas.a $(CXX) $(CFLAGS) -o train train.c newton.o linear.o $(LIBS) +-- +2.43.0 + diff --git a/package/liblinear/liblinear.hash b/package/liblinear/liblinear.hash index 6bc72909d0..01c7254df6 100644 --- a/package/liblinear/liblinear.hash +++ b/package/liblinear/liblinear.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 3c64eec45c01943a656baac7aeb8ffd782fe0aea53629aa9f5fdb8eec177c92f liblinear-2.45.tar.gz -sha256 d49b7898fd9ea7c29f0478e8c409ee7c0f621533d5eca7b7912e80391dc564e3 COPYRIGHT +sha256 72ea3853a9fb430b49c3196177d8acdffd2dadb5901832ee323465792087e8cc liblinear-2.48.tar.gz +sha256 684e76f565a31ab057790c612bdacc2ee542f8a90b69f922377a92334771488c COPYRIGHT diff --git a/package/liblinear/liblinear.mk b/package/liblinear/liblinear.mk index 134673a230..fb3dfdd38c 100644 --- a/package/liblinear/liblinear.mk +++ b/package/liblinear/liblinear.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBLINEAR_VERSION = 2.45 +LIBLINEAR_VERSION = 2.48 LIBLINEAR_SITE = https://www.csie.ntu.edu.tw/~cjlin/liblinear/oldfiles LIBLINEAR_LICENSE = BSD-3-Clause LIBLINEAR_LICENSE_FILES = COPYRIGHT @@ -14,8 +14,8 @@ LIBLINEAR_CFLAGS = $(TARGET_CFLAGS) ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y) # $1: destination directory define LIBLINEAR_INSTALL_SHARED - $(INSTALL) -m 0644 -D $(@D)/liblinear.so.5 $(1)/usr/lib/liblinear.so.5 - ln -sf liblinear.so.5 $(1)/usr/lib/liblinear.so + $(INSTALL) -m 0644 -D $(@D)/liblinear.so.6 $(1)/usr/lib/liblinear.so.6 + ln -sf liblinear.so.6 $(1)/usr/lib/liblinear.so endef LIBLINEAR_CFLAGS += -fPIC endif -- 2.43.0 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot