[MacPorts] #37287: texstudio @2.5.1 Configuration error - missing files
MacPorts
noreply at macports.org
Wed Dec 12 07:50:38 PST 2012
#37287: texstudio @2.5.1 Configuration error - missing files
------------------------+--------------------------------
Reporter: m.matze@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords: haspatch
Port: texstudio |
------------------------+--------------------------------
Changes (by ryandesign@…):
* keywords: => haspatch
Old 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, at SHORT_VERSION@,1.0,g" -e "s, at TYPEINFO@,????,g" -e
> "s, at ICON@,texstudio.icns,g" -e "s, at EXECUTABLE@,texstudio,g" -e
> "s, at 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.)
New 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, at SHORT_VERSION@,1.0,g" -e "s, at TYPEINFO@,????,g" -e
"s, at ICON@,texstudio.icns,g" -e "s, at EXECUTABLE@,texstudio,g" -e
"s, at 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.)
--
--
Ticket URL: <https://trac.macports.org/ticket/37287#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list