* [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: generate.sh
@ 2013-01-18 5:55 Mike Frysinger (vapier)
0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger (vapier) @ 2013-01-18 5:55 UTC (permalink / raw
To: gentoo-commits
vapier 13/01/18 05:55:25
Added: generate.sh
Log:
Version bump #452422 by Elis Axelsson.
(Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.1 media-tv/xbmc/files/generate.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?rev=1.1&content-type=text/plain
Index: generate.sh
===================================================================
#!/bin/bash
set -eux
PV=$1
PN=xbmc
P="${PN}-${PV}"
DISTDIR="/usr/portage/distfiles"
rm -rf ${PN}-*/
tar xf ${DISTDIR}/${P}.tar.gz
cd ${PN}-*/
make codegenerated -f codegenerator.mk -j
cd ..
tar cf - ${PN}-*/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz
rm -rf ${PN}-*/
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: generate.sh
@ 2013-04-13 19:45 Mike Frysinger (vapier)
0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger (vapier) @ 2013-04-13 19:45 UTC (permalink / raw
To: gentoo-commits
vapier 13/04/13 19:45:21
Modified: generate.sh
Log:
Refresh generated python interfaces #464048 by Marcel Unbehaun.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.2 media-tv/xbmc/files/generate.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?r1=1.1&r2=1.2
Index: generate.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-tv/xbmc/files/generate.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- generate.sh 18 Jan 2013 05:55:25 -0000 1.1
+++ generate.sh 13 Apr 2013 19:45:21 -0000 1.2
@@ -6,11 +6,20 @@
PN=xbmc
P="${PN}-${PV}"
DISTDIR="/usr/portage/distfiles"
+GITDIR="/usr/local/src/xbmc/git"
-rm -rf ${PN}-*/
-tar xf ${DISTDIR}/${P}.tar.gz
-cd ${PN}-*/
-make codegenerated -f codegenerator.mk -j
-cd ..
-tar cf - ${PN}-*/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz
-rm -rf ${PN}-*/
+if [[ ${PV} != "9999" ]] ; then
+ rm -rf ${PN}-*/
+ tar xf ${DISTDIR}/${P}.tar.gz
+ d=$(echo ${PN}-*/)
+else
+ stamp=$(date --date="$(git log -n1 --pretty=format:%ci master)" -u +%Y%m%d)
+ P+="-${stamp}"
+ cd ${GITDIR}
+ d=.
+fi
+make -C ${d} -j -f codegenerator.mk
+tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz
+if [[ ${PV} != "9999" ]] ; then
+ rm -rf ${PN}-*/
+fi
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: generate.sh
@ 2013-12-31 0:30 Mike Frysinger (vapier)
0 siblings, 0 replies; 3+ messages in thread
From: Mike Frysinger (vapier) @ 2013-12-31 0:30 UTC (permalink / raw
To: gentoo-commits
vapier 13/12/31 00:30:47
Modified: generate.sh
Log:
show byte size of tarball
Revision Changes Path
1.3 media-tv/xbmc/files/generate.sh
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-tv/xbmc/files/generate.sh?r1=1.2&r2=1.3
Index: generate.sh
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-tv/xbmc/files/generate.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- generate.sh 13 Apr 2013 19:45:21 -0000 1.2
+++ generate.sh 31 Dec 2013 00:30:47 -0000 1.3
@@ -19,7 +19,10 @@
d=.
fi
make -C ${d} -j -f codegenerator.mk
-tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > ${DISTDIR}/${P}-generated-addons.tar.xz
+tar="${DISTDIR}/${P}-generated-addons.tar.xz"
+tar cf - ${d}/xbmc/interfaces/python/generated/*.cpp | xz > "${tar}"
if [[ ${PV} != "9999" ]] ; then
rm -rf ${PN}-*/
fi
+
+du -b "${tar}"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-31 0:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-31 0:30 [gentoo-commits] gentoo-x86 commit in media-tv/xbmc/files: generate.sh Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2013-04-13 19:45 Mike Frysinger (vapier)
2013-01-18 5:55 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox