galaaz 2.1.10.pre.1 → 2.1.10.pre.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef32ca6ee37e23bda90feb1792a354f2f340e2d1897e8d03e2077f9fd653ee2f
4
- data.tar.gz: 578c0c6c4a379f4e30563ba5c52995c0ed66218a6b0ab50f8aa5d63326e3754a
3
+ metadata.gz: d3daf3e8ef8a905c19d570fd83de8218821a904f02f7ac8adda498cb5c42a6a6
4
+ data.tar.gz: 0d9071b1b04999a690cbb3d748a1e09d84a98b021f143d5fe950a9324a5daeb5
5
5
  SHA512:
6
- metadata.gz: 4a5005e35096ea61a162f822f620969bbea7323d94a58ca7de3dfab7bf4b361a59a3e1f1ba411416bdf3f3967a94ad88d75ef649c784262a6e203d427716a77f
7
- data.tar.gz: f2ad0ce59fed08866d4768645508064f48efeac9e9615b62c12ba5403f0255a5e12c98c7283a484d67b8e52afb33830293ac6792fe05b0c04b6c76f2690e0f88
6
+ metadata.gz: 6bbfb2c3bc020ef0768d7ba55754b8371ffd996f08c84d68396c5584449be24537550495bf3925c8ab3dc47aafd9a208de45a998f5ceee4e36f8d87d2bcaea4f
7
+ data.tar.gz: 5f7f357dc2e155e0934835d18aa5d6a2f8e61e985198ae39f6f4257d9073cb8cb91a3532ec3cccc9a687b3b4fa7f35696de2b51992cf3337ee0dc690469a8f00
data/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.1.10.pre.2
6
+
5
7
  ### Fixed
6
8
 
7
9
  - **gemspec**: `_logo_before_body.html` and `images/galaaz-lockup-stacked.png`
@@ -9,6 +11,12 @@
9
11
  after `gem install`. Blog asset whitelist now ensures these ship with the gem.
10
12
  - **doctor**: checks sty assets (`galaaz-header.png`, `galaaz-headers-from-p3.tex`)
11
13
  and per-blog knit assets (`_logo_before_body.html`, lockup PNG).
14
+ - Omarchy menu: install Knit also runs TeX (TinyTeX); removed Knit demo (oh_my)
15
+ entry; font install now runs `fc-cache -r` before refreshing `galaaz.ttf`.
16
+
17
+ ## 2.1.10.pre.1
18
+
19
+ Prerelease of blog-asset / doctor fixes (superseded by 2.1.10.pre.2).
12
20
 
13
21
  ## 2.1.9
14
22
 
data/lib/galaaz/cli.rb CHANGED
@@ -270,6 +270,7 @@ module Galaaz
270
270
  FileUtils.cp(src, dest)
271
271
  puts "galaaz omarchy: #{dest} (family #{OMARCHY_FONT_FAMILY}, U+E900)"
272
272
  if command_present?('fc-cache')
273
+ system('fc-cache', '-r')
273
274
  system('fc-cache', '-f', fonts)
274
275
  end
275
276
  warn 'galaaz omarchy: restart the Omarchy shell so Qt picks up the galaaz font' \
Binary file
@@ -157,8 +157,19 @@ esac
157
157
 
158
158
  echo "==> ${GALAAZ} add ${PROFILE}"
159
159
  set +e
160
- "${GALAAZ}" add "${PROFILE}"
161
- st=$?
160
+ if [[ "${PROFILE}" == "knit" ]]; then
161
+ "${GALAAZ}" add knit
162
+ st=$?
163
+ if [[ "${st}" -eq 0 ]]; then
164
+ echo
165
+ echo "==> ${GALAAZ} add tex (bundled with knit in Omarchy menu)"
166
+ "${GALAAZ}" add tex
167
+ st=$?
168
+ fi
169
+ else
170
+ "${GALAAZ}" add "${PROFILE}"
171
+ st=$?
172
+ fi
162
173
  set -e
163
174
 
164
175
  if [[ "${PROFILE}" == "knit" && "${st}" -eq 0 ]]; then
@@ -278,6 +278,7 @@ fi
278
278
  if [[ -f "${SCRIPT_DIR}/fonts/galaaz.ttf" ]]; then
279
279
  cp "${SCRIPT_DIR}/fonts/galaaz.ttf" "${HOME}/.local/share/fonts/galaaz/galaaz.ttf"
280
280
  if command -v fc-cache >/dev/null 2>&1; then
281
+ fc-cache -r >/dev/null 2>&1 || true
281
282
  fc-cache -f "${HOME}/.local/share/fonts/galaaz" >/dev/null 2>&1 || true
282
283
  fi
283
284
  log "menu font: ${HOME}/.local/share/fonts/galaaz/galaaz.ttf"
@@ -46,18 +46,11 @@
46
46
  "install.development.galaaz.knit": {
47
47
  "icon": "",
48
48
  "iconFont": "galaaz",
49
- "label": "Knit (HTML blogs)",
50
- "description": "pandoc + knitr/rmarkdown",
49
+ "label": "Knit (HTML + PDF blogs)",
50
+ "description": "pandoc + knitr/rmarkdown + TinyTeX",
51
51
  "action": "omarchy-launch-tui omarchy-galaaz-add knit",
52
52
  "disabled": "test -f ~/.config/galaaz/profiles/knit"
53
53
  },
54
- "install.development.galaaz.knit-demo": {
55
- "icon": "󰐊",
56
- "label": "Knit demo (oh_my)",
57
- "description": "gknit ~/galaaz-blogs/oh_my/oh_my.Rmd",
58
- "action": "omarchy-launch-tui omarchy-galaaz-guide knit-demo",
59
- "when": "test -f ~/.config/galaaz/profiles/knit"
60
- },
61
54
  "install.development.galaaz.arrow": {
62
55
  "icon": "",
63
56
  "iconFont": "galaaz",
data/version.rb CHANGED
@@ -1,2 +1,2 @@
1
1
  $gem_name = "galaaz"
2
- $version="2.1.10.pre.1"
2
+ $version="2.1.10.pre.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: galaaz
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.10.pre.1
4
+ version: 2.1.10.pre.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rodrigo Botafogo