Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60960 - [New package] dev-util/premake
Summary: [New package] dev-util/premake
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement with 1 vote (vote)
Assignee: Ryan Hill (RETIRED)
URL:
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
: 123366 (view as bug list)
Depends on:
Blocks: 71086 163007 278541
  Show dependency tree
 
Reported: 2004-08-19 16:15 UTC by Martin Honermeyer
Modified: 2011-03-10 12:38 UTC (History)
10 users (show)

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


Attachments
premake-1.9.ebuild (premake-1.9.ebuild,685 bytes, text/plain)
2004-08-19 16:16 UTC, Martin Honermeyer
Details
premake-1.9.ebuild (premake-1.9.ebuild,560 bytes, text/plain)
2004-08-19 17:37 UTC, Martin Honermeyer
Details
cs-buildoptions-1.9.diff (cs-buildoptions-1.9.diff,516 bytes, patch)
2004-08-19 17:42 UTC, Martin Honermeyer
Details | Diff
premake-3.0.ebuild (premake-3.0.ebuild,420 bytes, text/plain)
2006-02-19 05:16 UTC, Radek Podgorny
Details
premake-3.1_rc2.ebuild (premake-3.1_rc2.ebuild,422 bytes, text/plain)
2006-02-19 06:10 UTC, Radek Podgorny
Details
premake-2.4.ebuild (premake-2.4.ebuild,420 bytes, text/plain)
2006-02-19 08:18 UTC, Radek Podgorny
Details
Ebuild for premake 3.6 (premake-3.6.ebuild,597 bytes, text/plain)
2008-08-31 23:29 UTC, Kevin
Details
ebuild file for the final version in the 3.x line (premake-3.7.ebuild,597 bytes, text/plain)
2009-06-16 22:04 UTC, Kevin
Details
premake-4.1.1.ebuild (premake-4.1.1.ebuild,972 bytes, text/plain)
2009-09-30 20:14 UTC, Jacek Szafarkiewicz
Details
premake-4.1.2.ebuild (premake-4.1.2.ebuild,1.36 KB, text/plain)
2009-10-02 23:55 UTC, Ryan Hill (RETIRED)
Details
premake-4.1.2-Makefile.patch (premake-4.1.2-Makefile.patch,1.43 KB, patch)
2009-10-03 00:00 UTC, Ryan Hill (RETIRED)
Details | Diff
premake-3.7.ebuild (premake-3.7.ebuild,862 bytes, text/plain)
2009-10-03 03:17 UTC, Ryan Hill (RETIRED)
Details
premake-3.7-Makefile.patch (premake-3.7-Makefile.patch,1.04 KB, patch)
2009-10-03 03:17 UTC, Ryan Hill (RETIRED)
Details | Diff
premake-4.1.2.ebuild (premake-4.1.2.ebuild,1.37 KB, text/plain)
2009-10-03 03:18 UTC, Ryan Hill (RETIRED)
Details
premake-3.7-Makefile.patch (premake-3.7-Makefile.patch,1.23 KB, patch)
2009-10-03 05:39 UTC, Ryan Hill (RETIRED)
Details | Diff
premake-4.2.1.ebuild (premake-4.2.1.ebuild,1.62 KB, text/plain)
2010-03-20 17:30 UTC, Viktor Lazarev
Details
premake-4.2.1-Makefile.patch (premake-4.2.1-Makefile.patch,1.42 KB, patch)
2010-03-20 17:31 UTC, Viktor Lazarev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Honermeyer 2004-08-19 16:15:30 UTC
Hi!

This is an ebuild for premake-1.9. It "should build and run pretty much anywhere", according to the author.

Premake is a build script generator. It can create input files for a variety of different make-tools and IDE's.

I suggest dev-util/premake. It doesn't have any dependencies. I tested it on amd64.


