/[fink]/10.3/valknut-qt.info
ViewVC logotype

Annotation of /10.3/valknut-qt.info

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Wed Dec 6 14:49:54 2006 UTC (17 years, 4 months ago) by nieder
Branch: MAIN
Changes since 1.2: +32 -49 lines
move Info.plist to source2 and some dep issues

1 nieder 1.1 Info2: <<
2 nieder 1.2 Package: valknut%type_pkg[-qttoolkit]
3 nieder 1.1 Version: 0.3.7
4 nieder 1.2 Revision: 1006
5 nieder 1.1 Description: Direct Connect protocol QT client
6 nieder 1.2 Type: -qttoolkit (-aqua -x11)
7 nieder 1.1 License: GPL
8     Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
9     Depends: <<
10 nieder 1.2 bzip2-shlibs,
11     dclib0-unified-shlibs (>= %v-2000),
12     libiconv,
13 nieder 1.3 libpng3-shlibs,
14 nieder 1.2 libxml2-shlibs,
15 nieder 1.3 (%type_raw[-qttoolkit] = -x11) qt3-shlibs,
16     (%type_raw[-qttoolkit] = -aqua) qt3mac-shlibs,
17     (%type_raw[-qttoolkit] = -x11) x11
18 nieder 1.1 <<
19     BuildDepends: <<
20 nieder 1.2 bzip2-dev,
21     dclib0-unified (>= %v-2000),
22     libiconv-dev,
23 nieder 1.3 libpng3,
24 nieder 1.2 libxml2,
25 nieder 1.3 (%type_raw[-qttoolkit] = -x11) qt3,
26     (%type_raw[-qttoolkit] = -aqua) qt3mac,
27 nieder 1.2 system-openssl-dev,
28 nieder 1.3 (%type_raw[-qttoolkit] = -x11) x11-dev
29 nieder 1.1 <<
30 nieder 1.2 Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
31 nieder 1.1 BuildConflicts: <<
32 nieder 1.3 (%type_raw[-qttoolkit] = -aqua) qt3,
33 nieder 1.2 (%type_raw[-qttoolkit] = -x11) qt3mac
34 nieder 1.1 <<
35 nieder 1.2 Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
36 nieder 1.1 Source: http://download.berlios.de/dcgui/%{ni}-%v.tar.bz2
37 nieder 1.3 Source2: http://snaggledworks.com/fink/valknutapp-%v.tar.bz2
38 nieder 1.1 Source-MD5: 848f9b3f25af15c3f1837133ac4b9415
39 nieder 1.3 Source2-MD5: 0b992d4a6bfbbbe18c7788c41bd43e01
40     SetLDFLAGS: -L%p/lib/system-openssl/lib
41 nieder 1.1 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 nieder 1.2 (%type_raw[-qttoolkit] = -x11) --with-qt-dir=%p \
48     (%type_raw[-qttoolkit] = -x11) --with-qt-includes=%p/include/qt \
49 nieder 1.3 --with-ssl-dir=%p/lib/system-openssl \
50     --disable-dependency-tracking
51 nieder 1.1 <<
52     GCC: 3.3
53     CompileScript: <<
54 nieder 1.2 #!/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 nieder 1.1 ./configure %c
60 nieder 1.2 /usr/bin/make -w
61 nieder 1.1 <<
62     InstallScript: <<
63 nieder 1.2 #!/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 nieder 1.3 # and ravemax's original INSTALL.MAC
71    
72 nieder 1.2 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 nieder 1.3 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 nieder 1.2
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 nieder 1.3 /bin/cp valknut/valknut ${MACOS_DIR}/valknut
125     echo "Stripping valknut";
126 nieder 1.2 /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 nieder 1.1 <<
153     DocFiles: AUTHORS ChangeLog COPYING INSTALL NEWS README
154     Homepage: http://dcgui.berlios.de/index.php
155     DescDetail: <<
156     THIS PACKAGE IS HIGHLY EXPERIMENTAL, ESPECIALLY THE AQUA VARIANT
157     ONLY TRY IT IF YOU KNOW WHAT YOU'RE DOING
158    
159     Valknut is a program the uses the Direct Connect protocol. It is
160     compatible with other DC clients, such as the original DC from
161     Neomodus, and DC++.
162    
163     Valknut replaces the packages dcgui-qt and dcgui-qt-ssl that were
164     renamed after version 0.3.2.
165     <<
166     DescUsage: <<
167 nieder 1.2 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 nieder 1.1 Use "valknut --disable-tray" to get rid of the little icon
175     if using quartz-wm or another dockless window manager.
176 nieder 1.3
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 nieder 1.1 <<
184     DescPackaging: <<
185 nieder 1.3 No longer Depends: on a specific %v-%r of dclib0. Just keep at dclib0-%v >= than current valknut-%v.
186 nieder 1.1
187 nieder 1.2 Now links to system OpenSSL to avoid licensing issues.
188 nieder 1.3
189     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.
190 nieder 1.1 <<
191     <<

  ViewVC Help
Powered by ViewVC 1.1.17