forked from pool/bijiben
- BuildRequire gettext-devel instead of gettext: allow OBS to
shortcut through gettext-runtime-mini. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/bijiben?expand=0&rev=133
This commit is contained in:
commit
16a05e614b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
46
158.patch
Normal file
46
158.patch
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
From 994af76ce5144062d55d141129bf6bf5fab002ee Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michal Vasilek <michal@vasilek.cz>
|
||||||
|
Date: Sat, 22 Jan 2022 23:16:37 +0100
|
||||||
|
Subject: [PATCH] meson: fix build with meson 0.61
|
||||||
|
|
||||||
|
i18n.merge_file doesn't accept positional arguments
|
||||||
|
---
|
||||||
|
data/appdata/meson.build | 1 -
|
||||||
|
data/meson.build | 2 --
|
||||||
|
2 files changed, 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/data/appdata/meson.build b/data/appdata/meson.build
|
||||||
|
index 48a31e3c..d78d052f 100644
|
||||||
|
--- a/data/appdata/meson.build
|
||||||
|
+++ b/data/appdata/meson.build
|
||||||
|
@@ -1,7 +1,6 @@
|
||||||
|
info = 'org.gnome.Notes.appdata.xml'
|
||||||
|
|
||||||
|
i18n.merge_file(
|
||||||
|
- info,
|
||||||
|
input: info + '.in',
|
||||||
|
output: info,
|
||||||
|
po_dir: po_dir,
|
||||||
|
diff --git a/data/meson.build b/data/meson.build
|
||||||
|
index d00d98f1..556d5642 100644
|
||||||
|
--- a/data/meson.build
|
||||||
|
+++ b/data/meson.build
|
||||||
|
@@ -4,7 +4,6 @@ subdir('appdata')
|
||||||
|
mime = 'org.gnome.Notes.xml'
|
||||||
|
|
||||||
|
i18n.merge_file(
|
||||||
|
- mime,
|
||||||
|
input: mime + '.in',
|
||||||
|
output: mime,
|
||||||
|
po_dir: po_dir,
|
||||||
|
@@ -18,7 +17,6 @@ desktop_conf = configuration_data()
|
||||||
|
desktop_conf.set ('icon', application_id)
|
||||||
|
|
||||||
|
i18n.merge_file(
|
||||||
|
- desktop,
|
||||||
|
type: 'desktop',
|
||||||
|
input: configure_file(
|
||||||
|
input: files (desktop + '.in'),
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
3
bijiben-40.1.tar.xz
Normal file
3
bijiben-40.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:05a06fb066e9802f5f24ab67b0d2f71451866363ba3e39f9f775fd49a7587bbf
|
||||||
|
size 687344
|
11
bijiben-switch-to-soup3.patch
Normal file
11
bijiben-switch-to-soup3.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- orig-bijiben-40.1/meson.build 2021-04-30 13:59:10.302303300 +0200
|
||||||
|
+++ bijiben-40.1/meson.build 2022-08-30 22:11:07.619192939 +0200
|
||||||
|
@@ -126,7 +126,7 @@
|
||||||
|
dependency('libxml-2.0'),
|
||||||
|
dependency('libcurl'),
|
||||||
|
dependency('uuid'),
|
||||||
|
- dependency('webkit2gtk-4.0', version: '>= 2.26'),
|
||||||
|
+ dependency('webkit2gtk-4.1', version: '>= 2.26'),
|
||||||
|
cc.find_library('m')
|
||||||
|
]
|
||||||
|
|
1217
bijiben.changes
Normal file
1217
bijiben.changes
Normal file
File diff suppressed because it is too large
Load Diff
108
bijiben.spec
Normal file
108
bijiben.spec
Normal file
@ -0,0 +1,108 @@
|
|||||||
|
#
|
||||||
|
# spec file for package bijiben
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: bijiben
|
||||||
|
Version: 40.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Note editor for GNOME
|
||||||
|
License: CC-BY-SA-3.0 AND GPL-3.0-or-later
|
||||||
|
Group: Productivity/Text/Editors
|
||||||
|
URL: https://wiki.gnome.org/Apps/Bijiben
|
||||||
|
Source0: https://download.gnome.org/sources/bijiben/40/%{name}-%{version}.tar.xz
|
||||||
|
# PATCH-FIX-UPSTREAM 158.patch -- Fix build with meson 0.61.0 and newer
|
||||||
|
Patch0: https://gitlab.gnome.org/GNOME/gnome-notes/-/merge_requests/158.patch
|
||||||
|
# PATCH-FIX-UPSTREAM bijiben-switch-to-soup3.patch -- Backport upstream switch to soup3
|
||||||
|
Patch1: bijiben-switch-to-soup3.patch
|
||||||
|
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gettext-devel
|
||||||
|
BuildRequires: meson >= 0.50.0
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: yelp-tools
|
||||||
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.58
|
||||||
|
BuildRequires: pkgconfig(goa-1.0)
|
||||||
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.3
|
||||||
|
BuildRequires: pkgconfig(json-glib-1.0)
|
||||||
|
BuildRequires: pkgconfig(libcurl)
|
||||||
|
BuildRequires: pkgconfig(libecal-2.0) >= 3.33.92
|
||||||
|
BuildRequires: pkgconfig(libedataserver-1.2) >= 3.33.92
|
||||||
|
BuildRequires: pkgconfig(libhandy-1) >= 1.0.0
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(tracker-sparql-3.0)
|
||||||
|
BuildRequires: pkgconfig(uuid)
|
||||||
|
BuildRequires: pkgconfig(webkit2gtk-4.1) >= 2.26.0
|
||||||
|
|
||||||
|
%description
|
||||||
|
Bijiben is a note editor designed to remain simple to use.
|
||||||
|
|
||||||
|
%package -n gnome-shell-search-provider-%{name}
|
||||||
|
Summary: Note editor for GNOME -- Search Provider for GNOME Shell
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
Group: Productivity/Office/Other
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: gnome-shell
|
||||||
|
# Temporarily not to be pulled because a long due crash (bsc#1210322, bsc#1221387)
|
||||||
|
# Supplements: (%{name} and gnome-shell)
|
||||||
|
|
||||||
|
%description -n gnome-shell-search-provider-%{name}
|
||||||
|
Bijiben is a note editor designed to remain simple to use.
|
||||||
|
|
||||||
|
This package contains a search provider to enable GNOME Shell to get
|
||||||
|
search results from documents.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson \
|
||||||
|
-Dupdate_mimedb=false \
|
||||||
|
%{nil}
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
%fdupes -s %{buildroot}%{_datadir}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS NEWS README.md TODO
|
||||||
|
%doc %{_datadir}/help/C/%{name}/
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/org.gnome.Notes.desktop
|
||||||
|
%{_datadir}/%{name}/
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.Notes.gschema.xml
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Notes*
|
||||||
|
%{_datadir}/mime/packages/org.gnome.Notes.xml
|
||||||
|
%dir %{_datadir}/metainfo/
|
||||||
|
%{_datadir}/metainfo/org.gnome.Notes.appdata.xml
|
||||||
|
|
||||||
|
%files -n gnome-shell-search-provider-%{name}
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.Notes.SearchProvider.service
|
||||||
|
%dir %{_datadir}/gnome-shell
|
||||||
|
%dir %{_datadir}/gnome-shell/search-providers
|
||||||
|
%{_datadir}/gnome-shell/search-providers/org.gnome.Notes-search-provider.ini
|
||||||
|
%{_libexecdir}/%{name}-shell-search-provider
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user