rpms/brltty/devel brltty-gnusource.patch, NONE, 1.1 brltty-parallel.patch, NONE, 1.1 brltty.spec, 1.29, 1.30 brltty-3.9-gnusource.patch, 1.1, NONE brltty-3.9-java-svn.patch, 1.1, NONE brltty-3.9-parallel.patch, 1.1, NONE brltty-3.9-pyxfix.patch, 1.1, NONE brltty-3.9-tcl85path.patch, 1.1, NONE

Štěpán Kasal kasal at fedoraproject.org
Wed Sep 17 15:40:57 UTC 2008


Author: kasal

Update of /cvs/extras/rpms/brltty/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7958

Modified Files:
	brltty.spec 
Added Files:
	brltty-gnusource.patch brltty-parallel.patch 
Removed Files:
	brltty-3.9-gnusource.patch brltty-3.9-java-svn.patch 
	brltty-3.9-parallel.patch brltty-3.9-pyxfix.patch 
	brltty-3.9-tcl85path.patch 
Log Message:
- new upstream release
- drop brltty-3.9-java-svn.patch, brltty-3.9-tcl85path.patch,
  and brltty-3.9-pyxfix.patch, they are upstream
- fix BuildRoot
- fix many sub-packages' Requires on brlapi

brltty-gnusource.patch:

--- NEW FILE brltty-gnusource.patch ---
2008-09-17  Stepan Kasal  <skasal at redhat.com>

	* configure.ac: Add -D_GNU_SOURCE to get struct ucred from
	socket.h.

diff -up brltty-3.10/configure.ac.gnusource brltty-3.10/configure.ac
--- brltty-3.10/configure.ac.gnusource	2008-07-17 00:19:54.000000000 +0200
+++ brltty-3.10/configure.ac	2008-09-17 12:44:28.000000000 +0200
@@ -779,7 +779,7 @@ AC_CACHE_CHECK([for system-dependent com
 case "${host_os}"
 in
    linux*|gnu*|kfreebsd*)
-      brltty_cv_prog_cc_sysflags="-D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED"
+      brltty_cv_prog_cc_sysflags="-D_POSIX_C_SOURCE=2 -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_XOPEN_SOURCE_EXTENDED -D_GNU_SOURCE"
       ;;
    solaris*)
       brltty_cv_prog_cc_sysflags="-D_XOPEN_SOURCE=500 -D__EXTENSIONS__"

brltty-parallel.patch:

