From 501cd41022c5424a3c54cba5add5cf29c1629e36 Mon Sep 17 00:00:00 2001 From: Rosa Date: Wed, 1 Feb 2012 20:53:57 +0400 Subject: [PATCH] Automatic import for version 0.7.0 --- .abf.yml | 2 + nm-applet-0.7.0-disable-stuff.patch | 35 +++++++++++++ nm-applet.spec | 80 +++++++++++++++++++++++++++++ 3 files changed, 117 insertions(+) create mode 100644 .abf.yml create mode 100644 nm-applet-0.7.0-disable-stuff.patch create mode 100644 nm-applet.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..2975ee0 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + "nm-applet-0.7.0.tar.lzma": fd33619d4ce0a4055e3bc62461e068e37915d5b3 diff --git a/nm-applet-0.7.0-disable-stuff.patch b/nm-applet-0.7.0-disable-stuff.patch new file mode 100644 index 0000000..b7fbbd3 --- /dev/null +++ b/nm-applet-0.7.0-disable-stuff.patch @@ -0,0 +1,35 @@ +diff -up nm-applet-0.7.0/src/connection-editor/nm-connection-list.c.disable-stuff NetworkManager-0.7.0/nm-applet-0.7.0/src/connection-editor/nm-connection-list.c +--- nm-applet-0.7.0/src/connection-editor/nm-connection-list.c.disable-stuff 2008-02-27 11:02:34.000000000 -0500 ++++ nm-applet-0.7.0/src/connection-editor/nm-connection-list.c 2008-02-29 14:13:13.000000000 -0500 +@@ -417,9 +417,11 @@ new_connection_list (NMConnectionList *l + COL_TIMESTAMP, GTK_SORT_DESCENDING); + gtk_tree_view_set_model (GTK_TREE_VIEW (clist), GTK_TREE_MODEL (sort_model)); + ++if (FALSE) { + g_signal_connect (G_OBJECT (clist), + "row-activated", G_CALLBACK (connection_double_clicked_cb), + NULL); ++} + + gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (clist), + -1, "Name", gtk_cell_renderer_text_new (), +@@ -444,15 +446,19 @@ new_connection_list (NMConnectionList *l + g_object_set_data (G_OBJECT (button), "nm-connection-list", list); + g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (add_connection_cb), clist); + g_free (name); ++ gtk_widget_set_sensitive (button, FALSE); + + name = g_strdup_printf ("%s_edit", prefix); + button = glade_xml_get_widget (list->gui, name); + g_object_set_data (G_OBJECT (button), "nm-connection-list", list); + g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (edit_connection_cb), clist); ++#if 0 + g_signal_connect (G_OBJECT (select), + "changed", G_CALLBACK (list_selection_changed_cb), + button); ++#endif + g_free (name); ++ gtk_widget_set_sensitive (button, FALSE); + + name = g_strdup_printf ("%s_delete", prefix); + button = glade_xml_get_widget (list->gui, name); diff --git a/nm-applet.spec b/nm-applet.spec new file mode 100644 index 0000000..f777202 --- /dev/null +++ b/nm-applet.spec @@ -0,0 +1,80 @@ +Summary: Gnome GUI for NetworkManager +Name: nm-applet +Version: 0.7.0 +Release: %mkrel 0.2 +Source0: %{name}-%{version}.tar.lzma +#Patch0: nm-applet-0.7.0-fix-build.patch +Patch1: nm-applet-0.7.0-disable-stuff.patch +License: GPLv2+ +Group: System/Configuration/Networking +Url: http://www.gnome.org/projects/NetworkManager/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRequires: networkmanager-util-devel networkmanager-glib-devel +BuildRequires: dbus-devel dbus-glib-devel libGConf2-devel +BuildRequires: gnome-keyring-devel gnome-panel-devel hal-devel +BuildRequires: libglade2-devel libnotify-devel intltool nss-devel +BuildRequires: libiw-devel +Requires: networkmanager %{_lib}gail-gnome +Provides: networmanager-gnome = %{version}-%{release} + +%description +This package contains GNOME utilities and applications for use with +NetworkManager, including a panel applet for wireless networks. + +%prep +%setup -q +#%%patch0 -p1 -b .fixbuild +%patch1 -p1 -b .disable-stuff + +%build +autoreconf -i --force +intltoolize --force +%configure2_5x --localstatedir=%{_var} \ + --disable-static \ + --with-gcrypt=yes \ + --with-notify \ + --with-nss=yes \ + --with-gnutls=no +# parallel build is broken +make + +%install +rm -rf %{buildroot} +%makeinstall_std + +%find_lang %{name} + +find %{buildroot} -name \*.la|xargs rm -f + +%clean +rm -rf %{buildroot} + +%files -f nm-applet.lang +%defattr(-,root,root) +%doc ChangeLog NEWS AUTHORS README CONTRIBUTING +%{_bindir}/nm-applet +%{_bindir}/nm-connection-editor +%{_bindir}/nm-vpn-properties +%{_datadir}/nm-applet +%{_datadir}/icons/hicolor/*/apps/*.png +%{_datadir}/gnome-vpn-properties +%{_sysconfdir}/dbus-1/system.d/nm-applet.conf +%{_sysconfdir}/xdg/autostart/nm-applet.desktop +# This should be in -devel package, but a new package for just this one file? bah +%{_includedir}/NetworkManager/nm-vpn-ui-interface.h + + +%changelog +* Tue Apr 15 2008 Per Øyvind Karlsen 0.7.0-0.2mdv2009.0 ++ Revision: 194125 +- really fix the fscking buildrequires ?\194?\164"#?\194?\164"# +- update to new svn snapshot (should actually work now :) + +* Thu Feb 07 2008 Per Øyvind Karlsen 0.7.0-0.1mdv2008.1 ++ Revision: 163751 +- fix buildrequires +- import nm-applet + + +* Wed Feb 06 2008 Per Øyvind Karlsen 0.7.0-0.1mdv2008.1 +- initial release, splitted out from networkmanager package