Bug 244422 - [NEW PORT] audio/audacity-devel Create new development version of audacity
Summary: [NEW PORT] audio/audacity-devel Create new development version of audacity
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-26 00:59 UTC by Jack
Modified: 2020-03-10 07:32 UTC (History)
3 users (show)

See Also:
xxjack12xx: maintainer-feedback+


Attachments
patch to create development audacity port (26.74 KB, text/plain)
2020-02-26 00:59 UTC, Jack
no flags Details
Update to newer revision with a bug fix (26.74 KB, patch)
2020-02-26 08:32 UTC, Jack
xxjack12xx: maintainer-approval+
xxjack12xx: maintainer-approval+
Details | Diff
Correct portname and distname so version is a datestamp (26.79 KB, patch)
2020-02-26 21:16 UTC, Jack
xxjack12xx: maintainer-approval+
Details | Diff
Previous patch was wrong attachment, this is the correct naming (26.79 KB, patch)
2020-02-26 21:18 UTC, Jack
xxjack12xx: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2020-02-26 00:59:07 UTC
Created attachment 211942 [details]
patch to create development audacity port

Create a new development version of audacity based on git commit tags.
Comment 1 Jack 2020-02-26 08:32:37 UTC
Created attachment 211947 [details]
Update to newer revision with a bug fix
Comment 2 Jack 2020-02-26 21:16:27 UTC
Created attachment 211963 [details]
Correct portname and distname so version is a datestamp
Comment 3 Jack 2020-02-26 21:18:58 UTC
Created attachment 211965 [details]
Previous patch was wrong attachment, this is the correct naming
Comment 4 Tobias C. Berner freebsd_committer 2020-03-08 16:12:13 UTC
Moin moin 

Could you please update the patch to follow the order described in 
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-order.html


mfg Tobias
Comment 5 Jack 2020-03-09 19:10:48 UTC
I'll work on fixing that and uploading a new one.
Comment 6 Jack 2020-03-10 01:56:39 UTC
How can I make something like this work with the tar being something like a9658e6 but the version should be a datestamp?
Comment 7 Tatsuki Makino 2020-03-10 04:20:04 UTC
(In reply to Jack from comment #6)
Do you have full clone of repository?
You can get the number of commits from the tag with the following command.

ec00a73 (attachment 211965 [details])
> git describe --tags --long ec00a73
Audacity-2.3.3-819-gec00a7352

a9658e6
> git describe --tags --long a9658e6
Audacity-2.3.3-866-ga9658e6ef

7217ee170 (now)
> git describe --tags --long
Audacity-2.3.3-890-g7217ee170

And combined with the following variables?

DISTVERSIONPREFIX= Audacity-
DISTVERSION= 2.3.3-866
DISTVERSIONSUFFIX= -ga9658e6ef
USE_GITHUB= yes
GH_ACCOUNT= audacity
GH_PROJECT= audacity

By the way, do you need to fork?
Shouldn't it be applied to audio/audacity as it is?
Because if I use the following command, I get backtrace.
lldb -o r -o bt -o q -- `which \audacity`
Comment 8 Jack 2020-03-10 07:32:24 UTC
I'm trying to make a -devel version and add a CONFLICT with audacity so development stuff can be tested on FreeBSD before they do a release (The current release version keeps crashing and want to avoid that in the next releases).

I'll do some tests and see if I can get it to work with your suggestions, thanks!