* [PR PATCH] soundconverter: update to 3.0.2.
@ 2019-10-10 22:07 voidlinux-github
2019-10-10 22:23 ` [PR PATCH] [Closed]: " voidlinux-github
0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-10 22:07 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 326 bytes --]
There is a new pull request by mobinmob against master on the void-packages repository
https://github.com/mobinmob/void-packages soundconverter
https://github.com/void-linux/void-packages/pull/15306
soundconverter: update to 3.0.2.
A patch file from https://github.com/void-linux/void-packages/pull/15306.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-soundconverter-15306.patch --]
[-- Type: text/x-diff, Size: 4914 bytes --]
From fded1f50d82863ce81b71c86628a62766d211582 Mon Sep 17 00:00:00 2001
From: mobinmob <mobinmob@disroot.org>
Date: Fri, 11 Oct 2019 00:27:22 +0300
Subject: [PATCH] soundconverter: update to 3.0.2.
---
.../soundconverter/patches/drop-gconf.patch | 74 -------------------
srcpkgs/soundconverter/template | 8 +-
2 files changed, 4 insertions(+), 78 deletions(-)
delete mode 100644 srcpkgs/soundconverter/patches/drop-gconf.patch
diff --git a/srcpkgs/soundconverter/patches/drop-gconf.patch b/srcpkgs/soundconverter/patches/drop-gconf.patch
deleted file mode 100644
index 3246ebb02b7..00000000000
--- a/srcpkgs/soundconverter/patches/drop-gconf.patch
+++ /dev/null
@@ -1,74 +0,0 @@
-=== modified file 'bin/soundconverter.py'
---- bin/soundconverter.py 2017-10-29 20:09:01 +0000
-+++ bin/soundconverter.py 2018-04-06 11:25:35 +0000
-@@ -66,7 +66,6 @@
- import gi
- gi.require_version('Gst', '1.0')
- gi.require_version('Gtk', '3.0')
-- gi.require_version('GConf', '2.0')
- from gi.repository import GObject
- # force GIL creation - see https://bugzilla.gnome.org/show_bug.cgi?id=710447
- import threading
-
-=== modified file 'soundconverter/gstreamer.py'
---- soundconverter/gstreamer.py 2018-03-26 18:14:18 +0000
-+++ soundconverter/gstreamer.py 2018-04-06 11:25:35 +0000
-@@ -25,7 +25,7 @@
- from gettext import gettext as _
-
- import gi
--from gi.repository import Gst, Gtk, GObject, GConf, Gio
-+from gi.repository import Gst, Gtk, GObject, Gio
-
- from soundconverter.fileoperations import vfs_encode_filename, file_encode_filename
- from soundconverter.fileoperations import unquote_filename, vfs_makedirs, vfs_unlink
-@@ -66,25 +66,29 @@
- audio_profiles_list = []
- audio_profiles_dict = {}
-
--_GCONF = GConf.Client.get_default()
--profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
--for name in profiles:
-- if _GCONF.get_bool(_GCONF_PROFILE_PATH + name + "/active"):
-- # get profile
-- description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
-- extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/extension")
-- pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
-- # check profile validity
-- if not extension or not pipeline:
-- continue
-- if not description:
-- description = extension
-- if description in audio_profiles_dict:
-- continue
-- # store
-- profile = description, extension, pipeline
-- audio_profiles_list.append(profile)
-- audio_profiles_dict[description] = profile
-+try:
-+ from gi.repository import GConf
-+ _GCONF = GConf.Client.get_default()
-+ profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
-+ for name in profiles:
-+ if _GCONF.get_bool(_GCONF_PROFILE_PATH + name + "/active"):
-+ # get profile
-+ description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
-+ extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/extension")
-+ pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
-+ # check profile validity
-+ if not extension or not pipeline:
-+ continue
-+ if not description:
-+ description = extension
-+ if description in audio_profiles_dict:
-+ continue
-+ # store
-+ profile = description, extension, pipeline
-+ audio_profiles_list.append(profile)
-+ audio_profiles_dict[description] = profile
-+except ImportError:
-+ pass
-
- required_elements = ('decodebin', 'fakesink', 'audioconvert', 'typefind', 'audiorate')
- for element in required_elements:
-
diff --git a/srcpkgs/soundconverter/template b/srcpkgs/soundconverter/template
index 216890041ee..a159ebdff22 100644
--- a/srcpkgs/soundconverter/template
+++ b/srcpkgs/soundconverter/template
@@ -1,17 +1,17 @@
# Template file for 'soundconverter'
pkgname=soundconverter
-version=3.0.0
-revision=3
+version=3.0.2
+revision=1
archs=noarch
build_style=gnu-configure
+pycompile_dirs="/usr/lib/${pkgname}/python/${pkgname}"
hostmakedepends="glib intltool pkg-config python3-gobject"
makedepends="gtk+3-devel gstreamer1-devel"
depends="desktop-file-utils gst-plugins-good1 gst-plugins-ugly1
hicolor-icon-theme python3-gobject"
-pycompile_dirs="/usr/lib/${pkgname}/python/${pkgname}"
short_desc="Leading audio file converter for the GNOME Desktop"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://soundconverter.org/"
distfiles="https://launchpad.net/${pkgname}/trunk/${version}/+download/${pkgname}-${version}.tar.xz"
-checksum=ecb47732f279fc91f761601a56bada0ce8b8fe25e2e2935ca6b793e26f713df3
+checksum=21d0b97bd4800a8e07840cf0ec035fa84a71a10c8cdadf5ea671880805aa68cb
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Closed]: soundconverter: update to 3.0.2.
2019-10-10 22:07 [PR PATCH] soundconverter: update to 3.0.2 voidlinux-github
@ 2019-10-10 22:23 ` voidlinux-github
0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-10 22:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 166 bytes --]
There's a closed pull request on the void-packages repository
soundconverter: update to 3.0.2.
https://github.com/void-linux/void-packages/pull/15306
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-10-10 22:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 22:07 [PR PATCH] soundconverter: update to 3.0.2 voidlinux-github
2019-10-10 22:23 ` [PR PATCH] [Closed]: " voidlinux-github
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).