deadbeef-1.10.0

This commit is contained in:
uglyside
2025-04-05 11:49:13 +03:00
parent 6fca27f18f
commit 5d28ff5e1b
4 changed files with 69 additions and 3998 deletions
+1 -3
View File
@@ -7,6 +7,7 @@
from pisi.actionsapi import shelltools, autotools, pisitools, get
i = ''.join([
' --disable-static',
' --disable-oss',
' --disable-coreaudio '
])
@@ -14,7 +15,6 @@ i = ''.join([
def setup():
shelltools.export("CC", "/usr/bin/clang")
shelltools.export("CXX", "/usr/bin/clang++")
#shelltools.export("LDFLAGS", "%s -fuse-ld=lld -ldl " % get.LDFLAGS())
autotools.configure(i)
def build():
@@ -22,5 +22,3 @@ def build():
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("about.txt", "AUTHORS", "ChangeLog")
@@ -0,0 +1,54 @@
From 5c5d44afb13a0d0008e859305848dda7686b2a0f Mon Sep 17 00:00:00 2001
From: Oleksiy Yakovenko <wakeroid@gmail.com>
Date: Tue, 1 Apr 2025 18:26:17 +0200
Subject: [PATCH] gtkui: fix auto-naming playlists regression (fixes #3168)
---
plugins/gtkui/fileman.c | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/plugins/gtkui/fileman.c b/plugins/gtkui/fileman.c
index 803b434e80..c8119e61b2 100644
--- a/plugins/gtkui/fileman.c
+++ b/plugins/gtkui/fileman.c
@@ -48,7 +48,7 @@ gtkpl_add_dirs (ddb_playlist_t *plt, GSList *lst) {
char t[1000];
if (!deadbeef->plt_get_title (plt, t, sizeof (t))) {
char *def = _("New Playlist");
- if (!strncmp (t, def, strlen (def)) || empty) {
+ if (empty || !strncmp (t, def, strlen (def))) {
const char *folder = strrchr ((char*)lst->data, G_DIR_SEPARATOR);
if (!folder) {
folder = lst->data;
@@ -76,7 +76,14 @@ gtkpl_add_files (ddb_playlist_t *plt, GSList *lst) {
void
gtkui_add_dirs (GSList *lst) {
ddb_playlist_t *plt_curr = deadbeef->plt_get_curr ();
- ddb_playlist_t *plt = deadbeef->plt_alloc ("add-dirs");
+
+ char *title = malloc(1000);
+ deadbeef->plt_get_title (plt_curr, title, 1000);
+
+ ddb_playlist_t *plt = deadbeef->plt_alloc (title);
+
+ free (title);
+ title = NULL;
if (deadbeef->plt_add_files_begin (plt_curr, 0) < 0) {
deadbeef->plt_unref (plt);
@@ -92,6 +99,15 @@ gtkui_add_dirs (GSList *lst) {
gtkui_dispatch_on_main(^{
ddb_playItem_t *tail = deadbeef->plt_get_tail_item(plt_curr, PL_MAIN);
+
+ char *new_title = malloc(1000);
+
+ deadbeef->plt_get_title(plt, new_title, 1000);
+ deadbeef->plt_set_title(plt_curr, new_title);
+
+ free (new_title);
+ new_title = NULL;
+
ddb_undo->set_action_name (_("Add Folders"));
deadbeef->plt_move_all_items (plt_curr, plt, tail);
if (tail != NULL) {
File diff suppressed because it is too large Load Diff
+14 -8
View File
@@ -15,11 +15,9 @@
<IsA>app:gui</IsA>
<PartOf>multimedia.sound</PartOf>
<Summary>Audio player for GNU/Linux systems with X11.</Summary>
<Description>
DeaDBeeF (as in 0xDEADBEEF) is a modular audio player for GNU/Linux, *BSD, OpenSolaris, macOS, and other UNIX-like systems.
</Description>
<Archive sha1sum="ae6f3d7856690d7c2079c5fec27a5c896ba1f5d7" type="tarbz2">
mirrors://sourceforge/deadbeef/deadbeef-1.9.6.tar.bz2
<Description>DeaDBeeF (as in 0xDEADBEEF) is a modular audio player for GNU/Linux, *BSD, OpenSolaris, macOS, and other UNIX-like systems.</Description>
<Archive sha1sum="686107a1bf3b9a95fb17277b914227a11f854544" type="tarbz2">
mirrors://sourceforge/deadbeef/deadbeef-1.10.0.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>bison</Dependency>
@@ -42,7 +40,7 @@
<Dependency>ffmpeg-devel</Dependency>
<Dependency>libmad-devel</Dependency>
<Dependency>libzip-devel</Dependency>
<!-- <Dependency>imlib2-devel</Dependency> -->
<Dependency>imlib2-devel</Dependency>
<Dependency>mpg123-devel</Dependency>
<Dependency>libX11-devel</Dependency>
<Dependency>jansson-devel</Dependency>
@@ -64,7 +62,8 @@
<Dependency>pulseaudio-libs-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">return_ru_trnsl.patch</Patch>
<!-- <Patch level="1"></Patch> -->
<Patch level="1">auto-naming_playlists_regression.patch</Patch>
</Patches>
</Source>
@@ -89,7 +88,7 @@
<Dependency>ffmpeg</Dependency>
<Dependency>libmad</Dependency>
<Dependency>libzip</Dependency>
<!-- <Dependency>imlib2</Dependency> -->
<Dependency>imlib2</Dependency>
<Dependency>wavpack</Dependency>
<Dependency>libcdio</Dependency>
<Dependency>libcddb</Dependency>
@@ -118,6 +117,13 @@
</Package>
<History>
<Update release="23">
<Date>2025-04-05</Date>
<Version>1.10.0</Version>
<Comment>Version bump.</Comment>
<Name>fury</Name>
<Email>uglyside@yandex.ru</Email>
</Update>
<Update release="22">
<Date>2024-08-25</Date>
<Version>1.9.6</Version>