rpms/libvte-java/devel libvte-java-alias2.patch, NONE, 1.1 libvte-java.spec, 1.31, 1.32 libvte-java-alias.patch, 1.1, NONE

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Apr 20 17:30:04 UTC 2007


Author: skasal

Update of /cvs/dist/rpms/libvte-java/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5125

Modified Files:
	libvte-java.spec 
Added Files:
	libvte-java-alias2.patch 
Removed Files:
	libvte-java-alias.patch 
Log Message:
- Fix permissions for libvte-java-alias.patch; because of CVS limitations,
  the patch has to be renamed, say to libvte-java-alias2.patch
- Adhere to packaging guidelines.
- Resolves: #226057
- Make sure we will notice when the project starts using the NEWS file.

libvte-java-alias2.patch:
 Terminal.java |    8 ++++++++
 1 files changed, 8 insertions(+)

--- NEW FILE libvte-java-alias2.patch ---
? libvte-java-alias-patch.diff
Index: src/java/org/gnu/gnomevte/Terminal.java
===================================================================
RCS file: /cvs/gnome/libvte-java/src/java/org/gnu/gnomevte/Terminal.java,v
retrieving revision 1.13
diff -u -r1.13 Terminal.java
--- src/java/org/gnu/gnomevte/Terminal.java	19 Jul 2006 15:37:54 -0000	1.13
+++ src/java/org/gnu/gnomevte/Terminal.java	14 Aug 2006 17:27:32 -0000
@@ -263,6 +263,10 @@
 			throw new FileNotFoundException();
 	}
 		
+    public void setBackgroudImage(String file) throws FileNotFoundException{
+	setBackgroundImage(file);
+    }
+
 	/**
 	 * Sets the background image for the widget.  Text which would otherwise 
 	 * be drawn using the default background color will instead be drawn 
@@ -320,6 +324,10 @@
 	public void setBackgroundColor(Color color) {
 		vte_terminal_set_color_background(getHandle(), color.getHandle());
 	}	
+
+    public void setBackgroudColor(Color color) {
+	setBackgroundColor(color);
+    }
 
 	/**
 	 * Sets the foreground color used to draw normal text


Index: libvte-java.spec
===================================================================
RCS file: /cvs/dist/rpms/libvte-java/devel/libvte-java.spec,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- libvte-java.spec	6 Mar 2007 15:23:35 -0000	1.31
+++ libvte-java.spec	20 Apr 2007 17:30:02 -0000	1.32
@@ -1,15 +1,15 @@
-Summary:   Wrapper library for GNOME VTE
-Name:      libvte-java 
-Version:   0.12.1
-Release:   8%{?dist}
-URL:       http://java-gnome.sourceforge.net
-Source0:   http://ftp.gnome.org/pub/GNOME/sources/%{name_base}/0.12/%{name}-%{version}.tar.bz2
-License:   LGPL
-Group:     Development/Libraries
-BuildRoot: %{_tmppath}/libvte-java
+Summary:	Wrapper library for GNOME VTE
+Name:		libvte-java 
+Version:	0.12.1
+Release:	9%{?dist}
+URL:		http://java-gnome.sourceforge.net
+Source0:	http://ftp.gnome.org/pub/GNOME/sources/%{name_base}/0.12/%{name}-%{version}.tar.bz2
+License:	LGPL
+Group:		Development/Libraries
+BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 
-Patch:	libvte-java-alias.patch
-Patch1:	%{name}-gjavah.patch
+Patch:		libvte-java-alias2.patch
+Patch1:		%{name}-gjavah.patch
 
 Requires: 	glib-java >= 0.2.4
 Requires:	libgtk-java >= 2.8.4
@@ -20,13 +20,13 @@
 BuildRequires: 	pkgconfig
 
 %description 
-libvte-java is a Java wrapper library for the GNOME VTE library. Allowing access
-to the terminal widget from Java.
+libvte-java is a Java wrapper library for the GNOME VTE library, allowing
+access to the terminal widget from Java.
 
 %package        devel
-Summary:        Compressed Java source files for %{name}.
-Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}
+Summary:	Compressed Java source files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 Requires:	vte-devel, libgtk-java-devel
 
 %description    devel
@@ -34,8 +34,6 @@
 
 
 %prep
-rm -rf $RPM_BUILD_ROOT
-
 %setup -q -n %{name}-%{version}
 %patch
 %patch1
@@ -80,6 +78,9 @@
 (cd $RPM_BUILD_ROOT%{_datadir}/java &&
   ln -sf $zipfile $jarname$jarversion-src.zip)
 
+# Is the NEWS file still empty?  See the file list below.
+test -f NEWS -a ! -s NEWS
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -89,7 +90,8 @@
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS ChangeLog COPYING INSTALL NEWS README 
+# Do not distribute the NEWS file, it is empty.
+%doc AUTHORS ChangeLog COPYING README 
 %{_libdir}/libvtejava-*.so
 %{_libdir}/libvtejni-*.so
 %{_datadir}/java/*.jar
@@ -103,6 +105,13 @@
 %{_datadir}/java/*.zip
 
 %changelog
+* Tue Apr  3 2007 Stepan Kasal <skasal at redhat.com> - 0.12.1-9
+- Fix permissions for libvte-java-alias.patch; because of CVS limitations,
+  the patch has to be renamed, say to libvte-java-alias2.patch 
+- Adhere to packaging guidelines.
+- Resolves: #226057
+- Make sure we will notice when the project starts using the NEWS file.
+
 * Tue Mar  6 2007 Stepan Kasal <skasal at redhat.com> - 0.12.1-8
 - Rename the gcjh -> gjavah patch.
 


--- libvte-java-alias.patch DELETED ---




More information about the fedora-cvs-commits mailing list