1 |
Info2: << |
Info2: << |
2 |
Package: valknut%type_pkg[-qttoolkit]%type_pkg[-ssl] |
Package: valknut%type_pkg[-qttoolkit] |
3 |
Version: 0.3.7 |
Version: 0.3.7 |
4 |
Revision: 5 |
Revision: 1006 |
5 |
Description: Direct Connect protocol QT client |
Description: Direct Connect protocol QT client |
6 |
Type: -ssl ., -qttoolkit (-aqua -x11) |
Type: -qttoolkit (-aqua -x11) |
7 |
License: GPL |
License: GPL |
8 |
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net> |
Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net> |
9 |
Depends: << |
Depends: << |
10 |
x11, |
bzip2-shlibs, |
11 |
(%type_raw[-qttoolkit] = -aqua) qt3mac-shlibs, |
dclib0-unified-shlibs (>= %v-2000), |
12 |
(%type_raw[-qttoolkit] = -x11) qt3-shlibs, |
libiconv, |
13 |
libpng3-shlibs, |
libpng3-shlibs, |
14 |
libxml2-shlibs, |
libxml2-shlibs, |
15 |
bzip2-shlibs, |
(%type_raw[-qttoolkit] = -x11) qt3-shlibs, |
16 |
dclib0%type_pkg[-ssl]-shlibs (= %v-4), |
(%type_raw[-qttoolkit] = -aqua) qt3mac-shlibs, |
17 |
(%type_raw[-ssl] = -ssl) openssl097-shlibs |
(%type_raw[-qttoolkit] = -x11) x11 |
18 |
<< |
<< |
19 |
BuildDepends: << |
BuildDepends: << |
20 |
libiconv-dev, |
bzip2-dev, |
21 |
x11-dev, |
dclib0-unified (>= %v-2000), |
22 |
(%type_raw[-qttoolkit] = -aqua) qt3mac, |
libiconv-dev, |
23 |
(%type_raw[-qttoolkit] = -x11) qt3, |
libpng3, |
24 |
libpng3, |
libxml2, |
25 |
libxml2, |
(%type_raw[-qttoolkit] = -x11) qt3, |
26 |
bzip2-dev, |
(%type_raw[-qttoolkit] = -aqua) qt3mac, |
27 |
dclib0%type_pkg[-ssl] (= %v-4), |
system-openssl-dev, |
28 |
(%type_raw[-ssl] = -ssl) openssl097-dev |
(%type_raw[-qttoolkit] = -x11) x11-dev |
29 |
<< |
<< |
30 |
Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-aqua, valknut-x11, valknut-ssl, valknut-ssl-aqua, valknut-ssl-x11 |
Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl |
31 |
BuildConflicts: << |
BuildConflicts: << |
32 |
(%type_raw[-qttoolkit] = -aqua) qt3, |
(%type_raw[-qttoolkit] = -aqua) qt3, |
33 |
(%type_raw[-qttoolkit] = -x11) qt3mac, |
(%type_raw[-qttoolkit] = -x11) qt3mac |
34 |
<< |
<< |
35 |
Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-aqua, valknut-x11, valknut-ssl, valknut-ssl-aqua, valknut-ssl-x11 |
Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl |
36 |
Source: http://download.berlios.de/dcgui/%{ni}-%v.tar.bz2 |
Source: http://download.berlios.de/dcgui/%{ni}-%v.tar.bz2 |
37 |
|
Source2: http://snaggledworks.com/fink/valknutapp-%v.tar.bz2 |
38 |
Source-MD5: 848f9b3f25af15c3f1837133ac4b9415 |
Source-MD5: 848f9b3f25af15c3f1837133ac4b9415 |
39 |
|
Source2-MD5: 0b992d4a6bfbbbe18c7788c41bd43e01 |
40 |
|
SetLDFLAGS: -L%p/lib/system-openssl/lib |
41 |
ConfigureParams: << |
ConfigureParams: << |
42 |
--with-libdc=%p \ |
--with-libdc=%p \ |
43 |
(%type_raw[-qttoolkit] = -aqua) --with-qt-dir=%p/lib/qt3mac \ |
(%type_raw[-qttoolkit] = -aqua) --with-qt-dir=%p/lib/qt3mac \ |
|
(%type_raw[-qttoolkit] = -x11) --with-qt-dir=%p \ |
|
44 |
(%type_raw[-qttoolkit] = -aqua) --with-qt-includes=%p/lib/qt3mac/include \ |
(%type_raw[-qttoolkit] = -aqua) --with-qt-includes=%p/lib/qt3mac/include \ |
|
(%type_raw[-qttoolkit] = -x11) --with-qt-includes=%p/include/qt \ |
|
45 |
(%type_raw[-qttoolkit] = -aqua) --enable-mac \ |
(%type_raw[-qttoolkit] = -aqua) --enable-mac \ |
46 |
(%type_raw[-qttoolkit] = -aqua) --enable-osx \ |
(%type_raw[-qttoolkit] = -aqua) --enable-osx \ |
47 |
(%type_raw[-ssl] = -ssl) --with-ssl-dir=%p \ |
(%type_raw[-qttoolkit] = -x11) --with-qt-dir=%p \ |
48 |
(%type_raw[-ssl] = .) --without-ssl |
(%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 |
GCC: 3.3 |
53 |
CompileScript: << |
CompileScript: << |
54 |
#!/bin/sh -e |
#!/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 |
./configure %c |
60 |
make -w |
/usr/bin/make -w |
61 |
<< |
<< |
62 |
InstallScript: << |
InstallScript: << |
63 |
make -w install DESTDIR=%d |
#!/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=20050217 |
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 |
DocFiles: AUTHORS ChangeLog COPYING INSTALL NEWS README |
154 |
Homepage: http://dcgui.berlios.de/index.php |
Homepage: http://dcgui.berlios.de/index.php |
164 |
renamed after version 0.3.2. |
renamed after version 0.3.2. |
165 |
<< |
<< |
166 |
DescUsage: << |
DescUsage: << |
167 |
Normally, just use "valknut". |
For Aqua Version: |
168 |
|
----------------- |
169 |
|
Double click the Application in /Applications/Fink |
170 |
|
|
171 |
|
For X11 Version: |
172 |
|
---------------- |
173 |
|
Normally, just use "valknut" from the command line. |
174 |
Use "valknut --disable-tray" to get rid of the little icon |
Use "valknut --disable-tray" to get rid of the little icon |
175 |
if using quartz-wm or another dockless window manager. |
if using quartz-wm or another dockless window manager. |
176 |
|
|
177 |
|
Valknut >= 0.3.5 crashes the X11 server when run in rootless mode |
178 |
|
if using a window manager besides quartz-wm. It runs fine under any |
179 |
|
manager in full-screen mode. If you use xorg or xfree86, install the |
180 |
|
package quartz-wm and call it from your xinitrc if you want to run |
181 |
|
Valknut. Alternatively, run the native Aqua version which doesn't need |
182 |
|
X11. |
183 |
<< |
<< |
184 |
DescPackaging: << |
DescPackaging: << |
185 |
Valknut Depends: on a specific %v-%r of the dclib0 packages. |
No longer Depends: on a specific %v-%r of dclib0. Just keep at dclib0-%v >= than current valknut-%v. |
|
Remember to keep them in sync when updating. |
|
186 |
|
|
187 |
Using single-state (not boolean) variants to simplify |
Now links to system OpenSSL to avoid licensing issues. |
|
maintenance since non-ssl packages can't go into crypto. |
|
188 |
|
|
189 |
License stays as GPL since author has explicitly granted permission |
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. |
|
to distribute OpenSSL linked binaries (see COPYING). |
|
190 |
<< |
<< |
191 |
<< |
<< |