Martin
Comment 1 Martin Honermeyer 2004-08-19 16:16:31 UTC
Created attachment 37773 [details]
premake-1.9.ebuild
Comment 2 Martin Honermeyer 2004-08-19 17:37:47 UTC
Created attachment 37780 [details]
premake-1.9.ebuild

This includes a patch to allow "package.buildoptions" in C# projects (missing
feature, non-destructive patch)!
Comment 3 Martin Honermeyer 2004-08-19 17:42:25 UTC
Created attachment 37781 [details, diff]
cs-buildoptions-1.9.diff

The appropriate patch file. Must be placed in files/1.9/.
Comment 4 Joseph Booker 2004-09-20 17:31:12 UTC
If you only tested it on a amd64, you shouldn't have ~x86 in there
Comment 5 Edgardo Rossetto 2004-10-16 17:19:20 UTC
Premake 2.0 is available, have anyone tested this on x86?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-02-19 05:12:32 UTC
*** Bug 123366 has been marked as a duplicate of this bug. ***
Comment 8 Radek Podgorny 2006-02-19 05:16:26 UTC
Created attachment 80162 [details]
premake-3.0.ebuild
Comment 9 Radek Podgorny 2006-02-19 05:17:02 UTC
Please reopen, add to portage and close :-)
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-02-19 06:01:34 UTC
Reopen :)
Comment 11 Radek Podgorny 2006-02-19 06:10:17 UTC
Created attachment 80170 [details]
premake-3.1_rc2.ebuild
Comment 12 Radek Podgorny 2006-02-19 08:18:34 UTC
Created attachment 80184 [details]
premake-2.4.ebuild

Please be sure to include this version, too. It seems to be stable on amd64 (the 3.x series segfaults under some conditions)...
Comment 13 patrick 2007-03-07 16:31:48 UTC
This is now in the sunrise overlay. You can find it at:
http://www.gentoo-sunrise.org/sunrise/browser/sunrise/dev-util/premake
Comment 14 Kevin 2008-08-31 23:29:59 UTC
Created attachment 164193 [details]
Ebuild for premake 3.6

I have created a new ebuild for premake 3.6. I have tested it on x86 and AMD64. I would like for it to be included in the official portage tree. The utility is certainly useful. Should it be in dev-util or should it be in sys-devel? If the package needs a maintainer in order to be added to the tree, I might be able to do that.
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-01-13 20:51:36 UTC
(this is an automated message based on filtering criteria that matched this bug)

Hello, The Gentoo Team would like to firstly thank you for your ebuild
submission. We also apologize for not being able to accommodate you in a timely
manner. There are simply too many new packages.

Allow me to use this opportunity to introduce you to Gentoo Sunrise. The sunrise overlay[1] is a overlay for Gentoo which we allow trusted users to commit to and all users can have ebuilds reviewed by Gentoo devs for entry into the overlay.
So, the sunrise team is suggesting that you look into this and submit your
ebuild to the overlay where even *you* can commit to. =)

Because this is a mass message, we are also asking you to be patient with us. We anticipate a large number of requests in a short time. 

Thanks,
On behalf of the Gentoo Sunrise Team,
Jeremy.

[1]: http://www.gentoo.org/proj/en/sunrise/
[2]: http://overlays.gentoo.org/proj/sunrise/wiki/SunriseFaq
Comment 16 Kevin 2009-06-16 22:04:35 UTC
Created attachment 194944 [details]
ebuild file for the final version in the 3.x line

I have created an ebuild for version 3.7, this is the last version in the 3.x line for Premake. The ebuild is based on the 3.6 one.
Comment 17 Jacek Szafarkiewicz 2009-09-30 20:14:28 UTC
Created attachment 205728 [details]
premake-4.1.1.ebuild

Ebuild for newest version. I have inspired from THE overlay ebuild, but I have added USE doc and debug.

PS Should I fill a another bug, because this is premake-3.0 and I add premake-4?
Comment 18 Jacek Szafarkiewicz 2009-09-30 20:30:09 UTC
Comment on attachment 205728 [details]
premake-4.1.1.ebuild

