rpms/gtk-chtheme/devel gtk-chtheme-0.3.1-new-api.patch, NONE, 1.1 gtk-chtheme-nostrip.patch, NONE, 1.1 gtk-chtheme.desktop, NONE, 1.1 gtk-chtheme.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Germán A. Racca skytux at fedoraproject.org
Fri Jul 16 18:47:46 UTC 2010


Author: skytux

Update of /cvs/pkgs/rpms/gtk-chtheme/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv6296/devel

Modified Files:
	.cvsignore sources 
Added Files:
	gtk-chtheme-0.3.1-new-api.patch gtk-chtheme-nostrip.patch 
	gtk-chtheme.desktop gtk-chtheme.spec import.log 
Log Message:
Initial import (#604501)

gtk-chtheme-0.3.1-new-api.patch:
 util.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE gtk-chtheme-0.3.1-new-api.patch ---
--- gtk-chtheme-0.3.1/util.c~	2004-02-08 14:42:33.000000000 +0100
+++ gtk-chtheme-0.3.1/util.c	2010-07-14 10:40:18.000000000 +0200
@@ -19,7 +19,8 @@
 
 GtkWidget* unfocussable(GtkWidget *w)
 {
-	GTK_WIDGET_UNSET_FLAGS(w, GTK_CAN_FOCUS);
+        /* GTK_WIDGET_UNSET_FLAGS(w, GTK_CAN_FOCUS); */
+        gtk_widget_set_can_focus(w, FALSE);
 	return w;
 }
 

gtk-chtheme-nostrip.patch:
 Makefile |    1 -
 1 file changed, 1 deletion(-)

--- NEW FILE gtk-chtheme-nostrip.patch ---
--- Makefile.orig	2010-05-04 17:22:25.127295630 -0300
+++ Makefile	2010-05-04 17:22:44.000000000 -0300
@@ -38,7 +38,6 @@
 	-rm -f $(EXENAME).spec $(EXENAME).1 Makefile.bak
 
 install: all
-	strip      $(EXENAME)
 	install -d              $(DESTDIR)/$(BINDIR)
 	install -c $(EXENAME)   $(DESTDIR)/$(BINDIR)
 	install -d              $(DESTDIR)/$(MANDIR)/man1


--- NEW FILE gtk-chtheme.desktop ---
[Desktop Entry]
Name=gtk-chtheme
GenericName=GTK Change Theme
Comment=Change your Gtk+ 2.0 theme
Exec=gtk-chtheme
Terminal=false
Type=Application
Categories=DesktopSettings;Utility;GTK;


--- NEW FILE gtk-chtheme.spec ---
Name:		gtk-chtheme
Version:	0.3.1
Release:	6%{dist}
Summary:	Gtk+ 2.0 theme preview and selection made slick

Group:		User Interface/Desktops
License:	GPLv2+
URL:		http://plasmasturm.org/programs/gtk-chtheme/
Source0:	http://plasmasturm.org/code/%{name}/%{name}-%{version}.tar.bz2
Source1:	%{name}.desktop
Patch0:		%{name}-nostrip.patch
Patch1:		%{name}-0.3.1-new-api.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	gtk2-devel desktop-file-utils

%description
As the name suggests, this little program lets you change your Gtk+ 2.0 theme.
The aim is to make theme preview and selection as slick as possible. Themes
installed on the system are presented for selection and previewed on the fly.
A large variety of widgets provides a comprehensive demonstration.

%prep
%setup -q
%patch0 -p0 -b .orig
%patch1 -p1 -b .orig

%build
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"

desktop-file-install					\
	--dir=%{buildroot}%{_datadir}/applications	\
	%{SOURCE1}

# Fix permission of man file
find %{buildroot}%{_mandir}/man1/%{name}.* -type f | xargs chmod 0644 || true

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_mandir}/man1/%{name}.*

%changelog
* Thu Jul 15 2010 German A. Racca <gracca at gmail.com> - 0.3.1-6
- Fixed permission of man file the right way

* Wed Jul 14 2010 Terje Rosten <terje.rosten at ntnu.no> - 0.3.1-5
- Add patch to build with newer gtk

* Thu Jun 17 2010 German A. Racca <gracca at gmail.com> 0.3.1-4
- Fixed permission of man file

* Wed Jun 16 2010 German A. Racca <gracca at gmail.com> 0.3.1-3
- Rebuild for Fedora 13

* Tue May 04 2010 German A. Racca <gracca at gmail.com> 0.3.1-2
- Added %%{dist} tag
- Added patch for not stripping the binary file

* Mon Mar 22 2010 German A. Racca <gracca at gmail.com> 0.3.1-1
- Initial release of RPM package


--- NEW FILE import.log ---
gtk-chtheme-0_3_1-6_fc13:HEAD:gtk-chtheme-0.3.1-6.fc13.src.rpm:1279305604


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-chtheme/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	16 Jul 2010 17:46:04 -0000	1.1
+++ .cvsignore	16 Jul 2010 18:47:46 -0000	1.2
@@ -0,0 +1 @@
+gtk-chtheme-0.3.1.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gtk-chtheme/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	16 Jul 2010 17:46:04 -0000	1.1
+++ sources	16 Jul 2010 18:47:46 -0000	1.2
@@ -0,0 +1 @@
+f688053bf26dd6c4f1cd0bf2ee33de2a  gtk-chtheme-0.3.1.tar.bz2



More information about the scm-commits mailing list