diff mbox series

[1/1] package/umtprd: bump to version 1.6.8

Message ID 20240826114757.150278-1-paul@crapouillou.net
State Accepted
Headers show
Series [1/1] package/umtprd: bump to version 1.6.8 | expand

Commit Message

Paul Cercueil Aug. 26, 2024, 11:47 a.m. UTC
https://github.com/viveris/uMTP-Responder/blob/umtprd-1.6.8/Release-notes.txt

Drop the patch 0001-Fix-output_dir-make-dependency.patch which is not
needed anymore.

Swap "$(MAKE) $(TARGET_CONFIGURE_OPTS)" to
"$(TARGET_CONFIGURE_OPTS) $(MAKE)", otherwise the package does not
build.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---
 .../0001-Fix-output_dir-make-dependency.patch | 46 -------------------
 package/umtprd/umtprd.hash                    |  2 +-
 package/umtprd/umtprd.mk                      |  4 +-
 3 files changed, 3 insertions(+), 49 deletions(-)
 delete mode 100644 package/umtprd/0001-Fix-output_dir-make-dependency.patch

Comments

Thomas Petazzoni Aug. 27, 2024, 4:39 p.m. UTC | #1
On Mon, 26 Aug 2024 13:47:57 +0200
Paul Cercueil <paul@crapouillou.net> wrote:

> https://github.com/viveris/uMTP-Responder/blob/umtprd-1.6.8/Release-notes.txt
> 
> Drop the patch 0001-Fix-output_dir-make-dependency.patch which is not
> needed anymore.
> 
> Swap "$(MAKE) $(TARGET_CONFIGURE_OPTS)" to
> "$(TARGET_CONFIGURE_OPTS) $(MAKE)", otherwise the package does not
> build.
> 
> Signed-off-by: Paul Cercueil <paul@crapouillou.net>
> ---
>  .../0001-Fix-output_dir-make-dependency.patch | 46 -------------------
>  package/umtprd/umtprd.hash                    |  2 +-
>  package/umtprd/umtprd.mk                      |  4 +-
>  3 files changed, 3 insertions(+), 49 deletions(-)
>  delete mode 100644 package/umtprd/0001-Fix-output_dir-make-dependency.patch

A small update was missing in the .checkpackageignore file, now that
the patch is gone. I fixed that up and applied to next. Thanks a lot!

Thomas
diff mbox series

Patch

diff --git a/package/umtprd/0001-Fix-output_dir-make-dependency.patch b/package/umtprd/0001-Fix-output_dir-make-dependency.patch
deleted file mode 100644
index fcbca6b000..0000000000
--- a/package/umtprd/0001-Fix-output_dir-make-dependency.patch
+++ /dev/null
@@ -1,46 +0,0 @@ 
-From d84216a678edaca81c0899318231cdcca2100d38 Mon Sep 17 00:00:00 2001
-From: James Hilliard <james.hilliard1@gmail.com>
-Date: Mon, 17 Oct 2022 16:39:56 -0600
-Subject: [PATCH] Fix output_dir make dependency
-
-Object file targets need to depend on the output_dir target.
-
-Fixes:
-make --shuffle=reverse -j1
-cc -o obj/mtp_op_truncateobject.o src/mtp_operations/mtp_op_truncateobject.c -c  -I./inc -lpthread -Wall -O3
-Assembler messages:
-Fatal error: can't create obj/mtp_op_truncateobject.o: No such file or directory
-make: *** [Makefile:19: obj/mtp_op_truncateobject.o] Error 1 shuffle=reverse
-
-[paul@crapouillou.net: Backport from upstream commit d84216a]
-Signed-off-by: Paul Cercueil <paul@crapouillou.net>
----
- Makefile | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/Makefile b/Makefile
-index 7c98b63..c28e186 100644
---- a/Makefile
-+++ b/Makefile
-@@ -7,15 +7,15 @@ objects := $(sources:src/%.c=obj/%.o)
- ops_sources := $(wildcard src/mtp_operations/*.c)
- ops_objects := $(ops_sources:src/mtp_operations/%.c=obj/%.o)
- 
--all: output_dir umtprd
-+all: umtprd
- 
- umtprd: $(objects) $(ops_objects)
- 	${CC} -o $@    $^ $(LDFLAGS) -lpthread
- 
--$(objects): obj/%.o: src/%.c
-+$(objects): obj/%.o: src/%.c | output_dir
- 	${CC} -o $@ $^ -c $(CPPFLAGS) $(CFLAGS)
- 
--$(ops_objects): obj/%.o: src/mtp_operations/%.c
-+$(ops_objects): obj/%.o: src/mtp_operations/%.c | output_dir
- 	${CC} -o $@ $^ -c $(CPPFLAGS) $(CFLAGS)
- 
- output_dir:
--- 
-2.35.1
-
diff --git a/package/umtprd/umtprd.hash b/package/umtprd/umtprd.hash
index 7cd75619ab..f682dd6d84 100644
--- a/package/umtprd/umtprd.hash
+++ b/package/umtprd/umtprd.hash
@@ -1,3 +1,3 @@ 
 # Locally computed
-sha256  1de40511c1dd4618719cff2058dfe68a595f1b9284c80afa89d6d1a1c80aec29  umtprd-1.6.2.tar.gz
+sha256  e0b3c308016595a5d956eaaa086d3bfe4c9af2270857181695338df9affb3574  umtprd-1.6.8.tar.gz
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSE
diff --git a/package/umtprd/umtprd.mk b/package/umtprd/umtprd.mk
index c5e0ee512e..1f1f6bcd23 100644
--- a/package/umtprd/umtprd.mk
+++ b/package/umtprd/umtprd.mk
@@ -4,13 +4,13 @@ 
 #
 ################################################################################
 
-UMTPRD_VERSION = 1.6.2
+UMTPRD_VERSION = 1.6.8
 UMTPRD_SITE = https://github.com/viveris/uMTP-Responder/archive
 UMTPRD_LICENSE = GPL-3.0+
 UMTPRD_LICENSE_FILES = LICENSE
 
 define UMTPRD_BUILD_CMDS
-	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
 endef
 
 define UMTPRD_INSTALL_TARGET_CMDS