Comments (6)
To fix this simply uncomment line 36 in rules. But replace 2.0-beta-4-0+git$(date +%Y%m%d) with desired version. Perhaps 2.0-beta-7-0+$(date +%Y%m%d) or 2.0-beta-7-0+git$(date +%Y%m%d) be enough.
from nixnote2-packaging.
Thanks once more @vitaleon - for now I have plumped for nixnote2-daily+git$(date +%Y%m%d) just for the moment, to get SOMETHING appearing. However in the longer run I'd like to get this version pulled automatically from the version created in the recipe
waiting for code update to build before testing
from nixnote2-packaging.
despite the fact that the code in https://github.com/baumgarr/nixnote2/blob/master/help/about.html says __VERSION__
this appears as "nixnote2-daily+" rather than the fuller version string above
from nixnote2-packaging.
trying with 'shell' prefix in rules makefile
from nixnote2-packaging.
Moreover you can try something like
DEBVER := $(shell dpkg-parsechangelog --show-field Version)
override_dh_auto_build:
sed -i "s/VERSION/$(DEBVER)/" help/about.html
to automatically set version from changelog
from nixnote2-packaging.
Daily PPA now correctly displays Help / About version as nixnote2-daily+YYYYMMDD
This was achieved by updating the debian / rules file to substitute with the system date at the end of the build process:
override_dh_auto_build:
sed -i "s/__VERSION__/nixnote2-daily+$(shell date +%Y%m%d)/" help/about.html
Issue Closed.
from nixnote2-packaging.
Related Issues (20)
- Upstream changes result in failure to apply quilt patches HOT 2
- No package for 14.04? HOT 4
- Problem running NixNote2 on Trusty HOT 11
- Problem with Yakkety release HOT 2
- Problems with missing dependencies on Yakkety HOT 3
- Auto-include latest upstream ChangeLog HOT 1
- Wiki outdated HOT 5
- Launchpad imports failing on gpgsig HOT 3
- Build fails compiling Hunspell Plugins HOT 3
- Precise 12.04 build fails since QT5 migration HOT 1
- Plugins not compiling HOT 2
- Build fails on tidy/tidy.h not found HOT 2
- RFE: multiple issues in build script HOT 1
- Invalid desktop entry file with versions 20170312 HOT 1
- Menu icon not showed HOT 3
- Trusty build fails on Poppler IgnoreCase HOT 7
- Add Bionic Beaver to the Daily PPA HOT 6
- Update upstream repository? HOT 6
- Build dependency wait on openjdk-7-jdk HOT 1
- merge hosiet Debian build scripts? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nixnote2-packaging.