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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Wed Dec 6 14:53:34 2006 UTC (17 years, 5 months ago) by nieder
Branch: MAIN
Changes since 1.3: +110 -7 lines
update all scripts to new variants

1 nieder 1.1 Info2: <<
2 nieder 1.3 Package: valknut%type_pkg[-qttoolkit]
3 nieder 1.1 Version: 0.3.7
4 nieder 1.3 Revision: 6
5 nieder 1.1 Description: Direct Connect protocol QT client
6 nieder 1.3 Type: -qttoolkit (-aqua -x11)
7 nieder 1.1 License: GPL
8     Maintainer: Hanspeter Niederstrasser <nieder@users.sourceforge.net>
9     Depends: <<
10 nieder 1.3 bzip2-shlibs,
11     dclib0-unified-shlibs (>= %v-2000),
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 nieder 1.1 <<
19     BuildDepends: <<
20 nieder 1.3 bzip2-dev,
21     dclib0-unified (>= %v-2000),
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 nieder 1.1 <<
30     Conflicts: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
31 nieder 1.3 BuildConflicts: <<
32     (%type_raw[-qttoolkit] = -aqua) qt3,
33     (%type_raw[-qttoolkit] = -x11) qt3mac
34     <<
35 nieder 1.1 Replaces: dcgui-qt, dcgui-qt-ssl, valknut, valknut-ssl
36     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 nieder 1.4 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 nieder 1.1 GCC: 3.3
53 nieder 1.4 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 nieder 1.1 InstallScript: <<
63 nieder 1.4 #!/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 nieder 1.1 <<
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     Normally, just use "valknut".
165     Use "valknut --disable-tray" to get rid of the little icon
166     if using quartz-wm or another dockless window manager.
167 nieder 1.2
168     Valknut >= 0.3.5 crashes the X11 server when run in rootless mode
169     if using a window manager besides quartz-wm. It runs fine under any
170     manager in full-screen mode. If you use xorg or xfre86, install the
171     package quartz-wm and call it from your xinitrc if you want to run
172     Valknut.
173 nieder 1.1 <<
174     DescPackaging: <<
175     Valknut Depends: on a specific %v-%r of the dclib0 packages.
176     Remember to keep them in sync when updating.
177    
178     Using single-state (not boolean) variants to simplify
179     maintenance since non-ssl packages can't go into crypto.
180    
181     License stays as GPL since author has explicitly granted permission
182     to distribute OpenSSL linked binaries (see COPYING).
183     <<
184     <<

  ViewVC Help
Powered by ViewVC 1.1.17