[ Jussi, we would like to get a new debian-etch devkit for Maemo 5 with
  the attached patch.  Please advise how to best go about this.
]

ext Ed Bartosh <[email protected]> writes:

> I can also help with building devkit if needed.

I didn't manage to get the devkit to compile (I didn't see a way to get
it to not install into / during build), but I have a patch anyway
(attached).

> What's the best way to make SDK guys to adopt our changes? Bug?

Jussi Haakala should be our man (in CC).

--- sb-debian-devkit/etch_tools/dpkg/work/main.d/dpkg-1.13.25/scripts/dpkg-buildpackage.sh	2006-06-21 05:35:01.000000000 +0300
+++ sb-debian-devkit.mvo/etch_tools/dpkg/work/main.d/dpkg-1.13.25/scripts/dpkg-buildpackage.sh	2009-11-02 18:44:41.000000000 +0200
@@ -12,6 +12,7 @@
 	echo "
 Copyright (C) 1996 Ian Jackson.
 Copyright (C) 2000 Wichert Akkerman
+Copyright (C) 2009 Nokia Corporation (Marius Vollmer)
 This is free software; see the GNU General Public Licence version 2 or
 later for copying conditions. There is NO warranty."
 }
@@ -45,6 +46,7 @@
   -sn            force Debian native source format.      } only passed
   -s[sAkurKUR]   see dpkg-source for explanation.        } to dpkg-source
   -nc            do not clean source tree (implies -b).
+  -no            do not run maemo-optify-deb.
   -tc            clean source tree when finished.
   -ap            add pause before starting signature process.
   -W             turn certain errors into warnings.       } passed to
@@ -77,6 +79,7 @@
 maint=''
 desc=''
 noclean=false
+nooptify=false
 usepause=false
 warnable_error=0
 passopts=''
@@ -109,6 +112,7 @@
 	-tc)	cleansource=true ;;
 	-t*)    targetgnusystem="$value" ;;          # Order DOES matter!
 	-nc)	noclean=true; if [ -z "$binaryonly" ]; then binaryonly=-b; fi ;;
+	-no)	nooptify=true ;;
 	-b)	binaryonly=-b; [ "$sourceonly" ] && \
 			{ echo >&2 "$progname: cannot combine $1 and -S" ; exit 2 ; } ;;
 	-B)	binaryonly=-B; checkbuilddep_args=-B; binarytarget=binary-arch; [ "$sourceonly" ] && \
@@ -127,6 +131,13 @@
 	shift
 done
 
+if [ x$nooptify != xtrue ]; then
+    if [ x`type -p maemo-optify-deb` = x ]; then
+        echo >&2 "$progname: maemo-optify-deb not found, not optifying."
+        nooptify=true
+    fi
+fi
+
 if [ -z "$signcommand"  ] ; then
 	signsource=:
 	signchanges=:
@@ -216,6 +227,9 @@
 if [ x$sourceonly = x ]; then
 	withecho debian/rules build 
 	withecho $rootcommand debian/rules $binarytarget
+        if [ x$nooptify != xtrue ]; then
+            withecho $rootcommand maemo-optify-deb --auto
+        fi
 fi
 if [ "$usepause" = "true" ] && \
    ( [ "$signchanges" != ":" ] || ( [ -z "$binaryonly" ] && [ "$signsource" != ":" ] ) ) ; then
_______________________________________________
maemo-developers mailing list
[email protected]
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to