Ticket #28070: patch-darktablerc.diff

File patch-darktablerc.diff, 1.7 KB (added by julians37@…, 14 years ago)
  • Makefile.am

    diff -ru ../orig/darktable-0.7.1/Makefile.am ./Makefile.am
    old new  
    3333else
    3434EXTRA_DIST+=darktablerc
    3535dtdataroot_DATA+=darktablerc
     36
     37darktablerc: tools/create_darktablerc.sh
     38        tools/create_darktablerc.sh
     39
    3640endif
  • Makefile.in

    diff -ru ../orig/darktable-0.7.1/Makefile.in ./Makefile.in
    old new  
    999999@GCONF_SCHEMAS_INSTALL_TRUE@@HAVE_GCONF_TRUE@   fi
    10001000@GCONF_SCHEMAS_INSTALL_FALSE@@HAVE_GCONF_TRUE@install-data-local:
    10011001
     1002@HAVE_GCONF_FALSE@darktablerc: tools/create_darktablerc.sh
     1003@HAVE_GCONF_FALSE@      tools/create_darktablerc.sh
     1004
    10021005# Tell versions [3.59,3.63) of GNU make to not export all variables.
    10031006# Otherwise a system limit (for SysV at least) may be exceeded.
    10041007.NOEXPORT:
  • tools/create_darktablerc.sh

    diff -ru ../orig/darktable-0.7.1/tools/create_darktablerc.sh ./tools/create_darktablerc.sh
    old new  
    22
    33cat darktable.schemas.in | grep '<key>' | sed -e 's/<key>//g' -e 's/<\/key>//g' -e 's/\/schemas\/apps\/darktable\///g' | nl -s: | sed -e 's/^[ \t]*//;s/[ \t]*$//' > dreggn1
    44cat darktable.schemas.in | grep '<default>' | sed -e 's/<default>//g' -e 's/<\/default>//g' | nl -s: | sed -e 's/^[ \t]*//;s/[ \t]*$//' > dreggn2
    5 join -j 1 -o 1.2 2.2 dreggn1 dreggn2 | sed -e 's/ /=/g' > darktablerc
     5join -1 1 -2 1 -o "1.2 2.2" dreggn1 dreggn2 | sed -e 's/ /=/g' > darktablerc
    66rm -f dreggn{1,2}