[libhid-discuss] libhid on fedora

Manuel F Martinez manpaz at bashlinux.com
Tue Mar 9 09:58:10 UTC 2010


patch1:  Stop the configure script to mess the flags (Only on fedora)

libhid-0.2.17-fix_compiler_flags.patch

diff -up ./configure.fix_compiler_flags ./configure
--- ./configure.fix_compiler_flags 2010-03-07 19:29:02.000000000 -0800
+++ ./configure 2010-03-07 19:31:53.000000000 -0800
@@ -13605,9 +13605,9 @@ _ACEOF
 fi


-
-    CFLAGS=$(echo $CFLAGS | sed -e 's,-g[^[:space:]]*,,g')
-    CXXFLAGS=$(echo $CXXFLAGS | sed -e 's,-g[^[:space:]]*,,g')
+    # Avoid remove "-g" flag for Fedora builds
+    #CFLAGS=$(echo $CFLAGS | sed -e 's,-g[^[:space:]]*,,g')
+    #CXXFLAGS=$(echo $CXXFLAGS | sed -e 's,-g[^[:space:]]*,,g')

     if test "$ac_cv_enable_debug" = "yes"; then
       echo nada > /dev/null

On Tue, Mar 9, 2010 at 1:55 AM, Manuel F Martinez <manpaz at bashlinux.com>wrote:

> patch0:  Use db2x_docbook2man instead xsltproc to generate man pages
>
> libhid-0.2.17-fix_manpage.patch
>
> diff -up ./doc/man/Makefile.am.fix_manpage ./doc/man/Makefile.am
> --- ./doc/man/Makefile.am.fix_manpage 2010-02-17 03:53:00.000000000 -0800
> +++ ./doc/man/Makefile.am 2010-02-18 01:22:17.000000000 -0800
> @@ -2,9 +2,9 @@ ACLOCAL_AMFLAGS = -I m4
>
>  dist_man1_MANS = libhid-detach-device.1
>
> -XP = xsltproc -''-nonet
> +XP = db2x_docbook2man
>  %.1: %.dbk
> - $(XP) $(DB2MAN_FILE) $<
> + $(XP) $<
>
>  maintainerclean-local:
>   rm -f ${wildcard *.[0-9]}
>
> On Tue, Mar 9, 2010 at 1:54 AM, Manuel F Martinez <manpaz at bashlinux.com>wrote:
>
>> Ok, I'm sending in short the spec patches.
>>
>>
>> On Mon, Mar 8, 2010 at 5:13 PM, Charles Lepple <clepple at ghz.cc> wrote:
>>
>>> On Mar 8, 2010, at 3:50 PM, Manuel F Martinez wrote:
>>>
>>>    The proper libhid RPM have been build and approved on Fedora, I have
>>>> applied a couple of patches in order to accomplish with Fedora Package
>>>> Guidelines. Now I wonder if there is possible to send you the patches and
>>>> spec file so you can have a copy of them, either on the list or svn.
>>>>
>>>
>>> The list is fine.
>>>
>>> Thanks!
>>>
>>
>>
>>
>> --
>> Manuel F Martinez
>> Linux Systems Engineer
>>
>
>
>
> --
> Manuel F Martinez
> Linux Systems Engineer
>



-- 
Manuel F Martinez
Linux Systems Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20100309/864046b0/attachment.htm>


More information about the libhid-discuss mailing list