[-]
[+]
|
Changed |
_service:tar_git:mapnik.spec
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -1,6 +1,6 @@
<services>
<service name="tar_git">
- <param name="url">https://github.com/rinigus/pkg-mapnik</param>
+ <param name="url">https://github.com/sailfishos-chum/mapnik</param>
<param name="branch">master</param>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Changed |
_service:tar_git:mapnik-3.0.21.tar.gz/README.md
^
|
@@ -3,17 +3,24 @@
## Howto build
-* Clone this repository
+* Clone this repository into a directory of your choice ${PKGMAPNIK}
-* cd into source directory
+* Change into directory where repository is:
+```
+cd ${PKGMAPNIK}
+```
-* build by running
+* Select your target (available in /srv/mer/targets) in MerSDK/SailfishSDK ${SFARCH}
+
+* Build by running the following in MerSDK/SailfishSDK:
```
-export SFARCH=armv7hl; mb2 -t SailfishOS-$SFARCH -s ../rpm/mapnik.spec build
+mb2 -t ${SFARCH} -s rpm/mapnik.spec apply
+mb2 -t ${SFARCH} -s rpm/mapnik.spec build
```
-in MER SDK.
-* RPMs are under RPMS directory.
+* RPMs will be created in RPMS directory, copy them elsewhere.
+
+* Repeat the `build` step for any other required targets. Note that `apply` is not required, or it will attempt to patch twice.
Please let me know if there are some errors (missing dependencies, for
example) during building by opening an issue for this repository.
|