Skip to content

Commit

Permalink
Updating PAD.xml and Ubuntu release scripts & Makefile targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Feb 17, 2024
1 parent 4e84187 commit 8fc13a7
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 24 deletions.
16 changes: 8 additions & 8 deletions PAD.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@
<Program_Info>
<Program_Name>MindForger</Program_Name>
<Program_Version>2.0.0</Program_Version>
<Program_Release_Month>01</Program_Release_Month>
<Program_Release_Day>30</Program_Release_Day>
<Program_Release_Month>02</Program_Release_Month>
<Program_Release_Day>16</Program_Release_Day>
<Program_Release_Year>2024</Program_Release_Year>
<Program_Cost_Dollars />
<Program_Cost_Other_Code />
<Program_Cost_Other />
<Program_Cost_Dollars>0</Program_Cost_Dollars>
<Program_Cost_Other_Code>0</Program_Cost_Other_Code>
<Program_Cost_Other>0</Program_Cost_Other>
<Program_Type>Freeware</Program_Type>
<Program_Release_Status>Major Update</Program_Release_Status>
<Program_Install_Support>Install and Uninstall</Program_Install_Support>
Expand Down Expand Up @@ -71,9 +71,9 @@
<Keywords>notebook, knowledge, ai, markdown, ide, ml, nlp</Keywords>
<Char_Desc_45>Thinking note taking application.</Char_Desc_45>
<Char_Desc_80>MindForger is open, free, well performing thinking note taking application with Markdown editor which respects your privacy.</Char_Desc_80>
<Char_Desc_250>Are you drowning in information, but starving for knowledge? Where do you keep your private remarks like ideas, personal plans, exam preparation notes, gift tips, how-tos, dreams, business visions, finance strategies, meeting minutes and auto coach</Char_Desc_250>
<Char_Desc_450>Are you drowning in information, but starving for knowledge? Where do you keep your private remarks like ideas, personal plans, exam preparation notes, gift tips, how-tos, dreams, business visions, finance strategies, meeting minutes and auto coaching notes? Loads of documents, sketches and remarks spread around the file system, cloud, web and Post-it notes? Are you affraid of your knowledge privacy? Are you able to find particular remarks once</Char_Desc_450>
<Char_Desc_2000>Are you drowning in information, but starving for knowledge? Where do you keep your private remarks like ideas, personal plans, exam preparation notes, gift tips, how-tos, dreams, business visions, finance strategies, meeting minutes and auto coaching notes? Loads of documents, sketches and remarks spread around the file system, cloud, web and Post-it notes? Are you affraid of your knowledge privacy? Are you able to find particular remarks once you create them? Do you know how are the remarks mutually related when you browse, read or write them? No? MindForger is open, free, well performing thinking note taking application with Markdown editor which respects your privacy.</Char_Desc_2000>
<Char_Desc_250>Are you drowning in information, but starving for knowledge? Where do you keep your private remarks like ideas, personal plans, exam preparation notes, gift tips, how-tos, dreams, business visions, finance strategies, meeting minutes and auto coach</Char_Desc_250>
<Char_Desc_450>Are you drowning in information, but starving for knowledge? Where do you keep your private remarks like ideas, personal plans, exam preparation notes, gift tips, how-tos, dreams, business visions, finance strategies, meeting minutes and auto coaching notes? Loads of documents, sketches and remarks spread around the file system, cloud, web and Post-it notes? Are you affraid of your knowledge privacy? Are you able to find particular remarks once</Char_Desc_450>
<Char_Desc_2000>Are you drowning in information, but starving for knowledge? Where do you keep your private remarks like ideas, personal plans, exam preparation notes, gift tips, how-tos, dreams, business visions, finance strategies, meeting minutes and auto coaching notes? Loads of documents, sketches and remarks spread around the file system, cloud, web and Post-it notes? Are you affraid of your knowledge privacy? Are you able to find particular remarks once you create them? Do you know how are the remarks mutually related when you browse, read or write them? No? MindForger is open, free, well performing thinking note taking application with Markdown editor which respects your privacy.</Char_Desc_2000>
</English>
</Program_Descriptions>
<Web_Info>
Expand Down
4 changes: 2 additions & 2 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ dist-dmg: ## build macOS Disk iMaGe .dmg package
# obsolete repos: jessie-main

.PHONY: dist-debian-ppa
dist-debian-aptly-create-ppa: ## create Debian PPA for current Debian release: DISTRO=bullseye
cd ./build/debian && ./debian-ppa-aptly-build.sh
dist-debian-aptly-create-ppa: ## create Debian PPA for all releases
cd ./debian && ./debian-ppa-aptly-build.sh

#
# ^ Debian
Expand Down
6 changes: 3 additions & 3 deletions build/debian/debian-ppa-aptly-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@

