Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
384baf1bba
!8 Update to version 2.5.28
From: @lyn1001 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-03-01 09:33:56 +00:00
lyn1001
8fb7db81f4 Update to version 2.5.28 2024-03-01 16:39:52 +08:00
openeuler-ci-bot
ad60a44909
!7 Update to version 2.5.27
From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-12-08 07:50:51 +00:00
wang--ge
c2e85dbdf3 upate to version 2.5.27 2023-12-08 10:58:45 +08:00
openeuler-ci-bot
fea8b4b5ef
!4 添加sw架构
From: @wuzx065891 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-31 03:01:48 +00:00
wzx
1397e09f47 Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
2022-10-20 12:23:34 +08:00
openeuler-ci-bot
87d4e2100a !3 增加构建依赖gcc
From: @bzg1107
Reviewed-by: @overweight
Signed-off-by: @overweight
2021-06-09 09:12:51 +08:00
baizg1107
c7c59c4aea add build requires for resolving building errors 2021-06-08 14:45:43 +08:00
openeuler-ci-bot
faaf2cfff1 !2 Add gphpto2 yaml file
Merge pull request !2 from 雷炬/master
2020-05-09 17:14:08 +08:00
lei_ju
3feeec8074 Increase gphoto2 yaml 2020-05-07 16:24:53 +08:00
5 changed files with 59 additions and 5 deletions

36
gphoto2-2.5.17-sw.patch Normal file
View File

@ -0,0 +1,36 @@
diff -Naur gphoto2-2.5.17.org/gphoto-m4/gp-stdint.m4 gphoto2-2.5.17.sw/gphoto-m4/gp-stdint.m4
--- gphoto2-2.5.17.org/gphoto-m4/gp-stdint.m4 2022-02-26 06:48:19.750000000 +0000
+++ gphoto2-2.5.17.sw/gphoto-m4/gp-stdint.m4 2022-02-26 06:49:11.080000000 +0000
@@ -449,7 +449,7 @@
typedef unsigned long long uint64_t;
#endif
-#elif defined __alpha || (defined __mips && defined _ABIN32)
+#elif defined __alpha || defined __sw_64 || (defined __mips && defined _ABIN32)
#if !defined _NO_LONGLONG
typedef long int64_t;
typedef unsigned long uint64_t;
diff -Naur gphoto2-2.5.17.org/packaging/rpm/Makefile.am gphoto2-2.5.17.sw/packaging/rpm/Makefile.am
--- gphoto2-2.5.17.org/packaging/rpm/Makefile.am 2022-02-26 06:48:19.780000000 +0000
+++ gphoto2-2.5.17.sw/packaging/rpm/Makefile.am 2022-02-26 06:50:54.610000000 +0000
@@ -15,7 +15,7 @@
rpm: Makefile package.spec
$(MAKE) clean
mkdir -p BUILD SPECS SOURCES SRPMS
- for arch in i386 i486 i586 i686 alpha noarch; do \
+ for arch in i386 i486 i586 i686 sw_64 alpha noarch; do \
mkdir -p "RPMS/$${arch}"; \
done
ln -f "$(top_srcdir)/@PACKAGE@-@VERSION@.tar.gz" SOURCES/
diff -Naur gphoto2-2.5.17.org/packaging/rpm/Makefile.in gphoto2-2.5.17.sw/packaging/rpm/Makefile.in
--- gphoto2-2.5.17.org/packaging/rpm/Makefile.in 2022-02-26 06:48:19.780000000 +0000
+++ gphoto2-2.5.17.sw/packaging/rpm/Makefile.in 2022-02-26 06:50:47.590000000 +0000
@@ -511,7 +511,7 @@
rpm: Makefile package.spec
$(MAKE) clean
mkdir -p BUILD SPECS SOURCES SRPMS
- for arch in i386 i486 i586 i686 alpha noarch; do \
+ for arch in i386 i486 i586 i686 sw_64 alpha noarch; do \
mkdir -p "RPMS/$${arch}"; \
done
ln -f "$(top_srcdir)/@PACKAGE@-@VERSION@.tar.gz" SOURCES/

Binary file not shown.

BIN
gphoto2-2.5.28.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,13 +1,14 @@
Name: gphoto2 Name: gphoto2
Version: 2.5.17 Version: 2.5.28
Release: 3 Release: 1
Summary: Access software for digital cameras Summary: Access software for digital cameras
License: GPLv2+ License: GPLv2+
Url: http://www.gphoto.org/ Url: http://www.gphoto.org/
Source0: http://downloads.sourceforge.net/gphoto/gphoto2-%{version}.tar.bz2 Source0: https://sourceforge.net/projects/gphoto/files/gphoto/%{version}/%{name}-%{version}.tar.bz2
Patch1: gphoto2-2.5.17-sw.patch
BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel BuildRequires: make pkgconfig(libgphoto2) >= %{version} libjpeg-devel
BuildRequires: pkgconfig(libexif) popt-devel readline-devel BuildRequires: pkgconfig(libexif) popt-devel readline-devel gcc
%description %description
The gPhoto2 project is a universal free application and library framework that allows you to download The gPhoto2 project is a universal free application and library framework that allows you to download
@ -20,7 +21,7 @@ Summary: Documentation for gphoto2
This package provides documentation for gphoto2. This package provides documentation for gphoto2.
%prep %prep
%autosetup -n gphoto2-2.5.17 -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%configure %configure
@ -39,5 +40,18 @@ This package provides documentation for gphoto2.
%{_mandir}/man1/gphoto2.1* %{_mandir}/man1/gphoto2.1*
%changelog %changelog
* Fri Mar 1 2024 liyanan <liyanan61@h-partners.com> - 2.5.28-1
- Update to version 2.5.28
* Fri Dec 08 2023 Ge Wang <wang__ge@126.com> - 2.5.27-1
- Update to version 2.5.27
* Thu Oct 20 2022 wuzx<wuzx1226@qq.com> - 2.5.17-5
- add sw64 patch
* Mon Jun 7 2021 baizhonggui <baizhonggui@huawei.com> - 2.5.17-4
- Fix building error: configure: error: no acceptable C compiler found in $PATH
- Add gcc in BuildRequires
* Tue Dec 31 2019 fengbing <fengbing7@huawei.com> - 2.5.17-3 * Tue Dec 31 2019 fengbing <fengbing7@huawei.com> - 2.5.17-3
- Package init - Package init

4
gphoto2.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: gphoto/gphoto2
tag_prefix: gphoto2-
seperator: _