teejee2008 / polo

Advanced file manager for Linux written in Vala. Supports multiple panes (single, dual, quad) with multiple tabs in each pane. Supports archive creation, extraction and browsing. Support for cloud storage; running and managing KVM images, modifying PDF documents and image files, booting ISO files in KVM, and writing ISO files to USB drives.
https://teejee2008.github.io/polo/
GNU General Public License v2.0
618 stars 84 forks source link

Information for building aur package #113

Closed Mazino-Urek closed 7 years ago

Mazino-Urek commented 7 years ago

I want to maintain this package in arch user repository. For this I need some information.

cd /tmp

wget http://launchpadlibrarian.net/279142125/p7zip_16.02+dfsg-1_amd64.deb http://launchpadlibrarian.net/279142124/p7zip-full_16.02+dfsg-1_amd64.deb http://launchpadlibrarian.net/279142120/p7zip-rar_16.02-1_amd64.deb

sudo apt-get remove p7zip{,-full,-rar}

sudo dpkg -i p7zip_16.02+dfsg-1_amd64.deb p7zip-full_16.02+dfsg-1_amd64.deb p7zip-rar_16.02-1_amd64.deb

echo 'done'



This script was clearly made for debian file packaging and I am seeing a lot .sh file in the source code.tar.gz.
Is there any suitable executable that can make this work painlessly in arch linux.

So, far I am loving the concept and maintaining this in aur is the first step of this becoming and official package in the future. You co-operation is very much needed and appreciated.
teejee2008 commented 7 years ago
Mazino-Urek commented 7 years ago

Kindly review these dependency problems. Some packages were easy to find but a lot of dev packages don't exist in arch. I have pointed out some alternatives. I need you to confirm if they are going to suffice or not.

Dependencies:
libgtk3 > gtk3
bzip2 > haskell-bzlib pbzip2 perl-compress-bzip2 (not sure which one needed)

Build Dependencies:
autotools-dev > autoconf
valac (i think you meant to write vala)
libvte > libvterm lilyterm (not sure if vte3 can complimant it or not)
libgtk-3-dev > gtk3 (no dev file)
libgee-0.8-dev > libgee (no dev file)
libvte-2.91-dev > vte 0.28.2 (available)
libjson-glib-dev > json-glib lib32-json-glib
libxml2-dev > libxml2 (no dev edition)

P.s: is source code enough for both 32 and 64 bit operating system?

teejee2008 commented 7 years ago

Dependencies: libgtk3 > gtk3 bzip2 > haskell-bzlib pbzip2 perl-compress-bzip2 (not sure which one needed) use pbzip2

Build Dependencies: autotools-dev > autoconf valac (i think you meant to write vala) > use vala if its available libvte > libvterm lilyterm (not sure if vte3 can complimant it or not) use vte3 libgtk-3-dev > gtk3 (no dev file) -dev package is needed libgee-0.8-dev > libgee (no dev file) -dev package is needed libvte-2.91-dev > vte 0.28.2 (available) -dev package for vte or vte3 is needed libjson-glib-dev > json-glib lib32-json-glib libxml2-dev > libxml2 (no dev edition) -dev package is needed

BarbUk commented 7 years ago

I have a pkgbuild to package the application from the .deb. I will check the other dependencies and optional dependencies.

What about the license ?

# Maintainer: BarbUk
pkgname=polo-file-manager
pkgver=17.7
_channel=beta.8
pkgrel=1
pkgdesc="Preview of file manager"
arch=('x86_64')
url="http://www.teejeetech.in/search/label/polo"
depends=(gtk3 cairo-infinality libgee vte3-ng)
source=("polo-file-manager-v${pkgver}-${_channel}-amd64.deb::https://github.com/teejee2008/polo/releases/download/v${pkgver}-${_channel}/polo-file-manager-v${pkgver}-${_channel}-amd64.deb")
sha512sums=('475200c5c1da6ee273034036322fe89da707b60dcbd34f858cef92c2ff086f75b05a79b230887b3393e4918377a7887fa981dabb38b56ae7bc2ac2f4806a58ac')
license=('custom')

