{"thread":{"id":"2072","subject":"[PATCH] First cut of a Cygwin package creation target.","startedAt":"2005-10-11T14:26:33Z","lastAt":"2005-10-11T22:48:51Z","messageCount":3,"participants":["Tim O Callaghan","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"9959","messageId":"23711.145.36.10.111.1129040793.squirrel@www.dspsrv.com","threadId":"2072","inReplyTo":null,"subject":"[PATCH] First cut of a Cygwin package creation target.","fromName":"Tim O Callaghan","fromEmail":"timo@dspsrv.com","sentAt":"2005-10-11T14:26:33Z","receivedAt":"2005-10-11T14:26:33Z","isPatch":true,"sender":{"key":"timo@dspsrv.com","avatar":null},"body":"\nThe new make target 'cygwinpackage' creates dist tars based on the\nCygwin package guidelines at:http://cygwin.com/setup.html\n\nThe tar packages when created are placed in the cygwin directory with\nthe Cygwin setup specific setup.hint file, ready for distribution.\n\nSigned-off-by: Tim O'Callaghan <timo@dspsrv.com>\n\n---\n\n Makefile          |   20 ++++++++++++++++++++\n cygwin/setup.hint |   11 +++++++++++\n 2 files changed, 31 insertions(+), 0 deletions(-)\n mode change 100644 => 100755 Makefile\n create mode 100755 cygwin/setup.hint\n\napplies-to: 2bab3caf63fc29f249c792289365abaf1cfa071b\nba3be06048f361afc80baae30b00dd6e022386d0\ndiff --git a/Makefile b/Makefile\nold mode 100644\nnew mode 100755\nindex c31af7b..1a227ed\n--- a/Makefile\n+++ b/Makefile\n@@ -441,6 +441,26 @@ deb: dist\n        dpkg-source -b $(GIT_TARNAME)\n        cd $(GIT_TARNAME) && fakeroot debian/rules binary\n\n+unexport prefix\n+export prefix=/\n+export DESTDIR=/tmp/cygwin/usr\n+cygwinpackage: all\n+       strip -s *.exe\n+       rm -f $(GIT_TARNAME)*.tar*\n+       ./git-tar-tree HEAD $(GIT_TARNAME) > $(GIT_TARNAME)-src.tar\n+       mkdir -p $(GIT_TARNAME)\n+       cp README $(GIT_TARNAME)/git-core-$(GIT_VERSION).README\n+       $(TAR) rf $(GIT_TARNAME).tar\n$(GIT_TARNAME)/git-core-$(GIT_VERSION).README\n+       @rm -rf $(GIT_TARNAME)\n+       bzip2 $(GIT_TARNAME)-src.tar\n+       rm -rf $(DESTDIR)\n+       mkdir -p $(DESTDIR)/man/man1 $(DESTDIR)/man/man7\n$(DESTDIR)/share/Cygwin\n+       cp README $(DESTDIR)/share/Cygwin/git-core-$(GIT_VERSION).README\n+       $(MAKE) install\n+       $(MAKE) -C Documentation install\n+       cd /tmp/cygwin; $(TAR) -jcf /tmp/$(GIT_TARNAME).tar.bz2 *\n+       mv /tmp/$(GIT_TARNAME).tar.bz2 ./$(GIT_TARNAME)-src.tar.bz2 ./cygwin\n+\n ### Cleaning rules\n\n clean:\ndiff --git a/cygwin/setup.hint b/cygwin/setup.hint\nnew file mode 100755\nindex 0000000..580eecc\n--- /dev/null\n+++ b/cygwin/setup.hint\n@@ -0,0 +1,11 @@\n+# git-core setup.hint - file required by cygwin package manager\n+#\n+# short description\n+sdesc: \"Git-core - SCM Developed for the Linux kernel\"\n+# long description\n+ldesc: \"Git-core - SCM Developed for the Linux kernel - now available to\nthe windows masses via the magic of Cygwin\"\n+# package category\n+category: Archive Devel\n+# dependencies\n+requires: cygwin libiconv zlib openssl curl-devel diff merge ssh\n+\n---\n0.99.8.GIT\n"},{"id":"9960","messageId":"36024.145.36.10.111.1129041545.squirrel@www.dspsrv.com","threadId":"2072","inReplyTo":"23711.145.36.10.111.1129040793.squirrel@www.dspsrv.com","subject":"Re: [PATCH] First cut of a Cygwin package creation target.","fromName":"Tim O Callaghan","fromEmail":"timo@dspsrv.com","sentAt":"2005-10-11T14:39:05Z","receivedAt":"2005-10-11T14:39:05Z","isPatch":true,"sender":{"key":"timo@dspsrv.com","avatar":null},"body":"I should also mention that in my (probably misguided) enthusiasm for\nthe Cygwin port, i proposed myself as the package maintainer on the\ncygwin-app list. If people don't think i'm gittish enough to handle\nit, i am more than happy let them take over. Otherwise i will attempt\nto go through the procedures needed to get it into the Cygwin distro.\n\nFor those interested, a copy of the generated Cygwin packages can be found\nat:\nhttp://www.dspsrv.com/~timo/\n\nIf there are no objections, i'll send them onto the Cygwin people sometime\ntomorrow.\n\nTim.\n\"Money can't buy friends, but it can get you a better class of enemy.\"\n- Spike Milligan\n"},{"id":"9982","messageId":"7vd5mbsm98.fsf@assigned-by-dhcp.cox.net","threadId":"2072","inReplyTo":"23711.145.36.10.111.1129040793.squirrel@www.dspsrv.com","subject":"Re: [PATCH] First cut of a Cygwin package creation target.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2005-10-11T22:48:51Z","receivedAt":"2005-10-11T22:48:51Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Tim O Callaghan\" <timo@dspsrv.com> writes:\n\n> applies-to: 2bab3caf63fc29f249c792289365abaf1cfa071b\n> ba3be06048f361afc80baae30b00dd6e022386d0\n> diff --git a/Makefile b/Makefile\n> old mode 100644\n> new mode 100755\n\nIs the mode change relevant to cygwin port?\n\n> index c31af7b..1a227ed\n> --- a/Makefile\n> +++ b/Makefile\n> @@ -441,6 +441,26 @@ deb: dist\n>         dpkg-source -b $(GIT_TARNAME)\n>         cd $(GIT_TARNAME) && fakeroot debian/rules binary\n>\n> +unexport prefix\n> +export prefix=/\n> +export DESTDIR=/tmp/cygwin/usr\n> +cygwinpackage: all\n> ...\n\nAre these environment-mucking supposed to be only effective\nwhile you are running cygwinpackage target, or are you breaking\neverybody else?  I cannot offhand tell because your patch does\nnot apply for me to try it out, after your MUA munged it.\n"}]}