><HTML><HEAD><STYLE type="text/css">a.USO_outdatedLink:link {color: #0088FF !important; text-decoration: underline !important;}a.USO_outdatedLink:visited {color: #0088FF !important; text-decoration: underline !important;}a.USO_outdatedLink:hover {color: #0088FF !important; text-decoration: underline !important;}a.USO_outdatedLink:active {color: #0088FF !important; text-decoration: underline !important;}a.USO_updatedLink:link {color: #AAAAAA !important; text-decoration: underline !important;}a.USO_updatedLink:visited {color: #AAAAAA !important; text-decoration: underline !important;}a.USO_updatedLink:hover {color: #AAAAAA !important; text-decoration: underline !important;}a.USO_updatedLink:active {color: #AAAAAA !important; text-decoration: underline !important;}span.USO_compareSpan {color: #000000 !important}ins.USO_compareIns {color: #000000 !important; background:#8FFF8C !important;}del.USO_compareDel {color: #000000 !important; background:#FFE6E6 !important;}</STYLE></HEAD><BODY><PRE># Copyright 1999-2005 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit eutils
>DESCRIPTION="A lua-based build environment generation tool"
>HOMEPAGE="http://premake.sourceforge.net/"
>SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip"
>LICENSE="GPL"
>SLOT="0"
>KEYWORDS="~x86 ~amd64"
>
>IUSE="debug doc"
>RDEPEND=""
>
>DEPEND="${RDEPEND}
>	app-arch/unzip
>	&gt;=sys-devel/libtool-1.4
>	doc? ( app-doc/doxygen )"
>
>myConfig="release"
>
>src_compile() {
>	if use debug; then
>		myConfig="debug"
>	fi
>
>	cd build/gmake.unix
>	unset ARCH
>	emake config="$myConfig" || die
>
>  if use doc; then
>  	cd "${S}"
>  	doxygen -u doxyfile &amp;&gt; /dev/null || die "updating doxygen config failed"
>  	doxygen doxyfile || die "making docs failed"
>	fi
>}
>
>src_install() {
>	exeinto /usr/bin
>	doexe bin/$myConfig/premake4
>	dosym /usr/bin/premake4 /usr/bin/premake
>
>	cd "${S}"
>
>	if use doc; then
>		insinto /usr/share/doc/${PF}
>		dohtml -r doc/html/*
>	fi
>
>	dodoc BUILD.txt  CHANGES.txt LICENSE.txt README.txt
>}
></PRE></BODY></HTML>
Comment 19 Kevin 2009-09-30 23:51:37 UTC
(In reply to comment #17)
> Created an attachment (id=205728) [edit]
> premake-4.1.1.ebuild
> 
> Ebuild for newest version. I have inspired from THE overlay ebuild, but I have
> added USE doc and debug.
> 
> PS Should I fill a another bug, because this is premake-3.0 and I add
> premake-4?
> 

I don't think you need to but the title of the bug probably should be changed. I'm really surprised no one has bothered to actually add this package into portage since it has had solid ebuilds for a long time and is blocking other bugs.

But thanks for making an ebuild for the new version, I hadn't gotten around to it.
Comment 20 Ryan Hill (RETIRED) gentoo-dev 2009-10-02 23:55:13 UTC
Created attachment 205886 [details]
premake-4.1.2.ebuild

New version.
- use EAPI 2
- fix LICENSE
- patch Makefile to respect CFLAGS, CXXFLAGS, and stop stripping files
- disable silent building so we can see what's going on
- use toolchain-funcs to pass compiler name to Makefile
- add src_test (RESTRICTed in this version, two test fail - reported upstream)
- don't install license file
Comment 21 Ryan Hill (RETIRED) gentoo-dev 2009-10-02 23:56:47 UTC
please test this version.  if there are no issues i'll add it to the tree.
Comment 22 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 00:00:41 UTC
Created attachment 205888 [details, diff]
premake-4.1.2-Makefile.patch
Comment 23 Kevin 2009-10-03 00:20:12 UTC
I tested the new 4.1.2 ebuild on my amd64 machine and it is working fine. All my premake scripts are still version 3 so I can't fully test the program (there was a major change between versions 3 and 4) but it seems to be working fine so far.
Comment 24 Kevin 2009-10-03 00:41:23 UTC
It also occurred to me that since there was a major breakage at 4.0, perhaps 3.7 and 4.1 should be slotted? At least for now? Do the bugs that depend on this bug use 3.x or 4.x? If any use 3.x, 4.1.2 won't work for them.
Comment 25 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 01:24:45 UTC
good question, i didn't know about the compatibility break.  i'll look into it.
Comment 26 Kevin 2009-10-03 01:31:21 UTC
(In reply to comment #25)
> good question, i didn't know about the compatibility break.  i'll look into it.
> 

Cool, thank you for your work so far on this. FYI: Version 4.x builds to a different binary name (premake4) and the 3.x line uses premake, probably because the creators anticipated people wanting to run both versions, so it shouldn't be a big deal. (Hopefully)
Comment 27 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 03:17:11 UTC
Created attachment 205894 [details]
premake-3.7.ebuild

This installs into SLOT 3 so both can be installed side by side.
Comment 28 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 03:17:51 UTC
Created attachment 205895 [details, diff]
premake-3.7-Makefile.patch
Comment 29 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 03:18:46 UTC
Created attachment 205897 [details]
premake-4.1.2.ebuild

minor changes, installs into SLOT 4.
Comment 30 Kevin 2009-10-03 03:26:25 UTC
Cool. I tested both of them and I now have them running side by side on my system. I had no issues whatsoever.
Comment 31 Ryan Hill (RETIRED) gentoo-dev 2009-10-03 05:39:13 UTC
Created attachment 205898 [details, diff]
premake-3.7-Makefile.patch

popen support wasn't being enabled due to a wrong define name being set in the Makefile (USE_POPEN vs LUA_USE_POPEN).  this updated patch lets me build wxformbuilder with external premake.
Comment 32 Viktor Lazarev 2010-03-20 17:30:29 UTC
Created attachment 224411 [details]
premake-4.2.1.ebuild

Bumped
Comment 33 Viktor Lazarev 2010-03-20 17:31:52 UTC
Created attachment 224413 [details, diff]
premake-4.2.1-Makefile.patch

Bumped
Comment 34 Jesse Tijnagel 2010-06-24 20:19:56 UTC
Cannot download src files:

..................
Reusing existing connection to downloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://puzzle.dl.sourceforge.net/project/premake/Premake/4.2.1/premake-4.2.1-src.zip [following]
--2010-06-24 22:15:39--  http://puzzle.dl.sourceforge.net/project/premake/Premake/4.2.1/premake-4.2.1-src.zip
Resolving puzzle.dl.sourceforge.net... 195.141.111.5
Connecting to puzzle.dl.sourceforge.net|195.141.111.5|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 485067 (474K) [application/zip]
Saving to: `/usr/portage/distfiles/premake-4.2.1-src.zip'

100%[==========================================================================================>] 485,067     89.5K/s   in 8.3s    

2010-06-24 22:15:51 (57.2 KB/s) - `/usr/portage/distfiles/premake-4.2.1-src.zip' saved [485067/485067]

('Filesize does not match recorded size', 485067, 1162606)
!!! Fetched file: premake-4.2.1-src.zip VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:      485067
!!! Expected: 1162606
Refetching... File renamed to '/usr/portage/distfiles/premake-4.2.1-src.zip._checksum_failure_.6vmHXm'
Comment 35 Markos Chandras (RETIRED) gentoo-dev 2011-02-22 16:58:47 UTC
On tree
Comment 36 Will Ridgers 2011-03-10 12:38:18 UTC
Premake 4.3 is out now, can an ebuild be made for this? I'm afraid I don't have the expertise to make one.