--- NEW FILE brltty-parallel.patch ---
2008-09-17  Stepan Kasal  <skasal at redhat.com>

	* Programs/Makefile.in (braille-drivers): Add
	prerequisity `all' to prevent race of this make with nested
	"make brlapi" when parallel make is used.  Recursive make is
	harmful.

diff -up brltty-3.10/Makefile.in.parallel brltty-3.10/Makefile.in
diff -up brltty-3.10/Programs/Makefile.in.parallel brltty-3.10/Programs/Makefile.in
--- brltty-3.10/Programs/Makefile.in.parallel	2008-07-17 00:19:08.000000000 +0200
+++ brltty-3.10/Programs/Makefile.in	2008-09-17 11:24:35.000000000 +0200
@@ -399,7 +399,7 @@ apitest.$O:
 
 ###############################################################################
 
-braille-drivers: txt2hlp
+braille-drivers: txt2hlp api
 	for driver in $(BRAILLE_EXTERNAL_DRIVER_NAMES); \
 	do (cd $(BLD_TOP)$(BRL_DIR)/$$driver && $(MAKE) braille-driver braille-all) || exit 1; \
 	done


Index: brltty.spec
===================================================================
RCS file: /cvs/extras/rpms/brltty/devel/brltty.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- brltty.spec	13 Sep 2008 14:10:14 -0000	1.29
+++ brltty.spec	17 Sep 2008 15:40:27 -0000	1.30
@@ -1,5 +1,5 @@
-%define pkg_version 3.9
-%define api_version 0.5.1
+%define pkg_version 3.10
+%define api_version 0.5.2
 
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 %{!?pyver: %define pyver %(%{__python} -c "import sys; v=sys.version_info[:2]; print '%d.%d'%v")}
@@ -9,20 +9,16 @@
 
 Name: brltty
 Version: %{pkg_version}
-Release: 3%{?dist}
+Release: 1%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://mielke.cc/brltty/
 Source: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
-Patch0: brltty-3.9-tcl85path.patch
-Patch1: brltty-3.9-java-svn.patch
-Patch2: brltty-3.9-gnusource.patch
+Patch2: brltty-gnusource.patch
 Patch3: brltty-3.9-autoconf.patch
-Patch4: brltty-3.9-pyxfix.patch
-Patch5: brltty-3.9-parallel.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-InstallRoot
+Patch5: brltty-parallel.patch
+BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 Summary: Braille display driver for Linux/Unix
-Requires(post): coreutils
 BuildRequires: byacc, glibc-kernheaders
 # BuildRequires: ocaml
 
@@ -68,7 +64,7 @@
 Version: %{api_version}
 Group: Development/System
 License: LGPLv2+
-Requires: brlapi = %{api_version}
+Requires: brlapi = %{api_version}-%{release}
 Summary: Headers, static archive, and documentation for BrlAPI
 
 %description -n brlapi-devel
@@ -87,7 +83,7 @@
 Version: %{api_version}
 Group: Development/System
 License: LGPLv2+
-Requires: brlapi = %{api_version}
+Requires: brlapi = %{api_version}-%{release}
 BuildRequires: tcl-devel tcl
 Summary: Tcl binding for BrlAPI
 %description -n tcl-brlapi
@@ -97,7 +93,7 @@
 Version: %{api_version}
 Group: Development/System
 License: LGPLv2+
-Requires: brlapi = %{api_version}
+Requires: brlapi = %{api_version}-%{release}
 BuildRequires: Pyrex
 Summary: Python binding for BrlAPI
 %description -n python-brlapi
@@ -107,7 +103,7 @@
 Version: %{api_version}
 Group: Development/System
 License: LGPLv2+
-Requires: brlapi = %{api_version}
+Requires: brlapi = %{api_version}-%{release}
 BuildRequires: java-devel
 #BuildRequires: java-1.7.0-icedtea-devel
 Summary: Java binding for BrlAPI
@@ -118,15 +114,12 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .tcl85path
-%patch1 -p1 -b .java-svn
 %patch2 -p1 -b .gnusource
 %patch3 -p1 -b .autoconf
-%patch4 -p1 -b .pyxfix
 %patch5 -p1 -b .parallel
-./autogen
 
 %build
+./autogen
 %configure --with-install-root="${RPM_BUILD_ROOT}" --with-braille-driver=-tt
 make %{?_smp_mflags}
 
@@ -223,6 +216,13 @@
 
 
 %changelog
+* Sat Sep 13 2008 Stepan Kasal <skasal at redhat.com> - 3.10-1
+- new upstream release
+- drop brltty-3.9-java-svn.patch, brltty-3.9-tcl85path.patch,
+  and brltty-3.9-pyxfix.patch, they are upstream
+- fix BuildRoot
+- fix many sub-packages' Requires on brlapi
+
 * Wed Sep 10 2008 Stepan Kasal <skasal at redhat.com> - 3.9-3
 - add brltty-3.9-autoconf.patch to fix to build with Autoconf 2.62
 - add brltty-3.9-parallel.patch to fix race condition with parallel make


--- brltty-3.9-gnusource.patch DELETED ---


--- brltty-3.9-java-svn.patch DELETED ---


--- brltty-3.9-parallel.patch DELETED ---


--- brltty-3.9-pyxfix.patch DELETED ---


--- brltty-3.9-tcl85path.patch DELETED ---




More information about the fedora-extras-commits mailing list