From kde-windows Thu May 27 20:10:58 2010 From: "Thomas Friedrichsmeier" Date: Thu, 27 May 2010 20:10:58 +0000 To: kde-windows Subject: Distributing (third party) KDE apps as a bundle Message-Id: <201005272211.02376.thomas.friedrichsmeier () ruhr-uni-bochum ! de> X-MARC-Message: https://marc.info/?l=kde-windows&m=127499109727979 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1077504991==" --===============1077504991== Content-Type: multipart/signed; boundary="nextPart6678521.EMrK1JLVk9"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart6678521.EMrK1JLVk9 Content-Type: multipart/mixed; boundary="Boundary-01=_SHt/LgpUqS/gMCP" Content-Transfer-Encoding: 7bit --Boundary-01=_SHt/LgpUqS/gMCP Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I have previously written about problems of deploying third party KDE apps = on=20 windows. In the RKWard project, we've recently started using a new approach= on=20 binary distributions, and we are quite happy with that so far. Our situatio= n=20 may be special to some degree in that RKWard is not (yet) in the kdewin- installer, we can only offer MinGW-binaries, and we also depend on an=20 installation of R. This means that until recently, installing RKWard was a= =20 rather cumbersome procedure. What we do now is this: We simply install KDE (kdebase-apps; using the regu= lar=20 installer), R, and RKWard in a common root on the development system. We ad= d=20 an .lnk-file to the rkward binary. Then just zip it all up into a self- extracting archive with 7zip. This brings the installation instructions dow= n=20 to: 1) Install to a directory of your choice 2) Copy the RKWard.lnk to your deskop The download size is ~130MB, all inclusive, which is not exactly small, but= =20 quite acceptable. Of that ~100MB is kdebase-apps and dependencies. Also, this is not only simple to install, but also easy to package. The mos= t=20 difficult part is gathering the sources for KDE for GPL version 2-complianc= e=20 (=A73), but for that we have a simple script to download the relevant sourc= e=20 packages from winkde.org. I'm attaching that for reference, in case it is o= f=20 interest. I'm not sure whether anything can be learnt from this for distributing=20 "official" KDE apps. But for third parties like us this is probably the eas= iest=20 way to deploy a KDE app on windows. Regards Thomas --Boundary-01=_SHt/LgpUqS/gMCP Content-Type: application/x-shellscript; name="fetch_kde_sources.sh" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="fetch_kde_sources.sh" #!/bin/bash cd $0 BASEDIR=`pwd` MANIFESTDIR=${BASEDIR}/../RKWard/KDE/manifest/ REPOSITORY="http://winkde.org/pub/kde/ports/win32/repository-4.4/" SUBDIRS="win32libs kde kdesupport aspell" SUFFIXES=".tar.bz2 .zip" FILES=`find ${MANIFESTDIR} -name '*bin.ver' -printf '%f\n' | sed -e "s/bin\.ver/src/"` FILES="${FILES} `find ${MANIFESTDIR} -name '*bin.ver' -printf '%f\n' | sed -e "s/bin\.ver/lib/"`" cd ${BASEDIR}/KDE for FILE in ${FILES} do FOUND="0" for DIR in ${SUBDIRS} do for SUFFIX in ${SUFFIXES} do wget -r ${REPOSITORY}/${DIR}/${FILE}${SUFFIX} if [ $? -eq 0 ]; then FOUND="1" break; fi done if [ ${FOUND} -eq "1" ]; then break fi done if [ ${FOUND} -eq "0" ]; then NOTFOUND="${FILE} ${NOTFOUND}" fi done if [ "${NOTFOUND}" != "" ]; then echo "Did not find these files:" for FILE in ${NOTFOUND} do echo ${FILE} done fi --Boundary-01=_SHt/LgpUqS/gMCP-- --nextPart6678521.EMrK1JLVk9 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkv+0dIACgkQEKRv+5DVNhgaBwCguuwemroqH4TSX5NVyB318GQQ dZ0An1DxaUHI6l2315lr1nxraIgqZtY2 =bNtA -----END PGP SIGNATURE----- --nextPart6678521.EMrK1JLVk9-- --===============1077504991== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kde-windows mailing list Kde-windows@kde.org https://mail.kde.org/mailman/listinfo/kde-windows --===============1077504991==--