From 66adf5ef0b8de0bd0a5cdb5afbcb179ac280acbd Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 26 Jun 2020 15:01:40 +0200 Subject: [PATCH 1/5] gthumb: Convert to versionless bee file --- gthumb-2.13.3-0.bee => gthumb.be0 | 2 ++ 1 file changed, 2 insertions(+) rename gthumb-2.13.3-0.bee => gthumb.be0 (92%) diff --git a/gthumb-2.13.3-0.bee b/gthumb.be0 similarity index 92% rename from gthumb-2.13.3-0.bee rename to gthumb.be0 index 9ef5244cf..9eb6d8239 100755 --- a/gthumb-2.13.3-0.bee +++ b/gthumb.be0 @@ -1,5 +1,7 @@ #!/usr/bin/env beesh +# BEE_VERSION gthumb-2.13.3-0 + SRCURL[0]="ftp://ftp.gnome.org/pub/gnome/sources/gthumb/${PKGVERSION[2]}/gthumb-${PKGVERSION}.tar.bz2" PATCHURL[0]="" From 3228de70a7d30b41f77bb5bdb6bcdd1f0a44a74a Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 26 Jun 2020 15:01:55 +0200 Subject: [PATCH 2/5] gthumb: Strip trailing space --- gthumb.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gthumb.be0 b/gthumb.be0 index 9eb6d8239..f6e409f90 100755 --- a/gthumb.be0 +++ b/gthumb.be0 @@ -23,7 +23,7 @@ PATCHURL[0]="" #} #mee_configure() { -# bee_configure +# bee_configure #} #mee_build() { From a8c22fbbd6df224158141adac10ea1ea6dcebc5d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 26 Jun 2020 15:02:43 +0200 Subject: [PATCH 3/5] gthumb: Securely download source archive with HTTPS Also use the official shorter HTTPS URL. --- gthumb.be0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gthumb.be0 b/gthumb.be0 index f6e409f90..3546196dc 100755 --- a/gthumb.be0 +++ b/gthumb.be0 @@ -2,7 +2,7 @@ # BEE_VERSION gthumb-2.13.3-0 -SRCURL[0]="ftp://ftp.gnome.org/pub/gnome/sources/gthumb/${PKGVERSION[2]}/gthumb-${PKGVERSION}.tar.bz2" +SRCURL[0]="https://download.gnome.org/sources/gthumb/${PKGVERSION[2]}/gthumb-${PKGVERSION}.tar.bz2" PATCHURL[0]="" From 0fd1b9c7179629af02b6ff9f7b0a26584182231d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 26 Jun 2020 15:06:31 +0200 Subject: [PATCH 4/5] gthumb: Use current bee file template --- gthumb.be0 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gthumb.be0 b/gthumb.be0 index 3546196dc..a3805e084 100755 --- a/gthumb.be0 +++ b/gthumb.be0 @@ -4,22 +4,18 @@ SRCURL[0]="https://download.gnome.org/sources/gthumb/${PKGVERSION[2]}/gthumb-${PKGVERSION}.tar.bz2" -PATCHURL[0]="" - -# BEE_CONFIGURE=compat - -# BEE_BUILDTYPE= - -# EXCLUDE="" +# PATCHURL+=() +# build_in_sourcedir +# sourcesubdir_append src #mee_extract() { -# bee_extract ${@} +# bee_extract "${@}" #} #mee_patch() { -# bee_patch ${@} +# bee_patch "${@}" #} #mee_configure() { @@ -33,3 +29,7 @@ PATCHURL[0]="" #mee_install() { # bee_install #} + +#mee_install_post() { +# exit +#} From f0b135cfbca37b3e5c6d5f22f082a508f36ed97d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 26 Jun 2020 15:09:21 +0200 Subject: [PATCH 5/5] gthumb: Update version from 2.13.3 to 3.10.0 Update the almost nine year old version. $ ls -l /usr/bin/gthumb -rwxr-xr-x 1 root root 4419111 Oct 17 2011 /usr/bin/gthumb Update the suffix for the LZMA compressed archive. Maybe even the error below is fixed. /var/log/messages.2020-06:2020-05-05T08:38:30.842395+02:00 rocketraccoon kernel: [2403097.203273] pool-gthumb[25477]: segfault at 7fcdcd837c32 ip 00007fcdcd837c32 sp 00007fcdb7ffe730 error 14 in libfile_viewer.so[7fcdcda39000+3000] --- gthumb.be0 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gthumb.be0 b/gthumb.be0 index a3805e084..3e9c44027 100755 --- a/gthumb.be0 +++ b/gthumb.be0 @@ -1,8 +1,8 @@ #!/usr/bin/env beesh -# BEE_VERSION gthumb-2.13.3-0 +# BEE_VERSION gthumb-3.10.0-0 -SRCURL[0]="https://download.gnome.org/sources/gthumb/${PKGVERSION[2]}/gthumb-${PKGVERSION}.tar.bz2" +SRCURL[0]="https://download.gnome.org/sources/gthumb/${PKGVERSION[2]}/gthumb-${PKGVERSION}.tar.xz" # PATCHURL+=()