Hello community,

here is the log from the commit of package xfce4-panel-plugin-notes for 
openSUSE:Factory checked in at 2012-05-08 06:50:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-panel-plugin-notes (Old)
 and      /work/SRC/openSUSE:Factory/.xfce4-panel-plugin-notes.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfce4-panel-plugin-notes", Maintainer is "[email protected]"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/xfce4-panel-plugin-notes/xfce4-panel-plugin-notes.changes
        2012-04-23 09:19:18.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.xfce4-panel-plugin-notes.new/xfce4-panel-plugin-notes.changes
   2012-05-08 06:51:02.000000000 +0200
@@ -1,0 +2,15 @@
+Sun Apr 29 09:55:41 UTC 2012 - [email protected]
+
+- add dependency on exo-tools since exo-open is used
+
+-------------------------------------------------------------------
+Fri Apr 20 08:58:51 UTC 2012 - [email protected]
+
+- added documentation files
+- added xfce4-panel-plugin-notes-create-unversioned-lib.patch in
+  order to build the plugin module as an unversioned lib, also
+  install it in the default panel plugin module path
+- removed xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch
+  which is obsoleted by the above
+
+-------------------------------------------------------------------

Old:
----
  xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch

New:
----
  xfce4-panel-plugin-notes-create-unversioned-lib.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfce4-panel-plugin-notes.spec ++++++
--- /var/tmp/diff_new_pack.N0oVvn/_old  2012-05-08 06:51:03.000000000 +0200
+++ /var/tmp/diff_new_pack.N0oVvn/_new  2012-05-08 06:51:03.000000000 +0200
@@ -27,11 +27,12 @@
 Group:          System/GUI/XFCE
 Url:            
http://goodies.xfce.org/projects/panel-plugins/xfce4-notes-plugin
 Source0:        
http://archive.xfce.org/src/panel-plugins/%{plugin_name}/1.7/%{plugin_name}-%{version}.tar.bz2
-# PATCH-FIX-UPSTREAM xfce4-panel-plugin-notes-1.7.7-fix-desktop-file.patch 
[email protected] -- 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
+# PATCH-FIX-UPSTREAM xfce4-panel-plugin-notes-create-unversioned-lib.patch 
[email protected] -- Do not create a versioned library
+Patch0:         xfce4-panel-plugin-notes-create-unversioned-lib.patch
 BuildRequires:  fdupes
 BuildRequires:  intltool
 BuildRequires:  update-desktop-files
+BuildRequires:  xfce4-dev-tools
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(libxfce4panel-1.0)
@@ -40,6 +41,8 @@
 BuildRequires:  pkgconfig(libxfconf-0)
 BuildRequires:  pkgconfig(unique-1.0)
 Requires:       xfce4-panel >= %{panel_version}
+# uses exo-open
+Requires:       exo-tools
 Recommends:     %{name}-lang = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -51,21 +54,17 @@
 
 %prep
 %setup -q -n %{plugin_name}-%{version}
-%patch1 -p1
+%patch0 -p1
 
 %build
+XDT_CONFIGURE_FLAGS=--disable-maintainer-mode xdt-autogen
 %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
+rm %{buildroot}%{_libdir}/xfce4/panel/plugins/libnotes.la
 
 %suse_update_desktop_file xfce4-notes
 %suse_update_desktop_file xfce4-notes-autostart
@@ -89,6 +88,7 @@
 
 %files
 %defattr(-,root,root)
+%doc AUTHORS COPYING NEWS README
 %{_bindir}/xfce4-notes
 %{_bindir}/xfce4-notes-settings
 %{_bindir}/xfce4-popup-notes
@@ -96,7 +96,7 @@
 %{_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*
+%{_libdir}/xfce4/panel/plugins/libnotes.so
 %{_sysconfdir}/xdg/autostart/xfce4-notes-autostart.desktop
 
 %files lang -f %{name}.lang

++++++ xfce4-panel-plugin-notes-create-unversioned-lib.patch ++++++
Index: xfce4-notes-plugin-1.7.7/src/Makefile.am
===================================================================
--- xfce4-notes-plugin-1.7.7.orig/src/Makefile.am
+++ xfce4-notes-plugin-1.7.7/src/Makefile.am
@@ -72,7 +72,7 @@ endif
 
 if HAVE_LIBXFCE4PANEL47
 
-plugindir = $(libdir)/xfce4/panel-plugins
+plugindir = $(libdir)/xfce4/panel/plugins
 plugin_LTLIBRARIES = libnotes.la
 
 libnotes_la_SOURCES =                                                  \
@@ -91,6 +91,13 @@ libnotes_la_LIBADD =                                         
        \
        @LIBXFCE4UTIL_LIBS@                                             \
        @XFCONF_LIBS@
 
+libnotes_la_LDFLAGS = \
+       -avoid-version                                                  \
+       -module                                                         \
+       -no-undefined                                                   \
+       -export-symbols-regex '^xfce_panel_module_(preinit|init|construct)'     
\
+       $(PLATFORM_LDFLAGS)
+
 else
 
 plugindir = $(libexecdir)/xfce4/panel-plugins
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to