mirror of
https://github.com/transmission/transmission
synced 2025-03-11 22:52:53 +00:00
Improve libintl.h search and add a --gettext-prefix configure option.
Update a couple copyright dates that slipped through earlier. Spell GTK as GTK+ in a couple of places.
This commit is contained in:
parent
6ddb247689
commit
a13a6fbb4e
6 changed files with 21 additions and 8 deletions
2
NEWS
2
NEWS
|
@ -4,7 +4,7 @@ NEWS file for Transmission <http://transmission.m0k.org/>
|
|||
- Only uses one port for all torrents
|
||||
- Rewritten choking algorithm
|
||||
- Remembers download and upload sizes from one launch to another
|
||||
- New GTK interface
|
||||
- New GTK+ interface
|
||||
- New BeOS interface
|
||||
- OS X: Dock badging
|
||||
- OS X: Shows the file icon in the list
|
||||
|
|
2
README
2
README
|
@ -6,7 +6,7 @@ simple, intuitive interface on top on an efficient, cross-platform
|
|||
back-end.
|
||||
|
||||
Transmission is open source (MIT license) and runs on Mac OS X (Cocoa
|
||||
interface), Linux/NetBSD/FreeBSD/OpenBSD (GTK interface) and BeOS
|
||||
interface), Linux/NetBSD/FreeBSD/OpenBSD (GTK+ interface) and BeOS
|
||||
(native interface).
|
||||
|
||||
For more information (including build instructions), please consult the
|
||||
|
|
19
configure
vendored
19
configure
vendored
|
@ -10,6 +10,7 @@ usage()
|
|||
OpenSSL options:
|
||||
--disable-openssl Disable OpenSSL, use built-in SHA1 implementation
|
||||
--openssl-prefix=PATH Location of OpenSSL headers and library
|
||||
--gettext-prefix=PATH Location of the Gettext header and library
|
||||
--disable-gtk Don't build the GTK+ GUI
|
||||
--prefix=PATH Install here instead of $INSTALL_PREFIX
|
||||
|
||||
|
@ -53,14 +54,23 @@ gettext_test()
|
|||
gettext("");
|
||||
}
|
||||
EOF
|
||||
|
||||
if [ -n "$GETTEXT_PREFIX" ] && $CC "-I$GETTEXT_PREFIX/include" "-Wl,-R$GETTEXT_PREFIX/lib" "-L$GETTEXT_PREFIX/lib" -lintl -liconv -o testconf testconf.c >/dev/null 2>&1
|
||||
then
|
||||
GTKCCFLAGS="-I$GETTEXT_PREFIX/include $GTKCCFLAGS"
|
||||
GTKLINKLIBS="-Wl,-R$GETTEXT_PREFIX/lib -L$GETTEXT_PREFIX/lib -lintl -liconv $GTKLINKLIBS"
|
||||
rm -f testconf.c testconf
|
||||
return 0
|
||||
fi
|
||||
|
||||
if $CC $GTKCCFLAGS $GTKLINKLIBS -o testconf testconf.c > /dev/null 2>&1
|
||||
then
|
||||
rm -f testconf.c testconf
|
||||
return 0
|
||||
fi
|
||||
|
||||
# XXX there has to be a better way than this
|
||||
for intl_testdir in /usr/local/include /usr/X11R6/include /usr/pkg/include
|
||||
for intl_testdir in $INSTALL_PREFIX/include \
|
||||
/usr/local/include /usr/X11R6/include /usr/pkg/include
|
||||
do
|
||||
if $CC $GTKCCFLAGS -I$intl_testdir $GTKLINKLIBS -o testconf testconf.c > /dev/null 2>&1
|
||||
then
|
||||
|
@ -98,7 +108,7 @@ EOF
|
|||
else
|
||||
GTKCCFLAGS=
|
||||
GTKLINKLIBS=
|
||||
echo "GTK+: no, could not find libintl.h"
|
||||
echo "GTK+: no, could not find gettext libintl.h"
|
||||
GTK=no
|
||||
fi
|
||||
else
|
||||
|
@ -150,6 +160,9 @@ while [ $# -ne 0 ]; do
|
|||
x--openssl-prefix=*)
|
||||
OPENSSL_PREFIX="$param";
|
||||
;;
|
||||
x--gettext-prefix=*)
|
||||
GETTEXT_PREFIX="$param";
|
||||
;;
|
||||
x--disable-gtk)
|
||||
gtk_disable="1";
|
||||
;;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2005 Joshua Elsasser. All rights reserved.
|
||||
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2005 Joshua Elsasser. All rights reserved.
|
||||
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright (c) 2005 Joshua Elsasser. All rights reserved.
|
||||
Copyright (c) 2005-2006 Joshua Elsasser. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
|
|
Loading…
Add table
Reference in a new issue