From 1961c9cd967c9cda20a8e815786123fecd5d684a Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Sat, 25 Jun 2005 16:54:04 +0000 Subject: [PATCH] - Add sysutils/serpentine Gnome application for writing CD-Audio discs. It aims for simplicity, usability and compability. Its features are: o Supports multiple formats files, like WAV, MP3, OGG, FLAC and every other gstreamer does o Save and open PLS, M3U and XSPF playlists o Extracts audio from video contents, like an MPEG video o Uses audio metadata for better handling o Supports drag and drop: drop musics directly from Rhythmbox or Nautilus! o Clean and easy to use interface o Easy integration with other applications WWW: http://s1x.homelinux.net/projects/serpentine There is probably a better way for handling os.statfs on FreeBSD than the way I did, but this works. Patches welcome =) --- sysutils/Makefile | 1 + sysutils/serpentine/Makefile | 29 +++++++ sysutils/serpentine/distinfo | 2 + .../files/patch-serpentine_common.py | 14 ++++ sysutils/serpentine/pkg-descr | 13 ++++ sysutils/serpentine/pkg-plist | 78 +++++++++++++++++++ 6 files changed, 137 insertions(+) create mode 100644 sysutils/serpentine/Makefile create mode 100644 sysutils/serpentine/distinfo create mode 100644 sysutils/serpentine/files/patch-serpentine_common.py create mode 100644 sysutils/serpentine/pkg-descr create mode 100644 sysutils/serpentine/pkg-plist diff --git a/sysutils/Makefile b/sysutils/Makefile index 9fa8b0ed0d0e..650d46d79d5a 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -430,6 +430,7 @@ SUBDIR += scan_ffs SUBDIR += sdd SUBDIR += sec + SUBDIR += serpentine SUBDIR += service-config SUBDIR += setcdboot SUBDIR += setquota diff --git a/sysutils/serpentine/Makefile b/sysutils/serpentine/Makefile new file mode 100644 index 000000000000..4cd4a0acad1b --- /dev/null +++ b/sysutils/serpentine/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: serpentine +# Date created: 2005-06-25 +# Whom: Michael Johnson +# +# $FreeBSD$ +# + +PORTNAME= serpentine +PORTVERSION= 0.6.1 +CATEGORIES= sysutils +MASTER_SITES= http://download.berlios.de/${PORTNAME}/ + +MAINTAINER= ahze@FreeBSD.org +COMMENT= Gnome Audio Cd Buner + +BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \ + xmlproc_parse:${PORTSDIR}/textproc/py-xml +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gst/__init__.py:${PORTSDIR}/multimedia/py-gstreamer \ + xmlproc_parse:${PORTSDIR}/textproc/py-xml + +USE_X_PREFIX= yes +USE_BZIP2= yes +GNU_CONFIGURE= yes +USE_GNOME= pygnomeextras +USE_GMAKE= yes +USE_GSTREAMER= core +USE_PYTHON= 2.4+ + +.include diff --git a/sysutils/serpentine/distinfo b/sysutils/serpentine/distinfo new file mode 100644 index 000000000000..70f8effb6a1d --- /dev/null +++ b/sysutils/serpentine/distinfo @@ -0,0 +1,2 @@ +MD5 (serpentine-0.6.1.tar.bz2) = d0235e5d13e70d9c8e0c3de928db7709 +SIZE (serpentine-0.6.1.tar.bz2) = 108140 diff --git a/sysutils/serpentine/files/patch-serpentine_common.py b/sysutils/serpentine/files/patch-serpentine_common.py new file mode 100644 index 000000000000..e62dfd0826a1 --- /dev/null +++ b/sysutils/serpentine/files/patch-serpentine_common.py @@ -0,0 +1,14 @@ +--- serpentine/common.py.orig Sat Jun 25 12:39:33 2005 ++++ serpentine/common.py Sat Jun 25 12:40:00 2005 +@@ -111,9 +111,9 @@ + + # Now check if cache location is ok + try: +- s = os.statvfs (preferences.temporary_dir) ++ s = os.statvfs ("/var/tmp") + # Raise exception if temporary dir is not ok +- assert preferences.temporary_dir_is_ok ++ # assert preferences.temporary_dir_is_ok + except OSError, AssertionError: + raise SerpentineCacheError (SerpentineCacheError.INVALID, "Please " \ + "check if the cache location exists and " \ diff --git a/sysutils/serpentine/pkg-descr b/sysutils/serpentine/pkg-descr new file mode 100644 index 000000000000..7a0aae597090 --- /dev/null +++ b/sysutils/serpentine/pkg-descr @@ -0,0 +1,13 @@ +Gnome application for writing CD-Audio discs. It aims for simplicity, +usability and compability. Its features are: + + o Supports multiple formats files, like WAV, MP3, OGG, FLAC and every other + gstreamer does + o Save and open PLS, M3U and XSPF playlists + o Extracts audio from video contents, like an MPEG video + o Uses audio metadata for better handling + o Supports drag and drop: drop musics directly from Rhythmbox or Nautilus! + o Clean and easy to use interface + o Easy integration with other applications + +WWW: http://s1x.homelinux.net/projects/serpentine diff --git a/sysutils/serpentine/pkg-plist b/sysutils/serpentine/pkg-plist new file mode 100644 index 000000000000..50b2069305ba --- /dev/null +++ b/sysutils/serpentine/pkg-plist @@ -0,0 +1,78 @@ +bin/serpentine +%%PYTHON_SITELIBDIR%%/serpentine/__init__.py +%%PYTHON_SITELIBDIR%%/serpentine/__init__.pyc +%%PYTHON_SITELIBDIR%%/serpentine/__init__.pyo +%%PYTHON_SITELIBDIR%%/serpentine/audio.py +%%PYTHON_SITELIBDIR%%/serpentine/audio.pyc +%%PYTHON_SITELIBDIR%%/serpentine/audio.pyo +%%PYTHON_SITELIBDIR%%/serpentine/common.py +%%PYTHON_SITELIBDIR%%/serpentine/common.pyc +%%PYTHON_SITELIBDIR%%/serpentine/common.pyo +%%PYTHON_SITELIBDIR%%/serpentine/components.py +%%PYTHON_SITELIBDIR%%/serpentine/components.pyc +%%PYTHON_SITELIBDIR%%/serpentine/components.pyo +%%PYTHON_SITELIBDIR%%/serpentine/constants.py +%%PYTHON_SITELIBDIR%%/serpentine/constants.pyc +%%PYTHON_SITELIBDIR%%/serpentine/constants.pyo +%%PYTHON_SITELIBDIR%%/serpentine/converting.py +%%PYTHON_SITELIBDIR%%/serpentine/converting.pyc +%%PYTHON_SITELIBDIR%%/serpentine/converting.pyo +%%PYTHON_SITELIBDIR%%/serpentine/export.py +%%PYTHON_SITELIBDIR%%/serpentine/export.pyc +%%PYTHON_SITELIBDIR%%/serpentine/export.pyo +%%PYTHON_SITELIBDIR%%/serpentine/gaw.py +%%PYTHON_SITELIBDIR%%/serpentine/gaw.pyc +%%PYTHON_SITELIBDIR%%/serpentine/gaw.pyo +%%PYTHON_SITELIBDIR%%/serpentine/gdkpiechart.py +%%PYTHON_SITELIBDIR%%/serpentine/gdkpiechart.pyc +%%PYTHON_SITELIBDIR%%/serpentine/gdkpiechart.pyo +%%PYTHON_SITELIBDIR%%/serpentine/gtkutil.py +%%PYTHON_SITELIBDIR%%/serpentine/gtkutil.pyc +%%PYTHON_SITELIBDIR%%/serpentine/gtkutil.pyo +%%PYTHON_SITELIBDIR%%/serpentine/mainwindow.py +%%PYTHON_SITELIBDIR%%/serpentine/mainwindow.pyc +%%PYTHON_SITELIBDIR%%/serpentine/mainwindow.pyo +%%PYTHON_SITELIBDIR%%/serpentine/mastering.py +%%PYTHON_SITELIBDIR%%/serpentine/mastering.pyc +%%PYTHON_SITELIBDIR%%/serpentine/mastering.pyo +%%PYTHON_SITELIBDIR%%/serpentine/operations.py +%%PYTHON_SITELIBDIR%%/serpentine/operations.pyc +%%PYTHON_SITELIBDIR%%/serpentine/operations.pyo +%%PYTHON_SITELIBDIR%%/serpentine/plugins/__init__.py +%%PYTHON_SITELIBDIR%%/serpentine/plugins/__init__.pyc +%%PYTHON_SITELIBDIR%%/serpentine/plugins/__init__.pyo +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_dir.py +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_dir.pyc +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_dir.pyo +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_plparser.py +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_plparser.pyc +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_plparser.pyo +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_plsave.py +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_plsave.pyc +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_plsave.pyo +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_xspf.py +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_xspf.pyc +%%PYTHON_SITELIBDIR%%/serpentine/plugins/plugfilter_xspf.pyo +%%PYTHON_SITELIBDIR%%/serpentine/preferences.py +%%PYTHON_SITELIBDIR%%/serpentine/preferences.pyc +%%PYTHON_SITELIBDIR%%/serpentine/preferences.pyo +%%PYTHON_SITELIBDIR%%/serpentine/recording.py +%%PYTHON_SITELIBDIR%%/serpentine/recording.pyc +%%PYTHON_SITELIBDIR%%/serpentine/recording.pyo +%%PYTHON_SITELIBDIR%%/serpentine/release.py +%%PYTHON_SITELIBDIR%%/serpentine/release.pyc +%%PYTHON_SITELIBDIR%%/serpentine/release.pyo +%%PYTHON_SITELIBDIR%%/serpentine/services.py +%%PYTHON_SITELIBDIR%%/serpentine/services.pyc +%%PYTHON_SITELIBDIR%%/serpentine/services.pyo +%%PYTHON_SITELIBDIR%%/serpentine/xspf.py +%%PYTHON_SITELIBDIR%%/serpentine/xspf.pyc +%%PYTHON_SITELIBDIR%%/serpentine/xspf.pyo +share/applications/serpentine.desktop +%%DATADIR%%/serpentine.glade +@dirrm %%DATADIR%% +@unexec rmdir %D/share/applications 2> /dev/null || true +@dirrm %%PYTHON_SITELIBDIR%%/serpentine/plugins +@dirrm %%PYTHON_SITELIBDIR%%/serpentine +@unexec rmdir %D/%%PYTHON_SITELIBDIR%% 2> /dev/null || true +@unexec rmdir %D/%%PYTHON_LIBDIR%% 2> /dev/null || true