pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
cozy: audiobook player
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Thu Dec 7 23:50:35 2023 +0100
Changeset: 2275f139b8b7165517466085f3d063d4de87a32b
Modified Files:
Makefile
Added Files:
cozy/DESCR
cozy/Makefile
cozy/PLIST
cozy/TODO
cozy/distinfo
Log Message:
cozy: audiobook player
does not currently finish startup
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2275f139b8b7165517466085f3d063d4de87a32b
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
cozy/DESCR | 17 ++++++
cozy/Makefile | 38 +++++++++++++
cozy/PLIST | 167 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
cozy/TODO | 30 +++++++++++
cozy/distinfo | 5 ++
6 files changed, 258 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index a4fc71ba68..d8c30059a0 100644
--- a/Makefile
+++ b/Makefile
@@ -543,6 +543,7 @@ SUBDIR+= courierpassd
SUBDIR+= coverity-analysis-bin
SUBDIR+= cowpatty
SUBDIR+= coxeter
+SUBDIR+= cozy
SUBDIR+= cpdup
SUBDIR+= cpluff
SUBDIR+= cpm
diff --git a/cozy/DESCR b/cozy/DESCR
new file mode 100644
index 0000000000..b2515db094
--- /dev/null
+++ b/cozy/DESCR
@@ -0,0 +1,17 @@
+Cozy is a modern audiobook player. Here are some of the current features:
+
+* Import your audiobooks into Cozy to browse them comfortably
+* Sort your audio books by author, reader & name
+* Remembers your playback position
+* Sleep timer
+* Playback speed control
+* Search your library
+* Offline Mode! This allows you to keep an audio book on your
+ internal storage if you store your audiobooks on an external or
+ network drive. Perfect for listening on the go!
+* Add mulitple storage locations
+* Drag & Drop to import new audio books
+* Support for DRM free mp3, m4a (aac, ALAC, ...), flac, ogg, opus,
+ wav files
+* Mpris integration (Media keys & playback info for desktop
+ environment)
diff --git a/cozy/Makefile b/cozy/Makefile
new file mode 100644
index 0000000000..51f0e97e97
--- /dev/null
+++ b/cozy/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD$
+
+DISTNAME= cozy-1.2.1
+CATEGORIES= audio
+MASTER_SITES= ${MASTER_SITE_GITHUB:=geigi/}
+GITHUB_TAG= ${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/geigi/cozy/
+COMMENT= Listen to audio books
+LICENSE= gnu-gpl-v3
+
+DEPENDS+= ${PYPKGPREFIX}-distro-[0-9]*:../../devel/py-distro
+DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
+DEPENDS+= ${PYPKGPREFIX}-mutagen-[0-9]*:../../audio/py-mutagen
+DEPENDS+= ${PYPKGPREFIX}-packaging-[0-9]*:../../devel/py-packaging
+DEPENDS+= ${PYPKGPREFIX}-peewee>=3.9.6:../../databases/py-peewee
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+DEPENDS+= desktop-file-utils-[0-9]*:../../sysutils/desktop-file-utils
+DEPENDS+= gst-plugins1-good-[0-9]*:../../multimedia/gst-plugins1-good
+DEPENDS+= gst-plugins1-libav-[0-9]*:../../multimedia/gst-plugins1-libav
+DEPENDS+= libdazzle-[0-9]*:../../devel/libdazzle
+
+USE_TOOLS+= pkg-config
+
+PY_PATCHPLIST= yes
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/glib2/schemas.mk"
+.include "../../devel/gettext-tools/msgfmt-desktop.mk"
+.include "../../devel/libhandy/buildlink3.mk"
+.include "../../devel/meson/build.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../lang/python/extension.mk"
+.include "../../lang/python/tool.mk"
+.include "../../x11/gtk4/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/cozy/PLIST b/cozy/PLIST
new file mode 100644
index 0000000000..61185dee65
--- /dev/null
+++ b/cozy/PLIST
@@ -0,0 +1,167 @@
+@comment $NetBSD$
+bin/com.github.geigi.cozy
+${PYSITELIB}/cozy/__init__.py
+${PYSITELIB}/cozy/app_controller.py
+${PYSITELIB}/cozy/application.py
+${PYSITELIB}/cozy/application_settings.py
+${PYSITELIB}/cozy/architecture/__init__.py
+${PYSITELIB}/cozy/architecture/event_sender.py
+${PYSITELIB}/cozy/architecture/observable.py
+${PYSITELIB}/cozy/architecture/profiler.py
+${PYSITELIB}/cozy/architecture/singleton.py
+${PYSITELIB}/cozy/control/__init__.py
+${PYSITELIB}/cozy/control/application_directories.py
+${PYSITELIB}/cozy/control/artwork_cache.py
+${PYSITELIB}/cozy/control/db.py
+${PYSITELIB}/cozy/control/db_updater.py
+${PYSITELIB}/cozy/control/filesystem_monitor.py
+${PYSITELIB}/cozy/control/mpris.py
+${PYSITELIB}/cozy/control/offline_cache.py
+${PYSITELIB}/cozy/control/string_representation.py
+${PYSITELIB}/cozy/db/__init__.py
+${PYSITELIB}/cozy/db/artwork_cache.py
+${PYSITELIB}/cozy/db/book.py
+${PYSITELIB}/cozy/db/collation.py
+${PYSITELIB}/cozy/db/file.py
+${PYSITELIB}/cozy/db/model_base.py
+${PYSITELIB}/cozy/db/offline_cache.py
+${PYSITELIB}/cozy/db/settings.py
+${PYSITELIB}/cozy/db/storage.py
+${PYSITELIB}/cozy/db/storage_blacklist.py
+${PYSITELIB}/cozy/db/track.py
+${PYSITELIB}/cozy/db/track_to_file.py
+${PYSITELIB}/cozy/ext/__init__.py
+${PYSITELIB}/cozy/ext/inject/LICENCE
+${PYSITELIB}/cozy/ext/inject/__init__.py
+${PYSITELIB}/cozy/ext/inject/py.typed
+${PYSITELIB}/cozy/extensions/__init__.py
+${PYSITELIB}/cozy/extensions/gtk_widget.py
+${PYSITELIB}/cozy/extensions/is_same_book.py
+${PYSITELIB}/cozy/extensions/set.py
+${PYSITELIB}/cozy/media/__init__.py
+${PYSITELIB}/cozy/media/chapter.py
+${PYSITELIB}/cozy/media/files.py
+${PYSITELIB}/cozy/media/gst_player.py
+${PYSITELIB}/cozy/media/importer.py
+${PYSITELIB}/cozy/media/media_detector.py
+${PYSITELIB}/cozy/media/media_file.py
+${PYSITELIB}/cozy/media/player.py
+${PYSITELIB}/cozy/media/tag_reader.py
+${PYSITELIB}/cozy/model/__init__.py
+${PYSITELIB}/cozy/model/book.py
+${PYSITELIB}/cozy/model/chapter.py
+${PYSITELIB}/cozy/model/database_importer.py
+${PYSITELIB}/cozy/model/library.py
+${PYSITELIB}/cozy/model/settings.py
+${PYSITELIB}/cozy/model/single_file_chapter.py
+${PYSITELIB}/cozy/model/storage.py
+${PYSITELIB}/cozy/model/track.py
+${PYSITELIB}/cozy/open_view.py
+${PYSITELIB}/cozy/power_manager.py
+${PYSITELIB}/cozy/report/__init__.py
+${PYSITELIB}/cozy/report/log_level.py
+${PYSITELIB}/cozy/report/report_to_loki.py
+${PYSITELIB}/cozy/report/reporter.py
+${PYSITELIB}/cozy/tools.py
+${PYSITELIB}/cozy/ui/__init__.py
+${PYSITELIB}/cozy/ui/app_view.py
+${PYSITELIB}/cozy/ui/book_detail_view.py
+${PYSITELIB}/cozy/ui/chapter_element.py
+${PYSITELIB}/cozy/ui/db_migration_failed_view.py
+${PYSITELIB}/cozy/ui/delete_book_view.py
+${PYSITELIB}/cozy/ui/disk_element.py
+${PYSITELIB}/cozy/ui/file_not_found_dialog.py
+${PYSITELIB}/cozy/ui/headerbar.py
+${PYSITELIB}/cozy/ui/import_failed_dialog.py
+${PYSITELIB}/cozy/ui/info_banner.py
+${PYSITELIB}/cozy/ui/library_view.py
+${PYSITELIB}/cozy/ui/list_box_row_with_data.py
+${PYSITELIB}/cozy/ui/list_box_separator_row.py
+${PYSITELIB}/cozy/ui/main_view.py
+${PYSITELIB}/cozy/ui/media_controller.py
+${PYSITELIB}/cozy/ui/media_controller_big.py
+${PYSITELIB}/cozy/ui/media_controller_small.py
+${PYSITELIB}/cozy/ui/preferences_view.py
+${PYSITELIB}/cozy/ui/search_view.py
+${PYSITELIB}/cozy/ui/warnings.py
+${PYSITELIB}/cozy/ui/widgets/ScrollWrapper.py
+${PYSITELIB}/cozy/ui/widgets/__init__.py
+${PYSITELIB}/cozy/ui/widgets/album_art.py
+${PYSITELIB}/cozy/ui/widgets/album_element.py
+${PYSITELIB}/cozy/ui/widgets/book_element.py
+${PYSITELIB}/cozy/ui/widgets/error_reporting.py
+${PYSITELIB}/cozy/ui/widgets/filter_list_box.py
+${PYSITELIB}/cozy/ui/widgets/list_box_extensions.py
+${PYSITELIB}/cozy/ui/widgets/playback_speed_popover.py
+${PYSITELIB}/cozy/ui/widgets/progress_popover.py
+${PYSITELIB}/cozy/ui/widgets/search_results.py
+${PYSITELIB}/cozy/ui/widgets/seek_bar.py
+${PYSITELIB}/cozy/ui/widgets/sleep_timer.py
+${PYSITELIB}/cozy/ui/widgets/storage_list_box_row.py
+${PYSITELIB}/cozy/ui/widgets/welcome.py
+${PYSITELIB}/cozy/ui/widgets/whats_new_importer.py
+${PYSITELIB}/cozy/ui/widgets/whats_new_library.py
+${PYSITELIB}/cozy/ui/widgets/whats_new_m4b.py
+${PYSITELIB}/cozy/ui/widgets/whats_new_m4b_chapter.py
+${PYSITELIB}/cozy/ui/widgets/whats_new_window.py
+${PYSITELIB}/cozy/version.py
+${PYSITELIB}/cozy/view.py
+${PYSITELIB}/cozy/view_model/__init__.py
+${PYSITELIB}/cozy/view_model/app_view_model.py
+${PYSITELIB}/cozy/view_model/book_detail_view_model.py
+${PYSITELIB}/cozy/view_model/headerbar_view_model.py
+${PYSITELIB}/cozy/view_model/library_view_model.py
+${PYSITELIB}/cozy/view_model/playback_control_view_model.py
+${PYSITELIB}/cozy/view_model/playback_speed_view_model.py
+${PYSITELIB}/cozy/view_model/search_view_model.py
+${PYSITELIB}/cozy/view_model/settings_view_model.py
+${PYSITELIB}/cozy/view_model/sleep_timer_view_model.py
+share/applications/com.github.geigi.cozy.desktop
+share/com.github.geigi.cozy/com.github.geigi.cozy.img.gresource
+share/com.github.geigi.cozy/com.github.geigi.cozy.ui.gresource
+share/glib-2.0/schemas/com.github.geigi.cozy.gschema.xml
+share/icons/hicolor/scalable/actions/account-symbolic.svg
+share/icons/hicolor/scalable/actions/bed-symbolic.svg
+share/icons/hicolor/scalable/actions/book-alert-symbolic.svg
+share/icons/hicolor/scalable/actions/book-open-variant-symbolic.svg
+share/icons/hicolor/scalable/actions/checkmark-symbolic.svg
+share/icons/hicolor/scalable/actions/clock-outline-symbolic.svg
+share/icons/hicolor/scalable/actions/download-symbolic.svg
+share/icons/hicolor/scalable/actions/downloaded-symbolic.svg
+share/icons/hicolor/scalable/actions/harddisk-symbolic.svg
+share/icons/hicolor/scalable/actions/info-symbolic.svg
+share/icons/hicolor/scalable/actions/message-flash-symbolic.svg
+share/icons/hicolor/scalable/actions/microphone-symbolic.svg
+share/icons/hicolor/scalable/actions/no-bed-symbolic.svg
+share/icons/hicolor/scalable/actions/papyrus-vertical-symbolic.svg
+share/icons/hicolor/scalable/actions/pause-symbolic.svg
+share/icons/hicolor/scalable/actions/play-symbolic.svg
+share/icons/hicolor/scalable/actions/playback-speed-symbolic.svg
+share/icons/hicolor/scalable/actions/settings-symbolic.svg
+share/icons/hicolor/scalable/apps/com.github.geigi.cozy.Devel.svg
+share/icons/hicolor/scalable/apps/com.github.geigi.cozy.svg
+share/icons/hicolor/symbolic/apps/com.github.geigi.cozy-symbolic.svg
+share/locale/bg/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/cs/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/da/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/de/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/el/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/es/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/fi/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/fr/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/gl/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/hi/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/hr/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/it/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/ms_MY/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/nl/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/no/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/pl/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/pt/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/pt_BR/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/ru/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/sv/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/tr/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/uk/LC_MESSAGES/com.github.geigi.cozy.mo
+share/locale/zh/LC_MESSAGES/com.github.geigi.cozy.mo
+share/metainfo/com.github.geigi.cozy.appdata.xml
diff --git a/cozy/TODO b/cozy/TODO
new file mode 100644
index 0000000000..ece1a85c72
--- /dev/null
+++ b/cozy/TODO
@@ -0,0 +1,30 @@
+Falls during startup with:
+
+['/usr/pkg/bin/com.github.geigi.cozy']
+23:49:34 [MainThread ] [applicatio] [INFO ] ('netbsd', '10.99.10', '')
+23:49:34 [MainThread ] [applicatio] [INFO ] Starting up cozy 1.2.1
+23:49:34 [MainThread ] [db ] [INFO ] SQLite version: 3.43.0
+23:49:34 [Thread-1 (ru] [peewee.sql] [INFO ] writer received shutdown request, exiting.
+23:49:34 [MainThread ] [applicatio] [INFO ] libhandy version: 1
+Traceback (most recent call last):
+ File "/usr/pkg/lib/python3.11/site-packages/cozy/application.py", line 99, in do_activate
+ self.app_controller = AppController(self, main_window_builder, self.ui)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/usr/pkg/lib/python3.11/site-packages/cozy/architecture/singleton.py", line 5, in __call__
+ cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/usr/pkg/lib/python3.11/site-packages/cozy/app_controller.py", line 52, in __init__
+ self.whats_new_window: WhatsNewWindow = WhatsNewWindow()
+ ^^^^^^^^^^^^^^^^
+ File "/usr/pkg/lib/python3.11/site-packages/cozy/ui/widgets/whats_new_window.py", line 36, in __init__
+ self._fill_window()
+ File "/usr/pkg/lib/python3.11/site-packages/cozy/ui/widgets/whats_new_window.py", line 54, in _fill_window
+ last_launched_version = version.parse(self.app_settings.last_launched_version)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/usr/pkg/lib/python3.11/site-packages/packaging/version.py", line 54, in parse
+ return Version(version)
+ ^^^^^^^^^^^^^^^^
+ File "/usr/pkg/lib/python3.11/site-packages/packaging/version.py", line 200, in __init__
+ raise InvalidVersion(f"Invalid version: '{version}'")
+packaging.version.InvalidVersion: Invalid version: 'None'
+handle exception
diff --git a/cozy/distinfo b/cozy/distinfo
new file mode 100644
index 0000000000..2bea9be9a1
--- /dev/null
+++ b/cozy/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (cozy-1.2.1.tar.gz) = 4b6ac332ee6134616644a850179c40c9c24624d9e213709cb581046c9d12d20d
+SHA512 (cozy-1.2.1.tar.gz) = db6c4a5ed47e139d87ca8a0d3c1d2681305ee565322209240e52acc1ac41c9669fb3ae06ca517d668e5f7a86319861089772b0d7b8f1aa22cfb5462913a9d3f5
+Size (cozy-1.2.1.tar.gz) = 831167 bytes
Home |
Main Index |
Thread Index |
Old Index