Here is a patch to the pdfjam
shell script to make it work under Cygwin:
--- pdfjam.original 2019-01-07 16:12:47.894523500 +0100
+++ pdfjam.patched-for-cygwin 2019-01-07 16:12:33.492142300 +0100
@@ -949,6 +949,9 @@
(umask 077 && mkdir "$PDFJAM_TEMP_DIR")
fi
umask $original_umask
+case `uname` in
+ *CYGWIN*) PDFJAM_TEMP_DIR=`cygpath -w "$PDFJAM_TEMP_DIR"`;;
+esac
##
## TEMPORARY DIRECTORY ALL DONE
##
@@ -1073,7 +1076,10 @@
sourceFullPath="$sourceDir"/"$pdfName"
uniqueName="source-$counter.pdf"
uniqueName="$PDFJAM_TEMP_DIR"/"$uniqueName"
- ln -s "$sourceFullPath" "$uniqueName"
+ case `uname` in
+ *CYGWIN*) cp "$sourceFullPath" "$uniqueName";;
+ *) ln -s "$sourceFullPath" "$uniqueName";;
+ esac
;;
esac
filePageList="$filePageList","$uniqueName","$pageSpec"
@@ -1123,6 +1129,7 @@
texFile="$fileName".tex
msgFile="$fileName".msgs
tempFile="$PDFJAM_TEMP_DIR"/temp.tex
+backslashsafe_filePageList=$(echo $filePageList | sed 's~\\~/~g')
(cat <<EndTemplate
\batchmode
\documentclass[$documentOptions]{article}
@@ -1137,7 +1144,7 @@
\usepackage{pdfpages}
$preamble
\begin{document}
-\includepdfmerge[$miscOptions]{$filePageList}
+\includepdfmerge[$miscOptions]{$backslashsafe_filePageList}
\end{document}
EndTemplate
) > $texFile
This whole story is really sad, and a blow to the open source community.
The whole thing was brought to court in Texas : https://dockets.justia.com/docket/texas/txndce/4:2016cv00110/269823
Steven Jungels last words on this project : https://github.com/transcode-open/apt-cyg/blob/master/status.md
Interestingly, it was never even mentioned on the Cygwin mailing list:
https://sourceware.org/cgi-bin/search.cgi?cmd=Search!&fmt=long&form=extended&GroupBySite=no&m=all&ps=10&q=%22apt-cyg%22&sp=1&su=title&sy=1&type=&ul=/ml/%25&wf=2221&wm=wrd&s=DRP
Btw, I did not know that Cygwin was now founded by Red Hat.
There is a little bit of interesting history of the project on Wikipedia: https://en.wikipedia.org/wiki/Cygwin
Commits are still regularly made on the project:
https://cygwin.com/git/gitweb.cgi?p=newlib-cygwin.git
First, lets mention Git Bash (aka msysgit) : the old version was a PITA to extend with additional packages (e.g. adding common C libs like libxml), and the new one (renamed Git for Windows), is based on MSYS2, but does not include a package manager.
Hence, we were left with …
Depuis mai 2015, Python 3.4 est disponoble sous Cygwin.
Si vous aviez précédement installé Python 3.2, voici comment passer à la version 3.4.
Tout d'abord, je vous recommande l'excellent gestionnaire de package apt-cyg. C'est tout simplement une interface en ligne de commande équivalente au setup-x86.exe
(ou …