package() {
  msg2 "Extracting the data.tar.xz..."
  bsdtar -xf data.tar.xz -C "$pkgdir/"

  # Clean empty dir
  rm -r "$pkgdir"/usr/share/man
  rm -r "$pkgdir"/var
  rm -r "$pkgdir"/usr/share/polo/libs
  rm -r "$pkgdir"/usr/share/polo/actions
}
teejee2008 commented 7 years ago

License is GPLv2

BarbUk commented 7 years ago

Thanks, will update the pkgbuild

BarbUk commented 7 years ago

Here is the updated pkgbuild with the correct license, url and description.

I'll check tonight the optional dependencies before releasing the pkgbuild on https://aur.archlinux.org.

# Maintainer: BarbUk
pkgname=polo-file-manager
pkgver=17.7
_channel=beta.8
pkgrel=1
pkgdesc="Modern, light-weight file manager for Linux with support for multiple panes, tabs, archive browsing/creation/extraction, and much more. (deb version)"
arch=('x86_64')
url="https://github.com/teejee2008/polo"
depends=(gtk3 cairo-infinality libgee vte3-ng)
source=("polo-file-manager-v${pkgver}-${_channel}-amd64.deb::https://github.com/teejee2008/polo/releases/download/v${pkgver}-${_channel}/polo-file-manager-v${pkgver}-${_channel}-amd64.deb")
sha512sums=('475200c5c1da6ee273034036322fe89da707b60dcbd34f858cef92c2ff086f75b05a79b230887b3393e4918377a7887fa981dabb38b56ae7bc2ac2f4806a58ac')
license=('GPLv2')

package() {
  msg2 "Extracting the data.tar.xz..."
  bsdtar -xf data.tar.xz -C "$pkgdir/"

  # Clean empty dir
  rm -r "$pkgdir"/usr/share/man
  rm -r "$pkgdir"/var
  rm -r "$pkgdir"/usr/share/polo/libs
  rm -r "$pkgdir"/usr/share/polo/actions
}
Mazino-Urek commented 7 years ago

Someone has already done that. @teejee2008 you can close the issue, the objective has been completed.

BarbUk commented 7 years ago

Yep, not quick enough :) https://aur.archlinux.org/packages/polo/ https://aur.archlinux.org/packages/polo-donation-plugins/

teejee2008 commented 7 years ago

Someone uploaded the polo-donation-plugins as well to the repo :( I had shared this package with users who have donated to the project. Not sure if it's a mistake or if he knew what he was doing :(

BarbUk commented 7 years ago

It's just the pkgbuild to install the files that you send by mail. The .Deb are not included.

teejee2008 commented 7 years ago

How is it useful to upload a pkgbuild to the AUR if the DEB or source is not included?

BarbUk commented 7 years ago

It's the aur way ☺️. You download the pkgbuild, put your .deb in the same dir and it build you an archlinux package that install the files in the right place.

If you use an aur package manager, you are notified when a new version is available. It's just a way to have all your packages managed by the package manager. You can safely uninstall all files with the package manager etc.

FabioLolix commented 7 years ago

Hi @teejee2008 I'm Fabio Loli,

I'm sorry for not having informed you before but I was short on time these days.

You must know that your rights are respected and I know what I'm doing.

The AUR, differently from Ubuntu's PPA or others repository, is a repository of scripts not of precompiled packages.

In the AUR there aren't uploaded any source, deb, rpm, run or similar files, only PKGBUILDs, which are instruction to build packages and if is the case .desktop, licenses, additional patches

Only who already have the DEB files can build and install polo-donation-plugins

Another similar case is Cisco Packerttracer , please note local:// in the "Sources", which mean the local computer where is built.

teejee2008 commented 7 years ago

Hi Fabio, Sorry about my misunderstanding. I thought initially that the package was also uploaded. Thank you for adding the scripts to the AUR :)

BarbUk commented 7 years ago

Thanks @FabioLolix for the clarification. @teejee2008 I think this issue can be closed.

FabioLolix commented 6 years ago

Hi @teejee2008 misunderstanding happens :)

I have actually some questions about packaging but I think it is better to open another issue?