惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

rnote_macos:v0.14.0+227 commits

Remove Poppler (a9515106) · Commits · René de Hesselle / rnote_macos · GitLab Update lcms to 2.18.0 (be6f6b0c) · Commits · René de Hesselle / rnote_macos · GitLab Update runner to sequoia-7 (2be5835e) · Commits · René de Hesselle / rnote_macos · GitLab Update Rnote to 0.14.0 (ef5d60be) · Commits · René de Hesselle / rnote_macos · GitLab Update runner to sequoia-5 (7e527622) · Commits · René de Hesselle / rnote_macos · GitLab Raise minimum OS to Big Sur (9b5d3de9) · Commits · René de Hesselle / rnote_macos · GitLab Remove unused metamodule (9e8d54b8) · Commits · René de Hesselle / rnote_macos · GitLab Update Rnote bundle patch (fdf859b1) · Commits · René de Hesselle / rnote_macos · GitLab Upgrade HarfBuzz with Graphite (04b965ce) · Commits · René de Hesselle / rnote_macos · GitLab Fix fonts not being bundled (868da651) · Commits · René de Hesselle / rnote_macos · GitLab Update Rnote to 0.13.1 (0de16159) · Commits · René de Hesselle / rnote_macos · GitLab Use Sequoia runner (f52c9066) · Commits · René de Hesselle / rnote_macos · GitLab Apply updates from gtk-osx (941d3cd4) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 1.2 (dbe84463) · Commits · René de Hesselle / rnote_macos · GitLab Add pyparsing (0eab32bc) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 1.1 (871a6b14) · Commits · René de Hesselle / rnote_macos · GitLab Configure cache for new arm64 runner (d6dc4a92) · Commits · René de Hesselle / rnote_macos · GitLab Update README (66156455) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 0.56 (126396aa) · Commits · René de Hesselle / rnote_macos · GitLab Update libadwaita to 1.7.2 (2eaa5e36) · Commits · René de Hesselle / rnote_macos · GitLab Update Rnote to 0.12.0 (0a06d443) · Commits · René de Hesselle / rnote_macos · GitLab Update Rust to 1.86.0 (42523f9f) · Commits · René de Hesselle / rnote_macos · GitLab Update GTK to 4.18.4 (89f2c0ad) · Commits · René de Hesselle / rnote_macos · GitLab Add rnote-cli (b02b4fa2) · Commits · René de Hesselle / rnote_macos · GitLab Update libadwaita to 1.6.4 (867b1de5) · Commits · René de Hesselle / rnote_macos · GitLab Update GTK to 4.16.12 (e6f58829) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 0.55 (4f5c993e) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 0.52 (32059b65) · Commits · René de Hesselle / rnote_macos · GitLab Update Rnote to 0.11.0 (e4902aa7) · Commits · René de Hesselle / rnote_macos · GitLab Update Poppler to 24.07.0 (d6159982) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 0.51 (4eb79135) · Commits · René de Hesselle / rnote_macos · GitLab Update shared-mime-info to 2.4 (1e7fc04c) · Commits · René de Hesselle / rnote_macos · GitLab Update libadwaita to 1.5.2 (d038f087) · Commits · René de Hesselle / rnote_macos · GitLab Refactor runner tags (9652cd49) · Commits · René de Hesselle / rnote_macos · GitLab Update Poppler to 24.06.1 (f8bec9b5) · Commits · René de Hesselle / rnote_macos · GitLab Update libadwaita to 1.5.1 (054d4989) · Commits · René de Hesselle / rnote_macos · GitLab Update jhb to 0.49 (df46d094) · Commits · René de Hesselle / rnote_macos · GitLab Update hicolor-icon-theme to 0.18 (1da86055) · Commits · René de Hesselle / rnote_macos · GitLab Add workaround for gettext-rs and Xcode 15.4 (7a0bab3a) · Commits · René de Hesselle / rnote_macos · GitLab
Replace gtk-mac-bundler with abcreate (467892d2) · Commits · René de Hesselle / rnote_macos · GitLab
René de Hesselle · 2025-11-03 · via rnote_macos:v0.14.0+227 commits
Original line number Diff line number Diff line
@@ -30,10 +30,6 @@ if $CI; then # break in CI, otherwise we get interactive prompt by JHBuild
  error_trace_enable
fi

#-------------------------------------------- install application bundle creator

jhb build gtkmacbundler

#------------------------------------------------------------- create disk image

jhb build imagemagick # used to create dmg background
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@ source "$(dirname "${BASH_SOURCE[0]}")"/jhb/etc/jhb.conf.sh

### variables ##################################################################

# Nothing here.
SELF_DIR=$(dirname "$(greadlink -f "$0")")

### functions ##################################################################

@@ -40,6 +40,11 @@ fi
git -C "$RNOTE_SRC_DIR" checkout "$RNOTE_VERSION"
git -C "$RNOTE_SRC_DIR" submodule update --init --recursive

(
  cd "$RNOTE_SRC_DIR" || return
  patch -p1 < "$SELF_DIR"/resources/rnote_bundle.patch
)

