summaryrefslogtreecommitdiff
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2015-01-28spec2yocto: use env variable to find filesPatrick Ohly1-3/+5
gitCloneAll.sh changes the directory before calling spec2yocto, so we have to use absolute paths for the auxiliary files. For that we need to add support for env variable substitution in all usages of the "uri" properties. Change-Id: I9f14bfed67e44d01205fac7478871d7fba2ac063
2014-12-02generate cleaner coderev_0.7rev_0.6Ronan Le Martret1-8/+22
Change-Id: I98d098e51a0c2c1d8f3aef4c360c0aaf9640ea64
2014-11-25update spec2yocto.pyrev_0.5Ronan Le Martret1-12/+13
Change-Id: I22eda92af95a64db35169eabee5fbca19d86bb51 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-11-07update spec2yocto to allow splited package generation.rev_0.4Ronan Le Martret2-15/+52
Change-Id: I30c1fc147ef29cc5c68d6fd62022bad438e69574 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-10-24Tizen recipes inherit manifestKévin THIERRY1-1/+1
Inherit manifest in order to copy the manifest file from the source directory to ${PKGDEST}. Bug-Tizen: BTY-59 Change-Id: Ia697d9fa8a671a1c421d2823cfc2bad6931482ad Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-10-22Add package version in recipesKévin THIERRY1-0/+14
Bug-Tizen: BTY-55 Change-Id: Ied4a9f672012907c68fb0b1d06a74f774ce84652 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-10-10Automatically add build dependency on pkgconfigKévin THIERRY1-0/+5
If a spec file contains a build dependecy with the form 'pkgconfig(<pkg-name>)', automatically add a build dependency on pkgconfig. Change-Id: If6b3876658658859d4a5576b9678fb6fdf255d04 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-10-08update rpm macroRonan Le Martret1-2/+1
Change-Id: I523abc3050dc13f7a57c6f2c80b3005bb937d7b2 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-10-01Merge branch 'tizen' of ssh://review.tizen.org:29418/scm/bb/tizen into tizenRonan Le Martret2-1/+11
2014-10-01update ModelloRonan Le Martret1-0/+1
Change-Id: Ib008f9ded3858affc313dc8fc4cdbbc71a5f11f9 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-10-01setup: fix and enhance instructionsPatrick Ohly1-0/+1
It was not clear what the content of YOCTO_WORKDIR is supposed to be and where commands need to be invoked. Some commands were wrong (ln -s parameters swapped, inconsistent naming of the scm/bb/tizen checkout directory). The dependency on cmdln.py was not documented. Change-Id: Id44bf00dd2ac2a3ceff0b9bbdc86db25015779f7 Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2014-10-01gitCloneAll: make "git cclone" optionalPatrick Ohly1-1/+10
The dependency on "git cclone" was not documented. Not everyone needs it, so only use it if available and fall back to "git clone" otherwise. Change-Id: Ifc3fd18d253d4e4c385e9854ba04c8d6d83acb38 Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> merge: cclone Change-Id: I060a73e1ae5b911b665abb598f578562e65bfc52
2014-09-30change recipes nameRonan Le Martret1-3/+4
Change-Id: I9f2d258bbdd8df465a750faad08c9a7922734cc6 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-09-25update toolsRonan Le Martret1-0/+4
Change-Id: I638a6594624e9c8e7dffeefd0ac2efb5da934664 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-09-18update recipes generationRonan Le Martret1-1/+1
Change-Id: I3a828f0cd89fb9351f0cba71640e6ebab3c8e63d Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-08-19Export variable RPM_BUILD_ROOT in install sectionKévin THIERRY1-1/+1
Replaces "echo export RPM_BUILD_ROOT=${D}" witch does nothing in the install section of recipes with "export RPM_BUILD_ROOT=${D}". Change-Id: I528a5f5040fc08db03023370eaad6fe3f5746282 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-07-30Add new package for ivi buildRonan Le Martret1-2/+2
Change-Id: I45f2983fc6510bb800ab6c2b87520d7db37007b2 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-30Add new spec init for ivi.Ronan Le Martret1-36/+15
Change-Id: I96f6b11261a39c8e62c590d975b49644655ea508 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-25Merge changes I7c5c5678,I14f28f35 into tizenronan(Eurogiciel) Le Martret1-1/+19
* changes: Update rpm spec file Add support for Tizen IVI repo
2014-07-25Add macro for langRonan Le Martret1-0/+1
Change-Id: I42bf339e2c794fdbb68549b9759711977f9cb431 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-24Add support for Tizen IVI repoKévin THIERRY1-1/+19
Change-Id: I14f28f35185bd75b567b376a51f542a16a08414c Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-07-15Remove hardcoded target.Ronan Le Martret1-3/+4
Change-Id: I61d47575117ed7b423f8c3752a9bcda00643c01a Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-11Add %dir, %config, %manifest support.Ronan Le Martret1-12/+70
Change-Id: Iae404c2672b4d872b80922b359eeafbc3af06904
2014-07-09Remove unused functionsKévin THIERRY1-21/+0
Change-Id: Ide76037223e1a95cfdcb626a4929559a213c3e3d Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-07-09Factorize some codeKévin THIERRY1-19/+7
Change-Id: Ie94f919ccddd4520b05b22ab88902f79b447174f Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-07-09Factorize some codeKévin THIERRY1-42/+11
Change-Id: I9d42ab450d1937361804e8a6ea392700d1ae17a3 Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-07-08fix ldconfigRonan Le Martret1-1/+1
Change-Id: I7a533fef29c688d4c10f318bc85049114fd7c4cb Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-08ldconfig exec only on target.Ronan Le Martret1-1/+2
Change-Id: I0b2259b85b2ff8c0b57b4cd4b879059a83954658 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-08Replace ${D} by $DRonan Le Martret1-1/+1
Change-Id: Id824cc59bb3f0dbcc22c4705f58cde4161d8e240 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-07-01Update init spec filesRonan Le Martret1-7/+8
Change-Id: I91fbb504969bb0c1de2766656d08b353881ebda5
2014-06-23fix find langRonan Le Martret1-1/+2
Change-Id: Id37e7b02b6756ad39465d64e8898e3abcf239cf4
2014-06-23fix updateRonan Le Martret1-34/+21
Change-Id: Icca142b573ef518b7a4ff1a9039b5267c95a430b Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-06-11Correct parsing errorKévin THIERRY1-4/+4
While processing the pre/post install/uninstall scripts, in the case of a one-line script of the form "%post -n <package_name> -p <command>", if the package name or the command contains "-p" or "-n", parsing is wrong. Usig " -p " and " -n " corrects this error in our cases. The only package found with this error is pkmgr-info-parser. If a command would happen to have a "-p" or "-n" option, parsing would fail, even with this patch. Another solution would need to be found. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-05Correct issue with %prep and %preKévin THIERRY1-2/+4
%prep section in spec files was used as a %pre section. This commit correct this issue. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-05Add full support for pre/post install scriptKévin THIERRY1-33/+75
Spec file sections %pre, %post, %preun, and %postun are now added in recipes. All sections of pre/post install/uninstall scripts are now added to the recipes. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-04Remove ${D} from post/pre scriptsKévin THIERRY1-18/+2
The correct path is generated in the recipe when macros are used in the spec file. Correcting the spec files is the way to go so we remove the addition of the "${D}" prefix. Also clean code. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-04Add pre, preun and postun scripts to recipesKévin THIERRY1-6/+39
Note that only the first reference to a section found in spec files are treated, the other ones are ignored. This issue should be taken care of. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-04Add post install scripts to recipesKévin THIERRY1-4/+15
Note that only the first "%post" section found in spec files is treated, the other ones are ignored. This issue should be taken care of. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-04Correct post/pre scripts extractionKévin THIERRY1-47/+11
Methods get_*_section_key() only return the first line of the pre/post sections of spec files. This patch corrects that so the whole section is returned instead. Also factorize the code by replace the get_*_section_key() methods with a unique one: get_script_section_key(). Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-06-02Add a script to generate the project listKévin THIERRY1-0/+66
The script generates the list of projects in a wiki table. Projects are organized in three sections: * Tizen projects * Yocto projects with Tizen patchs * Yocto projects Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-05-16add alsa-scenario-0.2Ronan Le Martret1-1/+2
Change-Id: I58cefa2f3e1a6bd890c230aba524d39a03743e03
2014-05-16remove python-rpmRonan Le Martret1-2/+2
Change-Id: I224f1ca78826decc3278642cefc4eba06c064229 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
2014-05-15Merge branch 'master' of ↵Ronan Le Martret1-1/+6
git.vannes:/srv/git/gitcache/github.com/eurogiciel-oss/yoctoTizen
2014-05-15Manage the %config() case in spec filesKévin THIERRY1-1/+6
When the %config() macro was encountered in the packaging section of a spec file, the file wasn't added to the package in the recipe. Also when more than one macro was found before a file in the packaging section the file would not be added (usually a %attr() and a %config() macro). This patch correct both those issues. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-05-14use replace native buildRonan Le Martret1-3/+1
Change-Id: Id7302e06e1763793fcec5b6b8e1eaeff0dd8fa30
2014-05-13Change cmake macroRonan Le Martret1-0/+1
Change-Id: Ib4c43059489e2e3e216459ac4abe81d96c0253c1
2014-05-13update spec2yocto createRecipesRonan Le Martret1-5/+2
Change-Id: I7404eea4d2820e2ca47b06a723a666cb2823983e
2014-04-29Replace tabulations with spaces in spec2yocto.pysandbox/ronan/tizenKévin THIERRY1-3/+3
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-04-29Replace "-devel" occurences with "-dev"Kévin THIERRY1-3/+7
Some "-devel" extensions could be found in generated recipes. Yocto uses "-dev" extensions instead of "-devel". This patch attempts to replace the remainings "-devel" extensions. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
2014-04-29Add "BBCLASSEXTEND = "native"" to recipesKévin THIERRY1-3/+3
Add "BBCLASSEXTEND = "native"" only if they are not in the native_tizen_generic_blacklist. Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>