public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: v4l-dvb-do-not-strip-patch-files.patch
@ 2008-07-03 11:48 Hans de Goede
  2008-07-03 18:37 ` Thierry Merle
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2008-07-03 11:48 UTC (permalink / raw)
  To: Thierry Merle; +Cc: video4linux-list

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Hi,

While doing make commit of my latest patch I found out that strip-whitespace 
also strips the application patches included in the latest libv4l, which is 
bad, this patch fixes this.

Regards,

Hans

[-- Attachment #2: v4l-dvb-do-not-strip-patch-files.patch --]
[-- Type: text/plain, Size: 665 bytes --]

The libv4l directory contains some bugfix patches / port to libv4l patches
for various applications, strip-trailing-whitespaces.sh should not touch these
this patch teaches strip-trailing-whitespaces.sh to not touch .patch files.

Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>

diff -r 6169e79de2d2 v4l/scripts/strip-trailing-whitespaces.sh
--- a/v4l/scripts/strip-trailing-whitespaces.sh	Tue Jul 01 21:18:23 2008 +0200
+++ b/v4l/scripts/strip-trailing-whitespaces.sh	Thu Jul 03 13:46:16 2008 +0200
@@ -20,6 +20,12 @@
 fi
 
 for file in `eval $files`; do
+	case "$file" in
+		*.patch)
+			continue
+			;;
+	esac
+
 	perl -ne '
 	s/[ \t]+$//;
 	s<^ {8}> <\t>;

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* PATCH: v4l-dvb-do-not-strip-patch-files.patch
@ 2008-07-03 11:49 Hans de Goede
  0 siblings, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2008-07-03 11:49 UTC (permalink / raw)
  To: Thierry Merle; +Cc: video4linux-list

p.s.

This patch should be applied before the libv4l-0.3.1 patch otherwise the 
patches in the libv4l-0.3.1 patch get mangled on make commit !!


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: PATCH: v4l-dvb-do-not-strip-patch-files.patch
  2008-07-03 11:48 Hans de Goede
@ 2008-07-03 18:37 ` Thierry Merle
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Merle @ 2008-07-03 18:37 UTC (permalink / raw)
  To: Hans de Goede; +Cc: video4linux-list, v4l2 library

Hi Hans,
Hans de Goede a écrit :
> Hi,
>
> While doing make commit of my latest patch I found out that
> strip-whitespace also strips the application patches included in the
> latest libv4l, which is bad, this patch fixes this.
>
> Regards,
>
> Hans
> The libv4l directory contains some bugfix patches / port to libv4l patches
> for various applications, strip-trailing-whitespaces.sh should not
> touch these
> this patch teaches strip-trailing-whitespaces.sh to not touch .patch
> files.
>
> Signed-off-by: Hans de Goede <j.w.r.degoede@hhs.nl>
>
> diff -r 6169e79de2d2 v4l/scripts/strip-trailing-whitespaces.sh
> --- a/v4l/scripts/strip-trailing-whitespaces.sh    Tue Jul 01 21:18:23
> 2008 +0200
> +++ b/v4l/scripts/strip-trailing-whitespaces.sh    Thu Jul 03 13:46:16
> 2008 +0200
> @@ -20,6 +20,12 @@
>  fi
>  
>  for file in `eval $files`; do
> +    case "$file" in
> +        *.patch)
> +            continue
> +            ;;
> +    esac
> +
>      perl -ne '
>      s/[ \t]+$//;
>      s<^ {8}> <\t>;
Applied thanks.
Please post on the v4l2-library too since it targets the interested
people about this v4l userspace library specifically.
Cheers,
Thierry

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-03 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 11:49 PATCH: v4l-dvb-do-not-strip-patch-files.patch Hans de Goede
  -- strict thread matches above, loose matches on Subject: below --
2008-07-03 11:48 Hans de Goede
2008-07-03 18:37 ` Thierry Merle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox