Opened 11 years ago

Closed 5 years ago

#37287 closed defect (worksforme)

texstudio @2.5.1 Configuration error - missing files

Reported by: m.matze@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: texstudio

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.)

Attachments (1)

patch-texstudio.pro.diff (1.1 KB) - added by m.matze@… 11 years ago.
Patch file

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by m.matze@…

Attachment: patch-texstudio.pro.diff added

Patch file

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: haspatch added

comment:2 in reply to:  description Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Replying to m.matze@…:

may texstudio application bundle had too few files.

Could you explain: what is the problem this causes? I tried building texstudio @2.5.1 and it built fine. The app appeared to open fine as well. I didn't test using it since I don't know how.

comment:3 Changed 11 years ago by m.matze@…

I don't understand what the problem is causing. I talked also with the developers of texstudio but they are not using MacOS at all. The makefile generation was broken (for some reason which I could not find out).

comment:4 in reply to:  3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to m.matze@…:

I don't understand what the problem is causing.

What I'm asking is: why should we apply this patch? What is the problem with the port the way it is today, that applying this patch fixes?

comment:5 Changed 11 years ago by m.matze@…

The problem: As I wrote in the original ticket, texstudio 2.5.1 was not build on my system. The makefile generated from "qmake texstudio.pro" was not complete.

The new diff file, repaired the problem on my system. I don't know where the problem came from as texstudio 2.5.1 worked in the beginning and made only problems when I tried to rebuild it. My guess was that maybe qt was updated in the meantime.

comment:6 Changed 5 years ago by yan12125 (Chih-Hsuan Yen)

Resolution: worksforme
Status: newclosed

Info.plist is included in the source tarball for the latest version (2.12.12). If you still get issues for this version, feel free to leaves comments here or open a new ticket.

Note: See TracTickets for help on using tickets.