Compare commits

...

No commits in common. "factory" and "devel" have entirely different histories.

4 changed files with 123 additions and 66 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
nemo-6.2.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:68d829614beeb2596aa706db5ff070fcfc0e96ab7e3d2561772b52bed6c8ca38
size 1505198

View File

@ -1,3 +1,80 @@
-------------------------------------------------------------------
Tue Aug 13 03:29:04 UTC 2024 - Richard Rahl <rrahl0@opensuse.org>
- update to 6.2.8:
* Fix some codespell complaints.
* Remove gtk-layer-shell
* Remove .nemo_action language files from files/usr, they're already
- update to 6.2.7:
* actions: Add better documentation, fix misleading warning message
- update to 6.2.6:
* nemo-action-manager.c: Generate unique names for actions when
they are loaded
- update to 6.2.5:
* action-layout-editor: Translate action names
- update to 6.2.4:
* nemo-view.c: Don't create a zero-length Empty Document
- update to 6.2.3:
* nemo-action-layout-editor.glade: Set a translation domain
* nemo-icon-container.c: Don't tie the interactive search box
* Fix handling of actions that are not part of the layout
- update to 6.2.2:
* layout editor: Update the disabled list immediately when an action
- update to 6.2.1:
* eel-gnome-extensions.c: Set GNOME Terminal to FALSE
* layout editor: Don't allow duplicate uuids when saving the layout
- update to 6.2.0:
* nemo-action-layout-editor: Add up/down arrows as an alternative
* Remove Edit->Plugins
* layout-editor: Simplify UI/labels, center dialog
* layout-editor: Add a label to explain the editor
* nemo-action-layout-editor: Refactor to allow importing the editor
* eel-gnome-extensions.c: Support whitespace in execution commands
* nemo-desktop-main.c: Add missing include
* nemo-view.c: Use an actual timeout duration when updating the
status bar/floater
* Fix confusing NEMO_LIST_ICON_SIZE_ definitions
* nemo-view.c & nemo-window-menus.c: Add support for terminals
* nemo-thumbnails.c: Always respect the thumbnail thread count
* application: Guard a new GLib log function with a version check
* nemo-file.c: Update default date-time formats to adapt to GDateTime
* Set a log domain to allow restricting debug output to Nemo only
* nemo-action.c: Fix regression when processing desktop actions
* Revert "nemo-desktop: use app_id as .desktop file name"
* Revert "Rename initial desktop file to match final name, clean up some"
* polkit: Go back to using auth_admin_keep
* nemo-action-layout-editor.py: Enable save after drag-and-drop
* actions: Refactor some code to reduce duplication
* nemo-view.c: Fix a build warning
* file: default to not being able to trash
* nemo-thumbnails.c: Always have at least 1 thumbnail thread
* Rename initial desktop file to match final name, clean up some
* nemo-desktop: use app_id as .desktop file name
* org.nemo.root.policy.in: Allow escalation for remote users
* nemo-dnd: Have the drag and drop text data not be uris but plain paths
* Fix builds with gtk_layer_shell=false or omitted
* meson.build: Build even if gtk-layer-shell's version is too low
* Support drawing the desktop on wayland using gtk-layer-shell
* actions: Fix build for non-debug builds, remove a stray debug line
* all: Stop using g_slice, fix a leak and remove an obsolete
* nemo-action.c: Allow absolute path pattern matching for File and
* Make wayland dependency optional
* nemo-action.c: Add Locations and Files fields
* Implement submenus for actions
* nemo-list-view.c: Add a permanent bottom margin when overlay
* mimetype defs: Add missing key names
* nemo-action-manager.c: Do not reinvent strcmp
* nemo-action-manager.c: Fix order of actions
* packaging: Forbid compilation if the symbols file is outdated
- update to 6.0.2:
* nemo-file.c: Escape tooltip text for markup before adding any
- update to 6.0.1:
* nemo-icon-canvas-item.c: Fix the state check to see if a surface
* remove nemo-convert-metadata tool
- remove older Leap support
- use more pkgconfig
- enable selinux support
-------------------------------------------------------------------
Sat Nov 25 19:02:13 UTC 2023 - Dirk Müller <dmueller@suse.com>

108
nemo.spec
View File

