Merge pull request #766 from ertugerata/spidermonkey_update
spidermonkey and polkit update
This commit is contained in:
@@ -19,6 +19,7 @@ def setup():
|
||||
--enable-examples \
|
||||
--enable-introspection \
|
||||
--enable-libsystemd-login=no \
|
||||
--enable-libelogind=no \
|
||||
--with-systemdsystemunitdir=no \
|
||||
--disable-man-pages \
|
||||
--disable-gtk-doc \
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>PolicyKit Authorization Framework</Summary>
|
||||
<Description>polkit is a toolkit for defining and handling authorizations. It is used for allowing unprivileged processes to speak to privileged processes.</Description>
|
||||
<Archive sha1sum="ef855c2d04184dceb38e0940dc7bec9cc3da415c" type="targz">http://www.freedesktop.org/software/polkit/releases/polkit-0.113.tar.gz</Archive>
|
||||
<Archive sha1sum="208b7e44fcf0f515d067d37307af9ea1419eb305" type="targz">http://www.freedesktop.org/software/polkit/releases/polkit-0.115.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>dbus-devel</Dependency>
|
||||
<Dependency>pam-devel</Dependency>
|
||||
@@ -49,6 +49,7 @@
|
||||
<RuntimeDependencies>
|
||||
<Dependency>pam</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>expat</Dependency>
|
||||
<Dependency>spidermonkey</Dependency>
|
||||
</RuntimeDependencies>
|
||||
@@ -66,6 +67,7 @@
|
||||
<Path fileType="data">/lib/systemd</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/gettext</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/share/man/man8/pklocalauthority.8">man/pklocalauthority.8</AdditionalFile>
|
||||
@@ -83,6 +85,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2018-07-21</Date>
|
||||
<Version>0.115</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-07-20</Date>
|
||||
<Version>0.113</Version>
|
||||
|
||||
@@ -10,14 +10,16 @@ from pisi.actionsapi import shelltools
|
||||
|
||||
#WorkDir = "mozjs%s/js/src" % get.srcVERSION()
|
||||
|
||||
shelltools.export("SHELL","/bin/sh")
|
||||
|
||||
def setup():
|
||||
shelltools.cd("js/src")
|
||||
shelltools.system("sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl ")
|
||||
#shelltools.system("sed -i 's/(defined\((@TEMPLATE_FILE)\))/\1/' config/milestone.pl ")
|
||||
|
||||
|
||||
autotools.configure("--prefix=/usr \
|
||||
--enable-readline \
|
||||
--enable-threadsafe \
|
||||
--with-system-ffi \
|
||||
--with-system-nspr")
|
||||
|
||||
def build():
|
||||
@@ -29,10 +31,10 @@ def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
#for polkit
|
||||
pisitools.rename("/usr/lib/pkgconfig/mozjs-..pc", "mozjs-17.0.pc")
|
||||
pisitools.remove("usr/lib/libmozjs-..a")
|
||||
#pisitools.rename("/usr/lib/pkgconfig/mozjs-..pc", "mozjs-17.0.pc")
|
||||
#pisitools.remove("usr/lib/libmozjs-..a")
|
||||
|
||||
pisitools.dodoc("README*")
|
||||
|
||||
# add link for polkit
|
||||
pisitools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so")
|
||||
#pisitools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so")
|
||||
|
||||
@@ -12,12 +12,13 @@
|
||||
<IsA>library</IsA>
|
||||
<Summary>Stand-alone JavaScript C Library</Summary>
|
||||
<Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description>
|
||||
<Archive type="targz" sha1sum="7805174898c34e5d3c3b256117af9944ba825c89">http://ftp.mozilla.org/pub/mozilla.org/js/mozjs17.0.0.tar.gz</Archive>
|
||||
<Archive type="targz" sha1sum="1ec6399a90c7060908bfc3b96d1f1068ab2bfc78">http://ftp.gnome.org/pub/gnome/teams/releng/tarballs-needing-help/mozjs/mozjs-52.2.1gnome1.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>nspr-devel</Dependency>
|
||||
<Dependency>readline-devel</Dependency>
|
||||
<Dependency>libffi-devel</Dependency>
|
||||
<Dependency>autoconf213</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
</Patches>
|
||||
@@ -54,6 +55,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="5">
|
||||
<Date>2018-07-21</Date>
|
||||
<Version>52.2.1</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Ertuğrul Erata</Name>
|
||||
<Email>ertugrulerata@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="4">
|
||||
<Date>2018-07-19</Date>
|
||||
<Version>17.0.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user