#
# This script builds MindForger/HSTR Debian PPA for a particular Debian release.
# - it adds all .deb pacakges in given directory to aptly repository.
# - it adds all .deb packages in given directory to aptly repository.
#
# Usage:
#
# MF_DEBIAN_DISTRO_DIR=... MF_DEBIAN_RELEASE=... ./debian-aptly-add-deb.sh
# MF_DEBIAN_DISTRO_DIR=... MF_DEBIAN_RELEASE=... ./debian-ppa-aptly-build.sh
#
# Example:
#
# MF_DEBIAN_DEB_DIR=~/p/mindforger/debian/aptly/mindforger/12-bookworm \
# MF_DEBIAN_RELEASE=bookworm \
# ./debian-release-aptly-build.sh
# ./debian-ppa-aptly-build.sh
#
# aptly abstractions hierarchy:
#
Expand Down
32 changes: 24 additions & 8 deletions build/ubuntu/ubuntu-launchpad-releases-from-mind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@
# https://www.debian.org/doc/debian-policy/
#

# ########################################################################
# # Troubleshooting
# ########################################################################

# PROBLEM: build successfull, but .deb is NOT uploaded to Launchpad
# - check that .dsc file is signed using GPG
# - manually upload .dsc file from ~/p/mindforger/launchpad/* to Launchpad
# using dput:
#
# dput ppa:ultradvorka/productivity mindforger_2.0.6-0ubuntu1_source.changes
#

# ########################################################################
# # Configuration
# ########################################################################
Expand All @@ -86,12 +98,16 @@
# - https://wiki.ubuntu.com/Releases
# - obsolete:
# precise quantal saucy precise utopic vivid wily yakkety artful cosmic kinetic
# - current :
# (trusty) xenial bionic (cosmic disco eoan) focal (groovy) (hirsute) (impish) jammy (kinetic) mantic
# - command (Bash tuple of distro names):
# - history (* LTS):
# trusty* xenial* bionic* (cosmic disco eoan) focal* (groovy hirsute impish)
# jammy* (kinetic lunar) mantic
# - current ~ Bash tuple below || ./ubuntu-launchpad-releases-from-mind.sh <DISTRO> + manual upload:
# trusty xenial bionic focal jammy mantic
# - done (use ./ubuntu-launchpad-releases-from-mind.sh <DISTRO>):
# focal jammy kinetic
# - NOT RELEASED (non-satisfying hunspell version - can be fixed by downgrade to libhunspell-dev (>= 1.6) in build/ubuntu/debian/control:
# trusty xenial
#
#
#
# - TODO - required hunspell version not available on older Ubuntu versions:
# ERROR: pbuilder-satisfydepends-dummy : Depends: libhunspell-dev (>= 1.6) but it is not going to be installed.
# trusty xenial bionic mantic
Expand All @@ -106,16 +122,16 @@ fi
# environment variables
export MAJOR_VERSION=2
export MINOR_VERSION=0
export PATCH_VERSION=5 # patch version is incremented for every Ubuntu build @ Launchpad
export PATCH_VERSION=1 # patch version is incremented for every Ubuntu build @ Launchpad
export MF_VERSION="${MAJOR_VERSION}.${MINOR_VERSION}.${PATCH_VERSION}" # semantic version
export RM_CMD="rm -vrf "
export CP_CMD="cp -vrf "

export OPT_VERBOSE="v"
if [[ ${#} == 1 ]]
then
export OPT_DO_PUSH="false" # "true" to upload src to bazaar
export OPT_DO_RELEASE="false" # "true" to dpush binary .deb to Launchpad and TRIGGER release
export OPT_DO_PUSH="true" # "true" to upload src to bazaar
export OPT_DO_RELEASE="true" # "true" to dpush binary .deb to Launchpad and TRIGGER release
else
#export OPT_DO_PUSH="false" # "true" to upload src to bazaar
#export OPT_DO_RELEASE="false" # "true" to dpush binary .deb to Launchpad and TRIGGER release
Expand Down
13 changes: 10 additions & 3 deletions build/ubuntu/ubuntu-pbuilder-add-distros.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.

# https://wiki.ubuntu.com/Releases
# old: precise quantal saucy precise utopic vivid wily trusty (old GCC) yakkety artful cosmic disco eoan kinetic
# current: trusty xenial bionic focal jammy mantic
for DISTRO in bionic
# - obsolete:
# precise quantal saucy precise utopic vivid wily trusty (old GCC)
# yakkety artful cosmic disco eoan kinetic
# - current:
# trusty xenial bionic focal jammy mantic
#
# Distro is stored to:
# ~/pbuilder
#
for DISTRO in mantic
do
sudo pbuilder --create ${DISTRO}
rm -vf ~/pbuilder/${DISTRO}-base.tgz
Expand Down

0 comments on commit 8fc13a7

Please sign in to comment.