Bug 146432 - [new port] audio/libgme: a collection of video game music emulators
Summary: [new port] audio/libgme: a collection of video game music emulators
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 14:20 UTC by swell.k
Modified: 2010-05-10 06:50 UTC (History)
0 users

See Also:


Attachments
a.diff (3.23 KB, patch)
2010-05-09 14:20 UTC, swell.k
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description swell.k 2010-05-09 14:20:07 UTC
Feel free to substitute maintainership.

from WWW:

Game_Music_Emu is a collection of video game music file emulators that
support the following formats and systems:

AY             ZX Spectrum/Amstrad CPC
GBS            Nintendo Game Boy
GYM            Sega Genesis/Mega Drive
HES            NEC TurboGrafx-16/PC Engine
KSS            MSX Home Computer/other Z80 systems (doesn't support FM sound)
NSF/NSFE       Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
SAP            Atari systems using POKEY sound chip
SPC            Super Nintendo/Super Famicom
VGM/VGZ        Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro

Features:

    * Can be used in C and C++ code
    * High emphasis has been placed on making the library very easy to use
    * One set of common functions work with all emulators the same way
    * Several code examples, including music player using SDL
    * Portable code for use on any system with modern or older C++ compilers
    * Adjustable output sample rate using quality band-limited resampling
    * Uniform access to text information fields and track timing information
    * End-of-track fading and automatic look ahead silence detection
    * Treble/bass and stereo echo for AY/GBS/HES/KSS/NSF/NSFE/SAP/VGM
    * Tempo can be adjusted and individual voices can be muted while playing
    * Can read music data from file, memory, or custom reader function/class
    * Can access track information without having to load into full emulator
    * M3U track listing support for multi-track formats
    * Modular design allows elimination of unneeded emulators/features
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2010-05-09 14:26:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2010-05-10 03:15:56 UTC
State Changed
From-To: open->feedback

please read the porterhandbook how you have to submit a new port!
Comment 3 Mark Linimon 2010-05-10 04:55:18 UTC
----- Forwarded message from Anonymous <swell.k@gmail.com> -----

From: Anonymous <swell.k@gmail.com>
To: miwi@FreeBSD.org
Cc: freebsd-ports-bugs@freebsd.org
Subject: Re: ports/146432: [new port] audio/libgme: a collection of video
	game music emulators

> State-Changed-From-To: open->feedback
> State-Changed-By: miwi
> State-Changed-When: Mon May 10 02:15:56 UTC 2010
> State-Changed-Why: 
> please read the porterhandbook how you have to submit a new port!

Can you be more specific what you don't like? `portlint -C' doesn't
spout any errors except for extra blank line after header that I forgot
to remove. I'm all ears to anything other than archive format[1].

--
[1] I've yet to hear from you why .diff's are inferior to .shar's
    since ports/137751. Porters Handbook doesn't say it should be
    strictly followed by letter but is a collection of guidelines.
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"

----- End forwarded message -----
Comment 4 swell.k 2010-05-10 05:03:53 UTC
Here is a redundant shar archive without extra blank line.
Forgot to attach to previous message.

--- a.shar begins here ---
#!/bin/sh
# This is a shell archive
echo x audio/libgme
mkdir -p audio/libgme > /dev/null 2>&1
echo x audio/libgme/pkg-plist
sed 's/^X//' > audio/libgme/pkg-plist << 'SHAR_END'
Xinclude/gme/Blip_Buffer.h
Xinclude/gme/Classic_Emu.h
Xinclude/gme/Data_Reader.h
Xinclude/gme/Dual_Resampler.h
Xinclude/gme/Effects_Buffer.h
Xinclude/gme/Fir_Resampler.h
Xinclude/gme/Gme_File.h
Xinclude/gme/M3u_Playlist.h
Xinclude/gme/Multi_Buffer.h
Xinclude/gme/Music_Emu.h
Xinclude/gme/blargg_common.h
Xinclude/gme/blargg_config.h
Xinclude/gme/blargg_source.h
Xinclude/gme/gme.h
Xinclude/gme/gme_types.h
Xlib/libgme.so
Xlib/libgme.so.0
Xlib/libgme.so.0.5.3
X@dirrm include/gme
SHAR_END
echo x audio/libgme/pkg-descr
sed 's/^X//' > audio/libgme/pkg-descr << 'SHAR_END'
XGame_Music_Emu is a collection of video game music file emulators that support
Xthe following formats and systems:
X
XAY       ZX Spectrum/Amstrad CPC
XGBS      Nintendo Game Boy
XGYM      Sega Genesis/Mega Drive
XHES      NEC TurboGrafx-16/PC Engine
XKSS      MSX Home Computer/other Z80 systems (doesn't support FM sound)
XNSF/NSFE Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
XSAP      Atari systems using POKEY sound chip
XSPC      Super Nintendo/Super Famicom
XVGM/VGZ  Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
X
XWWW: http://code.google.com/p/game-music-emu/
SHAR_END
echo x audio/libgme/Makefile
sed 's/^X//' > audio/libgme/Makefile << 'SHAR_END'
X# New ports collection makefile for:	libgme
X# Date created:				9 May 2010
X# Whom:					Anonymous
X#
X# $FreeBSD$
X#
X
XPORTNAME=	libgme
XPORTVERSION=	0.5.5
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
XDISTNAME=	game-music-emu-${PORTVERSION}
XEXTRACT_SUFX=	.tbz2
X
XMAINTAINER=	swell.k@gmail.com
XCOMMENT=	A collection of video game music emulators
X
XUSE_BZIP2=	yes
XUSE_CMAKE=	yes
XUSE_LDCONFIG=	yes
X
X.include <bsd.port.mk>
SHAR_END
echo x audio/libgme/distinfo
sed 's/^X//' > audio/libgme/distinfo << 'SHAR_END'
XMD5 (game-music-emu-0.5.5.tbz2) = 94459001a763fb76209a550a03b7949e
XSHA256 (game-music-emu-0.5.5.tbz2) = ecb3586aac9feff2b3141167835f73da0c997efbdd32e559f99477ad01e19089
XSIZE (game-music-emu-0.5.5.tbz2) = 161954
SHAR_END
exit
--- a.shar ends here ---
Comment 5 Martin Wilke freebsd_committer freebsd_triage 2010-05-10 06:01:53 UTC
State Changed
From-To: feedback->open

got a shar.
Comment 6 Martin Wilke freebsd_committer freebsd_triage 2010-05-10 06:02:43 UTC
State Changed
From-To: open->feedback

fails to fetch 
http://32bit.miwibox.org/index.php?action=describe_port&id=2015 .
Comment 7 swell.k 2010-05-10 06:18:32 UTC
I've changed PORTNAME and forgot to test fetch target. Here is a fix
--- a.diff begins here ---
--- Makefile~
+++ Makefile
@@ -9,12 +9,13 @@ PORTNAME=	libgme
 PORTVERSION=	0.5.5
 CATEGORIES=	audio
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
-DISTNAME=	game-music-emu-${PORTVERSION}
+DISTNAME=	${PROJECTHOST}-${PORTVERSION}
 EXTRACT_SUFX=	.tbz2
 
 MAINTAINER=	swell.k@gmail.com
 COMMENT=	A collection of video game music emulators
 
+PROJECTHOST=	game-music-emu
 USE_BZIP2=	yes
 USE_CMAKE=	yes
 USE_LDCONFIG=	yes
--- a.diff ends here ---
Comment 8 Martin Wilke freebsd_committer freebsd_triage 2010-05-10 06:47:37 UTC
State Changed
From-To: feedback->closed

New port added. Thanks!
Comment 9 dfilter service freebsd_committer freebsd_triage 2010-05-10 06:48:02 UTC
miwi        2010-05-10 05:47:48 UTC

  FreeBSD ports repository

  Modified files:
    audio                Makefile 
  Added files:
    audio/libgme         Makefile distinfo pkg-descr pkg-plist 
  Log:
  Game_Music_Emu is a collection of video game music file emulators that support
  the following formats and systems:
  
  AY       ZX Spectrum/Amstrad CPC
  GBS      Nintendo Game Boy
  GYM      Sega Genesis/Mega Drive
  HES      NEC TurboGrafx-16/PC Engine
  KSS      MSX Home Computer/other Z80 systems (doesn't support FM sound)
  NSF/NSFE Nintendo NES/Famicom (with VRC 6, Namco 106, and FME-7 sound)
  SAP      Atari systems using POKEY sound chip
  SPC      Super Nintendo/Super Famicom
  VGM/VGZ  Sega Master System/Mark III, Sega Genesis/Mega Drive,BBC Micro
  
  WWW: http://code.google.com/p/game-music-emu/
  
  PR:             ports/146432
  Submitted by:   Anonymous
  
  Revision  Changes    Path
  1.1105    +1 -0      ports/audio/Makefile
  1.1       +23 -0     ports/audio/libgme/Makefile (new)
  1.1       +3 -0      ports/audio/libgme/distinfo (new)
  1.1       +14 -0     ports/audio/libgme/pkg-descr (new)
  1.1       +19 -0     ports/audio/libgme/pkg-plist (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"