[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#696899: can anybody sponsor an ITP for premake4 ?



in-line :-

On Sun, Apr 7, 2013 at 9:32 AM, Cameron Hart <cameron.hart@gmail.com> wrote:
> Please use the premake4_4.3-1 version. After feedback from Jonathan that the
> version number shouldn't be incremented until it's actually uploaded to
> unstable I switched the version back to 4.3-1. The url is
> http://mentors.debian.net/debian/pool/main/p/premake4/premake4_4.3-1.dsc. I
> don't know if I can delete the 4.3-2 upload from mentors unfortunately.

would do.

> If you don't already have a pbuilder environment set up it might be easier
> to use debuild. The following should hopefully build and install the package
> for you:
>
> sudo apt-get install dget devscripts debhelper cdbs liblua5.1-0-dev

AFAIK dget is part of devscripts there is no binary by the name of
dget or did you mean something else ?

$ which dget
/usr/bin/dget

$ dpkg -S /usr/bin/dget
devscripts: /usr/bin/dget

Can anybody tell why lua 5.1-dev is being used instead of lua5.2-dev ?

AFAIK I have both of them installed :-

$ apt-show-versions -a liblua5.1-0-dev
liblua5.1-0-dev 5.1.5-4 install ok installed
liblua5.1-0-dev 5.1.4-5 stable   ftp.debian.org
liblua5.1-0-dev 5.1.5-4 wheezy   ftp.debian.org
liblua5.1-0-dev 5.1.5-4 unstable ftp.debian.org
No experimental version
liblua5.1-0-dev/wheezy uptodate 5.1.5-4


$ apt-show-versions -a liblua5.2-dev
liblua5.2-dev 5.2.1-3 install ok installed
No stable version
liblua5.2-dev 5.2.1-3 wheezy   ftp.debian.org
liblua5.2-dev 5.2.1-3 unstable ftp.debian.org
No experimental version

$ lua -v
Lua 5.2.1  Copyright (C) 1994-2012 Lua.org, PUC-Rio

The default is lua5.2 at my end.

> dget -ux
> http://mentors.debian.net/debian/pool/main/p/premake4/premake4_4.3-1.dsc
> cd premake4-4.3/
> debuild -us -uc
> cd ..
> dpkg -i premake4_4.3-1_i386.deb (assuming i386)
>
> There may be an easier way, I'm no expert :)

I used cdbs and was able to install it in the end :-

~/games/premake4$  dget -ux
http://mentors.debian.net/debian/pool/main/p/premake4/premake4_4.3-1.dscdget:
retrieving http://mentors.debian.net/debian/pool/main/p/premake4/premake4_4.3-1.dsc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1389  100  1389    0     0    974      0  0:00:01  0:00:01 --:--:--  7937
dget: retrieving
http://mentors.debian.net/debian/pool/main/p/premake4/premake4_4.3.orig.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  392k  100  392k    0     0  68189      0  0:00:05  0:00:05 --:--:-- 70756
dget: retrieving
http://mentors.debian.net/debian/pool/main/p/premake4/premake4_4.3-1.debian.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7881  100  7881    0     0  15061      0 --:--:-- --:--:-- --:--:-- 22013
dpkg-source: info: extracting premake4 in premake4-4.3
dpkg-source: info: unpacking premake4_4.3.orig.tar.gz
dpkg-source: info: unpacking premake4_4.3-1.debian.tar.gz
dpkg-source: info: applying generated-makefile.diff
dpkg-source: info: applying fix-readme.diff
dpkg-source: info: applying kfreebsd-fix.diff
dpkg-source: info: applying fix-findlib.diff

Just cdbs was absent so installed that too :-

~/games/premake4$ sudo aptitude install cdbs
The following NEW packages will be installed:
  cdbs
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 78.1 kB of archives. After unpacking 226 kB will be used.
Get: 1 http://ftp.debian.org/debian/ wheezy/main cdbs all
0.4.115+deb7u1 [78.1 kB]
Fetched 78.1 kB in 7s (10.9 kB/s)
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package cdbs.
(Reading database ... 540149 files and directories currently installed.)
Unpacking cdbs (from .../cdbs_0.4.115+deb7u1_all.deb) ...
D000001: process_archive oldversionstatus=not installed
D000001: process_archive updating info directory
D000001: generating infodb hashfile
Processing triggers for man-db ...
Setting up cdbs (0.4.115+deb7u1) ...
D000001: deferred_configure updating conffiles

~/games/premake4$ cd premake4-4.3/

~/games/premake4/premake4-4.3$ debuild -us -uc
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package premake4
dpkg-buildpackage: source version 4.3-1
dpkg-buildpackage: source changed by Cameron Hart <cam@bitshifter.net.nz>
 dpkg-source --before-build premake4-4.3
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C . CFLAGS="-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall"
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-z,relro"  -k clean
make[1]: Entering directory `/home/shirish/games/premake4/premake4-4.3'
Cleaning Premake4
make[1]: Leaving directory `/home/shirish/games/premake4/premake4-4.3'
dh_clean
 dpkg-source -b premake4-4.3
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building premake4 using existing ./premake4_4.3.orig.tar.gz
dpkg-source: info: building premake4 in premake4_4.3-1.debian.tar.gz
dpkg-source: info: building premake4 in premake4_4.3-1.dsc
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/bin/make  -C . CFLAGS="-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall"
CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-z,relro"
make[1]: Entering directory `/home/shirish/games/premake4/premake4-4.3'
==== Building Premake4 (release) ====
Creating bin/release
Creating obj/Release
os_mkdir.c
os_isfile.c
os_uuid.c
os_isdir.c
string_endswith.c
os_getcwd.c
path_isabsolute.c
premake.c
os_rmdir.c
scripts.c
os_pathsearch.c
os_chdir.c
os_copyfile.c
os_match.c
Linking Premake4
make[1]: Leaving directory `/home/shirish/games/premake4/premake4-4.3'
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_prep
dh_installdirs -A
mkdir -p "."
DEB_MAKE_CHECK_TARGET unset, not running checks
DEB_MAKE_INSTALL_TARGET unset, skipping default makefile.mk
common-install target
Adding cdbs dependencies to debian/premake4.substvars
dh_installdirs -ppremake4
install -d /home/shirish/games/premake4/premake4-4.3/debian/premake4/usr/bin
install /home/shirish/games/premake4/premake4-4.3/bin/release/premake4
/home/shirish/games/premake4/premake4-4.3/debian/premake4/usr/bin
dh_installdocs -ppremake4
dh_installexamples -ppremake4
dh_installman -ppremake4
dh_installinfo -ppremake4
dh_installmenu -ppremake4
dh_installcron -ppremake4
dh_installinit -ppremake4
dh_installdebconf -ppremake4
dh_installemacsen -ppremake4
dh_installcatalogs -ppremake4
dh_installpam -ppremake4
dh_installlogrotate -ppremake4
dh_installlogcheck -ppremake4
dh_installchangelogs -ppremake4  CHANGES.txt
dh_installudev -ppremake4
dh_lintian -ppremake4
dh_bugfiles -ppremake4
dh_install -ppremake4
dh_link -ppremake4
dh_installmime -ppremake4
dh_installgsettings -ppremake4
dh_strip -ppremake4
dh_compress -ppremake4
dh_fixperms -ppremake4
dh_makeshlibs -ppremake4
dh_installdeb -ppremake4
dh_perl -ppremake4
dh_shlibdeps -ppremake4
dh_girepository -ppremake4
dh_gencontrol -ppremake4
dh_md5sums -ppremake4
dh_builddeb -ppremake4
dpkg-deb: building package `premake4' in `../premake4_4.3-1_amd64.deb'.
 dpkg-genchanges  >../premake4_4.3-1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build premake4-4.3
dpkg-buildpackage: full upload (original source is included)
Now running lintian...
Finished running lintian.

$ dpkg -l premake4
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
+++-==========================-==================-==================-==========================================================
ii  premake4                   4.3-1              amd64
cross-platform build script generator

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17


Reply to: