rpms/synaptic/FC-3 synaptic-0.57-desktop.patch, NONE, 1.1 synaptic-0.57-firefox.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 sources, 1.4, 1.5 synaptic.spec, 1.8, 1.9

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jul 14 06:26:52 UTC 2005


Author: scop

Update of /cvs/extras/rpms/synaptic/FC-3
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29929/FC-3

Modified Files:
	.cvsignore sources synaptic.spec 
Added Files:
	synaptic-0.57-desktop.patch synaptic-0.57-firefox.patch 
Log Message:
0.57.2 from Panu (#159189).

synaptic-0.57-desktop.patch:

--- NEW FILE synaptic-0.57-desktop.patch ---
--- synaptic-0.57/data/synaptic.desktop.in.dt	2005-06-08 18:59:14.000000000 +0300
+++ synaptic-0.57/data/synaptic.desktop.in	2005-07-07 15:25:00.000000000 +0300
@@ -2,11 +2,10 @@
 _Name=Synaptic Package Manager
 _GenericName=Package Manager
 _Comment=Install, remove and upgrade software packages
-Exec=gksu -u root /usr/sbin/synaptic
+Exec=synaptic
 Icon=synaptic.png
 Terminal=false
 MultipleArgs=false
 Type=Application
 Encoding=UTF-8
-Categories=PackageManager;GTK;System;Application
-NotShowIn=KDE
\ No newline at end of file
+Categories=PackageManager;GTK;System;Application;

synaptic-0.57-firefox.patch:

--- NEW FILE synaptic-0.57-firefox.patch ---
--- synaptic/gtk/rgmainwindow.cc.firefox	2005-07-12 22:24:04.000000000 +0300
+++ synaptic/gtk/rgmainwindow.cc	2005-07-12 22:24:57.000000000 +0300
@@ -2293,7 +2293,15 @@
        system("konqueror ghelp:///" PACKAGE_DATA_DIR "/gnome/help/synaptic/C/synaptic.xml &");
     }
 #endif
-   else if (is_binary_in_path("mozilla")) {
+   else if (is_binary_in_path("firefox")) {
+      // mozilla eats bookmarks when run under sudo (because it does not
+      // change $HOME) - is this needed for firefox as well?
+      if(getenv("SUDO_USER") != NULL) {
+         struct passwd *pw = getpwuid(0);
+         setenv("HOME", pw->pw_dir, 1);
+      }
+      system("firefox " PACKAGE_DATA_DIR "/synaptic/html/index.html &");
+   } else if (is_binary_in_path("mozilla")) {
       // mozilla eats bookmarks when run under sudo (because it does not
       // change $HOME)
       if(getenv("SUDO_USER") != NULL) {


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/synaptic/FC-3/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	18 Jan 2005 18:31:07 -0000	1.4
+++ .cvsignore	14 Jul 2005 06:26:49 -0000	1.5
@@ -1 +1 @@
-synaptic-0.55.3.tar.gz
+synaptic-0.57.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/synaptic/FC-3/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	18 Jan 2005 18:31:07 -0000	1.4
+++ sources	14 Jul 2005 06:26:49 -0000	1.5
@@ -1 +1 @@
-cc548050f1da9207e815de284b7aee39  synaptic-0.55.3.tar.gz
+dd753e953caa053279d342e3bc269128  synaptic-0.57.2.tar.gz


Index: synaptic.spec
===================================================================
RCS file: /cvs/extras/rpms/synaptic/FC-3/synaptic.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- synaptic.spec	29 Jan 2005 21:20:56 -0000	1.8
+++ synaptic.spec	14 Jul 2005 06:26:49 -0000	1.9
@@ -1,21 +1,21 @@
-
-%define	desktop_vendor	fedora
+%define desktop_vendor fedora
 
 Summary: Graphical frontend for APT package manager.
 Name: synaptic
-Version: 0.55.3
-Release: 2
+Version: 0.57.2
+Release: 1%{?dist}
+
 License: GPL
 Group: Applications/System
-Source: http://savannah.nongnu.org/download/synaptic/synaptic-%{version}.tar.gz
+Source0: http://savannah.nongnu.org/download/synaptic/synaptic-%{version}.tar.gz
+Patch0: synaptic-0.57-desktop.patch
+Patch1: synaptic-0.57-firefox.patch
 URL: http://www.nongnu.org/synaptic/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: usermode-gtk
-# This isn't really a requirement mozilla works as well for a help browser,
-# however konqueror and firefox don't apparently work so...
-Requires: yelp
-Requires(post,postun): scrollkeeper
-BuildRequires: apt-devel >= 0:0.5.4, rpm-devel >= 0:4.0
+Requires(post): scrollkeeper
+Requires(postun): scrollkeeper
+BuildRequires: apt-devel >= 0.5.4, rpm-devel >= 4.0
 BuildRequires: gtk2-devel, libglade2-devel, desktop-file-utils
 BuildRequires: libstdc++-devel, gettext
 BuildRequires: xmlto, perl-XML-Parser
@@ -24,14 +24,16 @@
 
 %description
 Synaptic is a graphical package management
-program for apt. It provides the same features as the apt-get command line 
+program for apt. It provides the same features as the apt-get command line
 utility with a GUI front-end based on Gtk+
 
 %prep
 %setup -q
+%patch0 -p1 -b .dt
+%patch1 -p1 -b .firefox
 
 %build
-%configure 
+%configure --disable-dependency-tracking
 make %{?_smp_mflags}
 
 %install
@@ -40,7 +42,7 @@
 %find_lang %{name}
 
 mkdir -p $RPM_BUILD_ROOT%{_bindir}
-ln -s %{_bindir}/consolehelper $RPM_BUILD_ROOT%{_bindir}/synaptic
+ln -s consolehelper $RPM_BUILD_ROOT%{_bindir}/synaptic
 
 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps
 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/security/console.apps/synaptic
@@ -63,22 +65,16 @@
 EOF
 
 # Remove the default menu entries and install our own
-rm -f $RPM_BUILD_ROOT%{_datadir}/applications/synaptic.desktop
+rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*
 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig/synaptic.desktop
 
-# need to remove original Exec and fixup later as the default .desktop
-# uses gksu which isn't available
 desktop-file-install --vendor fedora 		\
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
   --mode=0644					\
   --add-category X-Fedora			\
-  --add-category Application                    \
   --add-category SystemSetup                    \
-  --remove-key=Exec				\
   data/%{name}.desktop
 
-echo "Exec=%{_bindir}/%{name}" >> $RPM_BUILD_ROOT%{_datadir}/applications/%{desktop_vendor}-%{name}.desktop
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -103,6 +99,25 @@
 %{_mandir}/man8/%{name}.8*
 
 %changelog
+* Tue Jul 12 2005 Panu Matilainen <pmatilai at laiskiainen.org> 0.57.2-1
+- remove explicit yelp dependency, add support for browsing help with 
+  firefox (#163036)
+- configure with --disable-dependency-tracking
+
+* Thu Jul 07 2005 Panu Matilainen <pmatilai at laiskiainen.org> 
+- update to 0.57.2
+- remove kde-desktop file
+- correct path in desktop file
+
+* Wed Jun 29 2005 Panu Matilainen <pmatilai at laiskiainen.org> 0.57-1
+- update to 0.57
+
+* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
+* Fri Mar  4 2005 Ville Skyttä <ville.skytta at iki.fi>
+- Split context marked dependency syntax to work around #118773.
+
 * Sat Jan 29 2005 Warren Togami <wtogami at redhat.com> 0.55.3-2
 - ExcludeArch: x86_64 ppc64
 
@@ -172,7 +187,7 @@
 
 * Thu Oct 23 2003 Panu Matilainen <pmatilai at welho.com> 0.45-0.fdr.1
 - update to 0.45
-- support FC release naming 
+- support FC release naming
 
 * Thu Sep 25 2003 Panu Matilainen <pmatilai at welho.com> 0.44-0.fdr.1
 - update to 0.44
@@ -191,7 +206,7 @@
 * Sat Aug 02 2003 Panu Matilainen <pmatilai at welho.com> 0.40-0.fdr.1
 - address issues in #313 / 13
 
-* Wed Jul 30 2003 Panu Matilainen <pmatilai at welho.com> 
+* Wed Jul 30 2003 Panu Matilainen <pmatilai at welho.com>
 - update to 0.40
 - drop gtk requirement from 2.2 to 2.0
 
@@ -203,7 +218,7 @@
 - automatically pick up rh version
 - drop patches (merged upstream)
 
-* Tue May 27 2003 Panu Matilainen <pmatilai at welho.com> 
+* Tue May 27 2003 Panu Matilainen <pmatilai at welho.com>
 - patch to make it build with GTK 2.0
 
 * Sat May 24 2003 Panu Matilainen <pmatilai at welho.com> 0.36.1-0.fdr.3
@@ -212,7 +227,7 @@
 * Fri May 16 2003 Panu Matilainen <pmatilai at welho.com> 0.36.1-0.fdr.2
 - missing buildrequires: gettext
 
-* Thu Apr 24 2003 Panu Matilainen <pmatilai at welho.com> 
+* Thu Apr 24 2003 Panu Matilainen <pmatilai at welho.com>
 - add sources.list.d support
 
 * Tue Apr 22 2003 Panu Matilainen <pmatilai at welho.com> 0.36.1-0.fdr.1




More information about the scm-commits mailing list