kgpg stable port information

Package: kgpg
Version: 3.5.10
Revision: 1
Description: KDE - miscellaneous utilities
License: GPL/LGPL
Maintainer: Benjamin Reed

Depends: <<
gnupg | gnupg-idea,
kdelibs3-unified (>= %v-1)
<<
BuildDepends: <<
arts-dev (>= 1.5.10-1),
autoconf (>= 2.60-1),
cctools-single-module,
expat1,
fink (>= 0.28.0-1),
freetype219 (>= 2.3.7-7),
gnupg | gnupg-idea,
kdebase3-unified-dev (>= %v-1),
kdelibs3-unified-dev (>= %v-1),
libart2 (>= 2.3.19-1),
libiconv-dev,
libidn,
libjpeg,
libpng3 (>= 1.2.8-1),
pkgconfig (>= 0.22-3),
qt3 (>= 3.3.8-1027),
unsermake (>= 0.4-0.20060316.1),
x11-dev,
xmkmf
<<
Replaces: <<
kdeutils3,
kdeutils3-ssl,
kdeutils3-dev,
kdeutils3-ssl-dev
<<
GCC: 4.0

CustomMirror: <<
Primary: http://ranger.users.finkproject.org/distfiles
eur-NL: http://ranger.users.finkproject.org/distfiles
nam-US: http://ranger.befunk.com/fink
nam-US: http://astrange.ithinksw.net/~astrange/ranger-fink
nam-CA: http://www.southofheaven.net/befunk
<<
Source: mirror:kde:stable/%v/src/kdeutils-%v.tar.bz2
Source-MD5: 038f94275f42df3cae89735506ffbc0b
Source2: mirror:custom:kde-admindir/kde-admindir-1605.tar.bz2
Source2-MD5: e2dccadc3d36718ef9a7e3c7789e2bdf
Source2ExtractDir: kdeutils-%v
SourceDirectory: kdeutils-%v
PatchScript: <<
%{default_script}
perl -pi -e 's,-O2,-Os,g; s,doc/HTML,doc/kde,g; s,/usr/share/doc/packages/qt3/html,%p/share/doc/qt3/html,g;' admin/*
<<
PatchFile: %n.patch
PatchFile-MD5: a2d0ce292f645b1d7bd27802c161b49d

NoSetCPPFLAGS: true
NoSetLDFLAGS: true
ConfigureParams: --with-distribution='Fink/Mac OS X'
CompileScript: <<
#!/bin/sh -ev

export PREFIX="%p" USE_UNSERMAKE=1
. ./environment-helper.sh

export CC=gcc CXX=g++

./build-helper.sh cvs %N %v %r make -f admin/Makefile.common cvs
./build-helper.sh configure %N %v %r ./configure %c $CONFIGURE_PARAMS

pushd kgpg
../build-helper.sh make %N %v %r unsermake $UNSERMAKEFLAGS
popd

pushd doc/kgpg
../../build-helper.sh make %N %v %r unsermake $UNSERMAKEFLAGS
popd
<<

InstallScript: <<
#!/bin/sh -ev

export PREFIX="%p" USE_UNSERMAKE=1
. ./environment-helper.sh

pushd kgpg
../build-helper.sh install %N %v %r unsermake -p -j1 install DESTDIR=%d
popd

pushd doc/kgpg
../../build-helper.sh install %N %v %r unsermake -p -j1 install DESTDIR=%d
popd

rm -rf %i/include

mkdir -p %i/share/doc/installed-packages
touch %i/share/doc/installed-packages/%N
<<
DocFiles: AUTHORS COPYING INSTALL README

PostInstScript: <<
if [ -x "%p/bin/kde-update-caches.sh" ]; then
%p/bin/kde-update-caches.sh >/dev/null 2>&1 || :
fi
<<

Homepage: http://developer.kde.org/~kgpg/
DescDetail: <<
kgpg is a simple, free, open source KDE frontend for gpg.

* Editor mode enables you to type/paste a text and
encrypt/decrypt/sign/verify it
* Key manager: import, export, delete, sign, generate and edit
keys.
* Integration with konqueror (1): left click on a file to
decrypt/verify it.
* Integration with konqueror (2): right click on a file to
encrypt/sign it.
* Encryption: support for symetric encryption. Multiple keys &
default key encryption. Optional shredding of source files.
* Signatures: creation & verification of detached & cleartext
signatures
* Drag & drop encryption + clipboard en/decryption
<<
DescUsage: <<
---[ Installation ]---------------------------------------------------

To install all of the official KDE packages, install "bundle-kde" or
"bundle-kde-ssl" (depending on whether crypotgraphic laws permit
downloading strong cryptography). Unless you have a specific reason
not to, "bundle-kde-ssl" is suggested.

---[ Configuration ]--------------------------------------------------

To use KDE as your windowing system in XDarwin, create a file called
".xinitrc" in your home directory, containing the following line:

/sw/bin/startkde >/tmp/kde.log 2>&1

See http://fink.sourceforge.net/doc/x11/run-xfree86.php#xinitrc
for more information on the xinitrc files and how they work.

If you want to use Apple's X11 instead of the KDE window manager,
put the following line before the startkde line in .xinitrc:

export KDEWM=quartz-wm

If you want to disable quartz-wm even for clipboard synchronization
(proxying), put the following line before the startkde line in
.xinitrc:

export DISABLE_PROXY=1

---[ Startup ]--------------------------------------------------------

Once you have created an ~/.xinitrc file, you should be able to start
KDE by clicking on the "XDarwin" icon in your Applications folder.

NOTE: By default, X11 on Mac OS X runs in "rootless" mode, generally.
If you run KDE in rootless mode, it will take over your desktop with
a window that covers everything up. You can remove this by disabling
desktop icons in the KDE control center. Open the control center
(either from the "K" menu bar, or by typing "kcontrol" in an xterm)
then expand the "Desktop" list, click "Behavior", and uncheck the
"Show icons on desktop" checkbox.

---[ Removal ]--------------------------------------------------------

To remove all of the official KDE packages, you can remove the KDE
libraries and anything that depends on them by running, in a terminal:

sudo apt-get remove kdelibs3-unified-shlibs

To remove an individual KDE package collection (like kdenetwork3 or
kdesdk3) you can generally remove [package]-base. For example, to
remove all of the kdenetwork3 packages, run:

sudo apt-get remove kdenetwork3-base
<<

kgpg stable port .patch

diff -Nurd kdeutils-3.5.10/kgpg/Makefile.am kdeutils-3.5.10-new/kgpg/Makefile.am
--- kdeutils-3.5.10/kgpg/Makefile.am 2006-01-19 11:49:15.000000000 -0500
+++ kdeutils-3.5.10-new/kgpg/Makefile.am 2010-07-26 18:53:12.000000000 -0400
@@ -11,7 +11,7 @@
keyproperties.ui conf_encryption.ui conf_decryption.ui conf_gpg.ui dcopiface.skel \
keyinfowidget.cpp groupedit.ui kgpgrevokewidget.ui newkey.ui adduid.ui keyexport.ui \
sourceselect.ui kgpgsettings.kcfgc conf_servers.ui conf_ui2.ui conf_misc.ui
-kgpg_LDADD = $(LIB_KIO) $(LIB_KABC) -lkutils -lkdeprint
+kgpg_LDADD = $(LIB_KIO) $(LIB_KABC) -lkutils -lkdeprint $(LIB_QT) $(LIB_KDEUI) -lDCOP $(LIB_KDECORE)

pics_DATA= kgpg_anim.gif kgpg_docked.png kgpg_docked.gif kgpg_blank.png kgpg_fill.png
picsdir=$(kde_datadir)/kgpg/pics

kgpg _unstable_ port .patch