PKGBUILD Public review request for wxFreeChart

Hi Arch Linux community.I am a newbie on Arch Linux. Just installed it a few months ago & I like it's install once, lifetime updates without reinstalling philosophy! Please review my first PKGBUILD for wxFreeChart:
http://wxcode.sourceforge.net/components/freechart/
Here is the PKGBUILD
# Maintainer: Sum <keansum AT gmail DOT com>
pkgname=freechart
pkgver=1.6
pkgrel=1
pkgdesc="Free powerful charting library based on wxWidgets."
arch=('x86_64' 'i686')
url="http://wxcode.sourceforge.net/components/freechart/"
license=('custom:"wxWindows"')
depends=('wxgtk')
source=(http://downloads.sourceforge.net/project/wxcode/Components/wxFreeChart/$pkgname-$pkgver.tar.gz
'configure.patch'
'LICENSE')
md5sums=('0e39d22a76c43df9e566ca1e1b669594'
'38dd8576fcd0b2c2e726499b2042a42d'
'9063869c9f1586dc0bd7c3f8d5060f76')
prepare() {
export CPLUS_INCLUDE_PATH=/usr/include/wx-3.0/:/usr/lib/wx/include/gtk2-unicode-3.0/
export LIBS=-lwx_gtk2u_adv-3.0
cd "$srcdir/$pkgname"
patch --verbose configure $srcdir/configure.patch
build() {
cd "$srcdir/$pkgname"
./configure --prefix=/usr
make
package() {
cd "$srcdir/$pkgname"
make DESTDIR="$pkgdir/" install
install -D -m644 $srcdir/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
Here is the LICENSE file.
wxWidgets is currently licenced under the "wxWindows Library Licence" pending
approval of the "wxWidgets Library Licence" which will be identical apart from
the name.
The wxWindows Library Licence is essentially the L-GPL (Library General Public
Licence), with an exception stating that derived works in binary form may be
distributed on the user's own terms. This is a solution that satisfies those
who wish to produce GPL'ed software using wxWidgets, and also those producing
proprietary software.
Participants in the discussion that led to this decision include the folk from
AbiSource, Robert Roebling, Julian Smart, Markus Fleck, Karsten Ballueder, and
some advice from Richard Stallman. Richard has confirmed that the new licence
is compatible with GPL'ed applications. However, there are no significant
restrictions on proprietary applications.
The wxWindows Library Licence has been approved by the Open Source Initiative.
In August 2005, an ambiguity in Clause 2 was removed (replaced "the user's"
with "your") and the version bumped to 3.1.
... then this last one is a patch file for the configure script. The code is for version 1.6 but to me it looks like the author forgotten to update the version from 1.4 to 1.6 in the configure script. I ahve checked in freechart/ReadMe.txt saying it is verion 1.6 and confirmed that the 1.6 addition of freechart/src/chartsplitpanel.cpp indeed exists.
*** 1,6 ****
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.63 for WXFREECHART 1.4.
# Report bugs to <[email protected]>.
--- 1,6 ----
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.63 for WXFREECHART 1.6.
# Report bugs to <[email protected]>.
*** 596,603 ****
# Identity of this package.
PACKAGE_NAME='WXFREECHART'
PACKAGE_TARNAME='wxfreechart'
! PACKAGE_VERSION='1.4'
! PACKAGE_STRING='WXFREECHART 1.4'
PACKAGE_BUGREPORT='[email protected]'
ac_subst_vars='LTLIBOBJS
--- 596,603 ----
# Identity of this package.
PACKAGE_NAME='WXFREECHART'
PACKAGE_TARNAME='wxfreechart'
! PACKAGE_VERSION='1.6'
! PACKAGE_STRING='WXFREECHART 1.6'
PACKAGE_BUGREPORT='[email protected]'
ac_subst_vars='LTLIBOBJS
*** 1332,1338 ****
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
! \`configure' configures WXFREECHART 1.4 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
--- 1332,1338 ----
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
! \`configure' configures WXFREECHART 1.6 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
*** 1398,1404 ****
if test -n "$ac_init_help"; then
case $ac_init_help in
! short | recursive ) echo "Configuration of WXFREECHART 1.4:";;
esac
cat <<\_ACEOF
--- 1398,1404 ----
if test -n "$ac_init_help"; then
case $ac_init_help in
! short | recursive ) echo "Configuration of WXFREECHART 1.6:";;
esac
cat <<\_ACEOF
*** 1506,1512 ****
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
! WXFREECHART configure 1.4
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
--- 1506,1512 ----
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
! WXFREECHART configure 1.6
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
*** 1520,1526 ****
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
! It was created by WXFREECHART $as_me 1.4, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
--- 1520,1526 ----
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
! It was created by WXFREECHART $as_me 1.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
*** 10248,10254 ****
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
! This file was extended by WXFREECHART $as_me 1.4, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
--- 10248,10254 ----
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
! This file was extended by WXFREECHART $as_me 1.6, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
*** 10298,10304 ****
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
! WXFREECHART config.status 1.4
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
--- 10298,10304 ----
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
! WXFREECHART config.status 1.6
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
I have used namcap to check the PKGBUILD and the generated freechart-1.6-1-x86_64.pkg.tar.xz. Both passed. However when I use the -i switch, I get a whole bunch of messages. I am quite sure these dependencies do not need to be included in the PKGBUILD. Please correct if I am wrong.
$ namcap -i freechart-1.6-1-x86_64.pkg.tar.xz
freechart I: Link-level dependence (wxgtk) in file ['usr/lib/libwx_baseu-3.0.so.0', 'usr/lib/libwx_gtk2u_aui-3.0.so.0', 'usr/lib/libwx_gtk2u_core-3.0.so.0']
freechart I: Link-level dependence (gcc-libs) in file ['usr/lib/libgcc_s.so.1', 'usr/lib/libstdc++.so.6']
freechart I: Link-level dependence (glibc) in file ['usr/lib/libm.so.6', 'usr/lib/libc.so.6']
freechart I: Symlink (usr/lib/libwxcode_gtk2u_freechart-3.0.so.0) found that points to libwxcode_gtk2u_freechart-3.0.so.0.0.0
freechart I: Symlink (usr/lib/libwxcode_gtk2u_freechart-3.0.so) found that points to libwxcode_gtk2u_freechart-3.0.so.0
freechart I: Dependency covered by dependencies from link dependence (freetype2)
freechart I: Dependency covered by dependencies from link dependence (jasper)
freechart I: Dependency covered by dependencies from link dependence (xextproto)
freechart I: Dependency covered by dependencies from link dependence (gdbm)
freechart I: Dependency covered by dependencies from link dependence (gstreamer0.10-base)
freechart I: Dependency covered by dependencies from link dependence (graphite)
freechart I: Dependency covered by dependencies from link dependence (libcap)
freechart I: Dependency covered by dependencies from link dependence (libx11)
freechart I: Dependency covered by dependencies from link dependence (coreutils)
freechart I: Dependency covered by dependencies from link dependence (shared-mime-info)
freechart I: Dependency covered by dependencies from link dependence (pcre)
freechart I: Dependency covered by dependencies from link dependence (xf86vidmodeproto)
freechart I: Dependency covered by dependencies from link dependence (shadow)
freechart I: Dependency covered by dependencies from link dependence (readline)
freechart I: Dependency covered by dependencies from link dependence (gtk2)
freechart I: Dependency covered by dependencies from link dependence (libxdmcp)
freechart I: Dependency covered by dependencies from link dependence (damageproto)
freechart I: Dependency covered by dependencies from link dependence (dbus)
freechart I: Dependency covered by dependencies from link dependence (avahi)
freechart I: Dependency covered by dependencies from link dependence (cracklib)
freechart I: Dependency covered by dependencies from link dependence (videoproto)
freechart I: Dependency covered by dependencies from link dependence (libsasl)
freechart I: Dependency covered by dependencies from link dependence (libxft)
freechart I: Dependency covered by dependencies from link dependence (libxrandr)
freechart I: Dependency covered by dependencies from link dependence (fontconfig)
freechart I: Dependency covered by dependencies from link dependence (libxdamage)
freechart I: Dependency covered by dependencies from link dependence (acl)
freechart I: Dependency covered by dependencies from link dependence (pixman)
freechart I: Dependency covered by dependencies from link dependence (ncurses)
freechart I: Dependency covered by dependencies from link dependence (libdbus)
freechart I: Dependency covered by dependencies from link dependence (cairo)
freechart I: Dependency covered by dependencies from link dependence (zlib)
freechart I: Dependency covered by dependencies from link dependence (xproto)
freechart I: Dependency covered by dependencies from link dependence (harfbuzz)
freechart I: Dependency covered by dependencies from link dependence (libomxil-bellagio)
freechart I: Dependency covered by dependencies from link dependence (kbproto)
freechart I: Dependency covered by dependencies from link dependence (sh)
freechart I: Dependency covered by dependencies from link dependence (pango)
freechart I: Dependency covered by dependencies from link dependence (pam)
freechart I: Dependency covered by dependencies from link dependence (libxau)
freechart I: Dependency covered by dependencies from link dependence (llvm-libs)
freechart I: Dependency covered by dependencies from link dependence (libxfixes)
freechart I: Dependency covered by dependencies from link dependence (attr)
freechart I: Dependency covered by dependencies from link dependence (mesa-dri)
freechart I: Dependency covered by dependencies from link dependence (libtxc_dxtn)
freechart I: Dependency covered by dependencies from link dependence (xz)
freechart I: Dependency covered by dependencies from link dependence (gdk-pixbuf2)
freechart I: Dependency covered by dependencies from link dependence (elfutils)
freechart I: Dependency covered by dependencies from link dependence (libxv)
freechart I: Dependency covered by dependencies from link dependence (mesa)
freechart I: Dependency covered by dependencies from link dependence (renderproto)
freechart I: Dependency covered by dependencies from link dependence (systemd)
freechart I: Dependency covered by dependencies from link dependence (libxcursor)
freechart I: Dependency covered by dependencies from link dependence (hwids)
freechart I: Dependency covered by dependencies from link dependence (bash)
freechart I: Dependency covered by dependencies from link dependence (glibc)
freechart I: Dependency covered by dependencies from link dependence (expat)
freechart I: Dependency covered by dependencies from link dependence (e2fsprogs)
freechart I: Dependency covered by dependencies from link dependence (linux-api-headers)
freechart I: Dependency covered by dependencies from link dependence (libffi)
freechart I: Dependency covered by dependencies from link dependence (libxi)
freechart I: Dependency covered by dependencies from link dependence (libice)
freechart I: Dependency covered by dependencies from link dependence (libldap)
freechart I: Dependency covered by dependencies from link dependence (libxcomposite)
freechart I: Dependency covered by dependencies from link dependence (libgpg-error)
freechart I: Dependency covered by dependencies from link dependence (libxcb)
freechart I: Dependency covered by dependencies from link dependence (libseccomp)
freechart I: Dependency covered by dependencies from link dependence (keyutils)
freechart I: Dependency covered by dependencies from link dependence (xcb-proto)
freechart I: Dependency covered by dependencies from link dependence (randrproto)
freechart I: Dependency covered by dependencies from link dependence (bzip2)
freechart I: Dependency covered by dependencies from link dependence (libxml2)
freechart I: Dependency covered by dependencies from link dependence (libpciaccess)
freechart I: Dependency covered by dependencies from link dependence (util-linux)
freechart I: Dependency covered by dependencies from link dependence (krb5)
freechart I: Dependency covered by dependencies from link dependence (compositeproto)
freechart I: Dependency covered by dependencies from link dependence (glib2)
freechart I: Dependency covered by dependencies from link dependence (libxinerama)
freechart I: Dependency covered by dependencies from link dependence (gstreamer0.10)
freechart I: Dependency covered by dependencies from link dependence (kbd)
freechart I: Dependency covered by dependencies from link dependence (kmod)
freechart I: Dependency covered by dependencies from link dependence (filesystem)
freechart I: Dependency covered by dependencies from link dependence (libxxf86vm)
freechart I: Dependency covered by dependencies from link dependence (tzdata)
freechart I: Dependency covered by dependencies from link dependence (libsm)
freechart I: Dependency covered by dependencies from link dependence (pambase)
freechart I: Dependency covered by dependencies from link dependence (libcups)
freechart I: Dependency covered by dependencies from link dependence (atk)
freechart I: Dependency covered by dependencies from link dependence (libgl)
freechart I: Dependency covered by dependencies from link dependence (libsystemd)
freechart I: Dependency covered by dependencies from link dependence (xineramaproto)
freechart I: Dependency covered by dependencies from link dependence (lzo)
freechart I: Dependency covered by dependencies from link dependence (orc)
freechart I: Dependency covered by dependencies from link dependence (inputproto)
freechart I: Dependency covered by dependencies from link dependence (libpng)
freechart I: Dependency covered by dependencies from link dependence (db)
freechart I: Dependency covered by dependencies from link dependence (libdatrie)
freechart I: Dependency covered by dependencies from link dependence (fixesproto)
freechart I: Dependency covered by dependencies from link dependence (hicolor-icon-theme)
freechart I: Dependency covered by dependencies from link dependence (gtk-update-icon-cache)
freechart I: Dependency covered by dependencies from link dependence (libjpeg)
freechart I: Dependency covered by dependencies from link dependence (libtirpc)
freechart I: Dependency covered by dependencies from link dependence (gcc-libs)
freechart I: Dependency covered by dependencies from link dependence (openssl)
freechart I: Dependency covered by dependencies from link dependence (gmp)
freechart I: Dependency covered by dependencies from link dependence (libxext)
freechart I: Dependency covered by dependencies from link dependence (iana-etc)
freechart I: Dependency covered by dependencies from link dependence (libutil-linux)
freechart I: Dependency covered by dependencies from link dependence (libthai)
freechart I: Dependency covered by dependencies from link dependence (perl)
freechart I: Dependency covered by dependencies from link dependence (libxrender)
freechart I: Dependency covered by dependencies from link dependence (wayland)
freechart I: Dependency covered by dependencies from link dependence (libtiff)
freechart I: Dependency covered by dependencies from link dependence (libxshmfence)
freechart I: Dependency covered by dependencies from link dependence (libgcrypt)
freechart I: Dependency covered by dependencies from link dependence (libdaemon)
freechart I: Dependency covered by dependencies from link dependence (libdrm)
freechart I: Depends as namcap sees them: depends=(wxgtk)
Many thanks!

Hi it turns out that the SVN version is the most up to date which does not need to be patched as it has the right version numbers. I have created a new PKGBUILD.
# Maintainer: kso <keansum AT gmail DOT com>
pkgname=freechart-svn
pkgver=r3169
pkgrel=1
pkgdesc="Free powerful charting library based on wxWidgets."
arch=('x86_64' 'i686')
url="http://wxcode.sourceforge.net/components/freechart/"
license=('custom:"wxWindows"')
depends=('wxgtk')
makedepends=('subversion')
source=('svn+http://svn.code.sf.net/p/wxcode/code/trunk/wxCode/components/freechart/')
md5sums=('SKIP')
_svntrunk=http://svn.code.sf.net/p/wxcode/code/trunk/wxCode/components/freechart/
_svnmod=freechart
pkgver() {
cd "$_svnmod"
local ver="$(svnversion)"
printf "r%s" "${ver//[[:alpha:]]}"
build() {
cd "$srcdir"
msg "Connecting to SVN server...."
if [[ -d "$_svnmod/.svn" ]]; then
(cd "$_svnmod" && svn up -r "$pkgver")
else
svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
fi
msg "SVN checkout done or server timeout"
msg "Starting build..."
rm -rf "$srcdir/$_svnmod-build"
svn export "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
cd "$srcdir/$_svnmod-build"
# BUILD HERE
./configure --prefix=/usr
make
package() {
cd "$srcdir/$_svnmod-build"
make DESTDIR="$pkgdir/" install
# install LICENSE
install -D -m644 $srcdir/$_svnmod/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
I have uploaded onto the AUR. I have checked using namcap. Please let me know if there are any mistakes.  Many thanks!

Similar Messages

  • [Announce] WSRP 1.0 Primer available for public review

    A public draft of WSRP 1.0 Primer is now available for review and
    comments. This document may help those trying to figure out the nuts and
    bolts of WSRP. If you have any comments, please post at the link below.
    Subbu
    A public review period for the WSRP v1 Primer (located at
    http://www.oasis-open.org/committees/download.php/9002/wsrp-primer-1.0-draft-0.9.pdf)
    will run until October 2, 2004. Please use the WSRP comment facility at
    http://www.oasis-open.org/committees/comments/form.php?wg_abbrev=wsrp to
    provide feedback to the TC.
    Rich Thompson
    OASIS WSRP TC Chair

    As explained by Marc Fluery of JBoss, there are essentially three types of
    open-source:
    1) Corporations that open their source for market share, such as IBM's Eclipse, that
    then uses it to market WebSphere Studio
    2) Hobbyist who develop an open-source project for free. The hobbyist may be a true
    professional developer, but he is dedicated to his project as a hobby. In this situation,
    donations are substantial enough to pay a dedicated developer.
    3) Professional Open-Source in which developer is paid to maintain and develop an
    open-source project in the hopes of making money with it through consulting and
    professional services.
    My question to the MyFaces team, which type of open-source are you?
    As a corporate developer, I would hope it is Professional Open-Source, since that
    model may have more support for the product I am using.
    -Me

  • [SOLVED] EurKEY PKGBUILD request for comments

    Hi, I just finished a PKGBUILD for EurKEY "European Keyboard Layout". It installs and removes fine on my system, and I took care to respect the packaging standards, but before submitting it to AUR I would like to get any comments/suggestions.
    PKGBUILD
    # Maintainer: Christoph Roeper <cr (at) roeper (dot) biz>
    pkgname=eurkey
    pkgver=1.1
    pkgrel=1
    pkgdesc="The European Keyboard Layout"
    arch=('any')
    url="http://eurkey.steffen.bruentjen.eu/"
    license=('GPL3')
    depends=('xkeyboard-config' 'sed' 'gawk')
    install="$pkgname.install"
    source=(http://eurkey.steffen.bruentjen.eu/download/debian/binary/eurkey.deb)
    md5sums=('8da8472f8f8d30baaa6a50145264024b')
    package() {
    cd "$srcdir"
    ar x $pkgname.deb
    tar xzf data.tar.gz -C "$pkgdir/"
    cd "${pkgdir}"
    # euro on '5', swap with pound
    awk='\
    BEGIN { fix = 0 } \
    if ( $2 == "<AE04>" ) { $7="sterling,"; fix = 1 } \
    else if ( $2 == "<AE05>" ) { $7="EuroSign,"; fix = 1 } \
    if ( fix == 1 ) { printf "%11s %s %s %s%16s%19s%22s%21s %s %s\n",$1,$2,$3,$4,$5,$6,$7,$8,$9,$10; fix = 0 } \
    else { print } \
    file="usr/share/X11/xkb/symbols/eurkey"
    tmpfile="$file".`date +%FT%T`.temp
    awk -- "$awk" $file > $tmpfile
    cat $tmpfile > $file
    rm $tmpfile
    pkgname.install
    post_install() {
    # Installs the EurKEY layout.
    if test "$EUID" = 0; then SUDO=; else SUDO=sudo; fi
    exec $SUDO bash /dev/stdin "$@" <<'ENDSUDO'
    set -e
    str=" <layout>\n\
    <configItem>\n\
    <name>eurkey</name>\n\
    <shortDescription>EUR</shortDescription>\n\
    <description>EurKEY</description>\n\
    <languageList>\n\
    <iso639Id>cat</iso639Id>\n\
    <iso639Id>dan</iso639Id>\n\
    <iso639Id>eng</iso639Id>\n\
    <iso639Id>est</iso639Id>\n\
    <iso639Id>fao</iso639Id>\n\
    <iso639Id>fin</iso639Id>\n\
    <iso639Id>ger</iso639Id>\n\
    <iso639Id>gre</iso639Id>\n\
    <iso639Id>gsw</iso639Id>\n\
    <iso639Id>ita</iso639Id>\n\
    <iso639Id>lav</iso639Id>\n\
    <iso639Id>lit</iso639Id>\n\
    <iso639Id>nld</iso639Id>\n\
    <iso639Id>nor</iso639Id>\n\
    <iso639Id>por</iso639Id>\n\
    <iso639Id>spa</iso639Id>\n\
    <iso639Id>swe</iso639Id>\n\
    </languageList>\n\
    </configItem>\n\
    </layout>\n\
    </layoutList>"
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    if [ ! -f "$file" ]; then
    echo "File $file is not a regular file (skipped)"
    elif [ $(grep -ci eurkey "$file") -ne 0 ]; then
    echo "File $file already constains eurkey (skipped)"
    else
    echo "processing $file"
    sed -i "s~</layoutList>~$str~" "$file"
    fi
    done
    ENDSUDO
    pre_remove() {
    # Removes the EurKEY layout.
    if test "$EUID" = 0; then SUDO=; else SUDO=sudo; fi
    exec $SUDO bash /dev/stdin "$@" <<'ENDSUDO'
    set -e
    for file in {/etc/vconsole.conf,/etc/X11/xorg.conf.d/*keyboard*}; do
    if [ -f $file ]; then
    [ `grep -ci '^\s*[^#].*eurkey' $file` -ne 0 ] && echo -e "Cannot completely remove EurKEY since it's still configured in $file.\nPlease remove it manually or use the settings manager." && exit 1
    fi
    done
    exit 0
    ENDSUDO
    post_remove() {
    # Removes the EurKEY layout.
    if test "$EUID" = 0; then SUDO=; else SUDO=sudo; fi
    exec $SUDO bash /dev/stdin "$@" <<'ENDSUDO'
    set -e
    awk='
    BEGIN { output = 1 ; buffer = "" }
    $0~/<layout>/ { output = 0 ; deleteSection = 0 }
    output == 1 { print $0 }
    $0~/<\/layout>/ { output = 1 ; buffer = buffer $0 ; if (deleteSection == 0) print buffer ; buffer = "" }
    $0~/<name>eurkey<\/name>/ { deleteSection = 1 }
    output == 0 { buffer = buffer $0 "\n" }
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    if test -f "$file"; then
    tmpfile="$file".`date +%FT%T`.temp
    echo "processing $file"
    awk -- "$awk" $file > $tmpfile
    cat $tmpfile > $file
    rm $tmpfile
    fi
    done
    ENDSUDO
    'sed' and 'awk' are neither build nor run-time dependencies, both are install dependencies, but I did not find a proper option for that.
    The (un-)install-scripts are taken from the Debian source, however with deb-packages it is obviously possible to abort  pre/post_remove on failure (here used if the keyboard layout is still in use => no uninstall). I did not find a proper way to accomplish this with PKGBUILD install scripts.
    Both scripts a rather long, but in other review requests forum veterans preferred to have scripts posted here instead of a link to AUR or pastebin. If it's nevertheless wrong I will relocate the scripts.
    Thanks in advance.
    Last edited by roepi (2014-03-17 17:42:44)

    If you still want to modify the XML, I would use xmlstarlet instead of awk/sed. I haven't tested the following scripts so they will probably need some debugging but they should give you a general idea of what I would do.
    The post remove script would be reduced to:
    set -e
    # xpath selector to select layouts that are named eurkey
    xpath='/xkbConfigRegistry/layoutList/layout/configItem/name[text()="eurkey"]/../..'
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    [[ -f "$file" ]] && xml ed --inplace -d "$xpath" "$file"
    done
    And the post install script would become:
    set -e
    xpath='/xkbConfigRegistry/layoutList/layout/configItem/name[text()="eurkey"]'
    for file in /usr/share/X11/xkb/rules/{base,evdev}.xml; do
    if [[ ! -f "$file" ]]; then
    echo "File $file is not a regular file (skipped)"
    elif xml sel -t -c "$xpath" $file >/dev/null; then
    echo "File $file already constains eurkey (skipped)"
    else
    echo "processing $file"
    xml ed -P -L \
    -s /xkbConfigRegistry/layoutList -t elem -n layoutTMP -v '' \
    -s //layoutTMP -t elem -n configItem -v '' \
    -s //layoutTMP/configItem -t elem -n name -v 'eurkey' \
    -s //layoutTMP/configItem -t elem -n shortDescription -v 'EUR' \
    -s //layoutTMP/configItem -t elem -n description -v 'EurKEY' \
    -s //layoutTMP/configItem -t elem -n languageList -v '' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'cat' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'dan' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'eng' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'est' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'fao' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'fin' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'ger' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'gre' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'gsw' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'ita' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'lav' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'lit' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'nld' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'nor' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'por' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'spa' \
    -s //layoutTMP/configItem/languageList -t elem -n iso639Id -v 'swe' \
    -r //layoutTMP -v layout \
    "$file"
    fi
    done

  • Java Card 2.2.2 draft is out for public review

    A draft for the upcoming release of the Java Card Specification is available for public review.
    The Java Card 2.2.2 Specification will provide numerous enhancements to the award-winning Java Card platform. In particular it will include specific support for contactless communication and ID cards :
    * enhancements to ease the management and increase interoperability of contactless cards.
    * additional cryptography and security features
    * utility APIs for memory-efficient applet development
    Java Card technology v2.2.2 is ready for the next generations of smart card standards, and is fully backward-compatible with previous versions.
    New features in Java Card 2.2.2 :
    * Utility APIs for TLV, BCD, short, int
    * ISO7816-based Extended length APDU support
    * Support for up to 20 logical channels
    * External memory access API
    * Multiple Interfaces management
    * Additional cryptography algorithms : HMAC-MD5, HMAC-SHA1, SHA-256 and Korean Seed
    * Signature with message recovery
    * Partial message digest
    * Standardized Biometrics API
    Please direct your comments on this draft at [email protected] Feedback received before December 15th will be considered for the final version of the specification. For more information on the Java Card Platform Specification v2.2.2, Public Review Draft, refer to the release notes on http://java.sun.com/products/javacard/RELEASENOTES_jcspecsp.html

    The Installer and the Applet Deletion Manager are implemented in the JCRE and GlobalPlatform. On-card the Card Manager manages the content management, communication and the related security. JCRE specifies how it has to handle installation and deletion, but leaves room for different implementations. To the outside world, on a GP card, the Installer/ADM is the Card Manager with a specific AID.
    Installer and ADM are optional. For instance a Java Card Static product does not need an Installer/ADM.
    JCOP cards have the Installer/ADM fully implemented. It uses the GP functionality. The CM has to be selected to install or delete a package/applet.

  • Launch iTunes, get taken to app store for a review request of AngryBirds...

    Hi all,
    On my iPod Touch, when I now go to into iTunes, the App store automatically (and immediately) launches and I am requested to give a review of Angry Birds.
    I have given a review and submitted it, but I still can't get into iTunes. Every time I try, I am spammed by another request for a review of Angry Birds.
    I have shut down and restarted the Touch and the problem still exists.
    Notifications are now off for AB, and I still get the spam.
    Help? I am trying to use iTunes, but get no way to do so with this problem.

    Try contacting the iTunes support staff, they do the app store also, at:  http://www.apple.com/emea/support/itunes/contact.html

  • Decryption of Email - Public Records Requests

    Here in the State of Florida we have a "Sunshine Law" requirement, and all email is achived for public reords requests and for legal proceedings if required.. When we receive such a request the email is reviewed by the County Attorney, and PHI and other protected info is redacted.
    Now that we have deployed Ironport/Cisco Encryption (managed), outgoing email is still captured in its un-encrypted form, but email received that is encrypted (if the encrypted email originated by us, the recipient hit the embedded "reply" button to keep the entire conversation encrypted) can't be captured in it's decrypted form.
    Can the received email be decrypted for review by the attorney or for a legal reason?
    Thanks

    Let me see if I understand the situation correctly. Let me break it into two parts.
    Part 1: When your domain/IronPort C-series sends mail out to the Internet and you want to encrypt it, it arrives on the C-series in a non-encrypted format. You archive the message in a non-encrypted format per the "Sunshine Law" requirement of your state. You then call on the encrypt action and leverage the CRES server(Cisco Registered Envelope Service) to encrypt the data and then the encrypted mail is sent out to the Internet.
    Done.
    Part 2: If recipient on the Internet replies back, it will be encrypted by the CRES server on the Internet and come back to your domain/MX records in an encrypted format. At this point, the message doesn't become decrypted until the user supplies their password and decrypts the message. The C-series only has this message in an encrypted format, thus not abiding by the Sunshine Law if called upon.
    Let me know if this is a correct assessment of both parts.
    Now here is the solution. Part 1 is fine. Everything is working great. You're able to archive non-encrypted messages per the Sunshine Law.
    For Part 2, the solution would be that if the connection between the CRES service and your domain/MX records could be conducted over a TLS secure connection, the CRES server can be adjusted so that it can send to your domain non-encrypted CRES replies. This has been done for numerous C-series owner who use the encrypt function. They don't all have the Sunshine Law. Most do it for ease-of-use for the company end users.
    Let me know if the solution for Part 2 would meet your needs. If you think it does, then you can proceed with following this KB below and then move towards establishing a secure connection between CRES and your domain/C-series. Once that is verified, CRES will start to send over non-encrypted replies over TLS. At that point, you can start archiving those replies, to meet the requirements of the Sunshine law.
    How to use TLS to secure unencrypted CRES replies
    http://tinyurl.com/3xmlhx

  • Public Review of SKSML v1.0

    FYI.
    The OASIS EKMI Technical Committee would be grateful for any comments
    received from members of this forum about the key-management protocol.
    If you are interested in reviewing a working implementation of an early
    version of this protocol - written completely in Java - , you can get the
    implementation here:
    http://www.strongkey.org.
    Thank you.
    Arshad Noor
    StrongAuth, Inc.
    ----- Forwarded Message -----
    From: "Mary McRae" <[email protected]>
    To: [email protected], [email protected]
    Cc: "ekmi" <[email protected]>
    Sent: Thursday, July 24, 2008 7:04:49 PM (GMT-0800) America/Los_Angeles
    Subject: [ekmi] Public Review of SKSML v1.0
    To OASIS members, Public Announce Lists:
    The OASIS Enterprise Key Management Infrastructure (EKMI) TC has recently
    approved the following specification as a Committee Draft and approved the
    package for public review:
    Symmetric Key Services Markup Language (SKSML) Version 1.0
    The public review starts today, 24 July 2008, and ends 23 September 2008. This
    is an open invitation to comment. We strongly encourage feedback from potential
    users, developers and others, whether OASIS members or not, for the sake of
    improving the interoperability and quality of OASIS work. Please feel free to
    distribute this announcement within your organization and to other appropriate
    mail lists.
    More non-normative information about the specification and the technical
    committee may be found at the public home page of the TC at:
    http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=ekmi. Comments may be
    submitted to the TC by any person through the use of the OASIS TC Comment
    Facility which can be located via the button marked "Send A Comment" at the top
    of that page, or directly at:
    http://www.oasis-open.org/committees/comments/index.php?wg_abbrev=ekmi.
    Submitted comments (for this work as well as other works of that TC) are
    publicly archived and can be viewed at:
    http://lists.oasis-open.org/archives/ekmi-comment/. All comments submitted to
    OASIS are subject to the OASIS Feedback License, which ensures that the feedback
    you provide carries the same obligations at least as the obligations of the TC
    members.
    The specification document and related files are available here:
    Editable Source (Authoritative):
    http://docs.oasis-open.org/ekmi/sksml/v1.0/pr01/SKSML-1.0-Specification.odt
    PDF:
    http://docs.oasis-open.org/ekmi/sksml/v1.0/pr01/SKSML-1.0-Specification.pdf
    HTML:
    http://docs.oasis-open.org/ekmi/sksml/v1.0/pr01/SKSML-1.0-Specification.html
    Schema:
    http://docs.oasis-open.org/ekmi/sksml/v1.0/pr01/schema/
    Abstract:
    This normative specification defines the first (1.0) version of the Symmetric
    Key Services Markup Language (SKSML), an XML-based messaging protocol, by which
    applications executing on computing devices may request and receive symmetric
    key-management services from centralized key-management servers, securely, over
    networks. Applications using SKSML are expected to either implement the SKSML
    protocol, or use a software library - called the Symmetric Key Client Library
    (SKCL) - that implements this protocol. SKSML messages are transported within a
    SOAP layer, protected by a Web Services Security (WSS) header and can be used
    over standard HTTP securely.
    OASIS and the EKMI TC welcome your comments.
    Mary P McRae
    Manager of TC Administration, OASIS
    email: [email protected]
    web: www.oasis-open.org

    ejp wrote:
    And who is constructing another list of rules?
    You* are.No,I am not costructing any more rules but asking if I missed any rules,since I am unsure of all the rules.May be in some other page of JLS ,some more rules may be defined.
    My question is simple,I have these set of rules extracted from JLSExactly. Here is where you are 'constructing another list of rules'.No,again.
    extracted from JLS and I just wanted to review them.Why? You have the JLS. You also have the compiler.Very True,I am reviewing them.
    Perhaps,I was not clear enough. :)No, you were clear enough, you just didn't have any motivation for what you are doing.The motivation was just to make sure that I knew the rules for declaring a top class level class.And yes,I will read JLS to find out some more than these(if they exist).

  • A Request for help from me again! Yay!

    hi guys! I was working on implementing threads for the directions of the unit. When i press forward once...nothing happens, but when i press twice it gives me this HUGE list of errors. I dont have a clue. Again, any help would be appreciated.
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class NBoard extends JFrame implements KeyListener{
         int selection = 0;
         boolean selectionmade = false;
         final int WIDTH = 600;
         final int HEIGHT = 600;
         Image Viz =Toolkit.getDefaultToolkit().getImage(JOptionPane.showInputDialog("What character do you want?")+".gif");
         int XC = 50;
         int YC = 50;
         Thread moving = new Move();
         Unit Host = new Unit();
         public NBoard(){
              this.setSize(WIDTH,HEIGHT);
              selection = Integer.parseInt(JOptionPane.showInputDialog("What level design do you want?"));
              if(selection > 0){
                   selectionmade = true;
              addKeyListener(this);
              this.setVisible(true);
         public static void main(String args[]){
              new NBoard();
         public void paint(Graphics g){
              if(selectionmade == true){
                   if(selection == 1){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT);
                   if(selection == 2){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine(WIDTH/2,0,WIDTH/2,HEIGHT);
                        for(int ctr = 1; ctr < 6; ++ctr){
                             g.drawRect(WIDTH/4 ,ctr * 100, 20, 20);
                             g.drawRect((WIDTH / 3) * 2 ,ctr * 100, 20, 20);
                   if(selection == 3){
                        g.setColor(Color.white);
                        g.fillRect(0,0,WIDTH,HEIGHT);
                        g.setColor(Color.black);
                        g.drawLine((WIDTH/2) - 90,0,(WIDTH/2) + 90,HEIGHT);
                   g.drawImage(Viz,XC,YC,this);
              public void keyPressed(KeyEvent e){                              //The Problem Areas
                   if(e.getKeyChar() == 'w'){
                        moving.start();                                             //Starting the thread to move up
                   else if(e.getKeyChar() == 's'){
                        YC = YC + 2;
                   else if(e.getKeyChar() == 'a'){
                        XC = XC - 2;
                   else if(e.getKeyChar() == 'd'){
                        XC = XC + 2;
                   System.out.println(e.getKeyChar());
                   repaint();
         public void keyReleased(KeyEvent e){                              //The Problem Areas
              if(e.getKeyChar() == 'w'){
                   moving.interrupt();                                             //Trying to interrupt the thread once the key is released
         public void keyTyped(KeyEvent e){}
    class Move extends Thread{                                                  //The Problem Areas
         public void run(){                                                       //The Thread
              Unit.XC = Unit.XC - 2;
              try{
                   Thread.sleep(1000);
              catch (Exception e){}
    class Unit{                                                                      //The Object which will hold all of the information about each unit
         static int XC = 30;
         static int YC = 30;
    } By the way, here is my order of events, so you can look forward to seeing requests for help for them (hopefully not).
    Threads: Moving the guy around
    Threads: Making him shoot a ball at the mouses position
    Network: Allow others to join/play game (This is gonna be HUGE probably), while host decides on game type.
    Thanks for all the help so far!

    Where does moving ever get started? Why does Move extend Thread instead of implementing Runnable? (Implementing runnable is preferred and often the correct way to do it and it is in this case)
    But regardless there shoud be a moving.start() somewhere or start of the Thread that has the Runnable target Move.... I don't think I see one. Unless I missed it.
    so...itll work if i change the setup to Runnable?

  • Unable to securely request for a page

    Question:
    a) I'm unable to securely request for my webpage : https://127.0.0.1:8443/Blah , instead I get the following Error:
    Firefox can't establish a connection to the server at localhost:8443.
    The site could be temporarily unavailable or too busy. Try again in a few
    moments.
    If you are unable to load any pages, check your computer's network
    connection.
    If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.
    On Internet Explorer I simply get:
    Internet Explorer cannot display the webpage
    b) How do I know which SSL Implementation my tomcat is making use of: JSSE/APR
    Details:
    web.xml
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
    id="Your_WebApp_ID"
    version="2.5">
    <description>The standard web descriptor for the email client</description>
    <servlet>
    <servlet-name>AuthenticateUser</servlet-name>
    <servlet-class>MailBoxController</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>AuthenticateUser</servlet-name>
    <url-pattern>/ControlPanel</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>login.jsp</welcome-file>
    </welcome-file-list>
    <error-page>
    <error-code>401</error-code>
    <location>/authenticationFailed.jsp</location>
    </error-page>
    <context-param>
    <param-name>serverName</param-name>
    <param-value>Gmail</param-value>
    </context-param>
    <context-param>
    <param-name>port</param-name>
    <param-value>993</param-value>
    </context-param>
    <context-param>
    <param-name>ip</param-name>
    <param-value>imap.gmail.com</param-value>
    </context-param>
    <session-config>
    <session-timeout>30</session-timeout>
    </session-config>
    <listener>
    <listener-class>Logger</listener-class>
    </listener>
    <security-constraint>
    <web-resource-collection>
    <url-pattern>/*</url-pattern>
    <http-method>POST</http-method>
    </web-resource-collection>
    <auth-constraint>
    <role-name>administrator</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>
    <login-config>
    <auth-method>BASIC</auth-method>
    </login-config>
    <security-role>
    <role-name>administrator</role-name>
    </security-role>
    </web-app>
    tomcat-users.xml :
    <tomcat-users>
    <role rolename="administrator"/>
    <user username="admin" password="system123#" roles="administrator"/>
    </tomcat-users>
    Following tag was added in web.xml in conf of tomcat :
    <-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <Connector
    protocol="org.apache.coyote.http11.Http11NioProtocol"
    port="8443" maxThreads="200"
    scheme="https" secure="true" SSLEnabled="true"
    keystoreFile="C:/Users/.keystore" keystorePass="changeit"
    clientAuth="false" sslProtocol="TLS"/>
    Can anybody please help me with my problem. Am I going wrong with configuring SSL?
    Thanks
    Krutika

    I did add these lines:
    <Connector
         protocol="org.apache.coyote.http11.Http11NioProtocol"
         port="8443" maxThreads="200"
         scheme="https" secure="true" SSLEnabled="true"
         keystoreFile="C:/Users/Krutika Ravi/.keystore" keystorePass="changeit"
         clientAuth="false" sslProtocol="TLS"/>
    to the web.xml contained in conf folder of tomcat.
    But didn't fiddle with server.xml -
    After un-commenting
    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
    maxThreads="150" scheme="https" secure="true"
    clientAuth="false" sslProtocol="TLS" />
    in server.xml contained in conf folder I get the following exceptions
    Jul 25, 2012 11:11:41 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: Loaded APR based Apache Tomcat Native library 1.1.24 using APR version 1.4
    .6.
    Jul 25, 2012 11:11:41 PM org.apache.catalina.core.AprLifecycleListener init
    INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
    ndom [true].
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.AprLifecycleListener initializ
    eSSL
    INFO: OpenSSL successfully initialized (OpenSSL 1.0.1c 10 May 2012)
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-apr-8080"]
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-apr-8443"]
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    SEVERE: Failed to initialize end point associated with ProtocolHandler ["http-ap
    r-8443"]
    java.lang.Exception: Connector attribute SSLCertificateFile must be defined when
    using SSL with APR
    at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:484)
    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.jav
    a:610)
    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
    81)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardService.initInternal(StandardService
    .java:559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.j
    ava:814)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.StandardService initInternal
    SEVERE: Failed to initialize connector [Connector[HTTP/1.1-8443]]
    org.apache.catalina.LifecycleException: Failed to initialize component [Connecto
    r[HTTP/1.1-8443]]
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
    at org.apache.catalina.core.StandardService.initInternal(StandardService
    .java:559)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.core.StandardServer.initInternal(StandardServer.j
    ava:814)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:624)
    at org.apache.catalina.startup.Catalina.load(Catalina.java:649)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:281)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:450)
    Caused by: org.apache.catalina.LifecycleException: Protocol handler initializati
    on failed
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
    83)
    at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    ... 12 more
    Caused by: java.lang.Exception: Connector attribute SSLCertificateFile must be d
    efined when using SSL with APR
    at org.apache.tomcat.util.net.AprEndpoint.bind(AprEndpoint.java:484)
    at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.jav
    a:610)
    at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:429)
    at org.apache.catalina.connector.Connector.initInternal(Connector.java:9
    81)
    ... 13 more
    Jul 25, 2012 11:11:43 PM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
    Jul 25, 2012 11:11:43 PM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 2945 ms
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Jul 25, 2012 11:11:43 PM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: Apache Tomcat/7.0.29
    Jul 25, 2012 11:11:43 PM org.apache.catalina.startup.HostConfig deployWAR
    INFO: Deploying web application archive C:\Junkyard\apache-tomcat-7.0.29\webapps
    \Blah.war
    Jul 25, 2012 11:11:44 PM org.apache.catalina.loader.WebappClassLoader validateJa
    rFile
    INFO: validateJarFile(C:\Junkyard\apache-tomcat-7.0.29\webapps\Blah\WEB-INF\lib\
    javax.servlet-5.1.12.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2.
    Offending class: javax/servlet/Servlet.class
    Logger Contructor
    Servlet Context has been initialized
    Jul 25, 2012 11:11:45 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\docs
    Jul 25, 2012 11:11:45 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\examples
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\host-manager
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\manager
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory C:\Junkyard\apache-tomcat-7.0.29\webap
    ps\ROOT
    Jul 25, 2012 11:11:46 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-apr-8080"]
    Jul 25, 2012 11:11:46 PM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["ajp-apr-8009"]
    Jul 25, 2012 11:11:46 PM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 2728 ms
    Edited by: 948555 on Jul 25, 2012 10:42 AM

  • Request for detailed acts to upload Work center,  BOM, Routing data in LSMW

    Hello PP ANgels,
    Request for detailed actions to upload Work center/Resource,  BOM, Routing/Recipe data in LSMW.
    Thanks in advance

    Sanjay,
    In the forum I found that you had used some "drops", that require a password to view.
    In these forums, the only links I post are public (help.sap.com) and from SAP support (service.sap.com/support).  SAP Support is mostly available only to customers and partners of SAP.  If you meet these criteria, and need a login for the SAP support site, contact the license administrator for your company's SAP licence (this is usually a Basis person).  If you cannot locate this person in your company, contact Service Marketplace directly (service.sap.com/mp).  Alternatively you can contact your local SAP Sales office and speak to your account administrator.
    Maybe it would be a better idea to group all standard solutions in one place.
    I expect it will be so...in Nirvana.  Here, life still entails suffering.
    With respect to your detailed questions, I would have a hard time answering, I have never used recordings in LSMW to create work centers, I always use standard batch/direct input.  I suspect that the VGEXX items are the units of measure from CRHD, I suspect LARXX items are activities from CSSL, and I couldn't comment on FORXX items without doing some research.
    This is the SCM PP forum.  You might get more answers posting this in the ERP PP forum SAP ERP Manufacturing - Production Planning (SAP PP) , since work centers/routings/recipes/BOMs are more or less irrelevant in SCM.
    Sorry I couldn't be of more assistance.
    Best Regards,
    DB49

  • Request for new feature: Login to Flickr account

    I have a request for a new feature for ATV2 in the next sw update. I am hoping Apple will read this.. Please enable ATV2 to login to our Flickr accounts. The way it is, we can't see certain contacts' pictures as their profiles are set to public.
    And please find a solution to never ending "Loading XXXX's Library" screen. Loading a library on the same wifi network (both for files on Mac or Airport's USB Harddrive) takes forever.
    Thanks

    I have an ATV2 and it was logged in fine--I had to restore a few minutes ago because it lost it's connection with iTunes Match, and now I can't log in any more.  This is TERRIBLE as I HAVE to keep my photos on Flickr private, but want to have them playing on the AppleTV at home for me, friends, and parties. 
    Why did this go away?!?!

  • Request for developers to include the Dell Quadro FX 3450 in their beta linux flashplayer for 10.1

    request for developers to include the Dell Quadro FX 3450 in their beta linux flashplayer for 10.1.  i'm guessing it wouldn't be hard to do.  its the same chip that is used in the Nvidia Geforce 6800.  It has NV42GL core processor.  please don't leave this device behind, any acceleration that can be done to the existing flash player would definitely count, as great.
    thank you

    Hi it turns out that the SVN version is the most up to date which does not need to be patched as it has the right version numbers. I have created a new PKGBUILD.
    # Maintainer: kso <keansum AT gmail DOT com>
    pkgname=freechart-svn
    pkgver=r3169
    pkgrel=1
    pkgdesc="Free powerful charting library based on wxWidgets."
    arch=('x86_64' 'i686')
    url="http://wxcode.sourceforge.net/components/freechart/"
    license=('custom:"wxWindows"')
    depends=('wxgtk')
    makedepends=('subversion')
    source=('svn+http://svn.code.sf.net/p/wxcode/code/trunk/wxCode/components/freechart/')
    md5sums=('SKIP')
    _svntrunk=http://svn.code.sf.net/p/wxcode/code/trunk/wxCode/components/freechart/
    _svnmod=freechart
    pkgver() {
    cd "$_svnmod"
    local ver="$(svnversion)"
    printf "r%s" "${ver//[[:alpha:]]}"
    build() {
    cd "$srcdir"
    msg "Connecting to SVN server...."
    if [[ -d "$_svnmod/.svn" ]]; then
    (cd "$_svnmod" && svn up -r "$pkgver")
    else
    svn co "$_svntrunk" --config-dir ./ -r "$pkgver" "$_svnmod"
    fi
    msg "SVN checkout done or server timeout"
    msg "Starting build..."
    rm -rf "$srcdir/$_svnmod-build"
    svn export "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
    cd "$srcdir/$_svnmod-build"
    # BUILD HERE
    ./configure --prefix=/usr
    make
    package() {
    cd "$srcdir/$_svnmod-build"
    make DESTDIR="$pkgdir/" install
    # install LICENSE
    install -D -m644 $srcdir/$_svnmod/license.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
    I have uploaded onto the AUR. I have checked using namcap. Please let me know if there are any mistakes.  Many thanks!

  • JDBC 4.0 Public Review

    The JDBC 4.0 Public Review Draft specification is now available on the JCP web site.
    http://jcp.org/aboutJava/communityprocess/pr/jsr221/index.html
    This is the JDBC spec that will be included in Java 6.0 so this is what you'll be living with for the next few years. I strongly encourage you to take a look at it.
    There isn't much room to make significant additions or sweeping changes. Java 6.0 goes final fairly soon. What is important is to have as many eyes as possible review the spec and look for things that are unclear or broken.
    Of course you can post comments here, in fact I encourge you to do so to refine your criticism, but the Expert Group will only see comments emailed to the address on the web page above.
    Major new things include support for XML type, support for an unwrap method, factory methods for large objects, and a lot of bug fixes, clean up, and clarifications of the 3.0 spec. The XML support is intentionally minimal as this is a complex area. It is easier to add new methods than remove old broken ones. The unwrap method is somewhat subtle so look at it closely.
    We didn't get any responses to the Early Review Draft. We would really like a lot more eyes looking for problems and helping to identify areas that are unclear. This is your opportunity to have an impact on the JDBC spec.

    Well, the JDBC 4.0 specification is not yet final, as an implementor we cannot comment or fix a potential bug until the spec is final. Having said that I'll forward this to our rep at the JDBC JSR Expert Group.
    Kuassi - http://db360.blogspot.com/

  • Request For Enhancement: Add method mouseIn() to JComponent

    I would like to propose that a new method be added to JComponent. This method would return boolean true if the mouse is currently over the JComponent and false if not. Method signature: public boolean mouseIn().
    This method would make it easier to accomplish visual feedback for when the mouse is over any JComponent, similar to how rollover can be done for AbstractButton.
    Currently, the best method I can come up with is to add a MouseListener that records the state from the mouseEntered() and mouseExited() events. I add my own method mouseIn() that returns that state. Then method paintComponent() can check this state by calling mouseIn() and paint the component accordingly.
    At first I thought the MouseListener should be added in each and every constructor of each and every JComponent, but then realized actually, the place to provide this feedback is in the ComponentUI class for each JComponent, as part of a custom Look & Feel. What I have come up with is to add the MouseListener to the JComponent in the ComponentUI's createUI() method, recording the state in the ComponentUI instance. The problem with this is, it makes it impossible for the ComponentUI to be a singleton like most of the ComponentUI classes are for the standard L&F's. This requires that each JComponent instance have its own ComponentUI instance.
    If JComponent had this proposed mouseIn() method, the ComponentUI methods could simply call this method, and the ComponentUI would not have to record JComponent-instance-specific state. There would not be a need for so many instances of ComponentUI and MouseListener.

    Hi,
    imho this request for enhancement is much better than your other onces. In fact monitoring this state is more than just using mouseEntered(..) and mouseExited(...) - if there is a method, it must return a valid state - if mouse has entered and you make the component invisible, mouse does not exit before that takes place - if you open another application which covers this component, mouse does also not exit before, but the component stays visible - you see, there are much more things to control, to get a valid state at any time. And mouseIn() is an ugly name and says less - why not isMouseOver() or something like this?
    Another thing is, why do you request this for JComponent?- Should java.awt.Component not get this feature in your opinion?
    greetings Marsian

  • Is it possible to trigger a review request?

    Does anyone know how to trigger a review request?

    If you mean that you have uploaded an app to the App Store, and it's been there for a while without going into Review, then no, I don't think you can.
    One of the options you had to choose when uploading was what the release date was to be. It could be that you set a date that you thought would be safely after the review period, but unfortunately I think that Apple don't even look at the app until that date you have set. For the app I did it was waiting for review for a couple of weeks, and then went through review to approved in about 32 minutes, on the actual release date that had been set.
    I'll leave what I typed in there, in case I was right with my first guess! My second guess is that you're asking about how to get the user to go to review your app. To do that just do a navigateToURL(), like below, only change the "12345678" part to be the id for your app:
    navigateToURL(new URLRequest("http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=12345678&page Number=0&sortOrdering=1&type=Purple+Software&mt=8"),"_self");
    This won't be using the native review dialog, you would just want to have a button, maybe in your credits or menu screen, that the user can touch at any time.

Maybe you are looking for

  • I am unable to update  apps on my iPhone 5.

    I am unable to update my apps on my iPhone 5. As I select the update button it asks for my password but the goes back to like it was. I have already rebooted a couple of times & even logged out & signed back into my iCloud, iTunes & App store. Nothin

  • Attaching a pdf document to a sales order

    We are trying to link pdf documents to sales orders in VA02/03 using the object services toolbar in the sales order.  We can specify attachments and it appears to work fine.  Our main question is were are these attachments saved.  We do not want them

  • Import maps error Prime 2.0

    Hello, I'm working to export maps from the old WCS 7.0.240.0 to Cisco Prime 2.0. Everything works fine, but from one map I receive an error. I cannot find what to do. Cisco has no workaround for it. Map Path                Message                    

  • Word 2003 Document Won't Convert

    Trying to convert a Word 2003 document with some graphics.  Conversion process seems to stall mid-point.  Waited 23 minutes and gave up.  Suggestions?  Thanks! Susan

  • Time to download iOS 8.0.2

    HI i just clicked to download iOS 8.0.2 and it currently says 15 hours to download. My husband did his last night and it took 1.5 hours but never had a message saying 15 hours...is this normal? What do I do? thanks pauline