rpms/unique/F-9 unique-compile-fix1.patch, NONE, 1.1 unique-compile-fix2.patch, NONE, 1.1 unique.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Richard Hughes (rhughes)
fedora-extras-commits at redhat.com
Fri May 16 16:05:52 UTC 2008
- Previous message: rpms/inksmoto/F-9 inksmoto.spec,NONE,1.1 sources,1.1,1.2
- Next message: rpms/unique/devel unique-compile-fix1.patch, NONE, 1.1 unique-compile-fix2.patch, NONE, 1.1 unique.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: rhughes
Update of /cvs/pkgs/rpms/unique/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17839/F-9
Modified Files:
.cvsignore sources
Added Files:
unique-compile-fix1.patch unique-compile-fix2.patch
unique.spec
Log Message:
unique-compile-fix1.patch:
--- NEW FILE unique-compile-fix1.patch ---
diff --git a/unique/bacon/uniquemessage-bacon.c b/unique/bacon/uniquemessage-bacon.c
index 3893e9f..ac52f21 100644
--- a/unique/bacon/uniquemessage-bacon.c
+++ b/unique/bacon/uniquemessage-bacon.c
@@ -100,7 +100,7 @@ unique_message_data_unpack (UniqueApp *app,
gchar *buf;
GdkDisplay *display;
gint screen_n;
- UniqueMessageData *message_data;
+ UniqueMessageData *message_data = NULL;
blocks = g_strsplit (data, "\t", 6);
if (g_strv_length (blocks) != 6)
unique-compile-fix2.patch:
--- NEW FILE unique-compile-fix2.patch ---
diff --git a/tests/test-unique.c b/tests/test-unique.c
index eec69fd..cdf8682 100644
--- a/tests/test-unique.c
+++ b/tests/test-unique.c
@@ -39,7 +39,8 @@ app_message_cb (UniqueApp *app,
gpointer user_data)
{
GtkWidget *dialog;
- gchar *message, *title;
+ gchar *message = NULL;
+ gchar *title = NULL;
GdkScreen *screen;
const gchar *startup_id;
@@ -55,7 +56,6 @@ app_message_cb (UniqueApp *app,
{
case UNIQUE_NEW:
title = g_strdup ("Received the NEW command");
- message = NULL;
break;
case UNIQUE_OPEN:
{
@@ -77,7 +77,6 @@ app_message_cb (UniqueApp *app,
break;
case UNIQUE_ACTIVATE:
title = g_strdup ("Received the ACTIVATE command");
- message = NULL;
break;
case COMMAND_FOO:
title = g_strdup ("Received the FOO command");
--- NEW FILE unique.spec ---
Name: unique
Version: 0.9.4
Release: 5%{?dist}
Summary: Unique instance support for applications
Group: System Environment/Libraries
License: LGPLv2+
URL: http://www.gnome.org/~ebassi/source/
Source0: http://www.gnome.org/~ebassi/source/unique-%{version}.tar.gz
Patch0: unique-compile-fix1.patch
Patch1: unique-compile-fix2.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-glib-devel
BuildRequires: gnome-doc-utils >= 0.3.2
BuildRequires: libtool
BuildRequires: glib2-devel >= 2.12.0
BuildRequires: gtk2-devel >= 2.11.0
%description
Unique is a library for writing single instance applications, that is
applications that are run once and every further call to the same binary
either exits immediately or sends a command to the running instance.
%package devel
Summary: Libraries and headers for Unique
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Requires: gtk-doc
Requires: dbus-glib-devel
Requires: gtk2-devel
%description devel
Headers and libraries for Unique.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure --enable-gtk-doc --disable-static
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
%{_libdir}/lib*.so.*
%files devel
%defattr(-,root,root,-)
%doc %{_datadir}/gtk-doc/html/unique/
%{_includedir}/unique-1.0/
%{_libdir}/pkgconfig/*
%{_libdir}/lib*.so
%changelog
* Fri May 16 2008 Richard Hughes <rhughes at redhat.com> - 0.9.4-5
- More updates to the spec file from Dan Horak, rh#446407
* Thu May 15 2008 Richard Hughes <rhughes at redhat.com> - 0.9.4-4
- Updates to the spec file from Dan Horak, rh#446407
* Thu May 08 2008 Richard Hughes <rhughes at redhat.com> - 0.9.4-3
- Initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/unique/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 16 May 2008 15:44:28 -0000 1.1
+++ .cvsignore 16 May 2008 16:05:08 -0000 1.2
@@ -0,0 +1 @@
+unique-0.9.4.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/unique/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 16 May 2008 15:44:28 -0000 1.1
+++ sources 16 May 2008 16:05:08 -0000 1.2
@@ -0,0 +1 @@
+c10d16db95275389d3361a8a023025d2 unique-0.9.4.tar.gz
- Previous message: rpms/inksmoto/F-9 inksmoto.spec,NONE,1.1 sources,1.1,1.2
- Next message: rpms/unique/devel unique-compile-fix1.patch, NONE, 1.1 unique-compile-fix2.patch, NONE, 1.1 unique.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list