# joplin.spec # vim:tw=0:ts=2:sw=2:et: # # Joplin - A secure notebook application. # End-to-end encrypted markdown. Syncable between your devices. # # Location of the RPM spec and builds... # https://github/taw00/joplin-rpm # https://copr.fedorainfracloud.org/coprs/taw/joplin # # The upstream project... # https://joplinapp.org # https://github.com/laurent22/joplin # --- # Package (RPM) name-version-release. # --[.][.].DIST[.] # Filters out unneccessary provides # See also: https://docs.fedoraproject.org/en-US/packaging-guidelines/Node.js/ %{?nodejs_default_filter} # this can make binaries unusable (it did with the Joplin appimage). Turning strip off (true?). # https://www.linuxquestions.org/questions/red-hat-31/prevent-strip-when-building-an-rpm-package-591099/ %global __strip /bin/true %define isTestBuild 0 # Note. We have not tested a build from source in a very long time. Therefore, # do not turn isRepackageBuild off. %define isRepackageBuild 1 %define buildTerminalApp 1 %define upgradeNPM 1 %define useNodeSourceReposEL 0 %define useNodeSourceReposFC 0 %define useNodeSourceReposLEAP 0 %define useNodeSourceReposTW 0 Name: joplin %define name2 Joplin Summary: Notebook Application %define appid org.joplinapp.joplin %define name_terminal joplin-terminal %define name_desktop joplin-desktop %define nativebuild 1 # Only used if the dev team or the RPM builder includes things like rc3 or the # date in the source filename %define buildQualifier 20190226 %undefine buildQualifier # VERSION %define vermajor 3.1 %define verminor 23 Version: %{vermajor}.%{verminor} # RELEASE %define _pkgrel 1 %if %{isTestBuild} %define _pkgrel 0.1 %endif # MINORBUMP %define minorbump taw # # Build the release string - don't edit this # # note, rp = repackaged %define snapinfo highlyexperimental %if ! %{isTestBuild} %undefine snapinfo %if %{isRepackageBuild} %define snapinfo rp %endif %else %define snapinfo testing %if %{isRepackageBuild} %define snapinfo testing.rp %endif %endif %if 0%{?buildQualifier:1} %define snapinfo %{buildQualifier} %if %{isRepackageBuild} %define snapinfo %{buildQualifier}.rp %endif %endif # pkgrel will also be defined, snapinfo and minorbump may not be %define _release %{_pkgrel} %if 0%{?snapinfo:1} %if 0%{?minorbump:1} %define _release %{_pkgrel}.%{snapinfo}%{?dist}.%{minorbump} %else %define _release %{_pkgrel}.%{snapinfo}%{?dist} %endif %else %if 0%{?minorbump:1} %define _release %{_pkgrel}%{?dist}.%{minorbump} %else %define _release %{_pkgrel}%{?dist} %endif %endif Release: %{_release} # ----------- end of release building section # https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing # Apache Software License 2.0 License: MIT # URL: https://joplin.cozic.net/ URL: https://joplinapp.org/ # Note1, for example, this will not build on ppc64le # Note2, attempted aarch64 (also called arm64?). Thus far, the builds fail. #ExclusiveArch: x86_64 i686 i586 i386 aarch64 ExclusiveArch: x86_64 # how are debug info and build_ids managed (I only halfway understand this): # https://github.com/rpm-software-management/rpm/blob/master/macros.in # ...flip-flop next two lines in order to disable (nil) or enable (1) debuginfo package build %define debug_package 1 %define debug_package %{nil} %define _unique_build_ids 1 %define _build_id_links alldebug # https://fedoraproject.org/wiki/Changes/Harden_All_Packages # https://fedoraproject.org/wiki/Packaging:Guidelines#PIE %define _hardened_build 1 # https://fedoraproject.org/wiki/Packaging:SourceURL #%%define sourceroot %%{name}-%%{vermajor}-%%{buildQualifier} %define sourceroot %{name}-%{vermajor} %define sourcetree %{name}-%{version} %define sourcetree_contrib %{name}-contrib %define sourcearchive_contrib %{name}-%{vermajor}-contrib %define appimagename %{name2}-%{version}.AppImage # /usr/share/org.joplinapp.joplin %define installtree %{_datadir}/%{appid} %if %{isRepackageBuild} Source0: https://github.com/laurent22/joplin/releases/download/v%{version}/%{appimagename} %else Source0: https://github.com/laurent22/joplin/archive/v%{version}/%{sourcetree}.tar.gz %endif Source1: https://github.com/taw00/joplin-rpm/raw/master/SOURCES/%{sourcearchive_contrib}.tar.gz # See https://discourse.joplinapp.org/t/dependency-on-canberra/6696 Suggests: libcanberra-gtk3 Requires: libnotify ###DEPRECATED###%%if ! %%{isRepackageBuild} || %%{buildTerminalApp} ###DEPRECATED#### Forcing default python version for builds here because something somewhere uses python2? ###DEPRECATED###%%global __python %%{python2} ###DEPRECATED###%%endif # Dependency calculations # Exclusions from provides and requires. _from values excludes from # calculations. Without the _from acts as a filter from the results. # Without this too many requirements get pulled in. For example, with the # terminal application build, it says it needs npm (blech!). # __provides_exclude_from #%%global __provides_exclude_from ^(lib.*\\.so.*|%%{installtree}/.*\\.so.*|%%{installtree}/desktop/resources/node_modules/.*|%%{installtree}/desktop/resources/app.asar.unpacked/node_modules/.*)$ # __provides_exclude %global __provides_exclude ^(lib.*\\.so.*)$ # __requires_exclude_from %global __requires_exclude_from ^(%{installtree}/.*\\.so.*|%{installtree}/terminal/lib/.*|%%{installtree}/desktop/resources/node_modules/.*|%%{installtree}/desktop/resources/app.asar.unpacked/node_modules/.*)$ # __requires_exclude %global __requires_exclude ^(libffmpeg[.]so.*|lib.*\\.so.*|/usr/bin/.*/coffee)$ BuildRequires: desktop-file-utils %if 0%{?suse_version:1} BuildRequires: appstream-glib %endif %if 0%{?rhel:1} BuildRequires: libappstream-glib %endif %if 0%{?fedora:1} BuildRequires: libappstream-glib %endif # BUILDREQUIRES IF BUILT FROM SOURCE %if ! %{isRepackageBuild} BuildRequires: libsecret-devel BuildRequires: git rsync grep # provided by coreutils RPM #BuildRequires: /usr/bin/readlink /usr/bin/dirname # OPENSUSE %if 0%{?suse_version:1} BuildRequires: ca-certificates-cacert ca-certificates-mozilla ca-certificates BuildRequires: gcc-c++ # this is ugly and wrong. but it works. BuildRequires: /usr/bin/python # OPENSUSE LEAP %if 0%{?sle_version} %if %{useNodeSourceReposLEAP} BuildRequires: nodejs >= 2:12 %else BuildRequires: npm #BuildRequires: nodejs npm %endif # OPENSUSE TUMBLEWEED %else %if %{useNodeSourceReposTW} BuildRequires: nodejs >= 2:12 %else BuildRequires: npm #BuildRequires: nodejs npm %endif ##BuildRequires: nodejs10 npm10 nodejs10-devel nodejs-common ##BuildRequires: nodejs14 npm14 nodejs14-devel nodejs-common ##BuildRequires: nodejs16 npm16 nodejs16-devel nodejs-common #BuildRequires: nodejs npm nodejs-devel nodejs-common %endif %endif # CENTOS / RHEL # All CentOS and EL may require upstream nodesource repos. This # is supplied by adding the appropriate repo to each OS setting # in COPR (EL7 always needs this set). # https://rpm.nodesource.com/pub_16.x/el/$releasever/$basearch # EL7 is too far behind on its available nodejs. Therefore we pull # from upstream for the build. Add this repos to mock and COPR. # https://rpm.nodesource.com/pub_16.x/el/$releasever/$basearch # In the past, this repo was also included: https://dl.yarnpkg.com/rpm/ # EL8's default nodejs is v10. We need at least v12 which is provided in the # nodejs 12 module. You have to enable the module in COPR in the settings for # EL8: nodejs:12 # See also https://docs.fedoraproject.org/en-US/modularity/installing-modules/ # This is the equivalent of doing sudo dnf module enable nodejs:12 at the # commandline. I do not know a way of specifying this in the .spec file. %if 0%{?rhel:1} BuildRequires: gcc-c++ %if 0%{?rhel} == 7 || %{useNodeSourceReposEL} BuildRequires: nodejs >= 2:12 %else BuildRequires: nodejs npm %endif # EL7 - build no longer supported %if 0%{?rhel} == 7 BuildRequires: python # EL8 %else %if 0%{?rhel} == 8 BuildRequires: python3 # EL9+ %else %if 0%{?rhel} > 8 BuildRequires: python %endif %endif %endif %endif # FEDORA %if 0%{?fedora:1} BuildRequires: gcc-c++ BuildRequires: python2.7 %if %{useNodeSourceReposFC} BuildRequires: nodejs >= 2:12 %else #BuildRequires: npm BuildRequires: npm BuildRequires: nodejs-devel >= 16 %endif %endif # [ENDIF] BUILDREQUIRES IF BUILT FROM SOURCE %endif # IF BUILDING TERMINAL APP # Tested on Fedora 35+ only so far %if %{buildTerminalApp} BuildRequires: npm nodejs %endif # Extra packages to enable mock environment introspection %if %{isTestBuild} BuildRequires: tree vim-enhanced less dnf iputils %endif %description Joplin is a secure notebook application designed to organize your notes, to-dos, web-snippets, and more. Documents are organized using tags and hierarchical notebooks and can be end-to-end synchronized with all your devices. Notes are can be searched, copied, tagged, and modified either from the applications directly or from your own favorite text editor. Notes are composed in the ever-popular and familiar markdown format. Notes can, of course, be imported from any markdown source Notes can also be imported from Evernote. Import from Evernote includes all associated resources (images, attachments, etc) and all metadata (geo-location, update time, creation time, etc). Notes can, of course, also be imported from any other markdown source. Mirroring to your devices and redundancy is achieved by a simple—and optionally end-to-end encrypted—synchronization to various cloud services including Joplin Cloud, Nextcloud, Dropbox, Onedrive, WebDAV, or your local or network-accessible file system. %prep # Prep section starts us in directory {_builddir} echo "======== prep stage ========" rm -rf %{sourceroot} ; mkdir -p %{sourceroot} # OPENSUSE %if 0%{?suse_version:1} echo "======== OpenSUSE version: %{suse_version} %{sle_version}" echo "-------- Leap 15.1 will report as 1500 150100" echo "-------- Leap 15.2 will report as 1500 150200" echo "-------- Leap 15.3 will report as 1500 150300" echo "-------- Tumbleweed will report as 1550 undefined" %if 0%{?sle_version} && 0%{?sle_version} < 150300 echo "Builds for OpenSUSE Leap older than 15.3 are not supported." exit 1 %endif %endif # FEDORA %if 0%{?fedora:1} echo "======== Fedora version: %{fedora}" %if 0%{?fedora} < 35 echo "Builds for Fedora older than v35 are no longer supported." exit 1 %endif %endif # CENTOS / RHEL %if 0%{?rhel:1} echo "======== EL version: %{rhel}" %if 0%{?rhel} < 8 echo "Builds for EL older than v8 are not supported." exit 1 %endif %endif # Unarchived source tree structure (extracted in {_builddir}) # {sourceroot} joplin-2.10 # \_{sourcetree} \_joplin-2.10.17 # \_{sourcetree_contrib} \_joplin-contrib # ...or if prebuilt... # \_{appimagename} \_Joplin-2.10.17.AppImage # \_{sourcetree_contrib} \_joplin-contrib # PREP STAGE FOR BUILD FROM PRE-BUILT BINARY %if %{isRepackageBuild} # Source0 (binary) mv %{SOURCE0} %{_builddir}/%{sourceroot}/%{appimagename} # Source1 (contrib) %setup -q -T -D -a 1 -n %{sourceroot} # PREP STAGE FOR BUILD FROM SOURCE %else # Source0 (src) and Source1 (contrib) %setup -q -T -D -a 0 -n %{sourceroot} %setup -q -T -D -a 1 -n %{sourceroot} # CENTOS / RHEL (EL8) -- special case python %if 0%{?rhel:1} %if 0%{?rhel} == 8 # In order to build the SQLite bits, a version of python must be # addressable as python from the commandline. Python3 on EL8 is # addessed as /usr/bin/python3. Python got bit crazy, but is # settling down with the end of python2 as of January 2020. Read # more about python and how it is packaged here: # https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/ mkdir -p $HOME/.local/bin if [ ! -e "$HOME/.local/bin/python" ] ; then ln -s /usr/bin/python3 $HOME/.local/bin/python fi %endif %endif # upgrade? from npm 6 to 7+ because upstream uses # "lockfileVersion": 2 in all package-lock.json files theoretically, # lockfileVersion 2 is backwards compatable: # https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json npm --version %if %{upgradeNPM} #npm install npm@7.19.1 npm install npm@latest npm install node-gyp@latest node_modules/.bin/npm --version %endif # [END] PREP STAGE FOR BUILD FROM SOURCE %endif %build # Build section starts us in directory {_builddir}/{sourceroot} echo "======== build stage ========" # # DESKTOP APP BUILD ========== # # BUILD FROM PRE-BUILT BINARY %if %{isRepackageBuild} # STUB -- may be a no-op # BUILD FROM SOURCE %else cd %{sourcetree} # FEDORA %if 0%{?fedora:1} %if 0%{?fedora} >= 29 %if 0%{?fedora} >= 33 echo "\ # forcing python2 here by the Joplin RPM specfile build script # this can be removed after build is complete PYTHON=%{python2}" >> ~/.bashrc source ~/.bashrc %endif # Fedora 28 or older %else # NOTE: This is here for posterity. # We are no longer building for Fedora 28 and older and I # don't think that yarn is used anymore. %if %{upgradeNPM} ../node_modules/.bin/npm install yarn %else npm install yarn %endif _pwd=$(pwd) echo "======== Mapping yarn so it can be found in the path" mkdir -p $HOME/.local/bin if [ ! -e "$HOME/.local/bin/yarn" ] ; then ln -s ${_pwd}/node_modules/.bin/yarn $HOME/.local/bin/yarn fi yarn add electron-builder --dev yarn add electron-packager --dev %endif %endif # CENTOS / RHEL (EL7 and EL8) %if 0%{?rhel:1} %if 0%{?rhel} >= 8 # ../node_modules/.bin/npm update # ../node_modules/.bin/npm install node-gyp # ../node_modules/.bin/npm install node-pre-gyp %endif %endif echo " ###### NOTE: You may see the build gripe about a husky build failure ###### because a .git can't be found. Ignore it. " ### FINALLY, BUILD IT! %if %{upgradeNPM} PYTHON=%{python2} ../node_modules/.bin/npm install --legacy-peer-deps %else npm install --legacy-peer-deps %endif cd packages/app-desktop %if %{upgradeNPM} PYTHON=%{python2} ../../../node_modules/.bin/npm run dist %else npm run dist %endif cd ../.. # experimenting. trying to get rid of all those error messages in the # developmental console in the UI #%%if 0%%{?nativebuild:1} #cd packages #mkdir app-desktop/dist/linux-unpacked/resources/app.asar.unpacked/node_modules/\@joplin #cp -a lib app-desktop/dist/linux-unpacked/resources/app.asar.unpacked/node_modules/\@joplin/ #cd .. #%%endif ### CLEANUP %if 0%{?nativebuild:1} cd packages/app-desktop/dist/linux-unpacked/resources # 7zip-bin and wrong architectures # For whatever reason, we end up with several 7zip-bin architectures. # They trigger incorrect and unmeetable dependencies. So we strip out # the irrelevant ones. # Question: Do we even need 7zip-bin at all? Probably(?), so leaving it in. %ifarch x86_64 amd64 aarch64 rm -rf $(find app*/node_modules/7zip-bin-linux/* -type d | grep -v x64) %else rm -rf $(find app*/node_modules/7zip-bin-linux/* -type d | grep -v ia32) %endif cd ../../../../.. %endif # [END] BUILD FROM SOURCE %endif # # TERMINAL APP BUILD ========== # # Tested on Fedora 35+ only so far %if %{buildTerminalApp} echo "Building Joplin Terminal App in %{_builddir}/%{sourceroot}/terminal/" npm install npm@latest #npm install node-gyp@latest node_modules/.bin/npm --version NPM_CONFIG_PREFIX=./terminal node_modules/.bin/npm install -g joplin %endif %check #%%if ! %%{isRepackageBuild} || %%{buildTerminalApp} %if ! %{isRepackageBuild} %{__nodejs} -e 'require("./")' %endif %install # Install section starts us in directory {_builddir}/{sourceroot} # Cheatsheet for some built-in RPM macros: # https://fedoraproject.org/wiki/Packaging:RPMMacros # _builddir = {_topdir}/BUILD # _buildrootdir = {_topdir}/BUILDROOT # buildroot = {_buildrootdir}/{name}-{version}-{release}.{_arch} # _datadir = /usr/share # _mandir = /usr/share/man # _sysconfdir = /etc # _libdir = /usr/lib or /usr/lib64 (depending on system) # _metainfodir = /usr/share/metainfo # Note: We install to /usr/share/ because /opt is for unpackaged applications # http://www.pathname.com/fhs/pub/fhs-2.3.html %if 0%{?suse_version:1} # Old versions of RPM and opensuse as of Leap 15.2 and Tumbleweed (2020-07) # don't have _metainfodir defined %define _metainfodir %{_datadir}/metainfo %endif # Create directories #install -d %%{buildroot}%%{_libdir}/%%{appid} install -d -m755 -p %{buildroot}%{_bindir} install -d %{buildroot}%{installtree}/desktop #install -d %%{buildroot}%%{installtree}/terminal install -d %{buildroot}%{_datadir}/applications install -d %{buildroot}%{_metainfodir} echo "\ [Desktop Entry] Type=Application Name=Joplin GenericName=Secure Notebook Comment=A free and secure notebook management application Exec=%{name_desktop} Icon=%{appid} Terminal=false # https://specifications.freedesktop.org/menu-spec/latest/apa.html Categories=Network;Office;TextEditor;WordProcessor;X-Markdown;X-KaTeX;X-Mermaid;X-Fountain;X-E2EE; Keywords=secure;security;privacy;private;notes;bookmarks;collaborate;research; StartupWMClass=Joplin StartupNotify=true # .desktop spec: https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/ # .metainfo.xml spec: https://www.freedesktop.org/software/appstream/docs/ " > %{buildroot}%{_datadir}/applications/%{appid}.desktop # icons install -D -m644 -p %{sourcetree_contrib}/desktop-icons/hicolor-64-%{appid}.png %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/from-upstream/128x128.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/from-upstream/256x256.png %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/from-upstream/512x512.png %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/from-upstream/JoplinIcon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg # repackage RPM builds don't have a sourcetree - so, just do it all from contrib #install -D -m644 -p %%{sourcetree}/Assets/LinuxIcons/128x128.png %%{buildroot}%%{_datadir}/icons/hicolor/128x128/apps/%%{appid}.png #install -D -m644 -p %%{sourcetree}/Assets/LinuxIcons/256x256.png %%{buildroot}%%{_datadir}/icons/hicolor/256x256/apps/%%{appid}.png #install -D -m644 -p %%{sourcetree}/Assets/LinuxIcons/512x512.png %%{buildroot}%%{_datadir}/icons/hicolor/512x512/apps/%%{appid}.png #install -D -m644 -p %%{sourcetree}/Assets/JoplinIcon.svg %%{buildroot}%%{_datadir}/icons/hicolor/scalable/apps/%%{appid}.svg # icons install -D -m644 -p %{sourcetree_contrib}/desktop-icons/highcontrast-64-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/64x64/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop-icons/highcontrast-128-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/128x128/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop-icons/highcontrast-256-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/256x256/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop-icons/highcontrast-512-%{appid}.png %{buildroot}%{_datadir}/icons/HighContrast/512x512/apps/%{appid}.png install -D -m644 -p %{sourcetree_contrib}/desktop-icons/highcontrast-scalable-%{appid}.svg %{buildroot}%{_datadir}/icons/HighContrast/scalable/apps/%{appid}.svg desktop-file-validate %{buildroot}%{_datadir}/applications/%{appid}.desktop install -D -m644 -p %{sourcetree_contrib}/%{appid}.metainfo.xml %{buildroot}%{_metainfodir}/%{appid}.metainfo.xml appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.metainfo.xml # INSTALL BUILD FROM PRE-BUILT BINARY %if %{isRepackageBuild} # appimages can be large ... mv'ing is more efficient than installing mv -v %{appimagename} %{buildroot}%{_bindir}/%{name_desktop} # INSTALL BUILD FROM SOURCE %else # Native build %if 0%{?nativebuild:1} install -D -m755 -p %{sourcetree}/packages/app-desktop/dist/linux-unpacked/\@joplinapp-desktop %{buildroot}%{installtree}/desktop/%{name_desktop} rm %{sourcetree}/packages/app-desktop/dist/linux-unpacked/\@joplinapp-desktop cp -a %{sourcetree}/packages/app-desktop/dist/linux-unpacked/* %{buildroot}%{installtree}/desktop ln -s %{installtree}/desktop/%{name_desktop} %{buildroot}%{_bindir}/%{name_desktop} # Non-native alternative build: package the source-built AppImage instead %else install -D -m755 -p %{sourcetree}/packages/app-desktop/dist/%{appimagename} %{buildroot}%{_bindir}/%{name_desktop} %endif # [END] INSTALL BUILD FROM SOURCE %endif # INSTALL JOPLIN TERMINAL # Tested on Fedora 35+ only so far %if %{buildTerminalApp} mv %{_builddir}/%{sourceroot}/terminal %{buildroot}%{installtree}/ ln -s %{installtree}/terminal/bin/joplin %{buildroot}%{_bindir}/%{name_terminal} %endif %files %defattr(-,root,root,-) %license %{sourcetree_contrib}/from-upstream/LICENSE %doc %{sourcetree_contrib}/from-upstream/LICENSE.electron.txt %doc %{sourcetree_contrib}/from-upstream/LICENSES.chromium.html # repackage RPM builds don't have a sourcetree, so we just pull from contrib #%%license %%{sourcetree}/LICENSE #%%doc %%{sourcetree}/packages/app-desktop/dist/linux-unpacked/LICENSE.electron.txt #%%doc %%{sourcetree}/packages/app-desktop/dist/linux-unpacked/LICENSES.chromium.html # DESKTOP %if %{isRepackageBuild} %attr (755, root, root) %{_bindir}/%{name_desktop} %else %if 0%{?nativebuild:1} %attr (755, root, root) %{installtree}/desktop/%{name_desktop} %else %attr (755, root, root) %{_bindir}/%{name_desktop} %endif %endif %{installtree} # desktop environment metadata %{_datadir}/applications/%{appid}.desktop %{_metainfodir}/%{appid}.metainfo.xml # desktop environment icons %{_datadir}/icons/hicolor/64x64/apps/%{appid}.png %{_datadir}/icons/hicolor/128x128/apps/%{appid}.png %{_datadir}/icons/hicolor/256x256/apps/%{appid}.png %{_datadir}/icons/hicolor/512x512/apps/%{appid}.png %{_datadir}/icons/hicolor/scalable/apps/%{appid}.svg %{_datadir}/icons/HighContrast/64x64/apps/%{appid}.png %{_datadir}/icons/HighContrast/128x128/apps/%{appid}.png %{_datadir}/icons/HighContrast/256x256/apps/%{appid}.png %{_datadir}/icons/HighContrast/512x512/apps/%{appid}.png %{_datadir}/icons/HighContrast/scalable/apps/%{appid}.svg # TERMINAL %if %{buildTerminalApp} %attr (755, root, root) %{installtree}/terminal/bin/joplin %{_bindir}/%{name_terminal} %endif %post umask 007 #/sbin/ldconfig > /dev/null 2>&1 /usr/bin/update-desktop-database &> /dev/null || : %postun umask 007 #/sbin/ldconfig > /dev/null 2>&1 /usr/bin/update-desktop-database &> /dev/null || : %changelog * Fri Nov 8 2024 Todd Warner 3.1.23-1.rp.taw * Fri Nov 8 2024 Todd Warner 3.1.23-0.1.rp.taw - 3.1.23 * Wed Nov 6 2024 Todd Warner 3.1.22-1.rp.taw * Wed Nov 6 2024 Todd Warner 3.1.22-0.1.rp.taw - 3.1.22 * Sun Oct 27 2024 Todd Warner 3.1.20-1.rp.taw * Sun Oct 27 2024 Todd Warner 3.1.20-0.1.rp.taw - 3.1.20 * Thu Aug 22 2024 Todd Warner 3.0.15-1.rp.taw * Thu Aug 22 2024 Todd Warner 3.0.15-0.1.rp.taw - 3.0.15 * Tue Jul 30 2024 Todd Warner 3.0.14-1.rp.taw * Tue Jul 30 2024 Todd Warner 3.0.14-0.1.rp.taw - 3.0.14 * Sun Jul 07 2024 Todd Warner 3.0.13-1.rp.taw * Sun Jul 07 2024 Todd Warner 3.0.13-0.1.rp.taw - 3.0.13 * Tue Jul 02 2024 Todd Warner 3.0.12-1.rp.taw * Tue Jul 02 2024 Todd Warner 3.0.12-0.1.rp.taw - 3.0.12 - https://discourse.joplinapp.org/t/whats-new-in-joplin-3-0/38867/1 - spec file: fixed some bogus dates * Wed May 22 2024 Todd Warner 2.14.22-1.rp.taw * Wed May 22 2024 Todd Warner 2.14.22-0.1.rp.taw - 2.14.22 - this fixes a security vulnerability: https://github.com/laurent22/joplin/releases/tag/v2.14.22 * Sun Apr 21 2024 Todd Warner 2.14.20-2.rp.taw * Sun Apr 21 2024 Todd Warner 2.14.20-1.1.rp.taw - bumping libcanberra from gtk2 to gtk3 and hoping this solves a SUSE dependency issue. - changing the requires to a suggests because a strict need for it is not correct * Wed Apr 10 2024 Todd Warner 2.14.20-1.rp.taw * Wed Apr 10 2024 Todd Warner 2.14.20-0.1.rp.taw - 2.14.20 * Mon Mar 18 2024 Todd Warner 2.14.19-2.rp.taw * Mon Mar 18 2024 Todd Warner 2.14.19-1.1.rp.taw - Removed cruft that made its way into the contrib tarball. * Mon Mar 18 2024 Todd Warner 2.14.19-1.rp.taw * Mon Mar 18 2024 Todd Warner 2.14.19-0.1.rp.taw - 2.14.19 * Sat Mar 2 2024 Todd Warner 2.14.17-1.rp.taw * Sat Mar 2 2024 Todd Warner 2.14.17-0.1.rp.taw - 2.14.17 * Fri Jan 12 2024 Todd Warner 2.13.13-1.rp.taw * Fri Jan 12 2024 Todd Warner 2.13.13-0.1.rp.taw - 2.13.13 * Tue Jan 02 2024 Todd Warner 2.13.12-1.rp.taw * Tue Jan 02 2024 Todd Warner 2.13.12-0.1.rp.taw - 2.13.12 * Tue Dec 26 2023 Todd Warner 2.13.11-1.rp.taw * Tue Dec 26 2023 Todd Warner 2.13.11-0.1.rp.taw - 2.13.11 * Wed Dec 13 2023 Todd Warner 2.13.9-1.rp.taw * Wed Dec 13 2023 Todd Warner 2.13.9-0.1.rp.taw - 2.13.9 * Wed Dec 6 2023 Todd Warner 2.13.8-1.rp.taw * Wed Dec 6 2023 Todd Warner 2.13.8-0.1.rp.taw - 2.13.8 * Wed Oct 25 2023 Todd Warner 2.12.19-1.rp.taw * Wed Oct 25 2023 Todd Warner 2.12.19-0.1.rp.taw - 2.12.19 * Wed Sep 27 2023 Todd Warner 2.12.18-1.rp.taw * Wed Sep 27 2023 Todd Warner 2.12.18-0.1.rp.taw - 2.12.18 * Fri Sep 15 2023 Todd Warner 2.12.17-1.rp.taw * Fri Sep 15 2023 Todd Warner 2.12.17-0.1.rp.taw - 2.12.17 * Wed Sep 6 2023 Todd Warner 2.12.15-1.rp.taw * Wed Sep 6 2023 Todd Warner 2.12.15-0.1.rp.taw - 2.12.15 * Mon Jun 26 2023 Todd Warner 2.11.11-1.rp.taw * Mon Jun 26 2023 Todd Warner 2.11.11-0.1.rp.taw - 2.11.11 * Thu May 18 2023 Todd Warner 2.10.19-1.rp.taw * Thu May 18 2023 Todd Warner 2.10.19-0.1.rp.taw - 2.10.19 * Mon May 08 2023 Todd Warner 2.10.17-1.rp.taw * Mon May 08 2023 Todd Warner 2.10.17-0.1.rp.taw - 2.10.17 - the source archive for contrib keeps the version in it's filename - the source tree for contrib drops the version from the folder name * Tue Apr 25 2023 Todd Warner 2.10.13-1.rp.taw * Tue Apr 25 2023 Todd Warner 2.10.13-0.1.rp.taw - 2.10.13 * Tue Nov 15 2022 Todd Warner 2.9.17-1.rp.taw * Tue Nov 15 2022 Todd Warner 2.9.17-0.1.rp.taw - native builds still unsuccessful * Sat Sep 3 2022 Todd Warner 2.8.8-3.1.testing.taw - had to force --legacy-peer-deps with npm installs - native builds still unsuccessful * Fri Sep 2 2022 Todd Warner 2.8.8-3.rp.taw * Fri Sep 2 2022 Todd Warner 2.8.8-2.3.testing.rp.taw * Tue Aug 30 2022 Todd Warner 2.8.8-2.2.testing.rp.taw * Tue Aug 30 2022 Todd Warner 2.8.8-2.1.testing.rp.taw * Tue Aug 30 2022 Todd Warner 2.8.8-2.rp.taw * Tue Aug 30 2022 Todd Warner 2.8.8-1.1.testing.rp.taw - trimmed down the package dependencies. - specfile cleanup * Mon Aug 29 2022 Todd Warner 2.8.8-2.rp.taw * Mon Aug 29 2022 Todd Warner 2.8.8-1.1.testing.rp.taw - Joplin Terminal app added - tightened up some of the restrictions on builds - fixed some terminal build strings - fixed a weird (and rarely used) logic error in the files section * Tue Jun 21 2022 Todd Warner 2.8.8-1.rp.taw * Tue Jun 21 2022 Todd Warner 2.8.8-0.1.testing.rp.taw - Still building using .appdata image. I am tired of fighting nodejs. - https://github.com/laurent22/joplin/releases/tag/v2.8.8 - https://github.com/laurent22/joplin/releases/tag/v2.8.7 - https://github.com/laurent22/joplin/releases/tag/v2.8.6 - https://github.com/laurent22/joplin/releases/tag/v2.8.5 - https://github.com/laurent22/joplin/releases/tag/v2.8.4 - https://github.com/laurent22/joplin/releases/tag/v2.8.2 * Thu Mar 17 2022 Todd Warner 2.7.15-1.rp.taw * Thu Mar 17 2022 Todd Warner 2.7.15-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.7.15 - https://github.com/laurent22/joplin/releases/tag/v2.7.14 * Thu Feb 24 2022 Todd Warner 2.7.13-1.rp.taw * Thu Feb 24 2022 Todd Warner 2.7.13-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.7.13 * Sun Dec 19 2021 Todd Warner 2.6.10-1.rp.taw * Sun Dec 19 2021 Todd Warner 2.6.10-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.6.10 * Sat Dec 18 2021 Todd Warner 2.6.9-1.rp.taw * Sat Dec 18 2021 Todd Warner 2.6.9-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.6.9 * Tue Nov 9 2021 Todd Warner 2.5.12-1.rp.taw * Tue Nov 9 2021 Todd Warner 2.5.12-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.5.12 - pre-built from binary again. I can't figure out what is going on with the build-from-source process just yet. * Mon Nov 1 2021 Todd Warner 2.5.10-1.rp.taw * Mon Nov 1 2021 Todd Warner 2.5.10-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.5.10 - pre-built from binary again. I can't figure out what is going on with the build-from-source process just yet. * Thu Oct 14 2021 Todd Warner 2.4.12-1.rp.taw * Thu Oct 14 2021 Todd Warner 2.4.12-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.4.12 - pre-built from binary again. I can't figure out what is going on with the build-from-source process just yet. * Thu Sep 30 2021 Todd Warner 2.4.9-1.rp.taw * Thu Sep 30 2021 Todd Warner 2.4.9-0.1.testing.rp.taw - https://github.com/laurent22/joplin/releases/tag/v2.4.9 - pre-built from binary again. I can't figure out what is going on with the build-from-source process just yet. * Fri Aug 20 2021 Todd Warner 2.3.5-2.rp.taw * Fri Aug 20 2021 Todd Warner 2.3.5-1.1.testing.rp.taw - Simplified how the binary blob is addressed. Instead of sharing it and storing it locally, just leave it upstream, just like the normal source archive. * Fri Aug 20 2021 Todd Warner 2.3.5-1.rp.taw * Fri Aug 20 2021 Todd Warner 2.3.5-0.1.testing.rp.taw - THIS BUILD IS A TOTAL MESS. READ ON. - https://github.com/laurent22/joplin/releases/tag/v2.3.5 - experimenting with updating the run-time npm to version 7+ in support of upstream lockfileVersion in package-lock.json files. But, in theory, the lockfileVersion of 2 means it is still backwards compatible. - IMPORTANT -- COULD NOT GET joplin 2.3.3+ to build. See issue: https://github.com/taw00/joplin-rpm/issues/8 - Attempting build using pre-built binaries, but leaving a TON of experimental specfile kruft in until I figure out what is going on. - Copied upstream icons and license files to contrib archive so if we build from pre-built binaries we don't have to include the upstream source tarball in the source RPM. * Tue Aug 17 2021 Todd Warner 2.3.3-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.3.3 - in specfile: flipped the logic and changed the variable: s/targetIsProduction/isTestBuild - experimenting with updating the run-time npm to version 7+ in support of upstream lockfileVersion in package-lock.json files. But, in theory, the lockfileVersion of 2 means it is still backwards compatible. * Sun Aug 15 2021 Todd Warner 2.2.7-1.1.testing.taw - The summary is too expressive for Fedora Packaging Guidelines. Reduced. * Wed Aug 11 2021 Todd Warner 2.2.7-1.taw * Wed Aug 11 2021 Todd Warner 2.2.7-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.2.7 - apparently, there was a couple issues with the last release. * Wed Aug 11 2021 Todd Warner 2.2.6-1.taw * Wed Aug 11 2021 Todd Warner 2.2.6-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.2.6 - https://github.com/laurent22/joplin/releases/tag/v2.2.5 - https://github.com/laurent22/joplin/releases/tag/v2.2.4 - https://github.com/laurent22/joplin/releases/tag/v2.2.2 * Tue Jul 20 2021 Todd Warner 2.1.9-1.taw * Tue Jul 20 2021 Todd Warner 2.1.9-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.1.9 * Mon Jul 5 2021 Todd Warner 2.1.8-1.taw * Mon Jul 5 2021 Todd Warner 2.1.8-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.1.8 * Thu Jul 1 2021 Todd Warner 2.1.7-1.taw * Thu Jul 1 2021 Todd Warner 2.1.7-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.1.7 - https://github.com/laurent22/joplin/releases/tag/v2.1.5 pre-release - https://github.com/laurent22/joplin/releases/tag/v2.1.3 pre-release * Thu Jun 24 2021 Todd Warner 2.0.11-2.taw * Thu Jun 24 2021 Todd Warner 2.0.11-1.1.testing.taw - Fixes https://github.com/laurent22/joplin/issues/4330 Apparently, app-desktop/build is not a superfluous build artifact. - Updated nodejs versions for OpenSUSE Leap 15.2 and Tumbleweed - Added spec macros that cleans up nodejs-triggered provides. * Wed Jun 16 2021 Todd Warner 2.0.11-1.taw * Wed Jun 16 2021 Todd Warner 2.0.11-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v2.0.11 * Mon May 17 2021 Todd Warner 1.8.5-1.taw * Mon May 10 2021 Todd Warner 1.8.5-0.1.testing.taw - https://github.com/laurent22/joplin/releases/tag/v1.8.5 pre-release - Updated OpenSUSE's tumbleweed nodejs BuildRequires * Thu Feb 4 2021 Todd Warner 1.7.11-1.taw * Thu Feb 4 2021 Todd Warner 1.7.11-0.1.testing.taw - 1.7.11 — https://github.com/laurent22/joplin/releases/tag/v1.7.11 * Fri Jan 22 2021 Todd Warner 1.6.8-1.taw * Fri Jan 22 2021 Todd Warner 1.6.8-0.1.testing.taw - 1.6.8 — https://github.com/laurent22/joplin/releases/tag/v1.6.8 - Had to boost nodejs version requirements for SUSE Tumbleweed * Sun Jan 03 2021 Todd Warner 1.5.14-1.1.testing.taw - testing allowing builds on aarch64 --> FAILED (changes commented out) * Sun Jan 03 2021 Todd Warner 1.5.14-1.taw * Sun Jan 03 2021 Todd Warner 1.5.14-0.1.testing.taw - 1.5.14 — https://github.com/laurent22/joplin/releases/tag/v1.5.14 * Tue Dec 01 2020 Todd Warner 1.4.19-1.taw * Tue Dec 01 2020 Todd Warner 1.4.19-0.1.testing.taw - 1.4.19 — https://github.com/laurent22/joplin/releases/tag/v1.4.19 * Tue Dec 01 2020 Todd Warner 1.4.18-2.taw * Tue Dec 01 2020 Todd Warner 1.4.18-1.1.testing.taw - Fixing the RHEL8 builds by using nodejs from upstream. * Sat Nov 28 2020 Todd Warner 1.4.18-1.taw * Sat Nov 28 2020 Todd Warner 1.4.18-0.1.testing.taw - 1.4.18 — https://github.com/laurent22/joplin/releases/tag/v1.4.18 * Tue Nov 24 2020 Todd Warner 1.4.12-1.1.testing.taw * Tue Nov 24 2020 Todd Warner 1.4.12-0.1.testing.taw - 1.4.12 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.4.12 - OpenSUSE 15.2 stopped building. Couldn't find /usr/bin/python -- fixed! * Sat Nov 14 2020 Todd Warner 1.4.10-0.1.testing.taw - 1.4.10 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.4.10 * Fri Nov 13 2020 Todd Warner 1.4.9-0.1.testing.taw - 1.4.9 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.4.9 - This version restructures the build with lerna and organizes the application bits differently. So lots of changes from prior builds. Yarn is no longer used for example. sqlite3 is pulled in by the build, etc. * Sat Nov 7 2020 Todd Warner 1.3.18-1.taw * Sat Nov 7 2020 Todd Warner 1.3.18-0.1.testing.taw - 1.3.18 release — https://github.com/laurent22/joplin/releases/tag/v1.3.18 * Thu Oct 29 2020 Todd Warner 1.2.6-2.taw * Thu Oct 29 2020 Todd Warner 1.2.6-1.1.testing.taw - changes to get this to build on Fedora 33 - python2 is no longer required to build the SQLite bits, thank god. Not even shipped with Fedora 33. Updated the spec accordingly. - upstream tarball is no longer mirrored in the joplin-rpm github. Redundant. Updated the spec accordingly. * Fri Oct 9 2020 Todd Warner 1.2.6-1.taw * Fri Oct 9 2020 Todd Warner 1.2.6-0.1.testing.taw - 1.2.6 release — https://github.com/laurent22/joplin/releases/tag/v1.2.6 * Wed Sep 30 2020 Todd Warner 1.2.4-0.1.testing.taw - 1.2.4 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.2.4 * Tue Sep 29 2020 Todd Warner 1.2.3-0.1.testing.taw - 1.2.3 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.2.3 * Mon Sep 21 2020 Todd Warner 1.1.4-1.taw * Mon Sep 21 2020 Todd Warner 1.1.4-0.1.testing.taw - 1.1.4 release — https://github.com/laurent22/joplin/releases/tag/v1.1.4 * Thu Sep 17 2020 Todd Warner 1.1.3-0.1.testing.taw - 1.1.3 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.1.3 * Tue Sep 15 2020 Todd Warner 1.1.2-0.1.testing.taw - 1.1.2 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.1.2 * Wed Sep 09 2020 Todd Warner 1.0.245-1.taw * Wed Sep 09 2020 Todd Warner 1.0.245-0.1.testing.taw - 1.0.245 release — https://github.com/laurent22/joplin/releases/tag/v1.0.245 * Sun Sep 06 2020 Todd Warner 1.0.242-1.taw * Sun Sep 06 2020 Todd Warner 1.0.242-0.1.testing.taw - 1.0.242 release — https://github.com/laurent22/joplin/releases/tag/v1.0.242 * Wed Sep 02 2020 Todd Warner 1.0.239-0.1.testing.taw - 1.0.239 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.0.239 * Sun Aug 02 2020 Todd Warner 1.0.233-1.taw - 1.0.233 release — https://github.com/laurent22/joplin/releases/tag/v1.0.233 * Sat Aug 01 2020 Todd Warner 1.0.233-0.1.testing.taw - 1.0.233 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.0.233 * Wed Jul 29 2020 Todd Warner 1.0.232-0.1.testing.taw - 1.0.232 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.0.232 * Sun Jul 26 2020 Todd Warner 1.0.231-0.3.testing.taw - builds for opensuse 15.1 are now successful as well * Sun Jul 26 2020 Todd Warner 1.0.231-0.2.testing.taw - builds for opensuse 15.2 and tumbleweed are finally successful! * Sat Jul 25 2020 Todd Warner 1.0.231-0.1.testing.taw - 1.0.231 pre-release - https://github.com/laurent22/joplin/releases/tag/v1.0.231 - Also improved the .desktop file and made some other minor changes. * Wed Jul 22 2020 Todd Warner 1.0.229-0.2.testing.taw - s/appdata.xml/metainfo.xml -- closer adherance to the freedesktop spec - installtree is now /usr/share/[appid]/ - reducing the PNG icon set to 64, 128, 256, and 512 * Sat Jul 18 2020 Todd Warner 1.0.229-0.1.testing.taw - 1.0.229 pre-release — https://github.com/laurent22/joplin/releases/tag/v1.0.229 - working towards OpenSUSE Leap 15.2 and Tumbleweed successful builds (not there yet) * Sun Jul 12 2020 Todd Warner 1.0.227-1.taw * Wed Jul 8 2020 Todd Warner 1.0.227-0.1.testing.taw - 1.0.227 — https://github.com/laurent22/joplin/releases/tag/v1.0.227 * Thu Jun 25 2020 Todd Warner 1.0.224-2.taw * Thu Jun 25 2020 Todd Warner 1.0.224-1.1.testing.taw - icons need to be in desktop spec name ID format as well: org.joplinapp.Joplin.png/svg * Tue Jun 23 2020 Todd Warner 1.0.224-1.taw - 1.0.224 — https://github.com/laurent22/joplin/releases/tag/v1.0.224 * Mon Jun 22 2020 Todd Warner 1.0.224-0.2.testing.taw - org.joplinapp.Joplin.desktop and org.joplinapp.Joplin.appdata.xml moved to these names to be in compliance with: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#file-naming https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent https://dbus.freedesktop.org/doc/dbus-specification.html#message-protocol-names https://docs.flatpak.org/en/latest/conventions.html * Sun Jun 21 2020 Todd Warner 1.0.224-0.1.testing.taw - 1.0.224 — https://github.com/laurent22/joplin/releases/tag/v1.0.224 - Fixed regression - Improved: API: Improved error handling on service end-point - Fixed: API: Fixed externalEditWatcher/noteIsWatched call, fixed tests - New: API: Add support for external editing from API - New: Add default filename for jex export (#3034 by @CalebJohn) - New: Add swapLineUp and swapLineDown keys to Code Mirror editor (#3363 by @CalebJohn) - Improved: Do not expand the left notebook when following a link to a note - Improved: Reduce database logging statements - Improved: Remove auto-indent for in note html/xml for Code Mirror (#3374 by @CalebJohn) - Fixed: Fix getLineSpan logic and list token regex logic (#3365 by @CalebJohn) - Fixed: Fixed various bugs related to the import of ENEX files as HTML - Fixed: Prevent desktop.ini file from breaking sync lock (#3381) * Sat Jun 13 2020 Todd Warner 1.0.220-0.1.testing.taw - 1.0.220 — - Improved: Improved escaping of Markdown titles in links (#3333) - Improved: Refactored themes to allow using the same ones in both desktop and mobile version - Fixed: Fixed issue with setting filename for edited attachments - Fixed: Prevent notebook to be the parent of itself (#3334) * Sat Jun 13 2020 Todd Warner 1.0.218-1.taw * Sun Jun 07 2020 Todd Warner 1.0.218-0.1.testing.taw - specfile: removed sed build requirement (a legacy requirement) - specfile: new BuildRequires: libsecret-devel - New editor: Code Mirror (potentially replacing Ace Editor?) - New translation (Bahasa Indonesian) - Improvement: Upload attachments > 4MB if you use OneDrive - And a whole pile of smaller improvements and fixes * Mon Jun 01 2020 Todd Warner 1.0.216-3.taw * Mon Jun 01 2020 Todd Warner 1.0.216-2.2.testing.taw - allowing OpenSuse 15.2 builds. * Mon Jun 01 2020 Todd Warner 1.0.216-2.taw * Mon Jun 01 2020 Todd Warner 1.0.216-1.2.testing.taw * Tue May 26 2020 Todd Warner 1.0.216-1.1.testing.taw - First attempt at including the terminal application. - Added libnotify dependency. Technically optional but it makes things better. - Cleaned up provides and requires. autoreq pulls in far too much. * Sun May 24 2020 Todd Warner 1.0.216-1.taw * Sun May 24 2020 Todd Warner 1.0.216-0.1.testing.taw - 1.0.216 - Fixed raw source links in specfile - First attempt at OpenSUSE build -- FAILED at npm install (failed husky install) * Thu May 21 2020 Todd Warner 1.0.214-1..taw * Thu May 21 2020 Todd Warner 1.0.214-0.1.testing.taw - 1.0.214 * Thu May 21 2020 Todd Warner 1.0.212-0.1.testing.taw - 1.0.212 testing * Wed May 20 2020 Todd Warner 1.0.211-0.1.testing.taw - 1.0.211 testing * Tue May 12 2020 Todd Warner 1.0.207-0.1.testing.taw - 1.0.207 testing * Thu Apr 16 2020 Todd Warner 1.0.201-1.taw * Thu Apr 16 2020 Todd Warner 1.0.201-0.1.testing.taw - 1.0.201 * Sun Apr 12 2020 Todd Warner 1.0.200-1.taw * Sun Apr 12 2020 Todd Warner 1.0.200-0.1.testing.taw - 1.0.200 * Tue Mar 31 2020 Todd Warner 1.0.197-1.taw * Tue Mar 31 2020 Todd Warner 1.0.197-0.1.testing.taw - 1.0.197 * Thu Mar 26 2020 Todd Warner 1.0.195-1.taw * Thu Mar 26 2020 Todd Warner 1.0.195-0.1.testing.taw - 1.0.195 * Sat Mar 14 2020 Todd Warner 1.0.194-0.1.testing.taw - 1.0.194 -- hey, cool. Apparently this version comes with a WYSIWYG. - Seeing issues with not being able to switch documents via the sidebars. * Sun Mar 08 2020 Todd Warner 1.0.193-1.1.testing.taw - added StartupWMClass window-grouping designation - updated XML metadata to include a history of versions * Sun Mar 08 2020 Todd Warner 1.0.193-1.taw * Sun Mar 08 2020 Todd Warner 1.0.193-0.2.testing.taw - 1.0.192 -- libcanberra-gtk2 dependency is not generated for some reason. See https://discourse.joplinapp.org/t/dependency-on-canberra/6696 * Sun Mar 08 2020 Todd Warner 1.0.193-0.1.testing.taw * Sat Mar 07 2020 Todd Warner 1.0.192-0.1.testing.taw * Fri Mar 06 2020 Todd Warner 1.0.190-0.1.testing.taw * Wed Mar 04 2020 Todd Warner 1.0.189-0.1.testing.taw - 1.0.189, 1.0.190, 1.0.192, 1.0.193 * Mon Mar 02 2020 Todd Warner 1.0.187-0.2.testing.taw * Mon Mar 02 2020 Todd Warner 1.0.187-0.1.testing.taw - 1.0.187 - The build process upstream was simplified which resulted in changes to the spec * Sat Jan 25 2020 Todd Warner 1.0.179-1.taw * Sat Jan 25 2020 Todd Warner 1.0.179-0.1.testing.taw - 1.0.179 * Fri Jan 24 2020 Todd Warner 1.0.178-1.taw * Fri Jan 24 2020 Todd Warner 1.0.178-0.3.testing.taw - 1.0.178 -- a "fatal error" is reported but it is an error in a git lookup that otherwise does not break the build. The only work around (so far) is what you see in 1.0.178-0.2 below which is not ideal. The error is generated in the code found in ./ElectronClient/app/compile-package-info.js * Fri Jan 24 2020 Todd Warner 1.0.178-0.2.testing.taw - 1.0.178 -- my own tarball generated from the git repo tag (and includes git info) seems to work. Ugly, but it is a workaround. * Tue Jan 21 2020 Todd Warner 1.0.178-0.1.testing.taw - 1.0.178 -- release tarball fails just like 1.0.177 * Fri Jan 17 2020 Todd Warner 1.0.177-0.2.testing.taw * Wed Jan 01 2020 Todd Warner 1.0.177-0.1.testing.taw - 1.0.177 -- fails to build correctly * Mon Dec 16 2019 Todd Warner 1.0.176-0.1.testing.taw - 1.0.176 - (specfile) fixed svg icon filename - (specfile) joplin should own individual icons, not the whole icon file tree * Mon Dec 9 2019 Todd Warner 1.0.175-1.1.testing.taw - changed my mind on a naming scheme for an icon. Trivial, but it is indeed a change. * Mon Dec 9 2019 Todd Warner 1.0.175-1.taw * Mon Dec 9 2019 Todd Warner 1.0.175-0.1.testing.taw - 1.0.175 - icon was changed. I created highcontrast versions in contrib tarball and they are deployed as they should be with the packaging into the desktop environment. * Sat Nov 16 2019 Todd Warner 1.0.174-1.1.testing.taw - specfile cleanup - contrib tarball cleanup * Wed Nov 13 2019 Todd Warner 1.0.174-1.taw * Wed Nov 13 2019 Todd Warner 1.0.174-0.1.testing.taw - 1.0.174 - first successful build on Fedora 31 using an sqlite3 versioning hack in package.json. Look what I did with sed and grep in the prep phase - and why the HECK does Joplin require python2 to build!?! Terrible. * Mon Nov 11 2019 Todd Warner 1.0.173-1.taw * Mon Nov 11 2019 Todd Warner 1.0.173-0.1.testing.taw - 1.0.173 - problems with building on Fedora 31 due to python support issues * Mon Oct 14 2019 Todd Warner 1.0.170-1.taw * Mon Oct 14 2019 Todd Warner 1.0.170-0.1.testing.taw - 1.0.170 - problems with building on Fedora 31 due to python support issues * Sat Sep 28 2019 Todd Warner 1.0.169-0.1.testing.taw - 1.0.169 - problems with building on Fedora 31 due to python support issues * Wed Sep 25 2019 Todd Warner 1.0.168-1.taw - 1.0.168 - problems with building on Fedora 31 due to python support issues * Tue Sep 10 2019 Todd Warner 1.0.167-1.taw - 1.0.167 - fixes an upstream link management issue * Mon Sep 09 2019 Todd Warner 1.0.166-1.taw - 1.0.166 - fixes an upstream PDF export issue * Thu Aug 15 2019 Todd Warner 1.0.165-1.taw - 1.0.165 * Sun Jul 14 2019 Todd Warner 1.0.161-1.taw - 1.0.161 * Tue Jun 18 2019 Todd Warner 1.0.160-1.taw * Tue Jun 18 2019 Todd Warner 1.0.160-0.1.testing.taw - 1.0.160 * Tue Jun 11 2019 Todd Warner 1.0.159-1.taw * Tue Jun 11 2019 Todd Warner 1.0.159-0.1.testing.taw - 1.0.159 * Tue May 28 2019 Todd Warner 1.0.158-1.taw * Tue May 28 2019 Todd Warner 1.0.158-0.1.testing.taw - 1.0.158 * Sun May 26 2019 Todd Warner 1.0.157-1.taw * Fri May 24 2019 Todd Warner 1.0.157-0.1.testing.taw - 1.0.157 * Tue May 14 2019 Todd Warner 1.0.153-1.taw * Tue May 14 2019 Todd Warner 1.0.153-0.1.testing.taw - 1.0.153 * Mon May 13 2019 Todd Warner 1.0.152-1.taw * Mon May 13 2019 Todd Warner 1.0.152-0.1.testing.taw - 1.0.152 * Sun May 12 2019 Todd Warner 1.0.151-1.taw * Sun May 12 2019 Todd Warner 1.0.151-0.1.testing.taw - 1.0.151 * Sat May 11 2019 Todd Warner 1.0.147-1.taw * Sat May 11 2019 Todd Warner 1.0.147-0.1.testing.taw - 1.0.147 * Mon May 06 2019 Todd Warner 1.0.145-1.taw * Mon May 06 2019 Todd Warner 1.0.145-0.1.testing.taw - 1.0.145 - Note, have to tred carefully with npm update and audit fix. Can lead to breakage and behavior is never certain. * Wed May 01 2019 Todd Warner 1.0.144-1.taw * Wed May 01 2019 Todd Warner 1.0.144-0.1.testing.taw - 1.0.144 * Mon Apr 22 2019 Todd Warner 1.0.143-1.taw * Mon Apr 22 2019 Todd Warner 1.0.143-0.1.testing.taw - 1.0.143 - normal soft break behavior rolled into the application. Woot. https://github.com/laurent22/joplin/pull/1408 * Wed Apr 03 2019 Todd Warner 1.0.142-2.taw * Wed Apr 03 2019 Todd Warner 1.0.142-1.1.testing.taw - a bit more checking during builds for existence of python symlink - have to force the path reset right prior to npm install for EL8 support * Tue Apr 02 2019 Todd Warner 1.0.142-1.taw * Tue Apr 02 2019 Todd Warner 1.0.142-0.1.testing.taw - 1.0.142 * Wed Mar 20 2019 Todd Warner 1.0.140-1.taw * Tue Mar 19 2019 Todd Warner 1.0.140-0.1.testing.taw - 1.0.140