Changes between Version 17 and Version 18 of WikiStart
- Timestamp:
- Sep 5, 2007, 3:47:27 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v17 v18 96 96 # Hash of default package/package directory 97 97 # 98 defpkgdir system -designer = SystemDesigner98 defpkgdir systemdesigner = SystemDesigner 99 99 100 100 # Hash of additional package/package directory 101 101 # 102 extpkgdir system -designer-docs = docs103 extpkgdir system -designer-fedora = SystemDesigner-Fedora102 extpkgdir systemdesigner-docs = docs 103 extpkgdir systemdesigner-fedora = SystemDesigner-Fedora 104 104 105 105 # Hash of valid version names … … 111 111 # Files are mentioned relatively to pbroot 112 112 # 113 filteredfiles system -designer =114 filteredfiles system -designer-docs =113 filteredfiles systemdesigner = 114 filteredfiles systemdesigner-docs = 115 115 }}} 116 116 117 I inform pb that I will produce packages with a verion-tag of devel-1, that no local package should have a different version than the project version (pkgver/pkgtag), that my default package will be system -designer (pb will work on it by default all the time) and that additional packages it may deal with are system-designer-docs and system-designer-fedora. In addition to standard version with numbers, pb will accpet the version devel and stable. And finally, I give to the name of all files (per package) that it will have to filter to produce the packages - more on that later on.117 I inform pb that I will produce packages with a verion-tag of devel-1, that no local package should have a different version than the project version (pkgver/pkgtag), that my default package will be systemdesigner (pb will work on it by default all the time) and that additional packages it may deal with are systemdesigner-docs and systemdesigner-fedora. In addition to standard version with numbers, pb will accpet the version devel and stable. And finally, I give to the name of all files (per package) that it will have to filter to produce the packages - more on that later on. 118 118 119 119 With that minimal configuration, you may begin to test project-builder. Try to produce a compressed tar file of your project. … … 137 137 Project linuxcoe 138 138 Action: cms2build 139 Packages: system -designer139 Packages: systemdesigner 140 140 141 Management of system -designer devel-1 (rev CVS)141 Management of systemdesigner devel-1 (rev CVS) 142 142 Exporting /users/bruno/LinuxCOE/cvs/SystemDesigner from CVS... OK 143 143 Extracting log info from CVS... OK 144 144 Build files generated for 145 145 No Build files found for mandriva-2007.1 146 Creating system -designer tar files compressed... OK147 Under /users/bruno/LinuxCOE/cvs/delivery/system -designer-devel.tar.gz146 Creating systemdesigner tar files compressed... OK 147 Under /users/bruno/LinuxCOE/cvs/delivery/systemdesigner-devel.tar.gz 148 148 }}} 149 149 150 So it creates for you the right tar file at the right place. But it warns you that no build file was found for your project. Normal we haven't created one yet ;-) 150 So it creates for you the right tar file at the right place. But it warns you that no build file was found for your project. Normal we haven't created one yet ;-) It's our next step. 151 151 152 You'll first need to create the infrastructure needed to host the information for building packages: 153 {{{ 154 $ mkdir -p pbconf/systemdesigner/rpm 155 $ mkdir -p pbconf/systemdesigner/pbfilter 156 }}} 157 158 then thanks to the work done by Louis Bouchard to package LinuxCOE, you can take the spec file he created and adapt it to suit pb. 159 {{{ 160 $ cat pbconf/systemdesigner/rpm/systemdesigner.spec 161 }}} 152 162 153 163 == Concerning trac ==