commit xfce4-panel-plugin-notes for openSUSE:Factory
Hello community, here is the log from the commit of package xfce4-panel-plugin-notes for openSUSE:Factory checked in at Thu Mar 17 11:59:32 CET 2011. -------- New Changes file: --- /dev/null 2010-08-26 16:28:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/xfce4-panel-plugin-notes/xfce4-panel-plugin-notes.changes 2011-03-09 22:45:27.000000000 +0100 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Wed Mar 9 11:00:00 UTC 2011 - gber@opensuse.org + +- new package (split off from xfce4-panel-plugins) + calling whatdependson for head-i586 New: ---- xfce4-notes-plugin-1.7.7.tar.bz2 xfce4-panel-plugin-notes-1.7.7-add-missing-vapi-files.patch xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch xfce4-panel-plugin-notes.changes xfce4-panel-plugin-notes.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xfce4-panel-plugin-notes.spec ++++++ # # spec file for package xfce4-panel-plugin-notes # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %define panel_version 4.8.0 %define plugin_name xfce4-notes-plugin Name: xfce4-panel-plugin-notes License: GPLv2+ Version: 1.7.7 Release: 7 Summary: Note-taking plugin for the Xfce panel Url: http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin Source0: xfce4-notes-plugin-1.7.7.tar.bz2 # PATCH-FIX-UPSTREAM xfce4-panel-plugin-notes-1.7.7-add-missing-vapi-files.patch gber@opensuse.org -- Adds VAPI files for libxfcegui4 missing from xfce4-vala 4.7 (backported from upstream git) Patch0: xfce4-panel-plugin-notes-1.7.7-add-missing-vapi-files.patch # PATCH-FIX-UPSTREAM xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch gber@opensuse.org -- Adds missing X-XFCE-Module-Path to .desktop files so the plugin can be loaded (backported from upstream git) Patch1: xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch Group: System/GUI/XFCE BuildRequires: intltool BuildRequires: fdupes BuildRequires: update-desktop-files BuildRequires: pkgconfig(libxfce4panel-1.0) BuildRequires: pkgconfig(libxfconf-0) BuildRequires: pkgconfig(xfce4-vala) >= 4.6.99_git20101205 BuildRequires: pkgconfig(unique-1.0) BuildRequires: vala Requires: xfce4-panel >= 4.8.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The Notes plugin provides the equivalent to post-it notes on the Xfce desktop and allows to quickly take and store small notes. %prep %setup -q -n %{plugin_name}-%{version} %patch0 -p1 %patch1 -p1 %build export VALAC="/usr/bin/valac" %configure --disable-static make %{_smp_mflags} V=1 %install %make_install rm -rf %{buildroot}%{_libdir}/xfce4/panel-plugins/libnotes.la # fix missing substitution sed 's|@INTERNAL_PLUGIN_PATH@|%{_libdir}/xfce4/panel-plugins|' \ src/xfce4-notes-plugin-47.desktop \ >%{buildroot}%{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop %suse_update_desktop_file xfce4-notes %suse_update_desktop_file xfce4-notes-autostart rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK} %find_lang %{plugin_name} %{name}.lang %fdupes %{buildroot}%{_datadir} %clean rm -rf %{buildroot} %if 0%{?suse_version} >= 1140 %post %desktop_database_post %icon_theme_cache_post %postun %desktop_database_postun %icon_theme_cache_postun %endif %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/xfce4-notes %{_bindir}/xfce4-notes-settings %{_bindir}/xfce4-popup-notes %{_datadir}/xfce4-notes-plugin %{_datadir}/icons/hicolor/*/apps/xfce4-notes-plugin.* %{_datadir}/xfce4/panel-plugins/xfce4-notes-plugin-47.desktop %{_datadir}/applications/xfce4-notes.desktop %{_libdir}/xfce4/panel-plugins/libnotes.so.0.0.0 %{_libdir}/xfce4/panel-plugins/libnotes.so %{_libdir}/xfce4/panel-plugins/libnotes.so.0 %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop %changelog ++++++ xfce4-panel-plugin-notes-1.7.7-add-missing-vapi-files.patch ++++++ diff -urN xfce4-notes-plugin-1.7.7.orig/configure.ac xfce4-notes-plugin-1.7.7/configure.ac --- xfce4-notes-plugin-1.7.7.orig/configure.ac 2010-11-07 12:25:41.000000000 +0100 +++ xfce4-notes-plugin-1.7.7/configure.ac 2010-12-05 19:05:08.000000000 +0100 @@ -21,7 +21,7 @@ AM_INIT_AUTOMAKE([1.11 dist-bzip2]) AM_CONFIG_HEADER([config.h]) -AM_MAINTAINER_MODE() +AM_MAINTAINER_MODE([enable]) AM_SILENT_RULES([yes]) dnl Avoid g77 and g++ checks diff -urN xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce46/libxfcegui4-1.0.deps xfce4-notes-plugin-1.7.7/data/vapi/xfce46/libxfcegui4-1.0.deps --- xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce46/libxfcegui4-1.0.deps 1970-01-01 01:00:00.000000000 +0100 +++ xfce4-notes-plugin-1.7.7/data/vapi/xfce46/libxfcegui4-1.0.deps 2010-12-05 19:03:26.000000000 +0100 @@ -0,0 +1,8 @@ +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-2.0 +gtk+-2.0 +libxfce4util-1.0 diff -urN xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce46/libxfcegui4-1.0.vapi xfce4-notes-plugin-1.7.7/data/vapi/xfce46/libxfcegui4-1.0.vapi --- xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce46/libxfcegui4-1.0.vapi 1970-01-01 01:00:00.000000000 +0100 +++ xfce4-notes-plugin-1.7.7/data/vapi/xfce46/libxfcegui4-1.0.vapi 2010-12-05 19:03:26.000000000 +0100 @@ -0,0 +1,94 @@ +/* libxfcegui4-1.0.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")] +namespace Xfce { + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class AppMenuItem : Gtk.ImageMenuItem, Gtk.Buildable, Atk.Implementor { + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.full (string label, string command, string icon_filename, bool needs_term, bool snotify); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem (); + public static void set_icon_theme_name (string theme_name); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.with_command (string label, string command); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.with_label (string label); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.with_mnemonic (string label); + public string command { get; set; } + public string icon_name { get; set; } + [NoAccessorMethod] + public string label { owned get; set; } + public bool needs_term { get; set; } + [NoAccessorMethod] + public bool snotify { get; set; } + [NoAccessorMethod] + public bool use_underline { get; set; } + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Dialog { + [CCode (cname = "xfce_confirm")] + public static bool confirm (string text, string stock_id, string? action); + [CCode (cname = "xfce_err")] + public static void error (string format); + [CCode (cname = "xfce_info")] + public static void info (string format); + [CCode (cname = "xfce_warn")] + public static void warning (string format); + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Exec { + [CCode (cname = "xfce_exec")] + public static bool exec (string cmd, bool in_terminal, bool use_sn) throws GLib.Error; + [CCode (cname = "xfce_exec_with_envp")] + public static bool exec_with_envp (string cmd, bool in_terminal, bool use_sn, string[] envp) throws GLib.Error; + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Extensions { + [CCode (cname = "xfce_gdk_display_get_fullname")] + public static string gdk_display_get_fullname (Gdk.Display display); + [CCode (cname = "xfce_gdk_display_locate_monitor_with_pointer")] + public static unowned Gdk.Screen gdk_display_locate_monitor_with_pointer (Gdk.Display? display, out int? monitor_return); + [CCode (cname = "xfce_gdk_screen_get_fullname")] + public static string gdk_screen_get_fullname (Gdk.Screen screen); + [CCode (cname = "xfce_gdk_spawn_command_line_on_screen")] + public static bool gdk_spawn_command_line_on_screen (Gdk.Screen screen, string command_line) throws GLib.Error; + [CCode (cname = "xfce_gdk_spawn_on_screen")] + public static bool gdk_spawn_on_screen (Gdk.Screen screen, string? working_directory, string[] argv, string[]? envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, out int? child_pid) throws GLib.Error; + [CCode (cname = "xfce_gdk_spawn_on_screen_with_pipes")] + public static bool gdk_spawn_on_screen_with_pipes (Gdk.Screen screen, string? working_directory, string[] argv, string[]? envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, out int? child_pid, out int? standard_input, out int? standard_output, out int? standard_error) throws GLib.Error; + [CCode (cname = "xfce_gtk_window_center_on_monitor")] + public static void gtk_window_center_on_monitor (Gtk.Window window, Gdk.Screen screen, int monitor); + [CCode (cname = "xfce_gtk_window_center_on_monitor_with_pointer")] + public static void gtk_window_center_on_monitor_with_pointer (Gtk.Window window); + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Icon { + [CCode (cname = "xfce_inline_icon_at_size")] + public static Gdk.Pixbuf inline_at_size (string data, int width, int height); + [CCode (cname = "xfce_themed_icon_load")] + public static Gdk.Pixbuf load (string name, int size); + [CCode (cname = "xfce_themed_icon_lookup")] + public static string lookup (string name, int size); + } + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class TitledDialog : Gtk.Dialog, Gtk.Buildable, Atk.Implementor { + [CCode (type = "GtkWidget*", has_construct_function = false)] + public TitledDialog (); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public TitledDialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...); + public string subtitle { get; set; } + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class WidgetHelpers { + [CCode (cname = "xfce_create_framebox")] + public static unowned Gtk.Widget create_framebox (string title, out unowned Gtk.Widget frame_bin); + [CCode (cname = "xfce_create_framebox_with_content")] + public static unowned Gtk.Widget create_framebox_with_content (string title, Gtk.Widget content); + } +} diff -urN xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce47/libxfcegui4-1.0.deps xfce4-notes-plugin-1.7.7/data/vapi/xfce47/libxfcegui4-1.0.deps --- xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce47/libxfcegui4-1.0.deps 1970-01-01 01:00:00.000000000 +0100 +++ xfce4-notes-plugin-1.7.7/data/vapi/xfce47/libxfcegui4-1.0.deps 2010-12-05 18:54:58.000000000 +0100 @@ -0,0 +1,8 @@ +atk +gio-2.0 +cairo +pango +gdk-pixbuf-2.0 +gdk-2.0 +gtk+-2.0 +libxfce4util-1.0 diff -urN xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce47/libxfcegui4-1.0.vapi xfce4-notes-plugin-1.7.7/data/vapi/xfce47/libxfcegui4-1.0.vapi --- xfce4-notes-plugin-1.7.7.orig/data/vapi/xfce47/libxfcegui4-1.0.vapi 1970-01-01 01:00:00.000000000 +0100 +++ xfce4-notes-plugin-1.7.7/data/vapi/xfce47/libxfcegui4-1.0.vapi 2010-12-05 18:54:18.000000000 +0100 @@ -0,0 +1,94 @@ +/* libxfcegui4-1.0.vapi generated by vapigen, do not modify. */ + +[CCode (cprefix = "Xfce", lower_case_cprefix = "xfce_")] +namespace Xfce { + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class AppMenuItem : Gtk.ImageMenuItem, Gtk.Buildable, Atk.Implementor { + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.full (string label, string command, string icon_filename, bool needs_term, bool snotify); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem (); + public static void set_icon_theme_name (string theme_name); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.with_command (string label, string command); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.with_label (string label); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public AppMenuItem.with_mnemonic (string label); + public string command { get; set; } + public string icon_name { get; set; } + [NoAccessorMethod] + public string label { owned get; set; } + public bool needs_term { get; set; } + [NoAccessorMethod] + public bool snotify { get; set; } + [NoAccessorMethod] + public bool use_underline { get; set; } + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Dialog { + [CCode (cname = "xfce_confirm")] + public static bool confirm (string text, string stock_id, string? action); + [CCode (cname = "xfce_err")] + public static void error (string format); + [CCode (cname = "xfce_info")] + public static void info (string format); + [CCode (cname = "xfce_warn")] + public static void warning (string format); + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Exec { + [CCode (cname = "xfce_exec")] + public static bool exec (string cmd, bool in_terminal, bool use_sn) throws GLib.Error; + [CCode (cname = "xfce_exec_with_envp")] + public static bool exec_with_envp (string cmd, bool in_terminal, bool use_sn, string[] envp) throws GLib.Error; + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Extensions { + [CCode (cname = "xfce_gdk_display_get_fullname")] + public static string gdk_display_get_fullname (Gdk.Display display); + [CCode (cname = "xfce_gdk_display_locate_monitor_with_pointer")] + public static unowned Gdk.Screen gdk_display_locate_monitor_with_pointer (Gdk.Display? display, out int? monitor_return); + [CCode (cname = "xfce_gdk_screen_get_fullname")] + public static string gdk_screen_get_fullname (Gdk.Screen screen); + [CCode (cname = "xfce_gdk_spawn_command_line_on_screen")] + public static bool gdk_spawn_command_line_on_screen (Gdk.Screen screen, string command_line) throws GLib.Error; + [CCode (cname = "xfce_gdk_spawn_on_screen")] + public static bool gdk_spawn_on_screen (Gdk.Screen screen, string? working_directory, string[] argv, string[]? envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, out int? child_pid) throws GLib.Error; + [CCode (cname = "xfce_gdk_spawn_on_screen_with_pipes")] + public static bool gdk_spawn_on_screen_with_pipes (Gdk.Screen screen, string? working_directory, string[] argv, string[]? envp, GLib.SpawnFlags flags, GLib.SpawnChildSetupFunc child_setup, out int? child_pid, out int? standard_input, out int? standard_output, out int? standard_error) throws GLib.Error; + [CCode (cname = "xfce_gtk_window_center_on_monitor")] + public static void gtk_window_center_on_monitor (Gtk.Window window, Gdk.Screen screen, int monitor); + [CCode (cname = "xfce_gtk_window_center_on_monitor_with_pointer")] + public static void gtk_window_center_on_monitor_with_pointer (Gtk.Window window); + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class Icon { + [CCode (cname = "xfce_inline_icon_at_size")] + public static Gdk.Pixbuf inline_at_size (string data, int width, int height); + [CCode (cname = "xfce_themed_icon_load")] + public static Gdk.Pixbuf load (string name, int size); + [CCode (cname = "xfce_themed_icon_lookup")] + public static string lookup (string name, int size); + } + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class TitledDialog : Gtk.Dialog, Gtk.Buildable, Atk.Implementor { + [CCode (type = "GtkWidget*", has_construct_function = false)] + public TitledDialog (); + [CCode (type = "GtkWidget*", has_construct_function = false)] + public TitledDialog.with_buttons (string? title, Gtk.Window? parent, Gtk.DialogFlags flags, ...); + public string subtitle { get; set; } + } + [Compact] + [CCode (cheader_filename = "libxfcegui4/libxfcegui4.h")] + public class WidgetHelpers { + [CCode (cname = "xfce_create_framebox")] + public static unowned Gtk.Widget create_framebox (string title, out unowned Gtk.Widget frame_bin); + [CCode (cname = "xfce_create_framebox_with_content")] + public static unowned Gtk.Widget create_framebox_with_content (string title, Gtk.Widget content); + } +} ++++++ xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch ++++++ diff -ur xfce4-notes-plugin-1.7.7.orig/src/xfce4-notes-plugin-47.desktop.in xfce4-notes-plugin-1.7.7/src/xfce4-notes-plugin-47.desktop.in --- xfce4-notes-plugin-1.7.7.orig/src/xfce4-notes-plugin-47.desktop.in 2010-11-07 12:25:41.000000000 +0100 +++ xfce4-notes-plugin-1.7.7/src/xfce4-notes-plugin-47.desktop.in 2011-01-01 13:42:43.000000000 +0100 @@ -6,4 +6,5 @@ Icon=xfce4-notes-plugin X-XFCE-Unique=true X-XFCE-Module=notes +X-XFCE-Module-Path=@INTERNAL_PLUGIN_PATH@ X-XFCE-Internal=FALSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de