Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
bfa3bc0cdd
!17 [sync] PR-15: Update to version 1.26.2
From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2024-04-08 10:20:02 +00:00
shafeipaozi
7c9072e8bc update
(cherry picked from commit f18a2e04e1edd3a118e2b11456fe2c9cf8c4922e)
2024-04-08 17:40:52 +08:00
openeuler-ci-bot
179b5f202d
!14 Separate the content related to caja from engrampa
From: @peijiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2024-02-21 02:07:23 +00:00
peijiankang
d5f1460237 Separate the content related to caja from engrampa 2024-02-20 11:04:42 +08:00
openeuler-ci-bot
0a57954eeb
!9 为caja开启压缩插件功能
From: @yuan__xing 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2024-02-19 08:37:02 +00:00
yuan_xing
e228f912ca fix(*):enable caja-actions with configure.(#30161)
- 为caja开启压缩插件功能

Relates #30161
2024-02-19 15:48:28 +08:00
openeuler-ci-bot
9863bec01c
!6 fix(engrampa):Fix decompress files with garbled characters under GB18030 encoding
From: @longcheng01 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2023-07-20 07:15:44 +00:00
longcheng
1737ae6cb6 fix(engrampa):Fix decompress files with garbled characters under GB18030 encoding 2023-07-20 14:05:42 +08:00
openeuler-ci-bot
522031b52f !1 package init
Merge pull request !1 from dou33/add_package
2020-09-03 11:39:11 +08:00
dou33
8a0399ac51 package init, disable caja support 2020-09-02 16:57:41 +08:00
4 changed files with 146 additions and 0 deletions

BIN
engrampa-1.26.2.tar.xz Normal file

Binary file not shown.

21
engrampa-c99.patch Normal file
View File

@ -0,0 +1,21 @@
Include <strings.h> for strcasecmp. The _XOPEN_SOURCE macro
definition overrides _DEFAULT_SOURCE and disables the declaration
in <string.h>.
This avoids an implicit function declaration and build failures with
future compilers.
Submitted upstream: <https://github.com/mate-desktop/engrampa/pull/477>
diff --git a/src/file-utils.c b/src/file-utils.c
index a967cb4aad47971d..03024f32d6739bbb 100644
--- a/src/file-utils.c
+++ b/src/file-utils.c
@@ -27,6 +27,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <ctype.h>
#include <time.h>
#include <unistd.h>

121
engrampa.spec Normal file
View File

@ -0,0 +1,121 @@
# Conditional for release and snapshot builds. Uncomment for release-builds.
%global rel_build 1
# This is needed, because src-url contains branched part of versioning-scheme.
%global branch 1.26
# Settings used for build from snapshots.
%{!?rel_build:%global commit f4611c3411c44e792f729a0780c31b0aa55fe004}
%{!?rel_build:%global commit_date 20131215}
%{!?rel_build:%global shortcommit %(c=%{commit};echo ${c:0:7})}
%{!?rel_build:%global git_ver git%{commit_date}-%{shortcommit}}
%{!?rel_build:%global git_rel .git%{commit_date}.%{shortcommit}}
%{!?rel_build:%global git_tar %{name}-%{version}-%{git_ver}.tar.xz}
Name: engrampa
Version: 1.26.2
Release: 1
Summary: MATE Desktop file archiver
License: GPLv2+ and LGPLv2+
URL: http://mate-desktop.org
# for downloading the tarball use 'spectool -g -R engrampa.spec'
# Source for release-builds.
%{?rel_build:Source0: http://pub.mate-desktop.org/releases/%{branch}/%{name}-%{version}.tar.xz}
# Source for snapshot-builds.
%{!?rel_build:Source0: http://git.mate-desktop.org/%{name}/snapshot/%{name}-%{commit}.tar.xz#/%{git_tar}}
BuildRequires: mate-common
BuildRequires: desktop-file-utils
BuildRequires: file-devel
BuildRequires: gtk3-devel
BuildRequires: json-glib-devel
BuildRequires: caja-devel
BuildRequires: libSM-devel
Patch1: engrampa-c99.patch
%description
Mate File Archiver is an application for creating and viewing archives files,
such as zip, xv, bzip2, cab, rar and other compress formats.
%package -n engrampa-caja
Summary: engrampa-caja
Requires: engrampa
%description -n engrampa-caja
engrampa for caja
%prep
%if 0%{?rel_build}
%autosetup -p1
%else
%autosetup -n %{name}-%{commit} -p1
%endif
%if 0%{?rel_build}
#NOCONFIGURE=1 ./autogen.sh
%else # 0%{?rel_build}
# needed for git snapshots
NOCONFIGURE=1 ./autogen.sh
%endif # 0%{?rel_build}
%build
%configure \
--disable-schemas-compile \
--disable-static \
--enable-caja-actions \
--enable-magic \
--disable-packagekit
make %{?_smp_mflags} V=1
%install
mkdir -p %{buildroot}%{_datadir}/engrampa
%{make_install}
desktop-file-install \
--delete-original \
--dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/engrampa.desktop
find %{buildroot} -name "*.la" -exec rm -f {} ';'
%find_lang %{name} --with-gnome --all-name
%files -f %{name}.lang
%doc README COPYING NEWS AUTHORS
%{_mandir}/man1/*
%{_bindir}/engrampa
%{_libexecdir}/engrampa
%{_libexecdir}/engrampa-server
%{_datadir}/engrampa
%{_datadir}/metainfo/engrampa.appdata.xml
%{_datadir}/applications/engrampa.desktop
%{_datadir}/dbus-1/services/org.mate.Engrampa.service
%{_datadir}/icons/hicolor/*/actions/*.png
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/glib-2.0/schemas/org.mate.engrampa.gschema.xml
%files -n engrampa-caja
%{_libdir}/caja/extensions-2.0/libcaja-engrampa.so
%{_datadir}/caja/extensions/libcaja-engrampa.caja-extension
%changelog
* Tue Feb 27 2024 shafeipaozi <sunbo.oerv@isrc.iscas.ac.cn> - 1.26.2-1
- update version to 1.26.2
* Tue Feb 20 2024 peijiankang <peijiankang@kylinos.cn> - 1.24.1-4
- Separate the content related to caja from the engrampa
* Mon Feb 19 2024 yuanxing <yuanxing@kylinsec.com.cn> - 1.24.1-3
- KYOS-F: enable caja-actions with configure.(#30161)
* Thu Jul 20 2023 longcheng <longcheng@kylinos.com.cn> - 1.24.1-2
- fix(engrampa):Fix decompress files with garbled characters under GB18030 encoding
* Wed Sep 02 2020 douyan <douyan@kylinos.cn> - 1.24.1-1
- package init

4
engrampa.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://github.com/mate-desktop/engrampa.git
tag_prefix: "v"
seperator: "."