Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569302 - sci-electronics/quartus-prime-lite -- new ebuild
Summary: sci-electronics/quartus-prime-lite -- new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Brendan Horan
URL: https://www.altera.com/products/desig...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-23 09:48 UTC by Brendan Horan
Modified: 2015-12-27 10:19 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
quartus-prime-lite-15.1.0.185.ebuild (quartus-prime-lite-15.1.0.185.ebuild,1.38 KB, text/plain)
2015-12-23 09:48 UTC, Brendan Horan
Details
Quartus-prime-megacore (Quartus-prime-megacore,101.23 KB, text/plain)
2015-12-23 09:48 UTC, Brendan Horan
Details
quartus-prime-lite-15.1.0.185.ebuild (quartus-prime-lite-15.1.0.185.ebuild,1.37 KB, text/plain)
2015-12-23 13:52 UTC, Brendan Horan
Details
quartus-prime-lite-15.1.0.185.ebuild (quartus-prime-lite-15.1.0.185.ebuild,1.41 KB, text/plain)
2015-12-25 07:00 UTC, Brendan Horan
Details
license_groups.patch (license_groups.patch,1.76 KB, patch)
2015-12-25 07:08 UTC, Brendan Horan
Details | Diff
metadata.xml (metadata.xml,230 bytes, text/xml)
2015-12-27 04:47 UTC, Brendan Horan
Details
quartus-prime-lite-15.1.0.185.ebuild (quartus-prime-lite-15.1.0.185.ebuild,1.42 KB, text/plain)
2015-12-27 08:19 UTC, Brendan Horan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brendan Horan 2015-12-23 09:48:10 UTC
Created attachment 420498 [details]
quartus-prime-lite-15.1.0.185.ebuild

Please find attached a first attempt ebuild for Altera Quartus Prime Lite 
From Altera:
Quartus Prime Lite Edition–The Quartus Prime Lite Edition provides an ideal entry point to Altera’s high-volume device families and is available as a free download with no license file required.

I seek some form of clarification on :

1)
RESTRICT="fetch bindist"

You need to register with Altrea, login and download. 
So I think that RESTRICT line is correct, however I am not 100% sure.

2) 
Adding of a new license, "Quartus-prime-megacore".
I have attached the license file as well.
This is a direct download of the license from Altera 

I also will proxy maintain this ebuild as part of the proxy-maint group.
Comment 1 Brendan Horan 2015-12-23 09:48:50 UTC
Created attachment 420500 [details]
Quartus-prime-megacore

license  attached  "Quartus-prime-megacore"
Comment 2 Brendan Horan 2015-12-23 13:52:13 UTC
Created attachment 420508 [details]
quartus-prime-lite-15.1.0.185.ebuild

Fixed :
* src_url mistake
* libpng slot syntax
* added PV to the postinst section


Checked with repo man. passed (manifest excluded)
Check with test run install. 

Uploaded new ebuild.
Comment 3 Ulrich Müller gentoo-dev 2015-12-23 15:27:41 UTC
> I seek some form of clarification on :
> 
> 1)
> RESTRICT="fetch bindist"
> 
> You need to register with Altrea, login and download. 
> So I think that RESTRICT line is correct, however I am not 100% sure.

I believe that "fetch bindist" is correct.

> 2) 
> Adding of a new license, "Quartus-prime-megacore".
> I have attached the license file as well.
> This is a direct download of the license from Altera 

This is a license agreement, so IMHO it must be added to the @EULA license group.

Disclaimer: IANAL, TINLA.
Comment 4 Matija "hook" Šuklje 2015-12-23 17:11:28 UTC
(In reply to Ulrich Müller from comment #3)
> This is a license agreement, so IMHO it must be added to the @EULA license
> group.

After a quick glimpse at the attached file to me as well it looks restrictive enough to fall under @EULA instead.
Comment 5 Brendan Horan 2015-12-24 01:24:12 UTC
(In reply to Matija "hook" Šuklje from comment #4)
> (In reply to Ulrich Müller from comment #3)
> > This is a license agreement, so IMHO it must be added to the @EULA license
> > group.
> 
> After a quick glimpse at the attached file to me as well it looks
> restrictive enough to fall under @EULA instead.


I am not 100% sure what I need to do here, but I am going to have a crack at it.

1)
Add "Quartus-prime-megacore" to the file "/usr/portage/profiles/license_groups"
Append to line "EULA" line

2) 
Add the following to the ebuild
LICENSE="Quartus-prime-megacore"

3)
Place a copy of "Quartus-prime-megacore" under "/usr/portage/licenses/"


