Bug 152698 - New port: lang/dmd2 D 2.0 compiler, built from source
Summary: New port: lang/dmd2 D 2.0 compiler, built from source
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: Cy Schubert
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-30 07:10 UTC by Ruben
Modified: 2011-01-03 22:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruben 2010-11-30 07:10:11 UTC
I have packaged the official D 2.0 compiler, dmd, for FreeBSD ports, including the Phobos 2.0 standard library.  As with D 1.0, most of the source is under either the Artistic or Boost or zlib license, but the source for the compiler backend requires permission for redistribution:

"The Software is copyrighted and comes with a single user license, and may not be redistributed. If you wish to obtain a redistribution license, please contact Digital Mars."

I contacted the author, Walter Bright, and he said it would be okay include dmd 2.0 in ports, as long as it's marked as unofficial and not validated to work well on FreeBSD.  I'll ask him what redistribution setup he will allow for this port and post his preferences here.

http://hybridsource.org/dmd2.shar.txt
Comment 1 Ruben 2010-12-01 15:17:46 UTC
Mr. Bright gave his okay.  The port is currently configured to mirror 
his zip file and to distribute our own source-built FreeBSD binary 
packages.  Since the port is clearly marked as not officially validated, 
this should be fine.

On 11/30/2010 18:48, Walter Bright wrote:
> Looks good to me. Thanks! -Walter
>
> Ruben wrote:
>> Hello, I've packaged up dmd 2.0 for FreeBSD ports, as mentioned earlier:
>>
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=152698
>>
>> I renamed the dmd and dmd.conf files to dmd2 and dmd2.conf, so that
>> they can be installed easily alongside dmd 1.0. Also, I just noticed a
>> typo in the dmd.conf.5 man page that is distributed with both dmd 1
>> and 2, which I fixed in the port: I replaced a '\BR' with '.BR'. As
>> before, we will need permission to
>>
>> 1. Redistribute the dmd 2.0 zip file, either on a mirror or paid CD
>> 2. Distribute a FreeBSD binary package built from source, either from
>> a mirror or on a paid CD
>>
>> As you can see in the text file linked from that page, I've marked the
>> port as unofficial, since it hasn't been tested or validated. Please
>> let me know if this configuration matches your preferences.
>>
>> On 11/24/2010 19:36, Ruben wrote:
>>> On 11/25/2010 02:21, Walter Bright wrote:
>>>> You can use my last reply as the public response, and post it.
>>> Will do.
>>>
>>>> D2 for FreeBSD has not been tested and validated. It is not simply a
>>>> matter of compiling it. I'd rather it was not included for that reason,
>>>> or be clearly marked as unofficial, not tested or validated.
>>> I'll mark it as unofficial and mention that it has not been tested or
>>> validated. I'll CC you when I get that port written up.
>>
>>
Comment 2 Cy Schubert freebsd_committer freebsd_triage 2010-12-28 02:07:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cy

Assign to myself.
Comment 3 Cy Schubert 2010-12-28 04:01:23 UTC
Hi Walter,

My name is Cy Schubert, a developer at FreeBSD.org (www.FreeBSD.org). I'd 
like to inform you that I've assigned the task of adding D2 to the FreeBSD 
ports collection (CVS tree). Before I commit it, I would like to verify 
that it would be OK to include DMD 2.x in the FreeBSD ports collection.

A copy of the PR (problem report) can be found at http://www.freebsd.org/cgi
/query-pr.cgi?pr=ports/152698.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0
Comment 4 Cy Schubert 2010-12-28 04:15:07 UTC
Hi Ruben,

Our best approach to committing this port is to ask portmgr 
(portmgr@freebsd.org) to repocopy (physically copy) the repository files in 
the CVS tree from ports/lang/dmd to ports/lang/dmd2, then apply the diff 
between dmd and dmd2 to dmd2 in the repository thereby historically linking 
dmd2 back to dmd. I'll submit a PR to  portmgr to do the deed after which 
I'll commit the port.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0
Comment 5 Cy Schubert 2010-12-29 00:49:11 UTC
I'm speaking of the ports tree infrastructure files (Makefile, pkg-plist, 
pkg-descr, and distinfo), not the original source.


-- 
Cheers,
Cy Schubert <Cy.Schubert@komquats.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

			e**(i*pi)+1=0


Cy Schubert writes:
> Hi Ruben,
> 
> Our best approach to committing this port is to ask portmgr 
> (portmgr@freebsd.org) to repocopy (physically copy) the repository files in 
> the CVS tree from ports/lang/dmd to ports/lang/dmd2, then apply the diff 
> between dmd and dmd2 to dmd2 in the repository thereby historically linking 
> dmd2 back to dmd. I'll submit a PR to  portmgr to do the deed after which 
> I'll commit the port.
> 
> 
> -- 
> Cheers,
> Cy Schubert <Cy.Schubert@komquats.com>
> FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org
> 
> 			e**(i*pi)+1=0
> 
>
Comment 6 Cy Schubert freebsd_committer freebsd_triage 2011-01-03 22:01:20 UTC
State Changed
From-To: open->closed

Thanks. The port has been committed.
Comment 7 dfilter service freebsd_committer freebsd_triage 2011-01-03 22:07:53 UTC
cy          2011-01-03 22:07:48 UTC

  FreeBSD ports repository

  Modified files:
    lang/dmd2            Makefile distinfo pkg-descr pkg-plist 
  Added files:
    lang/dmd2/files      patch-druntime-src-core-stdc-math.d 
                         patch-phobos-std-c-freebsd-socket.d 
  Log:
  Welcome to the new Digital Mars D Version 2 port.
  
  As per PR ports/152698 this port is not an officially validated
  distribution of Digital Mars D by the upline author of the software,
  Walter Bright.
  
  PR:             152698
  Submitted by:   Ruben <chromium@hybridsource.org>
  
  Revision  Changes    Path
  1.4       +50 -63    ports/lang/dmd2/Makefile
  1.3       +2 -2      ports/lang/dmd2/distinfo
  1.1       +11 -0     ports/lang/dmd2/files/patch-druntime-src-core-stdc-math.d (new)
  1.1       +80 -0     ports/lang/dmd2/files/patch-phobos-std-c-freebsd-socket.d (new)
  1.3       +8 -1      ports/lang/dmd2/pkg-descr
  1.3       +223 -155  ports/lang/dmd2/pkg-plist
_______________________________________________
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"
Comment 8 dfilter service freebsd_committer freebsd_triage 2011-01-03 22:10:25 UTC
cy          2011-01-03 22:10:20 UTC

  FreeBSD ports repository

  Modified files:
    lang                 Makefile 
  Log:
  Add Digital Mars D version 2 to ports.
  
  PR:             152698
  
  Revision  Changes    Path
  1.712     +1 -0      ports/lang/Makefile
_______________________________________________
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"