Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20079 closed submission (fixed)

kile-2.1-new port

Reported by: nicos_pavlov@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: kile-devel

Description

Attached to this ticket is a suggested new portfile for Kile 2.1 beta, working on kde4. The suggested name of the new port is kile21, to differentiate it from the port kile, based on kde3.

Attachments (4)

Portfile (1.2 KB) - added by nicos_pavlov@… 15 years ago.
portfile for kile21
Portfile.1 (1.3 KB) - added by nicos_pavlov@… 15 years ago.
Portfile.2 (1.3 KB) - added by nicos_pavlov@… 15 years ago.
Portfile-kile-devel.diff (1.1 KB) - added by nerdling (Jeremy Lavergne) 15 years ago.
how's this look for the cmake portgroup?

Download all attachments as: .zip

Change History (13)

Changed 15 years ago by nicos_pavlov@…

Attachment: Portfile added

portfile for kile21

comment:1 Changed 15 years ago by nicos_pavlov@…

Small correction by adding build dependecies for completeness, although they are required by kdelibs4

Changed 15 years ago by nicos_pavlov@…

Attachment: Portfile.1 added

comment:2 Changed 15 years ago by mf2k (Frank Schima)

Port: kile-devel added; kile removed

This port should be called kile-devel since it is a beta version.

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Keywords: kile kde tex removed
Owner: changed from macports-tickets@… to snc@…
Status: newassigned

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

I got a configure error while attempting to build this. Do you want it committed anyways (as a -devel I find it safe to let it go even if it fails)?

Which qt do you use? I'm using qt4-mac, which provides qmake in ${prefix}/libexec/qt4-mac/bin.

`cd "/opt/local/var/macports/build/_Users_snc_ports_tex_kile-devel/work/kile-2.1b1" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_INCLUDE_PATH=/opt/local/include -DCMAKE_LIBRARY_PATH=/opt/local/lib` returned error 1
Command output: CMake Error at /opt/local/share/apps/cmake/modules/FindQt4.cmake:1485 (MESSAGE):
  Qt qmake not found!
Call Stack (most recent call first):
  /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:291 (find_package)
  /opt/local/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
  CMakeLists.txt:5 (find_package)

comment:5 Changed 15 years ago by nicos_pavlov@…

That's perfectly right, and I am also using qt4-mac, but I forgot that I had a link qmake -> qmake-mac. With the standard install, cmake can't find qmake-mac in bin. This is solved in the new portfile, by adding -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake-mac. I also changed the name of the portfile to kile-devel as asked above.

Changed 15 years ago by nicos_pavlov@…

Attachment: Portfile.2 added

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Committed in r54907.

comment:7 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Don't forget to use ${prefix} instead of hardcoding /opt/local. I fixed this in r54950.

You should also consider moving this port to the cmake portgroup.

comment:8 Changed 15 years ago by nerdling (Jeremy Lavergne)

Got any documentation on that portgroup? :-P

Changed 15 years ago by nerdling (Jeremy Lavergne)

Attachment: Portfile-kile-devel.diff added

how's this look for the cmake portgroup?

comment:9 in reply to:  8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to snc@…:

Got any documentation on that portgroup? :-P

I don't think anyone has written documentation on it yet. For now, I can recommend you read the portgroup to see what it does, and see what can be removed from the port if you use it.

Note: See TracTickets for help on using tickets.