Compare commits

..

36 commits

Author SHA1 Message Date
Luya Tshimbalanga
72216be6bc Update to upstream 1.3.7
Resolves: rhbz#2512924
2026-08-11 08:41:13 -07:00
Fedora Release Engineering
c62f5e4469 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 09:24:13 +00:00
Luya Tshimbalanga
09b0f12638 Update to upstream 1.3.6 2026-07-14 17:19:17 -07:00
Luya Tshimbalanga
6e9bed5299 Update to 1.3.5 (#2486189) 2026-06-09 08:41:06 -07:00
Luya Tshimbalanga
23d951cb8b Upload source 2026-03-29 11:33:09 -07:00
Luya Tshimbalanga
fae7f5064b Update to 1.3.4 (rhbz#2452801) 2026-03-29 11:29:34 -07:00
Luya Tshimbalanga
5631a8dcd4 Upload new source 2026-02-28 10:50:09 -08:00
Luya Tshimbalanga
f2486c8240 Update to 1.3.3 (rhbz#2443564) 2026-02-28 10:42:31 -08:00
Luya Tshimbalanga
f74c393d40 Update to 1.3.2 (rhbz#2436551) 2026-02-03 16:04:17 -08:00
Fedora Release Engineering
9579ebb820 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 20:51:38 +00:00
Luya Tshimbalanga
0bd18f65d2 Update to 1.3.1 (rhbz#2424237) 2025-12-22 08:39:15 -08:00
Luya Tshimbalanga
53d0687aed Upload source 2025-12-13 00:49:03 -08:00
Luya Tshimbalanga
8b8640307c Update to 1.3.0 2025-12-13 00:43:14 -08:00
Luya Tshimbalanga
00cc2e5fb2 Update to 1.2.10 2025-12-07 10:07:22 -08:00
Luya Tshimbalanga
8b23116989 Update to 1.2.8
This update also modernize the spec file using forge format
2025-09-03 22:19:39 -07:00
Fedora Release Engineering
f725dcc1a1 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 21:02:12 +00:00
Luya Tshimbalanga
4ac0c985c1 Update to 1.2.7 (rhbz#2365399) 2025-05-11 10:10:28 -07:00
Cristian Le
2664407cff Rebuild with CMake Ninja generator proposal
Signed-off-by: Cristian Le <git@lecris.dev>
2025-04-30 12:07:00 +02:00
Luya Tshimbalanga
fd2990cc16 "Update to 1.2.6"
* Fixed compass outline drawing
* Exposed selected text to the windowing system
Details on [release notes](https://github.com/xournalpp/xournalpp/releases/tag/v1.2.6)
2025-02-22 13:10:56 -08:00
Fedora Release Engineering
b4e211c354 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 16:13:14 +00:00
Luya Tshimbalanga
1c2c515ca2 Update to 1.2.5 (rhbz#2330518) 2024-12-05 20:12:49 -08:00
Luya Tshimbalanga
37f66486b4 Update to 1.2.4 (rhbz#2052951) 2024-10-21 17:40:22 -07:00
Miroslav Suchý
93a0b47b85 convert GPLv2+ license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-07-26 03:59:06 +02:00
Fedora Release Engineering
4fc7308f51 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 10:24:00 +00:00
Luya Tshimbalanga
f3463c248f Update to 1.2.3 (#2267430)
...
- Clean up spec file
2024-03-03 12:19:42 -08:00
Fedora Release Engineering
b351786c78 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 10:04:08 +00:00
Luya Tshimbalanga
500b7df5c2 Update to 1.2.2 (rhbz#2244196) 2023-10-14 09:27:58 -07:00
Luya Tshimbalanga
136311ada1 Update to 1.2.1 (rhbz#2234873) 2023-08-27 13:12:49 -07:00
Luya Tshimbalanga
cb62e820a3 Update to 1.2.0 2023-07-30 10:59:44 -07:00
Fedora Release Engineering
094b132024 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 19:13:47 +00:00
Orion Poplawski
a0817d75a4 Add patch for missing include with gcc 13 2023-01-21 21:47:32 -07:00
Fedora Release Engineering
6651bee830 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 07:48:09 +00:00
Yaakov Selkowitz
2dce52f68e Remove obsolete desktop file modification
The desktop file was fixed upstream, and using desktop-file-install
instead of desktop-file-edit breaks the flatpak build.
2023-01-15 20:55:01 -05:00
Luya Tshimbalanga
0725aac31b Update to 1.1.3 2022-11-28 09:10:05 -08:00
Luya Tshimbalanga
24c8caca38 Update to 1.1.2 (#2136012) 2022-10-30 13:43:07 -07:00
Fedora Release Engineering
906dd71027 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 13:28:01 +00:00
3 changed files with 88 additions and 48 deletions

18
.gitignore vendored
View file

@ -7,3 +7,21 @@
/xournalpp-1.1.1.tar.gz
/xournalpp-1.1.2.tar.gz
/xournalpp-1.1.3.tar.gz
/xournalpp-1.2.0.tar.gz
/xournalpp-1.2.1.tar.gz
/xournalpp-1.2.2.tar.gz
/xournalpp-1.2.3.tar.gz
/xournalpp-1.2.4.tar.gz
/xournalpp-1.2.5.tar.gz
/xournalpp-1.2.6.tar.gz
/xournalpp-1.2.7.tar.gz
/xournalpp-1.2.8.tar.gz
/xournalpp-1.2.10.tar.gz
/xournalpp-1.3.0.tar.gz
/xournalpp-1.3.1.tar.gz
/xournalpp-1.3.2.tar.gz
/xournalpp-1.3.3.tar.gz
/xournalpp-1.3.4.tar.gz
/xournalpp-1.3.5.tar.gz
/xournalpp-1.3.6.tar.gz
/xournalpp-1.3.7.tar.gz

View file

@ -1 +1 @@
SHA512 (xournalpp-1.1.3.tar.gz) = 7b3f1507a8f7b2b5ebef093e319008d4bc14b961ab528af490d133bc64176b85b14a4002753f5444f8fd96c326e7c6cf5d1bad443ad7ce2ea56e9f465aacae3d
SHA512 (xournalpp-1.3.7.tar.gz) = 119f11d9a6a22c616b104b559a56fa960047a898e016c22987d44fadcae5659896f7d7ecb110b86bd3bce8d5bdfb5b78849233e96bfa3905b6c750ce80ea3c5d

View file

@ -1,92 +1,113 @@
%global __cmake_in_source_build 0
%global _with_cppunit 1
%global _gtest 1
#%%global profiling 0
%bcond cppunit 1
%bcond gtest 1
%bcond profiling 1
# qpdf is not available with the required version on RHEL ≤ 9
%if 0%{?rhel} && 0%{?rhel} <= 9
%bcond qpdf 0
%else
%bcond qpdf 1
%endif
%global forgeurl https://github.com/xournalpp/xournalpp
Name: xournalpp
Version: 1.1.3
Version: 1.3.7
Release: %autorelease
Summary: Handwriting note-taking software with PDF annotation support
License: GPLv2+
URL: https://github.com/%{name}/%{name}
Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
License: GPL-2.0-or-later
%forgemeta
URL: %{forgeurl}
Source: %{forgesource}
BuildRequires: cmake >= 3.10
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: git
BuildRequires: help2man
BuildRequires: libappstream-glib
%{?_with_cppunit:
BuildRequires: pkgconfig(cppunit) >= 1.12-0
}
BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: ninja-build
%if %{with cppunit}
BuildRequires: pkgconfig(cppunit) >= 1.12
%endif
BuildRequires: pkgconfig(glib-2.0) >= 2.32
%if %{with gtest}
BuildRequires: pkgconfig(gtest)
%endif
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.9
BuildRequires: pkgconfig(gtksourceview-4) >= 4.0.0
BuildRequires: pkgconfig(librsvg-2.0)
%{?profiling:
%if %{with profiling}
BuildRequires: pkgconfig(libprofiler) >= 2.5
BuildRequires: pkgconfig(libtcmalloc) >= 2.5
}
BuildRequires: pkgconfig(libxml-2.0) >= 2.0.0
%endif
%if %{with qpdf}
BuildRequires: pkgconfig(libqpdf) >= 10.6.0
%endif
BuildRequires: pkgconfig(libxml-2.0) >= 2.0
BuildRequires: pkgconfig(libzip) >= 1.0.1
BuildRequires: pkgconfig(lua) >= 5.3
BuildRequires: pkgconfig(poppler-glib) >= 0.41.0
BuildRequires: pkgconfig(poppler-glib) >= 0.41
BuildRequires: pkgconfig(portaudiocpp) >= 12
BuildRequires: pkgconfig(sndfile) >= 1.0.25
Recommends: texlive-latex-bin
Requires: hicolor-icon-theme
Requires: %{name}-plugins = %{version}-%{release}
Requires: %{name}-ui = %{version}-%{release}
%description
Xournal++ is a handwriting note-taking software with PDF annotation support.
Supports Pen input like Wacom Tablets
Xournal++ is a handwriting note-taking application with PDF annotation support.
It is optimized for pen input such as Wacom tablets.
%package plugins
Summary: Default plugin for %{name}
%package plugins
Summary: Default plugins for %{name}
BuildArch: noarch
%description plugins
The %{name}-plugins package contains sample plugins for %{name}.
%description plugins
This package contains sample plugins for %{name}.
%package ui
Summary: User interface for %{name}
%package ui
Summary: User interface files for %{name}
BuildArch: noarch
%description ui
The %{name}-ui package contains a graphical user interface for %{name}.
%description ui
This package contains user interface resources for %{name}.
%prep
%autosetup
%forgeautosetup -p1
%build
%cmake \
-DDISTRO_CODENAME="Fedora Linux" \
%{?_with_cppunit: -DENABLE_CPPUNIT=ON} \
-DENABLE_MATHTEX=ON \
-DMAC_INTEGRATION=OFF
-DCMAKE_BUILD_TYPE="Release" \
-DDISTRO_CODENAME="Fedora Linux" \
-DENABLE_GTEST=%{with gtest} \
-DENABLE_PROFILING=%{with profiling} \
-DENABLE_QPDF=%{with qpdf}
%cmake_build
%install
%cmake_install
#Remove depreciated key from desktop file
#Fix desktop file associated with application
desktop-file-install \
--remove-key="Encoding" \
--set-key="StartupWMClass" \
--set-value="xournalpp" \
%{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop
%find_lang %{name}
# REMOVE UNNECESSARY SCRIPTS
find %{buildroot}%{_datadir}/%{name} -name update-icon-cache.sh -delete -print
%fdupes %{buildroot}%{_datadir}
# Generate and install man pages.
install -d '%{buildroot}%{_mandir}/man1'
for cmd in %{buildroot}%{_bindir}/*
do
LD_LIBRARY_PATH='%{buildroot}%{_libdir}' \
help2man \
--no-info --no-discard-stderr --version-string='%{version}' \
--output="%{buildroot}%{_mandir}/man1/$(basename "${cmd}").1" \
"${cmd}"
done
# Remove unnecessary scripts and duplicate files
find %{buildroot} -name "*.sh" -delete
%fdupes %{buildroot}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/com.github.%{name}.%{name}.desktop
@ -95,23 +116,24 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/com.github.%{n
%files -f %{name}.lang
%license LICENSE
%doc README.md AUTHORS
%{_bindir}/%{name}-thumbnailer
%{_bindir}/%{name}
%{_bindir}/%{name}{,-thumbnailer,-wrapper}
%{_datadir}/applications/com.github.%{name}.%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/com.github.%{name}.%{name}.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/*
%{_datadir}/mime/packages/com.github.%{name}.%{name}.xml
%exclude %{_datadir}/mimelnk/application/*
%{_datadir}/thumbnailers/com.github.%{name}.%{name}.thumbnailer
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/palettes/*.gpl
%{_datadir}/%{name}/resources/*_template.tex
%{_mandir}/man1/%{name}*.gz
%{_metainfodir}/com.github.%{name}.%{name}.appdata.xml
%files plugins
%doc README.md
%{_datadir}/%{name}/plugins
%files ui
%doc README.md
%{_datadir}/%{name}/ui
%changelog