remove outdated autopackage files
This commit is contained in:
parent
096bf5546a
commit
15a4a178ca
11 changed files with 0 additions and 307 deletions
|
@ -1,22 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @dnspython.org/dnspython
|
|
||||||
DisplayName: dnspython is a DNS toolkit for Python
|
|
||||||
ShortName: dnspython
|
|
||||||
Skeleton-Author: Filippos Papadopoulos <filip@cs.uoi.gr>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
Returns the full version e.g 1.3.3
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
INTERFACE_VERSIONS=`python - <<EOF
|
|
||||||
try:
|
|
||||||
import dns.version
|
|
||||||
print dns.version.version
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
EOF
|
|
||||||
`
|
|
||||||
SOFTWARE_VERSIONS="$INTERFACE_VERSIONS"
|
|
|
@ -1,13 +0,0 @@
|
||||||
[Meta]
|
|
||||||
RootName: @glade.gnome.org/libglade
|
|
||||||
DisplayName: Glade user interface loader library
|
|
||||||
ShortName: libglade
|
|
||||||
Skeleton-Author: Mike Hearn <mike@theoretic.com>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
This skeleton only detects libglade1 and 2, which are assigned interface numbers 1 and 2 respectively
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
testForLib libglade.so.0 && INTERFACE_VERSIONS="1"
|
|
||||||
testForLib libglade-2.0.so.0 && INTERFACE_VERSIONS="2 $INTERFACE_VERSIONS"
|
|
|
@ -1,29 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @gnome.org/pyglade
|
|
||||||
DisplayName: Python bindings for Glade
|
|
||||||
ShortName: pyglade
|
|
||||||
Skeleton-Author: Filippos Papadopoulos <filip@cs.uoi.gr>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
Pyglade is bundled within pygtk sources so they have the same versions
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
testForPythonModule gtk.glade
|
|
||||||
if [[ "$?" != "0" ]]; then
|
|
||||||
INTERFACE_VERSIONS=""
|
|
||||||
else
|
|
||||||
INTERFACE_VERSIONS=`python - <<EOF
|
|
||||||
try:
|
|
||||||
import pygtk
|
|
||||||
import gtk.glade
|
|
||||||
print "%i.%i" % (gtk.pygtk_version[0], gtk.pygtk_version[1])
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
EOF
|
|
||||||
`
|
|
||||||
fi
|
|
||||||
|
|
||||||
SOFTWARE_VERSIONS="$INTERFACE_VERSIONS"
|
|
|
@ -1,24 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @gnome.org/pygtk
|
|
||||||
DisplayName: Python bindings for GTK+
|
|
||||||
ShortName: pygtk
|
|
||||||
Skeleton-Author: Tom Cato Amundsen <tca@gnu.org>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
Matchces GTK2 interface versioning
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
INTERFACE_VERSIONS=`python - <<EOF
|
|
||||||
try:
|
|
||||||
import pygtk
|
|
||||||
pygtk.require("2.0")
|
|
||||||
import gtk
|
|
||||||
print "%i.%i" % (gtk.pygtk_version[0], gtk.pygtk_version[1])
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
EOF
|
|
||||||
`
|
|
||||||
SOFTWARE_VERSIONS="$INTERFACE_VERSIONS"
|
|
|
@ -1,25 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @gtk.org/gtk
|
|
||||||
DisplayName: GTK+ user interface toolkit
|
|
||||||
ShortName: gtk+
|
|
||||||
Skeleton-Author: Hongli Lai <h.lai@chello.nl>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
Interface versions correspond to GTK released versions, as GTK version
|
|
||||||
numbering sensibly tracks the interfaces, ie GTK2.2 has an interface
|
|
||||||
version of 2.2, not 2.1 as would be the normal rules.
|
|
||||||
|
|
||||||
Earliest detected version is GTK 1.2
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
testForLib libgtk-1.2.so.0 && INTERFACE_VERSIONS=" 1.2"
|
|
||||||
gtk2versions=`testForLib -v libgtk-x11-2.0.so.0`
|
|
||||||
for v in $gtk2versions; do
|
|
||||||
minor=$( IFS=.; v=( $v ); echo ${v[1]} )
|
|
||||||
minor=$[ $minor / 100 ]
|
|
||||||
INTERFACE_VERSIONS="2.$minor $INTERFACE_VERSIONS"
|
|
||||||
done
|
|
||||||
SOFTWARE_VERSIONS="$INTERFACE_VERSIONS" # this time......
|
|
|
@ -1,16 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @gtkspell.sourceforge.net/gtkspell
|
|
||||||
DisplayName: GtkSpell Spell Checking Library
|
|
||||||
ShortName: gtkspell
|
|
||||||
Skeleton-Author: Timothy Ringenbach <omarvo@hotmail.com>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
Repository: http://www.gajim.org/downloads/gtkspell.xml
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
This skeleton does not set SOFTWARE_VERSIONS
|
|
||||||
Interface versions start at 0.
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
INTERFACE_VERSIONS=`testForLib -i libgtkspell.so`
|
|
|
@ -1,22 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @pydns.sourceforge.net/pydns
|
|
||||||
DisplayName: PyDNS provides a python module for performing DNS queries
|
|
||||||
ShortName: pydns
|
|
||||||
Skeleton-Author: Filippos Papadopoulos <filip@cs.uoi.gr>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
INTERFACE_VERSIONS=`python - <<EOF
|
|
||||||
try:
|
|
||||||
import DNS
|
|
||||||
print DNS.__version__
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
EOF
|
|
||||||
`
|
|
||||||
SOFTWARE_VERSIONS="$INTERFACE_VERSIONS"
|
|
|
@ -1,22 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @pysqlite.org/pysqlite
|
|
||||||
DisplayName: Python interface for the SQLite
|
|
||||||
ShortName: pysqlite
|
|
||||||
Skeleton-Author: Filippos Papadopoulos <filip@cs.uoi.gr>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
pysqlite is a Python DB-API 2.0 interface for the SQLite embedded relational database engine
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
INTERFACE_VERSIONS=`python - <<EOF
|
|
||||||
try:
|
|
||||||
import pysqlite2.dbapi2 as sql
|
|
||||||
print sql.version
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
EOF
|
|
||||||
`
|
|
||||||
SOFTWARE_VERSIONS="$INTERFACE_VERSIONS"
|
|
|
@ -1,21 +0,0 @@
|
||||||
# -*- shell-script-mode -*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @python.org/python-xml
|
|
||||||
DisplayName: Python bindings for XML
|
|
||||||
ShortName: python-xml
|
|
||||||
Skeleton-Author: Filippos Papadopoulos <filip@cs.uoi.gr>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
Distros like SuSE split some features of core python (like xml) to python-xml e.t.c
|
|
||||||
So python-xml must have the same versions as python
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 | cut -f2 -d' ' )
|
|
||||||
testForPythonModule xml
|
|
||||||
if [[ "$?" != "0" ]]; then
|
|
||||||
INTERFACE_VERSIONS=""
|
|
||||||
else
|
|
||||||
INTERFACE_VERSIONS=$( echo $SOFTWARE_VERSIONS | awk -F. '{print $1 "." $2}' )
|
|
||||||
fi
|
|
|
@ -1,20 +0,0 @@
|
||||||
[Meta]
|
|
||||||
RootName: @python.org/python
|
|
||||||
DisplayName: Python language runtime
|
|
||||||
ShortName: python
|
|
||||||
Skeleton-Author: Mike Hearn <mike@theoretic.com>
|
|
||||||
Skeleton-Version: 1
|
|
||||||
|
|
||||||
[Notes]
|
|
||||||
INTERFACE_VERSIONS are set to match the currently installed version using the "python" executable name.
|
|
||||||
For instance, python 2.2 causes INTERFACE_VERSIONS to contain "2.2 2.1 2.0". This skeleton assumes python1 and python2 are not parallel installed.
|
|
||||||
SOFTWARE_VERSIONS is set to the result of python -V
|
|
||||||
|
|
||||||
[Test]
|
|
||||||
SOFTWARE_VERSIONS=$( locateCommand python -V 2>&1 | cut -f2 -d' ' )
|
|
||||||
if [[ "$?" != "0" ]]; then
|
|
||||||
INTERFACE_VERSIONS=""
|
|
||||||
else
|
|
||||||
INTERFACE_VERSIONS=$( echo $SOFTWARE_VERSIONS | awk -F. '{print $1 "." $2}' )
|
|
||||||
fi
|
|
||||||
|
|
|
@ -1,93 +0,0 @@
|
||||||
# -*-shell-script-*-
|
|
||||||
|
|
||||||
[Meta]
|
|
||||||
RootName: @gajim.org/gajim:$SOFTWAREVERSION
|
|
||||||
DisplayName: Gajim Jabber Client
|
|
||||||
ShortName: gajim
|
|
||||||
Maintainer: The Gajim Developers <gajim-devel-subscribe@gajim.org>
|
|
||||||
Packager: Filippos Papadopoulos <psybases@gmail.com>
|
|
||||||
Summary: Gajim is a Jabber client written in Python.
|
|
||||||
URL: http://www.gajim.org/
|
|
||||||
License: GNU General Public License, Version 2
|
|
||||||
SoftwareVersion: 0.12-alpha1
|
|
||||||
AutopackageTarget: 1.0
|
|
||||||
PackageVersion: 1
|
|
||||||
|
|
||||||
# Only uncomment InterfaceVersion if your package exposes interfaces to other software,
|
|
||||||
# for instance if it includes DSOs or python/perl modules. See the developer guide for more info,
|
|
||||||
# or ask on autopackage-dev if you don't understand interface versioning in autopackage.
|
|
||||||
#
|
|
||||||
# InterfaceVersion: 0.0
|
|
||||||
|
|
||||||
[Description]
|
|
||||||
Gajim is a jabber client written in PyGTK. The goal of Gajim is to provide a full featured and easy to use xmpp
|
|
||||||
client for the GTK+ users. Gajim does not require GNOME to run, eventhough it exists with it nicely. Gajim is
|
|
||||||
released under the GNU General Public License. Features: Tabbed chat windows, Groupchat support (with MUC protocol),
|
|
||||||
File tranfers, Emoticons, URL grabber, Systray icon, GPG support, Multiple accounts support and much more!
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[BuildPrepare]
|
|
||||||
prepareBuild
|
|
||||||
|
|
||||||
|
|
||||||
[BuildUnprepare]
|
|
||||||
unprepareBuild
|
|
||||||
|
|
||||||
|
|
||||||
[Imports]
|
|
||||||
echo '*' | import
|
|
||||||
import <<EOF
|
|
||||||
EOF
|
|
||||||
|
|
||||||
|
|
||||||
[Prepare]
|
|
||||||
# Dependency checking
|
|
||||||
#PyGTK 2.4 requires python 2.3
|
|
||||||
|
|
||||||
require @python.org/python 2.4
|
|
||||||
require @python.org/python-xml 2.4
|
|
||||||
require @gtk.org/gtk 2.6
|
|
||||||
require @gnome.org/pygtk 2.5
|
|
||||||
require @gnome.org/pyglade 2.5
|
|
||||||
require @glade.gnome.org/libglade 2
|
|
||||||
require @pysqlite.org/pysqlite 2
|
|
||||||
recommend @gtkspell.sourceforge.net/gtkspell 0
|
|
||||||
if ! require @dnspython.org/dnspython 1; then
|
|
||||||
recommend @pydns.sourceforge.net/pydns 2
|
|
||||||
fi
|
|
||||||
|
|
||||||
#recommend @dnspython.org/dnspython 1
|
|
||||||
#recommend @pydns.sourceforge.net/pydns 2
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
# Put your installation script here
|
|
||||||
|
|
||||||
copyFiles lib/gajim "$PREFIX/lib"
|
|
||||||
copyFiles share/gajim "$PREFIX/share/"
|
|
||||||
copyFiles share/doc "$PREFIX/share/"
|
|
||||||
installLocale share/locale
|
|
||||||
installIcon share/pixmaps/gajim.png
|
|
||||||
installIcon share/pixmaps/gajim_about.png
|
|
||||||
installDesktop "Network/Instant Messaging" share/applications/gajim.desktop
|
|
||||||
installMan 1 share/man/man1/gajim.1 share/man/man1/gajim-remote.1
|
|
||||||
|
|
||||||
#In the following safeSed we assume that the original Makefile is a bit modified so that to be relocatable by AP
|
|
||||||
#so you have to manually remove the sed in Makefile for AP to work
|
|
||||||
safeSed bin/gajim "s!PREFIX!$PREFIX!g"
|
|
||||||
safeSed bin/gajim-remote "s!PREFIX!$PREFIX!g"
|
|
||||||
locateCommand python
|
|
||||||
safeSed bin/gajim "s!PYBIN!$lc_location!g"
|
|
||||||
safeSed bin/gajim-remote "s!PYBIN!$lc_location!g"
|
|
||||||
installExe bin/*
|
|
||||||
#chmod +x "$PREFIX/bin/gajim"
|
|
||||||
#chmod +x "$PREFIX/bin/gajim-remote"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[Uninstall]
|
|
||||||
# Usually just the following line is enough to uninstall everything
|
|
||||||
uninstallFromLog
|
|
Loading…
Add table
Reference in a new issue