Date: Sun, 09 Aug 2009 13:00:03 +0400 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137591: [repocopy] move audio/xmms-uade to audio/uade and update to 2.12 Message-ID: <867hxdmkfg.fsf@gmail.com> Resent-Message-ID: <200908091250.n79Co2HC054061@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137591 >Category: ports >Synopsis: [repocopy] move audio/xmms-uade to audio/uade and update to 2.12 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 09 12:50:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 8.0-CURRENT amd64 >Organization: >Environment: >Description: Decouple xmms and uade. I for one don't use xmms player but still would like to play some AHX files using uade123. >How-To-Repeat: >Fix: Patch to apply against audio/uade after repocopy: - update to 2.12 - remove lha dependency: neither distfile contains any lha archives nor the player does support extracting lha archives - remove gtk12 dependency - implied by xmms1 - move xmms to XMMS knob - add AUDACIOUS knob; it's partially broken since audacious relies on filename extensions for input plugins. plugin.c diff gives an example where those extensions are specified. - add TEXT_SCOPE and UADEFS knobs The main site appears to be down. But the distfile is available on the net, e.g. http://mirror.gentoo.no/distfiles/uade-2.12.tar.bz2 --- uade.diff begins here --- Index: audio/uade/Makefile =================================================================== RCS file: /home/csup/ports/audio/uade/Makefile,v retrieving revision 1.34 diff -u -p -r1.34 Makefile --- audio/uade/Makefile 6 Jun 2008 13:07:18 -0000 1.34 +++ audio/uade/Makefile 9 Aug 2009 08:31:32 -0000 @@ -1,49 +1,76 @@ -# New ports collection makefile for: xmms-uade +# New ports collection makefile for: uade # Date created: 12 Oct 2002 # Whom: Martin Blapp <mbr@freebsd.org> # # $FreeBSD: ports/audio/uade/Makefile,v 1.34 2008/06/06 13:07:18 edwin Exp $ # -PORTNAME= xmms-uade -PORTVERSION= 2.05 -PORTREVISION= 2 +PORTNAME= uade +PORTVERSION= 2.12 CATEGORIES= audio MASTER_SITES= http://zakalwe.fi/uade/uade2/ \ http://critical.ch/distfiles/ -DISTNAME= uade-${PORTVERSION} MAINTAINER= mbr@FreeBSD.org -COMMENT= Unix Amiga Delitracker Emulator with XMMS Input plugin +COMMENT= Unix Amiga Delitracker Emulator -RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms -LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms \ - ao.3:${PORTSDIR}/audio/libao -BUILD_DEPENDS= lha:${PORTSDIR}/archivers/lha +LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao HAS_CONFIGURE= yes USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= gtk12 DOCSDIR= ${PREFIX}/share/doc/uade2 DATADIR= ${PREFIX}/share/uade2 CONFIGURE_ARGS= --prefix=${PREFIX} \ --mandir=${MANPREFIX}/man/man1 \ - --without-audacious --no-debug + --no-debug CONFIGURE_ENV= SYSCFLAGS='${CFLAGS}' -WRKSRC= ${WRKDIR}/uade-${PORTVERSION} - MAN1= uade123.1 -PORTDOCS= UAE-CREDITS UAE-README audio_emulation.txt design.tex \ - layers.eps layers.xfig \ +PORTDOCS= BUGS PLANS REDUNDANT_REPLAYERS UAE-CREDITS UAE-README \ + VERSION_CONTROL_TAGGING audio_emulation.txt design.tex \ + download.html faq.html layers.eps layers.xfig \ play_loop_state_diagram.dia play_loop_state_diagram.eps \ - play_loop_state_diagram.txt + play_loop_state_diagram.txt uade.html + +OPTIONS= AUDACIOUS "Audacious plugin" off \ + TEXT_SCOPE "Audio register debug mode" off \ + UADEFS "FUSE filesystem" off \ + XMMS "XMMS plugin" off .include <bsd.port.pre.mk> +.if !defined(WITHOUT_AUDACIOUS) +LIB_DEPENDS+= audclient.2:${PORTSDIR}/multimedia/audacious +PLIST_SUB+= AUDACIOUS="" +.else +CONFIGURE_ARGS+=--without-audacious +PLIST_SUB+= AUDACIOUS="@comment " +.endif + +.if !defined(WITHOUT_TEXT_SCOPE) +CONFIGURE_ARGS+=--with-text-scope +.endif + +.if !defined(WITHOUT_UADEFS) +LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs +MAN1+= uadefs.1 +PLIST_SUB+= UADEFS="" +.else +CONFIGURE_ARGS+=--without-uadefs +PLIST_SUB+= UADEFS="@comment " +.endif + +.if !defined(WITHOUT_XMMS) +LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms +PLIST_SUB+= XMMS="" +.else +CONFIGURE_ARGS+=--without-xmms +PLIST_SUB+= XMMS="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's,lib/pkgconfig,libdata/pkgconfig,' \ ${WRKSRC}/configure Index: audio/uade/distinfo =================================================================== RCS file: /home/csup/ports/audio/uade/distinfo,v retrieving revision 1.12 diff -u -p -r1.12 distinfo --- audio/uade/distinfo 22 May 2007 04:18:27 -0000 1.12 +++ audio/uade/distinfo 9 Aug 2009 08:43:55 -0000 @@ -1,3 +1,3 @@ -MD5 (uade-2.05.tar.bz2) = 5a8304ce122c0aef853a60075a83a551 -SHA256 (uade-2.05.tar.bz2) = 3c1f08d1eaa19d3381407994b5190bbd01ff97e9aaec992ddcbdfa245724eead -SIZE (uade-2.05.tar.bz2) = 2506572 +MD5 (uade-2.12.tar.bz2) = 72342daf52b43ac0c51086cdc088f25c +SHA256 (uade-2.12.tar.bz2) = 374d1bbbf3a27344e14ba275179b4286b8dde00da39d1e5488a8f41a3ae7fe7b +SIZE (uade-2.12.tar.bz2) = 2845332 Index: audio/uade/pkg-plist =================================================================== RCS file: /home/csup/ports/audio/uade/pkg-plist,v retrieving revision 1.10 diff -u -p -r1.10 pkg-plist --- audio/uade/pkg-plist 22 May 2007 04:18:27 -0000 1.10 +++ audio/uade/pkg-plist 9 Aug 2009 06:41:28 -0000 @@ -1,12 +1,18 @@ +bin/mod2ogg2.sh bin/uade123 -bin/uadexmmsadd -lib/xmms/Input/libuade2.so +%%UADEFS%%bin/uadefs +%%XMMS%%bin/uadexmmsadd +%%AUDACIOUS%%lib/audacious/Input/libuade2.so lib/uade2/uadecore +%%XMMS%%lib/xmms/Input/libuade2.so libdata/pkgconfig/uade.pc +%%DATADIR%%/eagleplayer.conf +%%DATADIR%%/players/ADPCM_mono %%DATADIR%%/players/AM-Composer %%DATADIR%%/players/AMOS %%DATADIR%%/players/AbyssHighestExperience %%DATADIR%%/players/ActionAmics +%%DATADIR%%/players/Alcatraz_Packer %%DATADIR%%/players/ArtAndMagic %%DATADIR%%/players/ArtOfNoise-4V %%DATADIR%%/players/ArtOfNoise-8V @@ -15,6 +21,7 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/BenDaglish %%DATADIR%%/players/BenDaglish-SID %%DATADIR%%/players/BladePacker +%%DATADIR%%/players/ChipTracker %%DATADIR%%/players/Cinemaware %%DATADIR%%/players/CoreDesign %%DATADIR%%/players/CustomMade @@ -66,6 +73,7 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/JasonPage_JP %%DATADIR%%/players/JeroenTel %%DATADIR%%/players/JesperOlsen +%%DATADIR%%/players/JesperOlsen_EP %%DATADIR%%/players/JochenHippel %%DATADIR%%/players/JochenHippel-7V %%DATADIR%%/players/JochenHippel-CoSo @@ -77,6 +85,7 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/Lionheart_Game %%DATADIR%%/players/MCMD %%DATADIR%%/players/MED +%%DATADIR%%/players/MIDI-Loriciel %%DATADIR%%/players/MMDC %%DATADIR%%/players/MagneticFieldsPacker %%DATADIR%%/players/MajorTom @@ -89,10 +98,12 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/MikeDavies %%DATADIR%%/players/Mugician %%DATADIR%%/players/MugicianII +%%DATADIR%%/players/MultiMedia_Sound %%DATADIR%%/players/MusicAssembler %%DATADIR%%/players/MusicMaker-4V %%DATADIR%%/players/MusicMaker-8V %%DATADIR%%/players/MusiclineEditor +%%DATADIR%%/players/NTSP-system %%DATADIR%%/players/NovoTradePacker %%DATADIR%%/players/Octa-MED %%DATADIR%%/players/Oktalyzer @@ -106,6 +117,8 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/PumaTracker %%DATADIR%%/players/QuadraComposer %%DATADIR%%/players/Quartet +%%DATADIR%%/players/Quartet_PSG +%%DATADIR%%/players/Quartet_ST %%DATADIR%%/players/RichardJoseph %%DATADIR%%/players/RiffRaff %%DATADIR%%/players/RobHubbard @@ -133,6 +146,7 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/SoundProgrammingLanguage %%DATADIR%%/players/Soundtracker-IV %%DATADIR%%/players/Special-FX +%%DATADIR%%/players/Special-FX_ST %%DATADIR%%/players/SpeedyA1System %%DATADIR%%/players/SpeedySystem %%DATADIR%%/players/SteveBarrett @@ -147,6 +161,7 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/TFMX-Pro %%DATADIR%%/players/TFMX-Pro-TFHD %%DATADIR%%/players/TFMX-TFHD +%%DATADIR%%/players/TFMX_ST %%DATADIR%%/players/TheMusicalEnlightenment %%DATADIR%%/players/ThomasHermann %%DATADIR%%/players/TimFollin @@ -156,10 +171,10 @@ libdata/pkgconfig/uade.pc %%DATADIR%%/players/VoodooSupremeSynthesizer %%DATADIR%%/players/WallyBeben %%DATADIR%%/players/YM-2149 +%%DATADIR%%/players/onEscapee +%%DATADIR%%/score %%DATADIR%%/uade.conf -%%DATADIR%%/eagleplayer.conf %%DATADIR%%/uaerc -%%DATADIR%%/score @dirrm lib/uade2 @dirrm %%DATADIR%%/players/ENV/EaglePlayer @dirrm %%DATADIR%%/players/ENV Index: audio/uade/files/patch-src-frontends-audacious-plugin.c =================================================================== RCS file: audio/uade/files/patch-src-frontends-audacious-plugin.c diff -N audio/uade/files/patch-src-frontends-audacious-plugin.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ audio/uade/files/patch-src-frontends-audacious-plugin.c 9 Aug 2009 07:16:58 -0000 @@ -0,0 +1,23 @@ +--- src/frontends/audacious/plugin.c~ ++++ src/frontends/audacious/plugin.c +@@ -75,6 +75,10 @@ static void uade_seek(int time); + + /* GLOBAL VARIABLE DECLARATIONS */ + ++static gchar *fmts[] = { ++ "ahx", NULL ++}; ++ + static InputPlugin uade_ip = { + .description = "UADE " UADE_VERSION, + .init = uade_init, +@@ -87,6 +90,9 @@ static InputPlugin uade_ip = { + .cleanup = uade_cleanup, + .get_song_info = uade_get_song_info, + .file_info_box = uade_file_info, ++#ifdef __AUDACIOUS_INPUT_PLUGIN_API__ ++ .vfs_extensions = fmts, ++#endif + }; + + #ifndef __AUDACIOUS_INPUT_PLUGIN_API__ --- uade.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867hxdmkfg.fsf>