mate:mate-desktop is ready for Pisi Linux
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
#!/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 get
|
||||
|
||||
def setup():
|
||||
pisitools.dosed("data/caja.desktop.in*", "Exec=caja", "Exec=caja -n --sync")
|
||||
autotools.configure("--disable-static \
|
||||
--libexecdir=/usr/lib/caja \
|
||||
--enable-introspection \
|
||||
--disable-update-mimedb \
|
||||
--disable-schemas-compile")
|
||||
|
||||
# for fix unused dependency
|
||||
pisitools.dosed("libtool"," -shared ", " -Wl,--as-needed -shared ")
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("README","NEWS")
|
||||
@@ -0,0 +1,60 @@
|
||||
diff -Nuar a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2019-12-23 20:17:34.000000000 +0300
|
||||
+++ b/configure.ac 2020-02-13 14:46:07.401950610 +0300
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
dnl ===========================================================================
|
||||
|
||||
+m4_define(gdk-pixbuf_minver, 2.36.5)
|
||||
m4_define(glib_minver, 2.50.0)
|
||||
m4_define(gio_minver, 2.50.0)
|
||||
m4_define(mate_desktop_minver, 1.17.3)
|
||||
@@ -33,6 +34,7 @@
|
||||
AM_MAINTAINER_MODE
|
||||
AC_SUBST([ACLOCAL_AMFLAGS], ["\${ACLOCAL_FLAGS}"])
|
||||
|
||||
+AC_SUBST(GDKPIXBUF_REQUIRED, [gdk-pixbuf_minver])
|
||||
AC_SUBST(GLIB_REQUIRED, [glib_minver])
|
||||
AC_SUBST(GIO_REQUIRED, [gio_minver])
|
||||
AC_SUBST(MATE_DESKTOP_REQUIRED, [mate_desktop_minver])
|
||||
@@ -63,6 +65,7 @@
|
||||
AC_CHECK_LIB(m, floor)
|
||||
|
||||
PKG_CHECK_MODULES(ALL, [
|
||||
+ gdk-pixbuf-2.0 >= gdk-pixbuf_minver
|
||||
glib-2.0 >= glib_minver
|
||||
mate-desktop-2.0 >= mate_desktop_minver
|
||||
gthread-2.0
|
||||
diff -Nuar a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
|
||||
--- a/src/file-manager/fm-properties-window.c 2019-12-23 20:17:34.000000000 +0300
|
||||
+++ b/src/file-manager/fm-properties-window.c 2020-02-13 15:11:38.836946406 +0300
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "fm-properties-window.h"
|
||||
#include "fm-ditem-page.h"
|
||||
|
||||
-#define MATE_DESKTOP_USE_UNSTABLE_API
|
||||
|
||||
#include "fm-error-reporting.h"
|
||||
#include "libcaja-private/caja-mime-application-chooser.h"
|
||||
@@ -42,7 +41,6 @@
|
||||
#include <gtk/gtk.h>
|
||||
#include <gdk/gdkkeysyms.h>
|
||||
#include <glib/gi18n.h>
|
||||
-#include <libmate-desktop/mate-desktop-thumbnail.h>
|
||||
#include <libcaja-extension/caja-property-page-provider.h>
|
||||
#include <libcaja-private/caja-entry.h>
|
||||
#include <libcaja-private/caja-extensions.h>
|
||||
@@ -5622,10 +5620,11 @@
|
||||
scale = (double)gdk_pixbuf_get_height (pixbuf) /
|
||||
gdk_pixbuf_get_width (pixbuf);
|
||||
|
||||
- scaled_pixbuf = mate_desktop_thumbnail_scale_down_pixbuf
|
||||
+ scaled_pixbuf = gdk_pixbuf_scale_simple
|
||||
(pixbuf,
|
||||
PREVIEW_IMAGE_WIDTH,
|
||||
- scale * PREVIEW_IMAGE_WIDTH);
|
||||
+ scale * PREVIEW_IMAGE_WIDTH,
|
||||
+ GDK_INTERP_HYPER);
|
||||
g_object_unref (pixbuf);
|
||||
pixbuf = scaled_pixbuf;
|
||||
}
|
||||
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>caja</Name>
|
||||
<Homepage>http://www.mate-desktop.org</Homepage>
|
||||
<Packager>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2+</License>
|
||||
<License>LGPLv2+</License>
|
||||
<Icon>system-file-manager</Icon>
|
||||
<Icon>caja</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<Summary>Default file manager for the Mate desktop.</Summary>
|
||||
<Description>Caja is a file manager that allows to browse directories, preview files and launch applications.</Description>
|
||||
<Archive sha1sum="d2d0c377e4cb8fefffb70d0360fc1648d48df73f" type="tarxz">http://pub.mate-desktop.org/releases/1.22/caja-1.22.3.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>intltool</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>pango-devel</Dependency>
|
||||
<Dependency>cairo-devel</Dependency>
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>mate-common</Dependency>
|
||||
<Dependency>exempi-devel</Dependency>
|
||||
<Dependency>libexif-devel</Dependency>
|
||||
<Dependency>mate-desktop-devel</Dependency>
|
||||
<Dependency>startup-notification-devel</Dependency>
|
||||
<Dependency>libnotify-devel</Dependency>
|
||||
<Dependency>gobject-introspection-devel</Dependency>
|
||||
<Dependency>dbus-glib-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch>caja_build_fixed.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>caja</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>atk</Dependency>
|
||||
<Dependency>gtk3</Dependency>
|
||||
<Dependency>pango</Dependency>
|
||||
<Dependency>cairo</Dependency>
|
||||
<Dependency>glib2</Dependency>
|
||||
<Dependency>libSM</Dependency>
|
||||
<Dependency>libICE</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>exempi</Dependency>
|
||||
<Dependency>libexif</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>libnotify</Dependency>
|
||||
<Dependency>gdk-pixbuf</Dependency>
|
||||
<Dependency>mate-desktop</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="man">/usr/share/man</Path>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/share/mime</Path>
|
||||
<Path fileType="data">/usr/share/caja</Path>
|
||||
<Path fileType="data">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/metainfo</Path>
|
||||
<Path fileType="data">/usr/share/icons</Path>
|
||||
<Path fileType="data">/usr/share/dbus-1</Path>
|
||||
<Path fileType="data">/usr/share/gir-1.0</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="executable">/usr/libexec</Path>
|
||||
<Path fileType="data">/usr/share/glib-2.0</Path>
|
||||
<Path fileType="localedata">/usr/share/locale</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>caja-devel</Name>
|
||||
<Summary>caja için geliştirme dosyaları</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>gtk3-devel</Dependency>
|
||||
<Dependency>glib2-devel</Dependency>
|
||||
<Dependency release="current">caja</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="library">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>caja-doc</Name>
|
||||
<Summary>caja için döküman belgeleri.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">caja</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="data">/usr/share/gtk-doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-02-13</Date>
|
||||
<Version>1.22.3</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Name>Ayhan Yalçınsoy</Name>
|
||||
<Email>ayhanyalcinsoy@pisilinux.org</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>caja</Name>
|
||||
<Summary xml:lang="tr">Mate masasütü için öntanımlı dosya yöneticisi</Summary>
|
||||
<Description xml:lang="tr">Caja; dizinlerde gezinmeyi, dosyaları gözatmayı ve uygulamalar başlatmayı sağlayan bir dosya yöneticisidir.</Description>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>caja-devel</Name>
|
||||
<Summary xml:lang="tr">caja için geliştirme dosyaları</Summary>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>caja-doc</Name>
|
||||
<Summary xml:lang="tr">caja için döküman belgeleri.</Summary>
|
||||
</Package>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user