X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-cinelerra-cv.git;a=blobdiff_plain;f=patches%2Fpatch-defaulttheme-data-Makefile_am;fp=patches%2Fpatch-defaulttheme-data-Makefile_am;h=42248c12a5975de70b2d6ffcd8414fce9dad423a;hp=0000000000000000000000000000000000000000;hb=00814ab16778f3c24a27fd562260f788745e99c3;hpb=8b050a68db48f7b9e6402a9a19c4898ef636ab83 diff --git a/patches/patch-defaulttheme-data-Makefile_am b/patches/patch-defaulttheme-data-Makefile_am new file mode 100644 index 0000000..42248c1 --- /dev/null +++ b/patches/patch-defaulttheme-data-Makefile_am @@ -0,0 +1,36 @@ +$NetBSD$ + +--- plugins/defaulttheme/data/Makefile.am.orig 2010-02-01 07:55:54.000000000 +0000 ++++ plugins/defaulttheme/data/Makefile.am +@@ -1,6 +1,5 @@ +-noinst_LIBRARIES = libimagedata.a +-libimagedata_a_SOURCES = +-nodist_libimagedata_a_SOURCES = defaulttheme.data ++noinst_LTLIBRARIES = libimagedata.la ++nodist_libimagedata_la_SOURCES = imagedata.c + + # The following bash scripts makes up the list of used PNG's + +@@ -318,16 +317,18 @@ ymeter_yellow.png \ + zoombar_left.png \ + zoombar_right.png + +-# this rule creates the .o file from the concatenated PNGs +-.data.$(OBJEXT): +- $(OBJCOPY) -I binary -B $(OBJCOPYARCH) -O $(OBJCOPYTARGET) $< $@ ++# this rule creates the .c file from the concatenated PNGs ++imagedata.c: defaulttheme.data ++ echo "unsigned char _binary_defaulttheme_data_start[] = {" > $@ ++ cat $< | xxd -i >> $@ ++ echo "};" >> $@ + + defaulttheme.data: $(PNGS) + $(top_builddir)/guicast/bootstrap $@ $^ || { rm -f $@; exit 1; } + + clean-local: + rm -f defaulttheme.data +- ++ + EXTRA_DIST = \ + $(PNGS) \ + about.xcf.bz2 \