Opened 12 years ago
Last modified 6 years ago
#37287 closed defect
texstudio @2.5.1 Configuration error - missing files — at Initial Version
Reported by: | m.matze@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | haspatch | Cc: | |
Port: | texstudio |
Description
Dear,
may texstudio application bundle had too few files. The reason is a error in the Makefile generated by qmake from texstudio.pro. It works with the identical texstudio.pro in Version 2.5 but not in Version 2.5.1
The Makefile contains:
texstudio.app/Contents/Resources/empty.lproj:
@$(CHK_DIR_EXISTS) texstudio.app/Contents/Resources $(MKDIR) texstudio.app/Contents/Resources @touch texstudio.app/Contents/Resources/empty.lproj
:
@$(DEL_FILE) @sed -e "s,@SHORT_VERSION@,1.0,g" -e "s,@TYPEINFO@,????,g" -e "s,@ICON@,texstudio.icns,g" -e "s,@EXECUTABLE@,texstudio,g" -e "s,@TYPEINFO@,????,g" Info.plist >
texstudio.app/Contents/Resources/texstudio.icns: texstudio.icns
@$(CHK_DIR_EXISTS) texstudio.app/Contents/Resources/ $(MKDIR) texstudio.app/Contents/Resources/ @$(DEL_FILE) texstudio.app/Contents/Resources/texstudio.icns @$(COPY_FILE) texstudio.icns texstudio.app/Contents/Resources/texstudio.icns
It works when the line QMAKE_INFO_PLIST = Info.plist is removed from the texstudio.pro file.
A adapted patchfile is attached to this ticket. (qt version 4.8.4)
(I'm pretty sure that it worked correctly when I opened the ticket to update texstudio from 2.5 to 2.5.1.)
Patch file