Are the above steps correct? 
If not please point me in the right direction.



Also thanks Ulrich Müller for the clarification on "RESTRICT"
Comment 6 Ulrich Müller gentoo-dev 2015-12-24 08:46:24 UTC
(In reply to Brendan Horan from comment #5)
> 1)
> Add "Quartus-prime-megacore" to the file
> "/usr/portage/profiles/license_groups"
> Append to line "EULA" line

Insert, not append. We keep the lines in alphabetical order.

> 2) 
> Add the following to the ebuild
> LICENSE="Quartus-prime-megacore"
> 
> 3)
> Place a copy of "Quartus-prime-megacore" under "/usr/portage/licenses/"
> 
> 
> Are the above steps correct? 

They are, but should be done in order 3) 1) 2).
Comment 7 Brendan Horan 2015-12-24 08:51:22 UTC
(In reply to Ulrich Müller from comment #6)
> (In reply to Brendan Horan from comment #5)
> > 1)
> > Add "Quartus-prime-megacore" to the file
> > "/usr/portage/profiles/license_groups"
> > Append to line "EULA" line
> 
> Insert, not append. We keep the lines in alphabetical order.
> 
> > 2) 
> > Add the following to the ebuild
> > LICENSE="Quartus-prime-megacore"
> > 
> > 3)
> > Place a copy of "Quartus-prime-megacore" under "/usr/portage/licenses/"
> > 
> > 
> > Are the above steps correct? 
> 
> They are, but should be done in order 3) 1) 2).

Thank you! :)


Last question, for the name of the license "Quartus-prime-megacore".
Is that OK? or should I change it to "Quartus-prime-megacore-EULA" ?
Is there some standard of the name ?
Comment 8 Ulrich Müller gentoo-dev 2015-12-24 09:33:10 UTC
(In reply to Brendan Horan from comment #7)
> Last question, for the name of the license "Quartus-prime-megacore".
> Is that OK? or should I change it to "Quartus-prime-megacore-EULA" ?
> Is there some standard of the name ?

The name is OK. For free software licenses we are loosely geared to the names listed at http://spdx.org/licenses/, but for the nonfree ones we don't have a standard.
Comment 9 Brendan Horan 2015-12-25 07:00:07 UTC
Created attachment 420710 [details]
quartus-prime-lite-15.1.0.185.ebuild

Added updated ebuild. 
Added license.
Comment 10 Brendan Horan 2015-12-25 07:08:28 UTC
Created attachment 420712 [details, diff]
license_groups.patch

Patch to add the "Quartus-prime-megacore" license into "/usr/portage/profiles/license_groups".
Comment 11 Brendan Horan 2015-12-27 04:47:49 UTC
Created attachment 420926 [details]
metadata.xml

Attached metadata.xml
Comment 12 Brendan Horan 2015-12-27 08:19:11 UTC
Created attachment 420928 [details]
quartus-prime-lite-15.1.0.185.ebuild

Fixed line length issues.
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2015-12-27 10:19:25 UTC
commit 511f0ae95ef4e3a44c74a045f1c55d46270d21cc
Author: Ian Delaney <idella4@gentoo.org>
Date:   Sun Dec 27 17:46:29 2015 +0800

    sci-electronics/quartus-prime-lite: New package to be maintained by 'undersys'
    
    ebuild  by undersys and will be proxy maintainer under management of
    the proxy-maintainers project:
    - comes with a new license entitled "Quartus-prime-megacore", checked and
    endorsed by license team,
    - license is of type EULA and has been added to license groups accordingly,
    - this is a binary packagem installs into /opt,
    - user need d'load tarball separately, restrict set with fetch & bindinst,
    - ebuild prepared and reviewd by members of proxy maintaines & ulm
    - all ebuild revisions and patches submitted via the gentoo bug
    
    Gentoo bug :#569302