xfce4-terminal/xfce4-terminal.spec

111 lines
3.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package xfce4-terminal
#
Accepting request 1105245 from home:manfred-h:X11:xfce - Update to version 1.1.0 * Update copyright year * Allow passing arguments to custom commands * Fully translate strings in unsafe paste dialog * window: Properly sync always-show-tabs * cleanup: Include gdkx.h in one place * preferences: Remove unused class member * preferences: Check if channel itself exists instead of check property * screen: Review image loader memory management * image-loader: Review cache management * Add keywords to .desktop files (Fixes #50) * screen: Take window scaling into account when drawing (Fixes #71) * Remove obsolete GNOME default-app file (Fixes #109) * Add "Open File Manager Here" action (Fixes #133) * Properly manage default encoding (Fixes #128) * Move general include in private.h * dropdown: Disable systray icon on Wayland * Fix startup with GDK_BACKEND=x11 (Fixes #177) * shortcuts: Restore broken action toggle-menubar * shortcuts: Fix non-consumed key event for show-menubar * main: Allow GTK to parse its options first (Fixes #216) * search: Add missing sanity check * Use GLib logging functions and do not translate warnings * Remove obsolete CHECK_VERSION() * Use g_new() instead of malloc() * Fix Xfconf memory management * search-dialog: Fix memory leak * Remove extra separator at the end of context menu * Missing shortcut keys in the standalone preferences dialog (Issue #198) * Apply 1 suggestion(s) to 1 file(s) * Enable kinetic scrolling in VteTerminal * Extend --disable-server description wrt. process model * Drop obsolete --disable-server translations * prefs-dialog: Fix untranslated strings * Add sixel support * Add icons at missing sizes, clean up SVG metadata * build: Fix autoconf warnings * build: Add GLib requirement * Add accel entries for scrolling pages (Issue #221) * Remove documentation for dead anti-aliasing option * Make strings translatable (Issue #222) * Fix shortcuts-editor include * Support hyperlinks (Issue #21) * Fix argument type for xfce_shortcuts_editor_new * fix background_notify * Remove disable-help preference. * MR: !51 transitioned to Xfconf (#134) * typos in MR !48 fixed * Remove all references to terminal-preferences.glade * Remove one more mention of terminal-preferences.glade * Remove trailing slash * Remove terminal-preferences-ui.h from makefile * Remove terminal-preferences.glade * MR: !48 shortcuts editor embedded into preferences-dialog (#195) * MR: !48 preferences-dialog rewritten in C (#195) * MR: !46 Change in implementation for TAB accels (#150) * Implementation of MiscShiftArrowsToScroll as accelerators. * Add PCRE2 build dependency * Remove libxfce4ui 4.17 version guards * Replace with xfce_gtk_menu_append_separator * Tweak toolbar * Translation Updates - "gnome-control-center" support is no longer available; remove the corresponding entries from the %files list OBS-URL: https://build.opensuse.org/request/show/1105245 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=60
2023-08-28 07:08:13 +02:00
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2012 Guido Berhoerster.
#
# 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/
#
%bcond_with git
Name: xfce4-terminal
Accepting request 1105245 from home:manfred-h:X11:xfce - Update to version 1.1.0 * Update copyright year * Allow passing arguments to custom commands * Fully translate strings in unsafe paste dialog * window: Properly sync always-show-tabs * cleanup: Include gdkx.h in one place * preferences: Remove unused class member * preferences: Check if channel itself exists instead of check property * screen: Review image loader memory management * image-loader: Review cache management * Add keywords to .desktop files (Fixes #50) * screen: Take window scaling into account when drawing (Fixes #71) * Remove obsolete GNOME default-app file (Fixes #109) * Add "Open File Manager Here" action (Fixes #133) * Properly manage default encoding (Fixes #128) * Move general include in private.h * dropdown: Disable systray icon on Wayland * Fix startup with GDK_BACKEND=x11 (Fixes #177) * shortcuts: Restore broken action toggle-menubar * shortcuts: Fix non-consumed key event for show-menubar * main: Allow GTK to parse its options first (Fixes #216) * search: Add missing sanity check * Use GLib logging functions and do not translate warnings * Remove obsolete CHECK_VERSION() * Use g_new() instead of malloc() * Fix Xfconf memory management * search-dialog: Fix memory leak * Remove extra separator at the end of context menu * Missing shortcut keys in the standalone preferences dialog (Issue #198) * Apply 1 suggestion(s) to 1 file(s) * Enable kinetic scrolling in VteTerminal * Extend --disable-server description wrt. process model * Drop obsolete --disable-server translations * prefs-dialog: Fix untranslated strings * Add sixel support * Add icons at missing sizes, clean up SVG metadata * build: Fix autoconf warnings * build: Add GLib requirement * Add accel entries for scrolling pages (Issue #221) * Remove documentation for dead anti-aliasing option * Make strings translatable (Issue #222) * Fix shortcuts-editor include * Support hyperlinks (Issue #21) * Fix argument type for xfce_shortcuts_editor_new * fix background_notify * Remove disable-help preference. * MR: !51 transitioned to Xfconf (#134) * typos in MR !48 fixed * Remove all references to terminal-preferences.glade * Remove one more mention of terminal-preferences.glade * Remove trailing slash * Remove terminal-preferences-ui.h from makefile * Remove terminal-preferences.glade * MR: !48 shortcuts editor embedded into preferences-dialog (#195) * MR: !48 preferences-dialog rewritten in C (#195) * MR: !46 Change in implementation for TAB accels (#150) * Implementation of MiscShiftArrowsToScroll as accelerators. * Add PCRE2 build dependency * Remove libxfce4ui 4.17 version guards * Replace with xfce_gtk_menu_append_separator * Tweak toolbar * Translation Updates - "gnome-control-center" support is no longer available; remove the corresponding entries from the %files list OBS-URL: https://build.opensuse.org/request/show/1105245 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=60
2023-08-28 07:08:13 +02:00
Version: 1.1.0
Release: 0
Summary: Terminal Emulator for the Xfce Desktop Environment
License: GPL-2.0-or-later
Group: System/X11/Terminals
URL: https://docs.xfce.org/apps/terminal/start
Accepting request 1105245 from home:manfred-h:X11:xfce - Update to version 1.1.0 * Update copyright year * Allow passing arguments to custom commands * Fully translate strings in unsafe paste dialog * window: Properly sync always-show-tabs * cleanup: Include gdkx.h in one place * preferences: Remove unused class member * preferences: Check if channel itself exists instead of check property * screen: Review image loader memory management * image-loader: Review cache management * Add keywords to .desktop files (Fixes #50) * screen: Take window scaling into account when drawing (Fixes #71) * Remove obsolete GNOME default-app file (Fixes #109) * Add "Open File Manager Here" action (Fixes #133) * Properly manage default encoding (Fixes #128) * Move general include in private.h * dropdown: Disable systray icon on Wayland * Fix startup with GDK_BACKEND=x11 (Fixes #177) * shortcuts: Restore broken action toggle-menubar * shortcuts: Fix non-consumed key event for show-menubar * main: Allow GTK to parse its options first (Fixes #216) * search: Add missing sanity check * Use GLib logging functions and do not translate warnings * Remove obsolete CHECK_VERSION() * Use g_new() instead of malloc() * Fix Xfconf memory management * search-dialog: Fix memory leak * Remove extra separator at the end of context menu * Missing shortcut keys in the standalone preferences dialog (Issue #198) * Apply 1 suggestion(s) to 1 file(s) * Enable kinetic scrolling in VteTerminal * Extend --disable-server description wrt. process model * Drop obsolete --disable-server translations * prefs-dialog: Fix untranslated strings * Add sixel support * Add icons at missing sizes, clean up SVG metadata * build: Fix autoconf warnings * build: Add GLib requirement * Add accel entries for scrolling pages (Issue #221) * Remove documentation for dead anti-aliasing option * Make strings translatable (Issue #222) * Fix shortcuts-editor include * Support hyperlinks (Issue #21) * Fix argument type for xfce_shortcuts_editor_new * fix background_notify * Remove disable-help preference. * MR: !51 transitioned to Xfconf (#134) * typos in MR !48 fixed * Remove all references to terminal-preferences.glade * Remove one more mention of terminal-preferences.glade * Remove trailing slash * Remove terminal-preferences-ui.h from makefile * Remove terminal-preferences.glade * MR: !48 shortcuts editor embedded into preferences-dialog (#195) * MR: !48 preferences-dialog rewritten in C (#195) * MR: !46 Change in implementation for TAB accels (#150) * Implementation of MiscShiftArrowsToScroll as accelerators. * Add PCRE2 build dependency * Remove libxfce4ui 4.17 version guards * Replace with xfce_gtk_menu_append_separator * Tweak toolbar * Translation Updates - "gnome-control-center" support is no longer available; remove the corresponding entries from the %files list OBS-URL: https://build.opensuse.org/request/show/1105245 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=60
2023-08-28 07:08:13 +02:00
Source0: https://archive.xfce.org/src/apps/xfce4-terminal/1.1/%{name}-%{version}.tar.bz2
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: utempter-devel
BuildRequires: pkgconfig(dbus-glib-1)
Accepting request 1105245 from home:manfred-h:X11:xfce - Update to version 1.1.0 * Update copyright year * Allow passing arguments to custom commands * Fully translate strings in unsafe paste dialog * window: Properly sync always-show-tabs * cleanup: Include gdkx.h in one place * preferences: Remove unused class member * preferences: Check if channel itself exists instead of check property * screen: Review image loader memory management * image-loader: Review cache management * Add keywords to .desktop files (Fixes #50) * screen: Take window scaling into account when drawing (Fixes #71) * Remove obsolete GNOME default-app file (Fixes #109) * Add "Open File Manager Here" action (Fixes #133) * Properly manage default encoding (Fixes #128) * Move general include in private.h * dropdown: Disable systray icon on Wayland * Fix startup with GDK_BACKEND=x11 (Fixes #177) * shortcuts: Restore broken action toggle-menubar * shortcuts: Fix non-consumed key event for show-menubar * main: Allow GTK to parse its options first (Fixes #216) * search: Add missing sanity check * Use GLib logging functions and do not translate warnings * Remove obsolete CHECK_VERSION() * Use g_new() instead of malloc() * Fix Xfconf memory management * search-dialog: Fix memory leak * Remove extra separator at the end of context menu * Missing shortcut keys in the standalone preferences dialog (Issue #198) * Apply 1 suggestion(s) to 1 file(s) * Enable kinetic scrolling in VteTerminal * Extend --disable-server description wrt. process model * Drop obsolete --disable-server translations * prefs-dialog: Fix untranslated strings * Add sixel support * Add icons at missing sizes, clean up SVG metadata * build: Fix autoconf warnings * build: Add GLib requirement * Add accel entries for scrolling pages (Issue #221) * Remove documentation for dead anti-aliasing option * Make strings translatable (Issue #222) * Fix shortcuts-editor include * Support hyperlinks (Issue #21) * Fix argument type for xfce_shortcuts_editor_new * fix background_notify * Remove disable-help preference. * MR: !51 transitioned to Xfconf (#134) * typos in MR !48 fixed * Remove all references to terminal-preferences.glade * Remove one more mention of terminal-preferences.glade * Remove trailing slash * Remove terminal-preferences-ui.h from makefile * Remove terminal-preferences.glade * MR: !48 shortcuts editor embedded into preferences-dialog (#195) * MR: !48 preferences-dialog rewritten in C (#195) * MR: !46 Change in implementation for TAB accels (#150) * Implementation of MiscShiftArrowsToScroll as accelerators. * Add PCRE2 build dependency * Remove libxfce4ui 4.17 version guards * Replace with xfce_gtk_menu_append_separator * Tweak toolbar * Translation Updates - "gnome-control-center" support is no longer available; remove the corresponding entries from the %files list OBS-URL: https://build.opensuse.org/request/show/1105245 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=60
2023-08-28 07:08:13 +02:00
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
BuildRequires: pkgconfig(glib-2.0) >= 2.44.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
BuildRequires: pkgconfig(libpcre2-8) >= 10.00
BuildRequires: pkgconfig(libxfce4kbd-private-3) >= 4.16.0
BuildRequires: pkgconfig(libxfce4ui-2) >= 4.17.5
BuildRequires: pkgconfig(libxfconf-0) >= 4.16.0
BuildRequires: pkgconfig(vte-2.91) >= 0.51.3
Recommends: %{name}-lang
%description
xfce4-terminal is a lightweight and easy to use terminal emulator for the Xfce
desktop environment. Its major features include a simple configuration
interface, the ability to use multiple tabs with terminals within a single
window, the possibility to have a pseudo-transparent terminal background, and a
compact mode where both the menubar and the window decorations are hidden which
helps to save space on the desktop.
%lang_package
%prep
%setup -q
%build
%if %{with git}
NOCONFIGURE=1 ./autogen.sh
%configure \
--enable-maintainer-mode \
--with-utempter
%else
%configure \
--with-utempter
%endif
%make_build
%install
%make_install
# create a list of localized man directories, these need to be owned
(
printf '%%%%defattr(-,root,root)\n'
cd '%{buildroot}'
for dir in ".%{_mandir}/"*; do
[ -d "${dir}" ] || continue
case ${dir##*/} in
man*) continue ;;
*) lang="${dir##*/}"
printf "%%%%dir %%%%lang(%%s) %%s\n" "${lang}" "${dir#.}"
for subdir in "${dir}/"*; do
[ -d "${subdir}" ] || continue
printf "%%%%dir %%%%lang(%%s) %%s\n" "${lang}" \
"${subdir#.}"
done
;;
esac
done
) >> %{name}.lang
# Fix name issue with xfce4-terminal-settings desktop file name entries boo#1125146
desktop-file-edit %{buildroot}%{_datadir}/applications/%{name}-settings.desktop --set-name='Xfce Terminal Settings'
%find_lang %{name} --with-man %{?no_lang_C}
%files
%doc AUTHORS HACKING NEWS README.md THANKS
%license COPYING
%{_bindir}/xfce4-terminal
%dir %{_datadir}/xfce4
%{_datadir}/xfce4/terminal
%{_datadir}/icons/hicolor/*/apps/org.xfce.terminal*
%{_datadir}/applications/xfce4-terminal.desktop
%{_datadir}/applications/xfce4-terminal-settings.desktop
%{_mandir}/man1/xfce4-terminal.1*
%files lang -f %{name}.lang
%changelog