[crux-commits] ports/contrib (refs/remotes/origin/3.6): [notify] filezilla: cleanup Pkgfile, remove debug flags and redundant deps; unmaintained now

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:03 UTC 2021


commit 4cdc3f49ba7b1c818459b49e0dedb15135811d7b
Author: Alexandr Savca <alexandr.savca89 at gmail.com>
Date:   Fri Jan 15 16:04:05 2021 +0200

    [notify] filezilla: cleanup Pkgfile, remove debug flags and redundant deps; unmaintained now
    
    Removed Dependencies: clang, libnotify, libwebp.
    
    Caution
    =======
    
    filezilla has lost a maintainer, and will be removed from the
    contrib soon if no new maintainer is found.
    
    Feel free to adopt it if need.

diff --git a/filezilla/.footprint b/filezilla/.footprint
index 2eaf4d28e..cc2a9481f 100644
--- a/filezilla/.footprint
+++ b/filezilla/.footprint
@@ -13,8 +13,6 @@ drwxr-xr-x	root/root	usr/share/appdata/
 drwxr-xr-x	root/root	usr/share/applications/
 -rw-r--r--	root/root	usr/share/applications/filezilla.desktop
 drwxr-xr-x	root/root	usr/share/filezilla/
-drwxr-xr-x	root/root	usr/share/filezilla/docs/
--rw-r--r--	root/root	usr/share/filezilla/docs/fzdefaults.xml.example
 drwxr-xr-x	root/root	usr/share/filezilla/resources/
 drwxr-xr-x	root/root	usr/share/filezilla/resources/16x16/
 -rw-r--r--	root/root	usr/share/filezilla/resources/16x16/filezilla.png
diff --git a/filezilla/.signature b/filezilla/.signature
index 89535253f..af4b7a88c 100644
--- a/filezilla/.signature
+++ b/filezilla/.signature
@@ -1,6 +1,7 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3+R3N7njiT+dA/dP9C5Y/heV+GFPB/1+kldmE4PL5So5VhRzq2/jmh3U/CK7fvzeLc1SDZwAJ4uCqQ2hwW0qsw8=
-SHA256 (Pkgfile) = ef5d402b944031ac3a22cf4a90ff7cfbc15cd40ac22284a8b5803c19bdc405a6
-SHA256 (.footprint) = 317128367270a7398888cd907ef5751dc04a022dfdbcee28d1ca6315bbce30cb
+RWSagIOpLGJF35wUDBBx7CDrIoBNep6K9OAVlqvHPJ1ZALeBtM2fllV4p7kZGyaHKS84kMwg/8qXTY/dLxpnkXwnBvDBG9wl7QU=
+SHA256 (Pkgfile) = e02e46ae8744363aedb4a5f1226780fdc277c595eafd4eeaeb6883429505bbe7
+SHA256 (.footprint) = cc2aac399478805967457f5dc8ef1598da6118cfa16345df826a37cc313bc2a3
 SHA256 (FileZilla_3.52.0.5_src.tar.bz2) = af615c192ada96fb425f97cf348b802419d27696711d3e5123dfa92a19744829
+SHA256 (filezilla-3.22.1-debug.patch) = fac9a1d419ccfd269954819224655cb4a3fb44f219d36e4886b35105bbfb6660
 SHA256 (missing-list-include.patch) = 01084d22d10eacabcbd5521beb2a22c57a70d4fc5fb546a4d0cc7489e88d42fb
diff --git a/filezilla/Pkgfile b/filezilla/Pkgfile
index b26e284e4..1c6f1714a 100644
--- a/filezilla/Pkgfile
+++ b/filezilla/Pkgfile
@@ -1,30 +1,35 @@
-# Description: ftp client
-# URL: https://filezilla-project.org
-# Maintainer: Tim Biermann, tbier at posteo dot de
-# Depends on: libfilezilla libnotify libwebp pugixml wxgtk3 xdg-utils
+# Description: Fast and reliable FTP, FTPS and SFTP client
+# URL:         https://filezilla-project.org
+# Maintainer:  UNMAINTAINED
+# Depends on:  libfilezilla pugixml wxgtk3 xdg-utils
 
 name=filezilla
 version=3.52.0.5
-release=1
+release=2
 source=(https://download.filezilla-project.org/client/FileZilla_${version}_src.tar.bz2
-  missing-list-include.patch)
+	filezilla-3.22.1-debug.patch
+	missing-list-include.patch)
 
 build() {
-  cd $name-$version
-  export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib
-  patch -Np0 -i $SRC/missing-list-include.patch
-  autoreconf -vfi
-  ./configure \
-    --prefix=/usr \
-    --mandir=/usr/share/man \
-    --with-pugixml=system \
-    --with-wx-config=/usr/bin/wx-config-gtk3 \
-    --disable-manualupdatecheck \
-    --disable-autoupdatecheck \
-    --disable-locales \
-    --disable-static \
-    --disable-dependency-tracking
-  make
-  make DESTDIR=$PKG install
-  rm -rf $PKG/usr/share/locale
+	cd $name-$version
+
+	patch -Np0 -i $SRC/missing-list-include.patch
+	patch -p1  -i $SRC/filezilla-3.22.1-debug.patch
+
+	./configure \
+		--prefix=/usr                            \
+		--mandir=/usr/share/man                  \
+		--with-pugixml=system                    \
+		--with-wx-config=/usr/bin/wx-config-gtk3 \
+		--disable-manualupdatecheck              \
+		--disable-autoupdatecheck                \
+		--disable-locales                        \
+		--disable-static                         \
+		--disable-dependency-tracking            \
+
+	make
+	make DESTDIR=$PKG install
+
+	# remove junk
+	rm -r $PKG/usr/share/filezilla/docs
 }
diff --git a/filezilla/filezilla-3.22.1-debug.patch b/filezilla/filezilla-3.22.1-debug.patch
new file mode 100644
index 000000000..71430db1c
--- /dev/null
+++ b/filezilla/filezilla-3.22.1-debug.patch
@@ -0,0 +1,12 @@
+--- filezilla-3.22.1/configure.ac
++++ filezilla-3.22.1/configure.ac
+@@ -36,9 +36,7 @@
+ 
+   if test "X$GCC" = Xyes; then
+     AX_APPEND_FLAG(-Wall, CFLAGS)
+-    AX_APPEND_FLAG(-g, CFLAGS)
+     AX_APPEND_FLAG(-Wall, CXXFLAGS)
+-    AX_APPEND_FLAG(-g, CXXFLAGS)
+   fi
+ 
+   # Do this early: Compiler and linker flags to work around a nasty bug in Xcode.


More information about the crux-commits mailing list