[mythtv-commits] Ticket #13291: android build loses new files

MythTV noreply at mythtv.org
Mon Jun 4 20:49:57 UTC 2018


#13291: android build loses new files
---------------------------------+-------------------------
     Reporter:  Peter Bennett    |      Owner:  Mark Spieth
         Type:  Patch - Bug Fix  |     Status:  new
     Priority:  minor            |  Milestone:  30.0
    Component:  Ports - Android  |    Version:  Master Head
     Severity:  medium           |   Keywords:
Ticket locked:  0                |
---------------------------------+-------------------------
 As part of a new development for android, I need to create some additional
 source files, which I add to the source directories and the .pro files. I
 have not yet added them to git.

 The android/mythbuild.sh "cheap mans shadow build" deletes the links for
 the new files because they are not yet in git.

 There is a line of code that I assume is intended to remove from the
 shadow build all products of regular linux builds that may be left over.
 In the process it is removing my new files. It is also for unknown reasons
 leaving behind any product from prior builds with "src" in the name, as
 follows:

 {{{
 external/FFmpeg/libavfilter/asrc_anoisesrc.d
 external/FFmpeg/libavfilter/asrc_anoisesrc.o
 external/FFmpeg/libavfilter/asrc_anullsrc.d
 external/FFmpeg/libavfilter/asrc_anullsrc.o
 external/FFmpeg/libavfilter/asrc_hilbert.d
 external/FFmpeg/libavfilter/asrc_hilbert.o
 external/FFmpeg/libavfilter/asrc_sine.d
 external/FFmpeg/libavfilter/asrc_sine.o
 external/FFmpeg/libavfilter/buffersrc.d
 external/FFmpeg/libavfilter/buffersrc.o
 external/FFmpeg/libavfilter/src_movie.d
 external/FFmpeg/libavfilter/src_movie.o
 external/FFmpeg/libavfilter/vsrc_cellauto.d
 external/FFmpeg/libavfilter/vsrc_cellauto.o
 external/FFmpeg/libavfilter/vsrc_life.d
 external/FFmpeg/libavfilter/vsrc_life.o
 external/FFmpeg/libavfilter/vsrc_mandelbrot.d
 external/FFmpeg/libavfilter/vsrc_mandelbrot.o
 external/FFmpeg/libavfilter/vsrc_mptestsrc.d
 external/FFmpeg/libavfilter/vsrc_mptestsrc.o
 external/FFmpeg/libavfilter/vsrc_testsrc.d
 external/FFmpeg/libavfilter/vsrc_testsrc.o
 external/libsamplerate/obj/src_linear.o
 external/libsamplerate/obj/src_sinc.o
 external/libsamplerate/obj/src_zoh.o
 src
 }}}

 Proposed change will remove git ignored files only:

 {{{
 -git -C $MYMYTHPATH ls-files -o | grep -vE "kdev4|user|src" | xargs -n1 rm
 +git -C $MYMYTHPATH status --ignored --porcelain | grep '!!' | sed
 's/!!//' | xargs -n1 rm -fr
 }}}

 Is there any purpose behind the grep -vE "kdev4|user|src" ?

-- 
Ticket URL: <https://code.mythtv.org/trac/ticket/13291>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list