Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16293 closed submission (fixed)

filelight New Portfile

Reported by: zweistein12@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port:

Description

I have a new Portfile for filelight (http://www.methylblue.com/filelight/).

Attachments (5)

Portfile (1.5 KB) - added by zweistein12@… 16 years ago.
New Portfile for filelight
patch-src-part-radialMap-builder.cpp.diff (380 bytes) - added by zweistein12@… 16 years ago.
patch file
patch-src-part-radialMap-labels.cpp.diff (322 bytes) - added by zweistein12@… 16 years ago.
patch file
patch-src-part-radialMap-map.cpp.diff (329 bytes) - added by zweistein12@… 16 years ago.
patch file
patch-src-part-radialMap-widgt.cpp.diff (377 bytes) - added by zweistein12@… 16 years ago.
patch file

Download all attachments as: .zip

Change History (11)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

A few comments:

  1. You should use ${prefix} instead of hardcoding "/opt/local".
  2. You need to add dependencies required such at qt3.
  3. It does not build for me:
    Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_schimaf_Downloads/work/filelight-1.0" && make all " returned error 2
    Command output: 	/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include  -I../../src  -DQT_THREAD_SUPPORT -I/opt/local/include  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o historyAction.o `test -f 'historyAction.cpp' || echo './'`historyAction.cpp
    /opt/local//bin/moc ./mainWindow.h -o mainWindow.moc
    source='mainWindow.cpp' object='mainWindow.o' libtool=no \
    	depfile='.deps/mainWindow.Po' tmpdepfile='.deps/mainWindow.TPo' \
    	depmode=gcc3 /bin/sh ../../admin/depcomp \
    	/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include  -I../../src  -DQT_THREAD_SUPPORT -I/opt/local/include  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o mainWindow.o `test -f 'mainWindow.cpp' || echo './'`mainWindow.cpp
    source='main.cpp' object='main.o' libtool=no \
    	depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
    	depmode=gcc3 /bin/sh ../../admin/depcomp \
    	/usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include  -I../../src  -DQT_THREAD_SUPPORT -I/opt/local/include  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
    /bin/sh ../../libtool --silent --mode=link --tag=CXX /usr/bin/g++-4.0  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION   -L/opt/local/lib -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -o filelight -L/opt/local/lib -L/usr/X11/lib    -R /opt/local/lib -R /opt/local/lib -R /opt/local/lib -R /usr/X11/lib historyAction.o mainWindow.o main.o -lkparts -lkdeui 
    Making all in part
    Making all in radialMap
    /opt/local//bin/moc ./widget.h -o widget.moc
    source='widget.cpp' object='widget.lo' libtool=yes \
    	depfile='.deps/widget.Plo' tmpdepfile='.deps/widget.TPlo' \
    	depmode=gcc3 /bin/sh ../../../admin/depcomp \
    	/bin/sh ../../../libtool --silent --mode=compile --tag=CXX /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/part -I/opt/local/include -I/opt/local/include/qt3/ -I/usr/X11/include   -DQT_THREAD_SUPPORT -I/opt/local/include  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -O2 -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -c -o widget.lo `test -f 'widget.cpp' || echo './'`widget.cpp
    widget.cpp: In member function 'void RadialMap::Widget::zoomIn()':
    widget.cpp:165: error: 'Config' has not been declared
    widget.cpp:165: error: 'defaultRingDepth' was not declared in this scope
    widget.cpp: In member function 'void RadialMap::Widget::zoomOut()':
    widget.cpp:175: error: 'Config' has not been declared
    widget.cpp:175: error: 'defaultRingDepth' was not declared in this scope
    widget.cpp:176: error: 'Config' has not been declared
    make[4]: *** [widget.lo] Error 1
    make[3]: *** [all-recursive] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2
    
    Error: Status 1 encountered during processing.
    

comment:2 Changed 16 years ago by zweistein12@…

a shit, I was too fast. The Portfile was incomplete, sorry. I upload a new one in few days.

Changed 16 years ago by zweistein12@…

Attachment: Portfile added

New Portfile for filelight

Changed 16 years ago by zweistein12@…

patch file

Changed 16 years ago by zweistein12@…

patch file

Changed 16 years ago by zweistein12@…

patch file

Changed 16 years ago by zweistein12@…

patch file

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

This version works for me so I committed it in r39272. Thanks for the contribution. The only changes I made were to remove the "revision 1" line (the initial revision of any given port version should be 0 which is the default), and I obfuscated your email address in the maintainers line.

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:6 Changed 16 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.