libfm rebuild with gtk+-3
This commit is contained in:
@@ -1,28 +1,26 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
|
from pisi.actionsapi import autotools, pisitools, get
|
||||||
|
|
||||||
from pisi.actionsapi import shelltools
|
i = ''.join([
|
||||||
from pisi.actionsapi import get
|
' --enable-udisks',
|
||||||
from pisi.actionsapi import pisitools
|
' --disable-static',
|
||||||
from pisi.actionsapi import autotools
|
' --disable-old-actions',
|
||||||
|
' --with-gtk=3 '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.system("./autogen.sh")
|
pisitools.cflags.add("-Wno-deprecated-declarations -Wno-incompatible-pointer-types")
|
||||||
autotools.configure("--sysconfdir=/etc \
|
autotools.configure(i)
|
||||||
--with-extra-only \
|
|
||||||
--with-gtk=no \
|
pisitools.dosed("libtool", " -shared ", " -Wl,-O2,--as-needed -shared ")
|
||||||
--disable-static")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
pisitools.remove("/usr/include/libfm")
|
|
||||||
pisitools.dodir("/usr/include/libfm")
|
|
||||||
pisitools.domove("/usr/include/libfm-1.0/*", "/usr/include/libfm")
|
|
||||||
pisitools.removeDir("/usr/include/libfm-1.0")
|
|
||||||
pisitools.dodoc("AUTHORS", "COPYING")
|
|
||||||
|
|||||||
@@ -1,63 +1,131 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>libfm-extra</Name>
|
<Name>libfilemanager-lxde</Name>
|
||||||
<Homepage>https://www.lxde.org/</Homepage>
|
<Homepage>https://github.com/lxde/libfm</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Ayhan Yalçınsoy</Name>
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>GPL2</License>
|
<License>GPL-2</License>
|
||||||
<Icon>lxqt</Icon>
|
<IsA>library</IsA>
|
||||||
<IsA>library</IsA>
|
<PartOf>desktop.lxde</PartOf>
|
||||||
<Summary>Core library of PCManFM file manager</Summary>
|
<Summary>Library for file management.</Summary>
|
||||||
<Description>libfm is a Core library of PCManFM file manager</Description>
|
<Description>libfm is a LXDE library for file management.</Description>
|
||||||
<Archive sha1sum="f3e3121cd2de317f84e21942f6c310b288959433" type="targz">https://github.com/lxde/libfm/archive/1.3.2.tar.gz</Archive>
|
<Archive sha1sum="7c5c14dd0615b457687966ce4e55c2d054bf93e1" type="tarxz">
|
||||||
<BuildDependencies>
|
mirrors://sourceforge/pcmanfm/libfm-1.3.2.tar.xz
|
||||||
<Dependency>gettext-devel</Dependency>
|
</Archive>
|
||||||
<Dependency>glib2-devel</Dependency>
|
<BuildDependencies>
|
||||||
<Dependency>gtk-doc</Dependency>
|
<Dependency>intltool</Dependency>
|
||||||
<Dependency>intltool</Dependency>
|
<Dependency>atk-devel</Dependency>
|
||||||
</BuildDependencies>
|
<Dependency>gtk3-devel</Dependency>
|
||||||
</Source>
|
<Dependency>glib2-devel</Dependency>
|
||||||
<Package>
|
<Dependency>cairo-devel</Dependency>
|
||||||
<Name>libfm-extra</Name>
|
<Dependency>pango-devel</Dependency>
|
||||||
<Summary>Development headers for libfm-qt</Summary>
|
<Dependency>udisks2-devel</Dependency>
|
||||||
<RuntimeDependencies>
|
<Dependency>libexif-devel</Dependency>
|
||||||
<Dependency>glib2</Dependency>
|
<Dependency>gettext-devel</Dependency>
|
||||||
</RuntimeDependencies>
|
<Dependency>dbus-glib-devel</Dependency>
|
||||||
<Files>
|
<Dependency>gdk-pixbuf-devel</Dependency>
|
||||||
<Path fileType="library">/usr/lib/libfm-extra*</Path>
|
<Dependency>fontconfig-devel</Dependency>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Dependency>menu-cache-devel</Dependency>
|
||||||
</Files>
|
</BuildDependencies>
|
||||||
</Package>
|
<Patches>
|
||||||
<Package>
|
<!-- <Patch level="1">missing.patch</Patch> -->
|
||||||
<Name>libfm-extra-devel</Name>
|
</Patches>
|
||||||
<Summary>Development headers for libfm-qt</Summary>
|
</Source>
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency release="current">libfm-extra</Dependency>
|
<Package>
|
||||||
<Dependency>glib2-devel</Dependency>
|
<Name>libfilemanager-lxde</Name>
|
||||||
</RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Files>
|
<Dependency>atk</Dependency>
|
||||||
<Path fileType="header">/usr/include</Path>
|
<Dependency>gtk3</Dependency>
|
||||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
<Dependency>glib2</Dependency>
|
||||||
</Files>
|
<Dependency>cairo</Dependency>
|
||||||
</Package>
|
<Dependency>pango</Dependency>
|
||||||
<History>
|
<Dependency>udisks2</Dependency>
|
||||||
<Update release="2">
|
<Dependency>libexif</Dependency>
|
||||||
<Date>2021-04-26</Date>
|
<Dependency>dbus-glib</Dependency>
|
||||||
<Version>1.3.2</Version>
|
<Dependency>gdk-pixbuf</Dependency>
|
||||||
<Comment>version bump.</Comment>
|
<Dependency>fontconfig</Dependency>
|
||||||
<Name>Ayhan Yalçınsoy</Name>
|
<Dependency>menu-cache</Dependency>
|
||||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
</RuntimeDependencies>
|
||||||
</Update>
|
<Files>
|
||||||
<Update release="1">
|
<Path fileType="config">/etc/xdg</Path>
|
||||||
<Date>2020-04-06</Date>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
<Version>1.3.1</Version>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Comment>First release</Comment>
|
<Path fileType="data">/usr/share</Path>
|
||||||
<Name>Ayhan Yalçınsoy</Name>
|
<Path fileType="localedata">/usr/share/locale</Path>
|
||||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
<Path fileType="man">/usr/share/man</Path>
|
||||||
</Update>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</History>
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libfilemanager-lxde-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">libfilemanager-lxde</Dependency>
|
||||||
|
<Dependency>gtk3-devel</Dependency>
|
||||||
|
<Dependency>glib2-devel</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include</Path>
|
||||||
|
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libfm-extra</Name>
|
||||||
|
<Summary>Core library of PCManFM file manager.</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>glib2</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib/libfm-extra.so</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libfm-extra.so.4</Path>
|
||||||
|
<Path fileType="library">/usr/lib/libfm-extra.so.4.1.3</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>libfm-extra-devel</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>glib2-devel</Dependency>
|
||||||
|
<Dependency release="current">libfm-extra</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="header">/usr/include/libfm/fm-extra.h</Path>
|
||||||
|
<Path fileType="header">/usr/include/libfm/fm-version.h</Path>
|
||||||
|
<Path fileType="header">/usr/include/libfm/fm-xml-file.h</Path>
|
||||||
|
<Path fileType="header">/usr/include/libfm-1.0/fm-extra.h</Path>
|
||||||
|
<Path fileType="header">/usr/include/libfm-1.0/fm-version.h</Path>
|
||||||
|
<Path fileType="header">/usr/include/libfm-1.0/fm-xml-file.h</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig/libfm-extra.pc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="3">
|
||||||
|
<Date>2022-04-14</Date>
|
||||||
|
<Version>1.3.2</Version>
|
||||||
|
<Comment>Rebuild with gtk+3.</Comment>
|
||||||
|
<Name>fury</Name>
|
||||||
|
<Email>uglyside@yandex.ru</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2021-04-26</Date>
|
||||||
|
<Version>1.3.2</Version>
|
||||||
|
<Comment>version bump.</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-04-06</Date>
|
||||||
|
<Version>1.3.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Ayhan Yalçınsoy</Name>
|
||||||
|
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|||||||
@@ -1,14 +0,0 @@
|
|||||||
<PISI>
|
|
||||||
<Source>
|
|
||||||
<Name>libfm-qt</Name>
|
|
||||||
<Summary xml:lang="tr">LXDE dosya yönetimi kitaplıkları</Summary>
|
|
||||||
<Description xml:lang="tr">libfm-qt, LXDE için dosya yönetim kitaplıklarını içerir.</Description>
|
|
||||||
</Source>
|
|
||||||
</PISI>
|
|
||||||
<PISI>
|
|
||||||
<Source>
|
|
||||||
<Name>llibfm-qt-devel</Name>
|
|
||||||
<Summary xml:lang="tr">LXDE dosya yönetimi kitaplıkları</Summary>
|
|
||||||
<Description xml:lang="tr">libfm-qt, LXDE için dosya yönetim kitaplıklarını içerir.</Description>
|
|
||||||
</Source>
|
|
||||||
</PISI>
|
|
||||||
Reference in New Issue
Block a user