Merge branch 'master' of github.com:pisilinux/main
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import kde5
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
#WorkDir = "src"
|
||||
def setup():
|
||||
#shelltools.makedirs("build")
|
||||
#shelltools.cd("build")
|
||||
kde5.configure()
|
||||
|
||||
def build():
|
||||
#shelltools.cd("..")
|
||||
kde5.make()
|
||||
|
||||
def install():
|
||||
kde5.install()
|
||||
|
||||
pisitools.dodoc("COPYING", "COPYING.LIB", "COPYING.README")
|
||||
Executable
+94
@@ -0,0 +1,94 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>baloo-widgets</Name>
|
||||
<Homepage>http://www.kde.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admin@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Framework for searching and managing metadata</Summary>
|
||||
<Description>Baloo is a framework for searching and managing metada</Description>
|
||||
<Archive sha1sum="99055dd1d968f1d6825c3865579705a097682d4a" type="tarxz">http://download1476.mediafire.com/x4t6a1q9uq3g/l14l283v1qb1p20/baloo-widgets.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency>kf5-baloo-devel</Dependency>
|
||||
<Dependency>kdoctools-devel</Dependency>
|
||||
<Dependency>extra-cmake-modules</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>baloo-widgets</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>kcoreaddons</Dependency>
|
||||
<Dependency>kwidgetsaddons</Dependency>
|
||||
<Dependency>qt5-base</Dependency>
|
||||
<Dependency>baloo</Dependency>
|
||||
<Dependency>attr</Dependency>
|
||||
<Dependency>xapian-core</Dependency>
|
||||
<Dependency>kauth</Dependency>
|
||||
<Dependency>kcmutils</Dependency>
|
||||
<Dependency>kconfig</Dependency>
|
||||
<Dependency>kcrash</Dependency>
|
||||
<Dependency>kdelibs4-support</Dependency>
|
||||
<Dependency>ki18n</Dependency>
|
||||
<Dependency>kidletime</Dependency>
|
||||
<Dependency>kio</Dependency>
|
||||
<Dependency>krunner</Dependency>
|
||||
<Dependency>solid</Dependency>
|
||||
<Dependency>kfilemetadata</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="config">/etc</Path>
|
||||
<Path fileType="data">/usr/share</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib/qt5</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
<Package>baloo</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>baloo</Package>
|
||||
</Conflicts>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>baloo-widgets-devel</Name>
|
||||
<Summary>Development files for baloo-widgets</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>qt5-base-devel</Dependency>
|
||||
<Dependency release="current">baloo-widgets</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="config">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
<Replaces>
|
||||
<Package>baloo-devel</Package>
|
||||
</Replaces>
|
||||
<Conflicts>
|
||||
<Package>baloo-devel</Package>
|
||||
</Conflicts>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2015-07-23</Date>
|
||||
<Version>5.3.2</Version>
|
||||
<Comment>First Release</Comment>
|
||||
<Name>Stefan Gronewold (groni)</Name>
|
||||
<Email>groni@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def setup():
|
||||
shelltools.export("AUTOPOINT", "true")
|
||||
#pisitools.dosed("autogen.sh", "tool_run.*autopoint --force.*")
|
||||
shelltools.export("NOCONFIGURE", "1")
|
||||
shelltools.system("./autogen.sh")
|
||||
|
||||
"""The following is a list of disabled plugins:
|
||||
celt -> (celtdec, celtenc) -> Not available in Pardus repos,
|
||||
qtwrapper, checks for QuickTime/Movies.h -> Not available in Pardus repos,
|
||||
divx -> divx4linux,
|
||||
dirac -> needs dirac-research package, http://dirac.sourceforge.net
|
||||
"""
|
||||
|
||||
autotools.configure("--disable-static \
|
||||
--disable-experimental \
|
||||
--with-package-name='PisiLinux gstreamer-plugins-bad package' \
|
||||
--with-package-origin='http://www.pisilinux.org' \
|
||||
--with-gtk=3.0")
|
||||
|
||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
#FIXME: tests now tries to
|
||||
#def check():
|
||||
# # for sandbox violations
|
||||
# autotools.make("-C tests/check check")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("ABOUT-NLS", "AUTHORS", "ChangeLog", "COPYING*", "NEWS", "README", "RELEASE", "REQUIREMENTS")
|
||||
|
||||
@@ -0,0 +1,38 @@
|
||||
--- configure.old 2010-08-21 16:54:00.918473667 +0300
|
||||
+++ configure 2010-08-21 17:05:44.390473644 +0300
|
||||
@@ -23994,7 +23994,7 @@
|
||||
$as_echo_n "checking to see if compiler understands -Werror... " >&6; }
|
||||
|
||||
save_CFLAGS="$CFLAGS"
|
||||
- CFLAGS="$CFLAGS -Werror"
|
||||
+ CFLAGS="$CFLAGS"
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
/* end confdefs.h. */
|
||||
@@ -24016,7 +24016,7 @@
|
||||
CFLAGS="$save_CFLAGS"
|
||||
|
||||
if test "X$flag_ok" = Xyes ; then
|
||||
- ERROR_CFLAGS="$ERROR_CFLAGS -Werror"
|
||||
+ ERROR_CFLAGS="$ERROR_CFLAGS"
|
||||
true
|
||||
else
|
||||
|
||||
@@ -24348,7 +24348,7 @@
|
||||
$as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; }
|
||||
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
- CPPFLAGS="$CPPFLAGS -Werror"
|
||||
+ CPPFLAGS="$CPPFLAGS"
|
||||
|
||||
ac_ext=cpp
|
||||
ac_cpp='$CXXCPP $CPPFLAGS'
|
||||
@@ -24377,7 +24377,7 @@
|
||||
CPPFLAGS="$save_CPPFLAGS"
|
||||
|
||||
if test "X$flag_ok" = Xyes ; then
|
||||
- ERROR_CXXFLAGS="$ERROR_CXXFLAGS -Werror"
|
||||
+ ERROR_CXXFLAGS="$ERROR_CXXFLAGS"
|
||||
true
|
||||
else
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
diff -p -up gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c~ gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c
|
||||
--- gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c~ 2008-03-13 15:25:20.000000000 +0100
|
||||
+++ gst-plugins-bad-0.10.7/ext/timidity/gstwildmidi.c 2008-05-16 16:31:45.000000000 +0200
|
||||
@@ -59,7 +59,7 @@
|
||||
#include "gstwildmidi.h"
|
||||
|
||||
#ifndef WILDMIDI_CFG
|
||||
-#define WILDMIDI_CFG "/etc/timidity.cfg"
|
||||
+#define WILDMIDI_CFG "/etc/timidity/timidity.cfg"
|
||||
#endif
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (gst_wildmidi_debug);
|
||||
@@ -0,0 +1,13 @@
|
||||
--- ext/faad/gstfaad.c~ 2009-05-11 01:24:19.701465766 +0300
|
||||
+++ ext/faad/gstfaad.c 2009-05-11 01:24:19.701465766 +0300
|
||||
@@ -63,10 +63,6 @@
|
||||
#undef faacDecInit2
|
||||
#endif
|
||||
|
||||
-extern long faacDecInit (faacDecHandle, guint8 *, guint32, guint32 *, guint8 *);
|
||||
-extern gint8 faacDecInit2 (faacDecHandle, guint8 *, guint32,
|
||||
- guint32 *, guint8 *);
|
||||
-
|
||||
#endif /* FAAD2_MINOR_VERSION < 7 */
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (faad_debug);
|
||||
@@ -0,0 +1,190 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gst-plugins-bad-next</Name>
|
||||
<Homepage>http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html</Homepage>
|
||||
<Packager>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A set of GStreamer plug-ins that aren't up to par compared to the rest</Summary>
|
||||
<Description>GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the rest. They might be close to being good quality, but they're missing something - be it a good code review, some documentation, a set of tests, a real live maintainer, or some actual wide use.</Description>
|
||||
<Archive sha1sum="81ae4e15bcce8d353b83c1d2559441925794c42e" type="tarxz">http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-1.4.5.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gstreamermm-devel</Dependency>
|
||||
<Dependency>gst-plugins-base-devel</Dependency>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
<Dependency>libdvdnav-devel</Dependency>
|
||||
<Dependency>soundtouch-devel</Dependency>
|
||||
<Dependency>faac-devel</Dependency>
|
||||
<Dependency>valgrind</Dependency>
|
||||
<Dependency>jasper-devel</Dependency> <!-- jp2kdec jp2kenc -->
|
||||
<Dependency>libdca-devel</Dependency>--> <!-- dtsdec -->
|
||||
<Dependency>gsm-devel</Dependency>--> <!-- gsmenc gsmdec -->
|
||||
<Dependency>mjpegtools-devel</Dependency>--> <!-- mplex mpgenc -->
|
||||
<Dependency>libdvdnav-devel</Dependency> --><!-- resindvd -->
|
||||
<Dependency>libsndfile-devel</Dependency>--> <!-- sfsrc sfsink -->
|
||||
<Dependency versionFrom="1.7.1">DirectFB-devel</Dependency> <!-- dfbvideosink -->
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>libICE-devel</Dependency>
|
||||
<Dependency>celt-devel</Dependency>
|
||||
<Dependency>libdc1394-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
<Dependency>libsdl-devel</Dependency>
|
||||
<Dependency>soundtouch-devel</Dependency>
|
||||
<Dependency>libtheora-devel</Dependency>
|
||||
<Dependency>libmodplug-devel</Dependency>
|
||||
<Dependency>xvid-devel</Dependency>
|
||||
<Dependency>libdvdread-devel</Dependency>
|
||||
<Dependency>libvdpau-devel</Dependency>
|
||||
<Dependency>rtmpdump-devel</Dependency>
|
||||
<Dependency>schroedinger-devel</Dependency>
|
||||
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||
<Dependency>libvo-aacenc-devel</Dependency>
|
||||
<Dependency>libvo-amrwbenc-devel</Dependency>
|
||||
<!--<Dependency>libcdaudio-devel</Dependency>
|
||||
<Dependency>faad2-devel</Dependency>
|
||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||
<Dependency>ladspa-sdk-devel</Dependency>
|
||||
<Dependency>libmms-devel</Dependency>
|
||||
<Dependency>liblrdf-devel</Dependency>
|
||||
<Dependency>libmimic-devel</Dependency>
|
||||
<Dependency>libmpcdec-devel</Dependency>
|
||||
<Dependency>musicbrainz-devel</Dependency>
|
||||
<Dependency>neon-devel</Dependency>
|
||||
<Dependency>libofa-devel</Dependency>
|
||||
<Dependency>exempi-devel</Dependency>
|
||||
<Dependency>slv2-devel</Dependency>
|
||||
<Dependency>libkate-devel</Dependency>
|
||||
<Dependency>librsvg-devel</Dependency>
|
||||
<Dependency>libvpx-devel</Dependency>
|
||||
<Dependency>flite-devel</Dependency>
|
||||
<Dependency>opencv-devel</Dependency>
|
||||
<Dependency>libopus-devel</Dependency>
|
||||
<Dependency>orc-devel</Dependency>
|
||||
<Dependency>zvbi-devel</Dependency>
|
||||
<Dependency>openal-devel</Dependency>
|
||||
<Dependency>nas-devel</Dependency>-->
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="0">02_no-Werror.patch</Patch>
|
||||
<Patch level="0">remove_external_symbols.patch</Patch>
|
||||
<Patch level="1">gst-plugins-bad-0.10.7-wildmidi-timidity.cfg.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gst-plugins-bad-next</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency versionFrom="1.7.1">DirectFB</Dependency> <!-- dfbvideosink -->
|
||||
<Dependency>libdca</Dependency> <!-- dtsdec -->
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>faac</Dependency>
|
||||
<Dependency>bzip2</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>gsm</Dependency> <!-- gsmenc gsmdec -->
|
||||
<Dependency>libmodplug</Dependency>
|
||||
<Dependency>mjpegtools</Dependency> <!-- mplex mpgenc -->
|
||||
<Dependency>soundtouch</Dependency>
|
||||
<Dependency>libdvdnav</Dependency> <!-- resindvd -->
|
||||
<Dependency>libsndfile</Dependency> <!-- sfsrc sfsink -->
|
||||
<!--<Dependency>libexif</Dependency>--> <!-- metadata -->
|
||||
<Dependency>libdvdread</Dependency>
|
||||
<Dependency>libvdpau</Dependency>
|
||||
<Dependency>schroedinger</Dependency>
|
||||
<Dependency>gstreamer-next</Dependency>
|
||||
<Dependency>orc</Dependency>
|
||||
<Dependency>libvo-aacenc</Dependency>
|
||||
<Dependency>libvo-amrwbenc</Dependency>
|
||||
<Dependency>wayland-client</Dependency>
|
||||
<Dependency>gst-plugins-base-next</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/gstreamer-1.0</Path>
|
||||
<Path fileType="data">/usr/share/gst-plugins-bad/1.0/</Path>
|
||||
<Path fileType="doc">/usr/share/gtk-doc</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0/</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>gst-plugins-bad-next-devel</Name>
|
||||
<Summary>Development files for gst-plugins-bad</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gst-plugins-bad-next</Dependency>
|
||||
<Dependency>gstreamer-next-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="8">
|
||||
<Date>2015-04-18</Date>
|
||||
<Version>1.4.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="7">
|
||||
<Date>2014-08-23</Date>
|
||||
<Version>1.4.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="6">
|
||||
<Date>2014-05-28</Date>
|
||||
<Version>1.2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="5">
|
||||
<Date>2014-04-23</Date>
|
||||
<Version>1.2.3</Version>
|
||||
<Comment>Rebuild for webp.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvarice@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2014-02-14</Date>
|
||||
<Version>1.2.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Yusuf Aydemir</Name>
|
||||
<Email>yusuf.aydemir@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2013-11-20</Date>
|
||||
<Version>1.2.1</Version>
|
||||
<Comment>Version bump</Comment>
|
||||
<Name>Richard de Bruin</Name>
|
||||
<Email>richdb@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2013-10-14</Date>
|
||||
<Version>1.2.0</Version>
|
||||
<Comment>bump</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>erdincgultekin@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2013-08-30</Date>
|
||||
<Version>1.1.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Osman Erkan</Name>
|
||||
<Email>osman.erkan@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>gst-plugins-bad</Name>
|
||||
<Summary xml:lang="tr">Diğer eklentilerle karşılaştırıldığında çok iyi durumda olmayan gstreamer eklentileri</Summary>
|
||||
<Description xml:lang="tr">gst-plugins-bad, iyiye yakın kalitede olan ancak gerçek bir geliştirici, belgelendirme, test seti gibi eksikleri bulunan eklentilerdir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gst-plugins-bad-devel</Name>
|
||||
<Summary xml:lang="tr">gst-plugins-bad için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -19,7 +19,6 @@
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>libXv-devel</Dependency>
|
||||
<Dependency>liboil-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libXext-devel</Dependency>
|
||||
<Dependency>alsa-lib-devel</Dependency>
|
||||
@@ -29,21 +28,19 @@
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>orc-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<!--<Patches>
|
||||
<Patch level="1">gstpb-0.10.15-cd-speed.patch</Patch>
|
||||
<Patch level="1">align.patch</Patch>
|
||||
</Patches>-->
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>gst-plugins-base-next</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>gstreamer-next</Dependency>
|
||||
<Dependency>cdparanoia</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>libXv</Dependency>
|
||||
<Dependency>liboil</Dependency>
|
||||
<Dependency>libogg</Dependency>
|
||||
<Dependency>libXext</Dependency>
|
||||
<Dependency>alsa-lib</Dependency>
|
||||
@@ -51,8 +48,6 @@
|
||||
<Dependency>libvisual</Dependency>
|
||||
<Dependency>libtheora</Dependency>
|
||||
<Dependency>orc</Dependency>
|
||||
<Dependency>libSM</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -72,6 +67,7 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">gst-plugins-base-next</Dependency>
|
||||
<Dependency>gstreamer-next-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
major = ".".join(get.srcVERSION().split(".")[:2])
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("src/Makefile", "^CFLAGS.*$", "CFLAGS=%s -fPIC -DLUA_USE_LINUX" % get.CFLAGS())
|
||||
pisitools.dosed("src/Makefile", "^MYLDFLAGS.*$", "MYLDFLAGS=%s" % get.LDFLAGS())
|
||||
pisitools.dosed("lua.pc", "%VER%", "%s" % major)
|
||||
pisitools.dosed("lua.pc", "%REL%", "%s" % get.srcVERSION())
|
||||
|
||||
def build():
|
||||
autotools.make("linux")
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("INSTALL_TOP=%s/usr INSTALL_MAN=%s/usr/share/man/ TO_LIB='liblua.so liblua.so.5.2 liblua.so.5.2.4'" % (get.installDIR(),get.installDIR()))
|
||||
|
||||
pisitools.insinto("/usr/lib/pkgconfig", "lua.pc")
|
||||
pisitools.insinto("/usr/lib/pkgconfig", "lua.pc", "lua5.2.pc")
|
||||
|
||||
#free directory
|
||||
pisitools.removeDir("usr/lib/lua/")
|
||||
pisitools.removeDir("usr/share/lua/")
|
||||
|
||||
pisitools.dohtml("doc")
|
||||
pisitools.dodoc("README")
|
||||
@@ -0,0 +1,22 @@
|
||||
Index: lua-5.1.4/src/Makefile
|
||||
===================================================================
|
||||
--- lua-5.1.4.orig/src/Makefile
|
||||
+++ lua-5.1.4/src/Makefile
|
||||
@@ -53,7 +53,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
- $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
|
||||
+ $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LUA_O) $(LIBS)
|
||||
rm -f liblua.so
|
||||
ln -fs $@ liblua.so
|
||||
|
||||
@@ -102,7 +102,7 @@ generic:
|
||||
$(MAKE) all MYCFLAGS=
|
||||
|
||||
linux:
|
||||
- $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
|
||||
+ $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-ldl -lreadline -lhistory -lncurses"
|
||||
|
||||
macosx:
|
||||
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"
|
||||
@@ -0,0 +1,47 @@
|
||||
--- Makefile~ 2008-08-12 03:40:48.000000000 +0300
|
||||
+++ Makefile 2009-01-02 17:16:41.000000000 +0200
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
# Where to install. The installation starts in the src and doc directories,
|
||||
# so take care if INSTALL_TOP is not an absolute path.
|
||||
-INSTALL_TOP= /usr/local
|
||||
+INSTALL_TOP= /usr
|
||||
INSTALL_BIN= $(INSTALL_TOP)/bin
|
||||
INSTALL_INC= $(INSTALL_TOP)/include
|
||||
INSTALL_LIB= $(INSTALL_TOP)/lib
|
||||
-INSTALL_MAN= $(INSTALL_TOP)/man/man1
|
||||
+INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
|
||||
#
|
||||
# You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
|
||||
# LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
|
||||
INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
|
||||
-INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
|
||||
+INSTALL_CMOD= $(INSTALL_TOP)/lib
|
||||
|
||||
# How to install. If your install program does not support "-p", then you
|
||||
# may have to run ranlib on the installed liblua.a (do "make ranlib").
|
||||
@@ -43,7 +43,7 @@
|
||||
# What to install.
|
||||
TO_BIN= lua luac
|
||||
TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
|
||||
-TO_LIB= liblua.a
|
||||
+TO_LIB= liblua.so.$V
|
||||
TO_MAN= lua.1 luac.1
|
||||
|
||||
# Lua version and release.
|
||||
--- etc/lua.pc~ 2008-08-08 15:46:11.000000000 +0300
|
||||
+++ etc/lua.pc 2009-01-02 17:17:32.000000000 +0200
|
||||
@@ -8,11 +8,11 @@
|
||||
R= 5.1.4
|
||||
|
||||
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
|
||||
-prefix= /usr/local
|
||||
+prefix= /usr
|
||||
INSTALL_BIN= ${prefix}/bin
|
||||
INSTALL_INC= ${prefix}/include
|
||||
INSTALL_LIB= ${prefix}/lib
|
||||
-INSTALL_MAN= ${prefix}/man/man1
|
||||
+INSTALL_MAN= ${prefix}/share/man/man1
|
||||
INSTALL_LMOD= ${prefix}/share/lua/${V}
|
||||
INSTALL_CMOD= ${prefix}/lib/lua/${V}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
diff -ru lua-5.2.1/Makefile lua-5.2.1.new/Makefile
|
||||
--- lua-5.2.1/Makefile 2012-05-17 16:05:54.000000000 +0200
|
||||
+++ lua-5.2.1.new/Makefile 2012-09-12 22:39:07.162748096 +0200
|
||||
@@ -52,7 +52,7 @@
|
||||
all: $(PLAT)
|
||||
|
||||
$(PLATS) clean:
|
||||
- cd src && $(MAKE) $@
|
||||
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
|
||||
|
||||
test: dummy
|
||||
src/lua -v
|
||||
diff -ru lua-5.2.1/src/luaconf.h lua-5.2.1.new/src/luaconf.h
|
||||
--- lua-5.2.1/src/luaconf.h 2012-05-11 16:14:42.000000000 +0200
|
||||
+++ lua-5.2.1.new/src/luaconf.h 2012-09-12 22:40:27.986622772 +0200
|
||||
@@ -100,7 +100,7 @@
|
||||
#else /* }{ */
|
||||
|
||||
#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"
|
||||
-#define LUA_ROOT "/usr/local/"
|
||||
+#define LUA_ROOT "/usr/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR
|
||||
#define LUA_PATH_DEFAULT \
|
||||
diff -ru lua-5.2.1/src/Makefile lua-5.2.1.new/src/Makefile
|
||||
--- lua-5.2.1/src/Makefile 2012-03-09 17:32:16.000000000 +0100
|
||||
+++ lua-5.2.1.new/src/Makefile 2012-09-12 22:38:08.591386896 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
|
||||
|
||||
LUA_A= liblua.a
|
||||
+LUA_SO= liblua.so
|
||||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
||||
lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \
|
||||
ltm.o lundump.o lvm.o lzio.o
|
||||
@@ -43,7 +44,7 @@
|
||||
LUAC_O= luac.o
|
||||
|
||||
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
||||
ALL_A= $(LUA_A)
|
||||
|
||||
# Targets start here.
|
||||
@@ -59,6 +60,12 @@
|
||||
$(AR) $@ $(BASE_O)
|
||||
$(RANLIB) $@
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
||||
+
|
||||
+
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
--- ./src/Makefile.dynlib 2006-03-22 01:41:49.000000000 +0100
|
||||
+++ ./src/Makefile 2006-08-17 10:49:36.000000000 +0200
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
PLATS= aix ansi bsd generic linux macosx mingw posix solaris
|
||||
|
||||
+LUA_SO= liblua.so.$(V)
|
||||
LUA_A= liblua.a
|
||||
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
|
||||
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
|
||||
@@ -36,7 +37,7 @@
|
||||
LUAC_O= luac.o print.o
|
||||
|
||||
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
||||
ALL_A= $(LUA_A)
|
||||
|
||||
default: $(PLAT)
|
||||
@@ -51,6 +52,11 @@
|
||||
$(AR) $@ $?
|
||||
$(RANLIB) $@
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
|
||||
+ rm -f liblua.so
|
||||
+ ln -fs $@ liblua.so
|
||||
+
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
|
||||
--- ./Makefile.dynlib 2006-06-02 12:53:38.000000000 +0200
|
||||
+++ ./Makefile 2006-08-17 10:47:54.000000000 +0200
|
||||
@@ -52,7 +52,7 @@
|
||||
all: $(PLAT)
|
||||
|
||||
$(PLATS) clean:
|
||||
- cd src && $(MAKE) $@
|
||||
+ cd src && $(MAKE) V=$(V) $@
|
||||
|
||||
test: dummy
|
||||
src/lua test/hello.lua
|
||||
@@ -0,0 +1,30 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## src_luaconf.h.dpatch by John V. Belmonte <jbelmonte@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: Set Lua's default PATH and CPATH.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad trunk~/src/luaconf.h trunk/src/luaconf.h
|
||||
--- trunk~/src/luaconf.h 2006-02-10 12:44:06.000000000 -0500
|
||||
+++ trunk/src/luaconf.h 2006-02-17 21:32:55.000000000 -0500
|
||||
@@ -83,13 +83,17 @@
|
||||
|
||||
#else
|
||||
#define LUA_ROOT "/usr/local/"
|
||||
+#define LUA_ROOT2 "/usr/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||
+#define LUA_LDIR2 LUA_ROOT2 "share/lua/5.1/"
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||
+#define LUA_CDIR2 LUA_ROOT2 "lib/lua/5.1/"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
||||
- LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
|
||||
+ LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
|
||||
+ LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua"
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
- "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
|
||||
+ "./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR"loadall.so"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
Index: lua-5.1.4/etc/lua.pc
|
||||
===================================================================
|
||||
--- lua-5.1.4.orig/etc/lua.pc
|
||||
+++ lua-5.1.4/etc/lua.pc
|
||||
@@ -18,14 +18,13 @@ INSTALL_CMOD= ${prefix}/lib/lua/${V}
|
||||
|
||||
# canonical vars
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: Lua
|
||||
Description: An Extensible Extension Language
|
||||
Version: ${R}
|
||||
Requires:
|
||||
-Libs: -L${libdir} -llua -lm
|
||||
+Libs: -llua -lm
|
||||
Cflags: -I${includedir}
|
||||
|
||||
# (end of lua.pc)
|
||||
@@ -0,0 +1,20 @@
|
||||
V=%VER%
|
||||
R=%REL%
|
||||
|
||||
prefix=/usr
|
||||
INSTALL_BIN=${prefix}/bin
|
||||
INSTALL_INC=${prefix}/include
|
||||
INSTALL_LIB=${prefix}/lib
|
||||
INSTALL_MAN=${prefix}/man/man1
|
||||
INSTALL_LMOD=${prefix}/share/lua/${V}
|
||||
INSTALL_CMOD=${prefix}/lib/lua/${V}
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: Lua
|
||||
Description: An Extensible Extension Language
|
||||
Version: ${R}
|
||||
Requires:
|
||||
Libs: -L${libdir} -llua -lm
|
||||
Cflags: -I${includedir}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 529 B |
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lua</Name>
|
||||
<Homepage>http://www.lua.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A light-weight programming language</Summary>
|
||||
<Description>lua is a powerful light-weight programming language designed for extending applications.</Description>
|
||||
<Archive sha1sum="ef15259421197e3d85b7d6e4871b8c26fd82c1cf" type="targz">http://www.lua.org/ftp/lua-5.2.4.tar.gz</Archive>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="lua.pc">lua.pc</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
<BuildDependencies>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">liblua.so.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lua</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>readline</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/lua.png">lua.png</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>lua-devel</Name>
|
||||
<Summary>Development files for lua</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">lua</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="4">
|
||||
<Date>2015-06-03</Date>
|
||||
<Version>5.2.4</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Vedat Demir</Name>
|
||||
<Email>vedat@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="3">
|
||||
<Date>2015-02-01</Date>
|
||||
<Version>5.2.3</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="2">
|
||||
<Date>2014-05-30</Date>
|
||||
<Version>5.1.5</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Alihan Öztürk</Name>
|
||||
<Email>alihan@pisilinux.org</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2010-10-13</Date>
|
||||
<Version>5.1.4</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Pisi Linux Admins</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lua</Name>
|
||||
<Summary xml:lang="tr">Hafif bir programlama dili</Summary>
|
||||
<Description xml:lang="tr">lua, uygulamaları genişletmek için tasarlanmış hafif ve güçlü bir programlama dilidir.</Description>
|
||||
<Description xml:lang="es">Lua es un lenguaje de programación liviano y potente con todas las herramientas imaginables</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lua-devel</Name>
|
||||
<Summary xml:lang="tr">lua için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file http://www.gnu.org/licenses/gpl.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
def build():
|
||||
shelltools.system("sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' \
|
||||
-i src/Makefile")
|
||||
pisitools.dosed("src/Makefile", "^CFLAGS.*$", "CFLAGS=%s -DLUA_USE_LINUX" % get.CFLAGS())
|
||||
pisitools.dosed("src/Makefile", "^MYLDFLAGS.*$", "MYLDFLAGS=%s" % get.LDFLAGS())
|
||||
autotools.make("linux")
|
||||
|
||||
def install():
|
||||
options = "TO_BIN=\"lua5.1 luac5.1\" \
|
||||
TO_LIB=\"liblua5.1.a liblua5.1.so liblua5.1.so.5.1 liblua5.1.so.5.1.5 \" \
|
||||
INSTALL_DATA=\"cp -d\" \
|
||||
INSTALL_TOP=\"%s/usr\" \
|
||||
INSTALL_INC=\"%s/usr/include/lua5.1\" \
|
||||
INSTALL_MAN=%s/usr/share/man/man1" % (get.installDIR(),get.installDIR(),get.installDIR())
|
||||
autotools.rawInstall(options)
|
||||
|
||||
pisitools.removeDir("/usr/share/lua")
|
||||
pisitools.removeDir("/usr/lib/lua")
|
||||
|
||||
pisitools.dosym("/usr/lib/liblua5.1.so", "/usr/lib/liblua.so.5.1")
|
||||
|
||||
docs = [ "*.html", "*.png", "*.css", "*.gif" ]
|
||||
for d in docs:
|
||||
pisitools.insinto("/usr/share/doc/lua", "doc/%s" % d)
|
||||
pisitools.rename("/usr/share/man/man1/lua.1", "lua.5.1.1")
|
||||
pisitools.rename("/usr/share/man/man1/luac.1", "luac.5.1.1")
|
||||
@@ -0,0 +1,21 @@
|
||||
From cc96b1f12a6549559274c6e7359edd576a55e4d2 Mon Sep 17 00:00:00 2001
|
||||
From: Ikey Doherty <ikey@evolve-os.com>
|
||||
Date: Sat, 24 Jan 2015 10:42:47 +0000
|
||||
Subject: [PATCH] Use /usr, not /usr/local.
|
||||
---
|
||||
src/luaconf.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
diff --git a/src/luaconf.h b/src/luaconf.h
|
||||
index e2cb261..19692f3 100644
|
||||
--- a/src/luaconf.h
|
||||
+++ b/src/luaconf.h
|
||||
@@ -94,7 +94,7 @@
|
||||
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
||||
#else
|
||||
-#define LUA_ROOT "/usr/local/"
|
||||
+#define LUA_ROOT "/usr/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
--
|
||||
1.8.4
|
||||
@@ -0,0 +1,22 @@
|
||||
Index: lua-5.1.4/src/Makefile
|
||||
===================================================================
|
||||
--- lua-5.1.4.orig/src/Makefile
|
||||
+++ lua-5.1.4/src/Makefile
|
||||
@@ -53,7 +53,7 @@ $(LUA_A): $(CORE_O) $(LIB_O)
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
- $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
|
||||
+ $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LUA_O) $(LIBS)
|
||||
rm -f liblua.so
|
||||
ln -fs $@ liblua.so
|
||||
|
||||
@@ -102,7 +102,7 @@ generic:
|
||||
$(MAKE) all MYCFLAGS=
|
||||
|
||||
linux:
|
||||
- $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
|
||||
+ $(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-ldl -lreadline -lhistory -lncurses"
|
||||
|
||||
macosx:
|
||||
$(MAKE) all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-lreadline"
|
||||
@@ -0,0 +1,47 @@
|
||||
--- Makefile~ 2008-08-12 03:40:48.000000000 +0300
|
||||
+++ Makefile 2009-01-02 17:16:41.000000000 +0200
|
||||
@@ -9,16 +9,16 @@
|
||||
|
||||
# Where to install. The installation starts in the src and doc directories,
|
||||
# so take care if INSTALL_TOP is not an absolute path.
|
||||
-INSTALL_TOP= /usr/local
|
||||
+INSTALL_TOP= /usr
|
||||
INSTALL_BIN= $(INSTALL_TOP)/bin
|
||||
INSTALL_INC= $(INSTALL_TOP)/include
|
||||
INSTALL_LIB= $(INSTALL_TOP)/lib
|
||||
-INSTALL_MAN= $(INSTALL_TOP)/man/man1
|
||||
+INSTALL_MAN= $(INSTALL_TOP)/share/man/man1
|
||||
#
|
||||
# You probably want to make INSTALL_LMOD and INSTALL_CMOD consistent with
|
||||
# LUA_ROOT, LUA_LDIR, and LUA_CDIR in luaconf.h (and also with etc/lua.pc).
|
||||
INSTALL_LMOD= $(INSTALL_TOP)/share/lua/$V
|
||||
-INSTALL_CMOD= $(INSTALL_TOP)/lib/lua/$V
|
||||
+INSTALL_CMOD= $(INSTALL_TOP)/lib
|
||||
|
||||
# How to install. If your install program does not support "-p", then you
|
||||
# may have to run ranlib on the installed liblua.a (do "make ranlib").
|
||||
@@ -43,7 +43,7 @@
|
||||
# What to install.
|
||||
TO_BIN= lua luac
|
||||
TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
|
||||
-TO_LIB= liblua.a
|
||||
+TO_LIB= liblua.so.$V
|
||||
TO_MAN= lua.1 luac.1
|
||||
|
||||
# Lua version and release.
|
||||
--- etc/lua.pc~ 2008-08-08 15:46:11.000000000 +0300
|
||||
+++ etc/lua.pc 2009-01-02 17:17:32.000000000 +0200
|
||||
@@ -8,11 +8,11 @@
|
||||
R= 5.1.4
|
||||
|
||||
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
|
||||
-prefix= /usr/local
|
||||
+prefix= /usr
|
||||
INSTALL_BIN= ${prefix}/bin
|
||||
INSTALL_INC= ${prefix}/include
|
||||
INSTALL_LIB= ${prefix}/lib
|
||||
-INSTALL_MAN= ${prefix}/man/man1
|
||||
+INSTALL_MAN= ${prefix}/share/man/man1
|
||||
INSTALL_LMOD= ${prefix}/share/lua/${V}
|
||||
INSTALL_CMOD= ${prefix}/lib/lua/${V}
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
diff -ru lua-5.2.1/Makefile lua-5.2.1.new/Makefile
|
||||
--- lua-5.2.1/Makefile 2012-05-17 16:05:54.000000000 +0200
|
||||
+++ lua-5.2.1.new/Makefile 2012-09-12 22:39:07.162748096 +0200
|
||||
@@ -52,7 +52,7 @@
|
||||
all: $(PLAT)
|
||||
|
||||
$(PLATS) clean:
|
||||
- cd src && $(MAKE) $@
|
||||
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
|
||||
|
||||
test: dummy
|
||||
src/lua -v
|
||||
diff -ru lua-5.2.1/src/luaconf.h lua-5.2.1.new/src/luaconf.h
|
||||
--- lua-5.2.1/src/luaconf.h 2012-05-11 16:14:42.000000000 +0200
|
||||
+++ lua-5.2.1.new/src/luaconf.h 2012-09-12 22:40:27.986622772 +0200
|
||||
@@ -100,7 +100,7 @@
|
||||
#else /* }{ */
|
||||
|
||||
#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"
|
||||
-#define LUA_ROOT "/usr/local/"
|
||||
+#define LUA_ROOT "/usr/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR
|
||||
#define LUA_PATH_DEFAULT \
|
||||
diff -ru lua-5.2.1/src/Makefile lua-5.2.1.new/src/Makefile
|
||||
--- lua-5.2.1/src/Makefile 2012-03-09 17:32:16.000000000 +0100
|
||||
+++ lua-5.2.1.new/src/Makefile 2012-09-12 22:38:08.591386896 +0200
|
||||
@@ -29,6 +29,7 @@
|
||||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
|
||||
|
||||
LUA_A= liblua.a
|
||||
+LUA_SO= liblua.so
|
||||
CORE_O= lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o \
|
||||
lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o \
|
||||
ltm.o lundump.o lvm.o lzio.o
|
||||
@@ -43,7 +44,7 @@
|
||||
LUAC_O= luac.o
|
||||
|
||||
ALL_O= $(BASE_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
||||
ALL_A= $(LUA_A)
|
||||
|
||||
# Targets start here.
|
||||
@@ -59,6 +60,12 @@
|
||||
$(AR) $@ $(BASE_O)
|
||||
$(RANLIB) $@
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
||||
+
|
||||
+
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(LDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
diff -Naur lua-5.1.orig/src/Makefile lua-5.1/src/Makefile
|
||||
--- lua-5.1.orig/src/Makefile 2006-02-16 16:45:09.000000000 +0100
|
||||
+++ lua-5.1/src/Makefile 2006-03-01 14:55:29.000000000 +0100
|
||||
@@ -8,7 +8,8 @@
|
||||
PLAT= none
|
||||
|
||||
CC= gcc
|
||||
-CFLAGS= -O2 -Wall $(MYCFLAGS)
|
||||
+CFLAGS ?= -O2 -Wall
|
||||
+CFLAGS += $(MYCFLAGS)
|
||||
AR= ar rcu
|
||||
RANLIB= ranlib
|
||||
RM= rm -f
|
||||
@@ -0,0 +1,42 @@
|
||||
--- ./src/Makefile.dynlib 2006-03-22 01:41:49.000000000 +0100
|
||||
+++ ./src/Makefile 2006-08-17 10:49:36.000000000 +0200
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
PLATS= aix ansi bsd generic linux macosx mingw posix solaris
|
||||
|
||||
+LUA_SO= liblua.so.$(V)
|
||||
LUA_A= liblua.a
|
||||
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
|
||||
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
|
||||
@@ -36,7 +37,7 @@
|
||||
LUAC_O= luac.o print.o
|
||||
|
||||
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
||||
ALL_A= $(LUA_A)
|
||||
|
||||
default: $(PLAT)
|
||||
@@ -51,6 +52,11 @@
|
||||
$(AR) $@ $?
|
||||
$(RANLIB) $@
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -Wl,-soname=liblua.so.$(V) -shared -o $@ $(MYLDFLAGS) $? $(LIBS) $(LUA_O)
|
||||
+ rm -f liblua.so
|
||||
+ ln -fs $@ liblua.so
|
||||
+
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
|
||||
--- ./Makefile.dynlib 2006-06-02 12:53:38.000000000 +0200
|
||||
+++ ./Makefile 2006-08-17 10:47:54.000000000 +0200
|
||||
@@ -52,7 +52,7 @@
|
||||
all: $(PLAT)
|
||||
|
||||
$(PLATS) clean:
|
||||
- cd src && $(MAKE) $@
|
||||
+ cd src && $(MAKE) V=$(V) $@
|
||||
|
||||
test: dummy
|
||||
src/lua test/hello.lua
|
||||
@@ -0,0 +1,30 @@
|
||||
#! /bin/sh /usr/share/dpatch/dpatch-run
|
||||
## src_luaconf.h.dpatch by John V. Belmonte <jbelmonte@debian.org>
|
||||
##
|
||||
## All lines beginning with `## DP:' are a description of the patch.
|
||||
## DP: Set Lua's default PATH and CPATH.
|
||||
|
||||
@DPATCH@
|
||||
diff -urNad trunk~/src/luaconf.h trunk/src/luaconf.h
|
||||
--- trunk~/src/luaconf.h 2006-02-10 12:44:06.000000000 -0500
|
||||
+++ trunk/src/luaconf.h 2006-02-17 21:32:55.000000000 -0500
|
||||
@@ -83,13 +83,17 @@
|
||||
|
||||
#else
|
||||
#define LUA_ROOT "/usr/local/"
|
||||
+#define LUA_ROOT2 "/usr/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||
+#define LUA_LDIR2 LUA_ROOT2 "share/lua/5.1/"
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||
+#define LUA_CDIR2 LUA_ROOT2 "lib/lua/5.1/"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
"./?.lua;" LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \
|
||||
- LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua"
|
||||
+ LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \
|
||||
+ LUA_LDIR2"?.lua;" LUA_LDIR2"?/init.lua"
|
||||
#define LUA_CPATH_DEFAULT \
|
||||
- "./?.so;" LUA_CDIR"?.so;" LUA_CDIR"loadall.so"
|
||||
+ "./?.so;" LUA_CDIR"?.so;" LUA_CDIR2"?.so;" LUA_CDIR"loadall.so"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
Index: lua-5.1.4/etc/lua.pc
|
||||
===================================================================
|
||||
--- lua-5.1.4.orig/etc/lua.pc
|
||||
+++ lua-5.1.4/etc/lua.pc
|
||||
@@ -18,14 +18,13 @@ INSTALL_CMOD= ${prefix}/lib/lua/${V}
|
||||
|
||||
# canonical vars
|
||||
exec_prefix=${prefix}
|
||||
-libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
|
||||
Name: Lua
|
||||
Description: An Extensible Extension Language
|
||||
Version: ${R}
|
||||
Requires:
|
||||
-Libs: -L${libdir} -llua -lm
|
||||
+Libs: -llua -lm
|
||||
Cflags: -I${includedir}
|
||||
|
||||
# (end of lua.pc)
|
||||
@@ -0,0 +1,18 @@
|
||||
V=5.1
|
||||
R=5.1.5
|
||||
prefix=/usr
|
||||
INSTALL_BIN=${prefix}/bin
|
||||
INSTALL_INC=${prefix}/include
|
||||
INSTALL_LIB=${prefix}/lib
|
||||
INSTALL_MAN=${prefix}/man/man1
|
||||
INSTALL_LMOD=${prefix}/share/lua/${V}
|
||||
INSTALL_CMOD=${prefix}/lib/lua/${V}
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
Name: Lua
|
||||
Description: An Extensible Extension Language
|
||||
Version: ${R}
|
||||
Requires:
|
||||
Libs: -L${libdir} -llua -lm
|
||||
Cflags: -I${includedir}
|
||||
@@ -0,0 +1,66 @@
|
||||
diff -ur lua-5.1.4/etc/lua.pc lua-5.1.4-new/etc/lua.pc
|
||||
--- lua-5.1.4/etc/lua.pc 2008-08-08 14:46:11.000000000 +0200
|
||||
+++ lua-5.1.4-new/etc/lua.pc 2012-02-23 18:25:34.000000000 +0100
|
||||
@@ -8,6 +8,6 @@
|
||||
|
||||
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
|
||||
-prefix= /usr/local
|
||||
+prefix= /usr
|
||||
INSTALL_BIN= ${prefix}/bin
|
||||
INSTALL_INC= ${prefix}/include
|
||||
INSTALL_LIB= ${prefix}/lib
|
||||
diff -ur lua-5.1.4/src/luaconf.h lua-5.1.4-new/src/luaconf.h
|
||||
--- lua-5.1.4/src/luaconf.h 2008-02-11 17:25:08.000000000 +0100
|
||||
+++ lua-5.1.4-new/src/luaconf.h 2012-02-23 18:25:34.000000000 +0100
|
||||
@@ -94,7 +94,7 @@
|
||||
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
||||
|
||||
#else
|
||||
-#define LUA_ROOT "/usr/local/"
|
||||
+#define LUA_ROOT "/usr/"
|
||||
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
||||
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
||||
#define LUA_PATH_DEFAULT \
|
||||
diff -ur lua-5.1.4/src/Makefile lua-5.1.4-new/src/Makefile
|
||||
--- lua-5.1.4/src/Makefile 2008-01-19 20:37:58.000000000 +0100
|
||||
+++ lua-5.1.4-new/src/Makefile 2012-02-23 18:26:43.000000000 +0100
|
||||
@@ -23,6 +23,7 @@
|
||||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
|
||||
|
||||
LUA_A= liblua.a
|
||||
+LUA_SO= liblua.so
|
||||
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
|
||||
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
|
||||
lundump.o lvm.o lzio.o
|
||||
@@ -36,7 +37,7 @@
|
||||
LUAC_O= luac.o print.o
|
||||
|
||||
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ALL_T= $(LUA_A) $(LUA_SO) $(LUA_T) $(LUAC_T)
|
||||
ALL_A= $(LUA_A)
|
||||
|
||||
default: $(PLAT)
|
||||
@@ -51,6 +52,11 @@
|
||||
$(AR) $@ $?
|
||||
$(RANLIB) $@
|
||||
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
||||
+
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
|
||||
--- lua-5.1.4/Makefile 2008-08-12 02:40:48.000000000 +0200
|
||||
+++ lua-5.1.4-new/Makefile 2012-02-23 19:06:32.000000000 +0100
|
||||
@@ -53,7 +53,7 @@
|
||||
all: $(PLAT)
|
||||
|
||||
$(PLATS) clean:
|
||||
- cd src && $(MAKE) $@
|
||||
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
|
||||
|
||||
test: dummy
|
||||
src/lua test/hello.lua
|
||||
@@ -0,0 +1,20 @@
|
||||
V=5.1
|
||||
R=5.1.5
|
||||
|
||||
prefix=/usr
|
||||
INSTALL_BIN=${prefix}/bin
|
||||
INSTALL_INC= ${prefix}/include/lua5.1
|
||||
INSTALL_LIB=${prefix}/lib
|
||||
INSTALL_MAN=${prefix}/man/man1
|
||||
INSTALL_LMOD=${prefix}/share/lua/${V}
|
||||
INSTALL_CMOD=${prefix}/lib/lua/${V}
|
||||
exec_prefix=${prefix}
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include/lua5.1
|
||||
|
||||
Name: Lua
|
||||
Description: An Extensible Extension Language
|
||||
Version: ${R}
|
||||
Requires:
|
||||
Libs: -L${libdir} -llua5.1 -lm
|
||||
Cflags: -I${includedir}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 529 B |
@@ -0,0 +1,51 @@
|
||||
ubmitted By: Igor Živković <contact at igor hyphen zivkovic dot from dot hr>
|
||||
Date: 2013-07-17
|
||||
Initial Package Version: 5.1.5
|
||||
Upstream Status: Rejected
|
||||
Origin: Arch Linux packages repository
|
||||
Description: Adds the compilation of a shared library.
|
||||
diff -Naur lua-5.1.5.orig/Makefile lua-5.1.5/Makefile
|
||||
--- lua-5.1.5.orig/Makefile 2012-02-10 10:50:23.000000000 +0100
|
||||
+++ lua-5.1.5/Makefile 2013-07-17 18:57:36.498528022 +0200
|
||||
@@ -53,7 +53,7 @@
|
||||
all: $(PLAT)
|
||||
$(PLATS) clean:
|
||||
- cd src && $(MAKE) $@
|
||||
+ cd src && $(MAKE) $@ V=$(V) R=$(R)
|
||||
test: dummy
|
||||
src/lua test/hello.lua
|
||||
diff -Naur lua-5.1.5.orig/src/Makefile lua-5.1.5/src/Makefile
|
||||
--- lua-5.1.5.orig/src/Makefile 2012-02-13 21:41:22.000000000 +0100
|
||||
+++ lua-5.1.5/src/Makefile 2013-07-17 19:00:46.142921587 +0200
|
||||
@@ -8,7 +8,7 @@
|
||||
PLAT= none
|
||||
CC= gcc
|
||||
-CFLAGS= -O2 -Wall $(MYCFLAGS)
|
||||
+CFLAGS= -fPIC -O2 -Wall $(MYCFLAGS)
|
||||
AR= ar rcu
|
||||
RANLIB= ranlib
|
||||
RM= rm -f
|
||||
@@ -23,6 +23,7 @@
|
||||
PLATS= aix ansi bsd freebsd generic linux macosx mingw posix solaris
|
||||
LUA_A= liblua.a
|
||||
+LUA_SO= liblua.so
|
||||
CORE_O= lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
|
||||
lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o \
|
||||
lundump.o lvm.o lzio.o
|
||||
@@ -36,7 +37,7 @@
|
||||
LUAC_O= luac.o print.o
|
||||
ALL_O= $(CORE_O) $(LIB_O) $(LUA_O) $(LUAC_O)
|
||||
-ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T)
|
||||
+ALL_T= $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
|
||||
ALL_A= $(LUA_A)
|
||||
default: $(PLAT)
|
||||
@@ -51,6 +52,11 @@
|
||||
$(AR) $@ $(CORE_O) $(LIB_O) # DLL needs all object files
|
||||
$(RANLIB) $@
|
||||
+$(LUA_SO): $(CORE_O) $(LIB_O)
|
||||
+ $(CC) -shared -ldl -Wl,-soname,$(LUA_SO).$(V) -o $@.$(R) $? -lm $(MYLDFLAGS)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO).$(V)
|
||||
+ ln -sf $(LUA_SO).$(R) $(LUA_SO)
|
||||
+
|
||||
$(LUA_T): $(LUA_O) $(LUA_A)
|
||||
$(CC) -o $@ $(MYLDFLAGS) $(LUA_O) $(LUA_A) $(LIBS)
|
||||
@@ -0,0 +1,75 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lua51</Name>
|
||||
<Homepage>http://www.lua.org</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv2</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>A light-weight programming language</Summary>
|
||||
<Description>lua51 is a powerful light-weight programming language designed for extending applications.</Description>
|
||||
<Archive sha1sum="b3882111ad02ecc6b972f8c1241647905cb2e3fc" type="targz">http://www.lua.org/ftp/lua-5.1.5.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">lua-5.1-cflags.diff</Patch>
|
||||
<Patch level="1">lua-arch.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lua51</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>readline</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man/man1</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="executable">/sbin/lsmod</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/usr/share/lua5.1</Path>
|
||||
<Path fileType="data">/luac5.1.1/luac.1</Path>
|
||||
<Path fileType="data">/lua5.1.1/lua.1</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/lua51.png">lua.png</AdditionalFile>
|
||||
<AdditionalFile target="/usr/lib/pkgconfig/lua5.1.pc" permission="644">lua.pc</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>lua51-devel</Name>
|
||||
<Summary>Development files for lua51</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">lua51</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2015-05-09</Date>
|
||||
<Version>5.1.5</Version>
|
||||
<Comment>fixed libraries and man pages</Comment>
|
||||
<Name>Hakan Yıldız</Name>
|
||||
<Email>hknyldz93@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2015-02-01</Date>
|
||||
<Version>5.1.5</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lua51</Name>
|
||||
<Summary xml:lang="tr">Hafif bir programlama dili</Summary>
|
||||
<Description xml:lang="tr">lua51, uygulamaları genişletmek için tasarlanmış hafif ve güçlü bir programlama dilidir.</Description>
|
||||
<Description xml:lang="es">Lua51 es un lenguaje de programación liviano y potente con todas las herramientas imaginables</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lua51-devel</Name>
|
||||
<Summary xml:lang="tr">lua51 için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user