/[fink]/10.3/main/finkinfo/net/valknut.info
ViewVC logotype

Contents of /10.3/main/finkinfo/net/valknut.info

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6.2.1 - (show annotations) (download)
Thu Dec 28 22:47:09 2006 UTC (17 years, 4 months ago) by nieder
Branch: valknut-0_3_8
Changes since 1.6: +8 -8 lines
first set of 0.3.8 files

1 Info2: <<
2 Package: valknut%type_pkg[-qttoolkit]
3 Version: 0.3.8
4 Revision: 1
5 Description: Direct Connect protocol QT client
6 Type: -qttoolkit (-aqua -x11)
7 License: GPL
8 Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
9 Depends: <<
10 bzip2-shlibs,
11 dclib0-unified-shlibs (>= %v-1),
12 libiconv,
13 libpng3-shlibs,
14 libxml2-shlibs,
15 (%type_raw[-qttoolkit] = -x11) qt3-shlibs,
16 (%type_raw[-qttoolkit] = -aqua) qt3mac-shlibs,
17 (%type_raw[-qttoolkit] = -x11) x11
18 <<
19 BuildDepends: <<
20 bzip2-dev,
21 dclib0-unified (>= %v-1),
22 libiconv-dev,
23 libpng3,
24 libxml2,
25 (%type_raw[-qttoolkit] = -x11) qt3,
26 (%type_raw[-qttoolkit] = -aqua) qt3mac,
27 system-openssl-dev,
28 (%type_raw[-qttoolkit] = -x11) x11-dev
29 <<
30 Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
31 BuildConflicts: <<
32 (%type_raw[-qttoolkit] = -aqua) qt3,
33 (%type_raw[-qttoolkit] = -x11) qt3mac
34 <<
35 Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
36 Source: mirror:sourceforge:wxdcgui/%n-%v.tar.bz2
37 Source2: http://snaggledworks.com/fink/valknutapp-%v.tar.bz2
38 Source-MD5: 047f94ef65ba40a5303c8323a5510619
39 Source2-MD5: 42190ae650f63e836ac38a73edfea780
40 SetLDFLAGS: -L%p/lib/system-openssl/lib
41 ConfigureParams: <<
42 --with-libdc=%p \
43 (%type_raw[-qttoolkit] = -aqua) --with-qt-dir=%p/lib/qt3mac \
44 (%type_raw[-qttoolkit] = -aqua) --with-qt-includes=%p/lib/qt3mac/include \
45 (%type_raw[-qttoolkit] = -aqua) --enable-mac \
46 (%type_raw[-qttoolkit] = -aqua) --enable-osx \
47 (%type_raw[-qttoolkit] = -x11) --with-qt-dir=%p \
48 (%type_raw[-qttoolkit] = -x11) --with-qt-includes=%p/include/qt \
49 --with-ssl-dir=%p/lib/system-openssl \
50 --disable-dependency-tracking
51 <<
52 GCC: 3.3
53 CompileScript: <<
54 #!/bin/sh -ev
55 if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
56 # set this on 10.3 because of stoopid QuickTime issues. NOT needed for 10.4.
57 export LDFLAGS="-Wl,-dylib_file,/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon -Wl,-dylib_file,/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime -Wl,-dylib_file,/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit -Wl,-dylib_file,/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices:/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices -F/Developer/SDKs/MacOSX10.3.0.sdk/System/Library/Frameworks $LDFLAGS"
58 fi
59 ./configure %c
60 /usr/bin/make -w
61 <<
62 InstallScript: <<
63 #!/bin/sh -ev
64 if [ "%type_raw[-qttoolkit]" == "-x11" ]; then
65 /usr/bin/make -w install DESTDIR=%d
66 else
67 #
68 # Based on NYZetas Howto:
69 # http://www.stud.ntnu.no/~chrisj/download/howto/valknut_howto.html
70 # and ravemax's original INSTALL.MAC
71
72 QTMACDIR=%p/lib/qt3mac
73 TS_TO_QM=${QTMACDIR}/bin/lrelease
74 TS_DIR=valknut/ts
75 ICONS_DIR=valknut/icons
76 V_NAME=Valknut
77 V_VERSION=%v
78 V_SERIAL=20061213
79
80 #Starting generation
81
82 APP_NAME=${V_NAME}.app
83
84 #APP DIR
85 echo "Creating ${APP_NAME}";
86 /bin/mkdir ${APP_NAME}
87
88 # Translation files
89 TRANS_DIR=${APP_NAME}/translation;
90 /bin/mkdir ${TRANS_DIR};
91 echo "Generating path: ${TRANS_DIR}";
92 for i in ${TS_DIR}/*.ts; do
93 ${TS_TO_QM} $i;
94 /bin/mv ${TS_DIR}/$(basename $i ts)qm ${TRANS_DIR}
95 done
96 echo "Copying from ${TS_DIR}";
97
98 # Icons
99 /bin/mkdir ${APP_NAME}/icons ${APP_NAME}/icons/{user,user/default,emot,emot/default,appl,appl/default}
100 echo "Generating path: ${APP_NAME}/icons";
101 echo "Generating path: ${APP_NAME}/icons/user/default";
102 echo "Generating path: ${APP_NAME}/icons/emot/default";
103 echo "Generating path: ${APP_NAME}/icons/appl/default";
104 echo "Copying from ${ICONS_DIR}";
105 /bin/cp ${ICONS_DIR}/*.x* ${APP_NAME}/icons/appl/default
106 /bin/mv ${APP_NAME}/icons/appl/default/emoticons.* ${APP_NAME}/icons/emot/default
107 /bin/mv ${APP_NAME}/icons/appl/default/usericons.* ${APP_NAME}/icons/user/default
108
109 # Contents
110 CNT_DIR=${APP_NAME}/Contents;
111 /bin/mkdir ${CNT_DIR};
112 echo "Generating path: ${CNT_DIR}";
113 echo "Installing file: PkgInfo";
114 /bin/cp PkgInfo ${CNT_DIR}/PkgInfo
115 echo "Installing file: Info.plist";
116 /bin/cp Info.plist ${CNT_DIR}/Info.plist
117
118 # Copy the executable
119 MACOS_DIR=${CNT_DIR}/MacOS;
120 echo "Generating path: ${MACOS_DIR}"
121 /bin/mkdir ${MACOS_DIR}
122 echo "Generating file: PkgInfo";
123 echo "Copying from valknut/";
124 /bin/cp valknut/valknut ${MACOS_DIR}/valknut
125 echo "Stripping valknut";
126 /usr/bin/strip ${MACOS_DIR}/valknut
127
128 # Copy Icon
129 RSC_DIR=${CNT_DIR}/Resources
130 echo "Generating path: ${RSC_DIR}"
131 /bin/mkdir ${RSC_DIR}
132 echo "Copying from ${ICONS_DIR}";
133 /bin/cp ${ICONS_DIR}/icon_128x128.icns $RSC_DIR/${V_NAME}.icns
134
135 # Move the .app bundle to %p/Applications
136 /usr/bin/install -d -m 755 %i/Applications
137 /bin/mv -f ${APP_NAME} %i/Applications/${APP_NAME}
138 fi
139 <<
140 PostInstScript: <<
141 if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
142 if ! test -e /Applications/Fink; then
143 /usr/bin/install -d -m 755 /Applications/Fink
144 fi
145 /bin/ln -s '%p/Applications/Valknut.app' /Applications/Fink/
146 fi
147 <<
148 PostRmScript: <<
149 if [ "%type_raw[-qttoolkit]" == "-aqua" ]; then
150 /bin/rm -f '/Applications/Fink/Valknut.app'
151 fi
152 <<
153 DocFiles: AUTHORS ChangeLog COPYING INSTALL NEWS README
154 Homepage: http://dcgui.berlios.de/index.php
155 DescDetail: <<
156 Valknut is a program the uses the Direct Connect protocol. It is
157 compatible with other DC clients, such as the original DC from
158 Neomodus, and DC++.
159
160 Valknut replaces the packages dcgui-qt and dcgui-qt-ssl that were
161 renamed after version 0.3.2.
162 <<
163 DescUsage: <<
164 For Aqua Version:
165 -----------------
166 Double click the Application in /Applications/Fink
167
168 For X11 Version:
169 ----------------
170 Normally, just use "valknut" from the command line.
171 Use "valknut --disable-tray" to get rid of the little icon
172 if using quartz-wm or another dockless window manager.
173
174 Valknut >= 0.3.5 crashes the X11 server when run in rootless mode
175 if using a window manager besides quartz-wm. It runs fine under any
176 manager in full-screen mode. If you use xorg or xfree86, install the
177 package quartz-wm and call it from your xinitrc if you want to run
178 Valknut. Alternatively, run the native Aqua version which doesn't need
179 X11.
180 <<
181 DescPackaging: <<
182 No longer Depends: on a specific %v-%r of dclib0. Just keep at dclib0-%v >= than current valknut-%v.
183
184 Now links to system OpenSSL to avoid licensing issues.
185
186 Uses its own PostInst and PostRm scripts rather than AppBundles because AppBundles can not be variantized and the X11 version does not build a .app package.
187 <<
188 <<

  ViewVC Help
Powered by ViewVC 1.1.17