@ -1,7 +1,7 @@
#
# spec file for package nemo
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -16,27 +16,22 @@
#
%define soname libnemo-extension
%define sover 1
%define typelib typelib-1_0-Nemo-3_0
%define sover 1
Name: nemo
Version: 6.0.0
Version: 6.2.8
Release: 0
Summary: File browser for Cinnamon
License: GPL-2.0-or-later
Group: System/GUI/Other
URL: https://github.com/linuxmint/nemo
Source: https://github.com/linuxmint/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gtk-doc
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: python3-gobject
BuildRequires: shared-mime-info
BuildRequires: tracker-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(cinnamon-desktop)
BuildRequires: pkgconfig(dbus-1)
@ -45,14 +40,18 @@ BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
BuildRequires: pkgconfig(gtk+-wayland-3.0) >= 3.10.0
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(gtksourceview-2.0)
BuildRequires: pkgconfig(gtksourceview-3.0)
BuildRequires: pkgconfig(gtksourceview-4)
BuildRequires: pkgconfig(libexif)
BuildRequires: pkgconfig(libgsf-1)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: pkgconfig(tracker-sparql-3.0)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xapp) >= 1.9.0
Requires: desktop-file-utils >= 0.7
@ -60,7 +59,6 @@ Requires: glib2-tools
Requires: gvfs >= 1.3.2
Requires: python3
Requires: shared-mime-info >= 0.50
Recommends: %{name}-lang
Recommends: gdk-pixbuf-loader-rsvg
Recommends: gvfs-backends
Recommends: python3dist(xlrd)
@ -68,100 +66,80 @@ Suggests: xdg-user-dirs
Suggests: xplayer
Suggests: xreader
Suggests: xviewer
%glib2_gsettings_schema_requires
%description
Nemo is the file manager for the Cinnamon desktop environment.
%package devel
Summary: Development files for Nemo
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: %{soname}%{sover} = %{version}
Requires: %{typelib} = %{version}
Requires: lib%{name}-extension%{sover} = %{version}
Requires: typelib-1_0-Nemo-3_0 = %{version}
%description devel
Nemo is the file manager for the Cinnamon desktop environment.
This package provides the development files for Nemo.
%package -n %{soname}%{sover}
%package -n lib%{name}-extension%{sover}
Summary: Nemo extension shared libraries
Group: System/Libraries
%description -n %{soname}%{sover}
%description -n lib%{name}-extension%{sover}
Nemo is the file manager for the Cinnamon desktop environment.
This package provides Nemo's shared libraries.
%package -n %{typelib}
%package -n typelib-1_0-Nemo-3_0
Summary: File Browser for Cinnamon -- Introspection Bindings
Group: System/Libraries
%description -n %{typelib}
%description -n typelib-1_0-Nemo-3_0
Nemo is the file manager for the Cinnamon desktop environment.
This package provides the GObject Introspection bindings for Nemo.
%prep
%setup -q
%autosetup
sed -i 's|/usr/bin/env bash|/usr/bin/bash|g' search-helpers/%{name}-epub2text
%build
export CFLAGS="%{optflags} -fcommon"
export CXXFLAGS="%{optflags} -fcommon"
%if 0%{?suse_version} < 1500
mkdir -p bin
cat > bin/g-ir-scanner << EOF
#!/bin/sh
# This breaks the build. There are also useless entries in shared-library= in
# Nemo-3.0.gir but that doesn't seem to have any actual implications here.
export SUSE_ASNEEDED=0
exec %{_bindir}/g-ir-scanner "\$%{nil}@"
EOF
chmod a+x bin/g-ir-scanner
export PATH="$PWD/bin:$PATH"
%endif
%meson \
--libexecdir=%{_libexecdir}/%{name} \
-Dgtk_doc=true
-Ddeprecated_warnings=true \
-Dexif=true \
-Dxmp=true \
-Dgtk_doc=true \
-Dselinux=true \
-Dempty_view=false \
-Dtracker=true \
--libexecdir=%{_libexecdir}/%{name}
%meson_build
%install
%meson_install
%suse_update_desktop_file %{name} System FileManager
%suse_update_desktop_file %{name}
%suse_update_desktop_file %{name}-autostart
%suse_update_desktop_file %{name}-autorun-software
# We need to own this directory.
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/
%fdupes %{buildroot}%{_datadir}/
%fdupes %{buildroot}%{_datadir}
%if 0%{?suse_version} < 1500
%post
%icon_theme_cache_post
%desktop_database_post
%mime_database_post
%glib2_gsettings_schema_post
%post -n lib%{name}-extension%{sover}
%ldconfig
%postun
%icon_theme_cache_postun
%desktop_database_postun
%mime_database_postun
%glib2_gsettings_schema_postun
%endif
%post -n %{soname}%{sover} -p /sbin/ldconfig
%postun -n %{soname}%{sover} -p /sbin/ldconfig
%postun -n lib%{name}-extension%{sover}
%ldconfig
%files
%license COPYING*
%doc AUTHORS README.md debian/changelog
%{_bindir}/%{name}*
%{_libexecdir}/%{name}/
%{_datadir}/%{name}/
%{_libexecdir}/%{name}
%{_datadir}/%{name}
%{_datadir}/applications/%{name}*.desktop
%{_datadir}/icons/hicolor/*/*/*
%{_datadir}/mime/packages/%{name}.xml
@ -169,24 +147,22 @@ mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/
%{_datadir}/dbus-1/services/nemo.service
%{_datadir}/dbus-1/services/nemo.FileManager1.service
%{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
%dir %{_datadir}/gtksourceview-*
%dir %{_datadir}/gtksourceview-*/language-specs
%{_datadir}/gtksourceview-*/language-specs/%{name}_*.lang
%{_datadir}/gtksourceview-{2.0,3.0,4}/*
%{_datadir}/polkit-1/actions/org.nemo.root.policy
%files -n %{typelib}
%files -n typelib-1_0-Nemo-3_0
%{_libdir}/girepository-1.0/Nemo-3.0.typelib
%files -n %{soname}%{sover}
%dir %{_libdir}/%{name}/
%dir %{_libdir}/%{name}/extensions-3.0/
%{_libdir}/%{soname}.so.%{sover}*
%files -n lib%{name}-extension%{sover}
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/extensions-3.0
%{_libdir}/lib%{name}-extension.so.%{sover}*
%files devel
%{_includedir}/%{name}/
%{_libdir}/%{soname}.so
%{_libdir}/pkgconfig/%{soname}.pc
%{_libdir}/lib%{name}-extension.so
%{_libdir}/pkgconfig/lib%{name}-extension.pc
%{_datadir}/gir-1.0/Nemo-3.0.gir
%{_datadir}/gtk-doc/html/libnemo-extension/
%{_datadir}/gtk-doc/html/libnemo-extension
%changelog