spidermonkey and polkit update

This commit is contained in:
Ertuğrul Erata
2018-07-21 09:57:51 +03:00
parent d64a13221b
commit 4637bb3cf3
4 changed files with 34 additions and 7 deletions
+1
View File
@@ -19,6 +19,7 @@ def setup():
--enable-examples \ --enable-examples \
--enable-introspection \ --enable-introspection \
--enable-libsystemd-login=no \ --enable-libsystemd-login=no \
--enable-libelogind=no \
--with-systemdsystemunitdir=no \ --with-systemdsystemunitdir=no \
--disable-man-pages \ --disable-man-pages \
--disable-gtk-doc \ --disable-gtk-doc \
+10 -1
View File
@@ -14,7 +14,7 @@
<IsA>app:console</IsA> <IsA>app:console</IsA>
<Summary>PolicyKit Authorization Framework</Summary> <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> <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> <BuildDependencies>
<Dependency>dbus-devel</Dependency> <Dependency>dbus-devel</Dependency>
<Dependency>pam-devel</Dependency> <Dependency>pam-devel</Dependency>
@@ -49,6 +49,7 @@
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>pam</Dependency> <Dependency>pam</Dependency>
<Dependency>glib2</Dependency> <Dependency>glib2</Dependency>
<Dependency>libgcc</Dependency>
<Dependency>expat</Dependency> <Dependency>expat</Dependency>
<Dependency>spidermonkey</Dependency> <Dependency>spidermonkey</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
@@ -66,6 +67,7 @@
<Path fileType="data">/lib/systemd</Path> <Path fileType="data">/lib/systemd</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/gettext</Path>
</Files> </Files>
<AdditionalFiles> <AdditionalFiles>
<AdditionalFile owner="root" permission="0644" target="/usr/share/man/man8/pklocalauthority.8">man/pklocalauthority.8</AdditionalFile> <AdditionalFile owner="root" permission="0644" target="/usr/share/man/man8/pklocalauthority.8">man/pklocalauthority.8</AdditionalFile>
@@ -83,6 +85,13 @@
</Package> </Package>
<History> <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"> <Update release="4">
<Date>2018-07-20</Date> <Date>2018-07-20</Date>
<Version>0.113</Version> <Version>0.113</Version>
+7 -5
View File
@@ -10,14 +10,16 @@ from pisi.actionsapi import shelltools
#WorkDir = "mozjs%s/js/src" % get.srcVERSION() #WorkDir = "mozjs%s/js/src" % get.srcVERSION()
shelltools.export("SHELL","/bin/sh")
def setup(): def setup():
shelltools.cd("js/src") 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 \ autotools.configure("--prefix=/usr \
--enable-readline \ --enable-readline \
--enable-threadsafe \ --enable-threadsafe \
--with-system-ffi \
--with-system-nspr") --with-system-nspr")
def build(): def build():
@@ -29,10 +31,10 @@ def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
#for polkit #for polkit
pisitools.rename("/usr/lib/pkgconfig/mozjs-..pc", "mozjs-17.0.pc") #pisitools.rename("/usr/lib/pkgconfig/mozjs-..pc", "mozjs-17.0.pc")
pisitools.remove("usr/lib/libmozjs-..a") #pisitools.remove("usr/lib/libmozjs-..a")
pisitools.dodoc("README*") pisitools.dodoc("README*")
# add link for polkit # add link for polkit
pisitools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so") #pisitools.dosym("libmozjs-..so", "/usr/lib/libmozjs-17.0.so")
+16 -1
View File
@@ -12,12 +12,13 @@
<IsA>library</IsA> <IsA>library</IsA>
<Summary>Stand-alone JavaScript C Library</Summary> <Summary>Stand-alone JavaScript C Library</Summary>
<Description>Spidermonkey is Mozilla's C implementation of JavaScript.</Description> <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> <BuildDependencies>
<Dependency>zlib-devel</Dependency> <Dependency>zlib-devel</Dependency>
<Dependency>nspr-devel</Dependency> <Dependency>nspr-devel</Dependency>
<Dependency>readline-devel</Dependency> <Dependency>readline-devel</Dependency>
<Dependency>libffi-devel</Dependency> <Dependency>libffi-devel</Dependency>
<Dependency>autoconf213</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
</Patches> </Patches>
@@ -54,6 +55,20 @@
</Package> </Package>
<History> <History>
<Update release="6">
<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="5">
<Date>2018-07-21</Date>
<Version>52.2.1</Version>
<Comment>Rebuild</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
<Update release="4"> <Update release="4">
<Date>2018-07-19</Date> <Date>2018-07-19</Date>
<Version>17.0.0</Version> <Version>17.0.0</Version>