# add build number to Rnote version
gsed -i "s/\(patch\ = '[^']*\)/\1 ($RNOTE_BUILD)/" "$RNOTE_SRC_DIR"/meson.build

Original line number Diff line number Diff line
@@ -34,29 +34,14 @@ svg2icns \
  "$RNOTE_SRC_DIR"/crates/rnote-ui/data/icons/scalable/apps/rnote-devel.svg \
  "$TMP_DIR"/Rnote.icns

#----------------------------------------------------- create application bundle

(
  cd "$SELF_DIR" || exit 1
  export ART_DIR # is referenced in rnote.bundle
cp "$SELF_DIR"/resources/rnote_document.icns "$TMP_DIR"

  jhb run gtk-mac-bundler resources/rnote.bundle
)

lib_change_path @executable_path/../Resources/lib/libpoppler.139.dylib \
  "$RNOTE_APP_CON_DIR"/MacOS/Rnote
lib_change_path @executable_path/../Resources/lib/libpoppler-glib.8.dylib \
  "$RNOTE_APP_CON_DIR"/MacOS/Rnote
#----------------------------------------------------- create application bundle

# Libraries in RNOTE_APP_LIB_DIR can reference each other directly.
lib_change_siblings "$RNOTE_APP_LIB_DIR"
cp "$SELF_DIR"/resources/rnote.plist "$TMP_DIR"

# Adjust library paths for other binaries.
lib_change_paths @executable_path/../Resources/lib "$RNOTE_APP_LIB_DIR" \
  "$RNOTE_APP_CON_DIR/MacOS/rnote-cli \
$RNOTE_APP_CON_DIR/MacOS/gtk4-demo \
$RNOTE_APP_CON_DIR/MacOS/adwaita-1-demo \
"
abcreate create -i "$VER_DIR" -o "$ART_DIR" \
  "$SELF_DIR"/resources/applicationbundle.xml

#------------------------------------------------------------- update Info.plist

@@ -97,16 +82,6 @@ $(date +%Y) Felix Zwettler'" "$RNOTE_APP_PLIST"
/usr/libexec/PlistBuddy -c "Add NSRemoveableVolumesUsageDescription string \
'Rnote needs your permission to access removeable volumes.'" "$RNOTE_APP_PLIST"

# add supported languages
/usr/libexec/PlistBuddy -c "Add CFBundleLocalizations array" \
  "$RNOTE_APP_PLIST"
/usr/libexec/PlistBuddy -c "Add CFBundleLocalizations: string 'en'" \
  "$RNOTE_APP_PLIST" # because there is no en.po file
for locale in "$RNOTE_SRC_DIR"/crates/rnote-ui/po/*.po; do
  /usr/libexec/PlistBuddy -c "Add CFBundleLocalizations: string \
'$(basename -s .po "$locale")'" "$RNOTE_APP_PLIST"
done

# add additional font directory for bundled fonts
/usr/libexec/PlistBuddy -c "Add ATSApplicationFontsPath string \
'share/rnote/fonts/'" "$RNOTE_APP_PLIST"
Original line number Diff line number Diff line
--- a/configure	2020-11-29 14:24:17.000000000 +0100
+++ b/configure	2020-11-29 14:21:40.000000000 +0100
@@ -0,0 +1,21 @@
+#!/usr/bin/env bash
+
+# This mocks a configure script to provide an interface for JHBuild.
+# We're only interested in the prefix so we can patch the Makefile.
+
+while [ "$#" -gt 0 ]; do
+  case $1 in
+    --prefix=*) PREFIX=${1:9}; break ;;
+    *) echo "ignoring parameter: $1" ;;
+  esac
+  shift
+done
+
+if [ -z $PREFIX ]; then
+  echo "--prefix=* argument not found"
+  exit 1
+else
+  sed -i "" "/bindir=/a\\
+    bindir=$PREFIX\/bin\\
+    " Makefile
+fi
Original line number Diff line number Diff line
@@ -79,29 +79,6 @@
      <dep package="glib" />
    </dependencies>
  </meson>
  <!--
    GTK Mac Bundler https://gitlab.gnome.org/GNOME/gtk-mac-bundler
  -->
  <autotools id="gtkmacbundler"
             autogen-sh="configure"
             makeargs="&amp;&amp; make install"
             skip-install="yes"
             supports-non-srcdir-builds="no">
    <branch module="gtk-mac-bundler/-/archive/90443a1d/gtk-mac-bundler-90443a1d.tar.bz2"
            version="90443a1d"
            hash="sha256:447146bacc3428f1336da88bd1a297d78fc2f4382494d22d29709fe38344e0a9"
            checkoutdir="gtk-mac-bundler-90443a1d"
            rename-tarball="gtk-mac-bundler-90443a1d.tar.bz2"
            repo="gnome_gitlab">
      <!--
        Mocks autotools interface to the extent that it provides a
        "configure". (But the "make install" is still broken and needs to
        be skipped.)
      -->
      <patch file="gtk-mac-bundler_autotools.patch"
             strip="1" />
    </branch>
  </autotools>
  <!--
    ImageMagick https://imagemagick.org
  -->