This commit is contained in:
4fury-c3440d8
2020-12-13 09:56:29 +00:00
parent c3e440a411
commit f0cb39e2c0
8 changed files with 296 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.autoreconf("-vif")
autotools.configure("--disable-python --disable-static --disable-deprecations")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS")
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
import piksemel
import os
import fnmatch
def updateData(filepath):
parse = piksemel.parse(filepath)
for icon in parse.tags("File"):
path = icon.getTagData("Path")
if path.startswith("usr/share/icons/hicolor"):
os.system("/usr/bin/gtk3-update-icon-cache -f /usr/share/icons/hicolor")
break
def setupPackage(metapath, filepath):
updateData(filepath)
def postCleanupPackage(metapath, filepath):
updateData(filepath)
@@ -0,0 +1,31 @@
# Fix bug with window size when music tags are too long.
--- a/src/sources/ario-tree.c
+++ b/src/sources/ario-tree.c
@@ -130,7 +130,7 @@
};
#define ARIO_TREE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_ARIO_TREE, ArioTreePrivate))
-G_DEFINE_TYPE (ArioTree, ario_tree, GTK_TYPE_SCROLLED_WINDOW)
+G_DEFINE_TYPE_WITH_PRIVATE (ArioTree, ario_tree, GTK_TYPE_SCROLLED_WINDOW)
static void
ario_tree_class_init (ArioTreeClass *klass)
@@ -182,9 +182,6 @@
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE,
0);
-
- /* Private attributes */
- g_type_class_add_private (klass, sizeof (ArioTreePrivate));
}
static void
@@ -275,7 +272,7 @@
construct_properties));
/* Scrolled window property */
- gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (tree), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (tree), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (tree), GTK_SHADOW_IN);
/* Get drag and drop targets */
+92
View File
@@ -0,0 +1,92 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ario</Name>
<Homepage>http://ario-player.sourceforge.net/</Homepage>
<Packager>
<Name>Pisilinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:gui</IsA>
<PartOf>multimedia.sound</PartOf>
<Summary>Ario is a GTK+ client for MPD.</Summary>
<Description>ario - A GTK client for MPD (Music player daemon) inspired by Rhythmbox but much lighter and faster.</Description>
<Archive sha1sum="246bef864360953b70a00b2c8123547d669d686b" type="targz">
mirrors://sourceforge/ario-player/1.6/ario-1.6.tar.gz
</Archive>
<BuildDependencies>
<Dependency>avahi</Dependency>
<Dependency>python3</Dependency>
<Dependency>intltool</Dependency>
<Dependency>atk-devel</Dependency>
<Dependency>curl-devel</Dependency>
<Dependency>gtk3-devel</Dependency>
<Dependency>avahi-libs</Dependency>
<Dependency>cairo-devel</Dependency>
<Dependency>pango-devel</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>gnutls-devel</Dependency>
<Dependency>libxml2-devel</Dependency>
<Dependency>libsoup-devel</Dependency>
<Dependency>gettext-devel</Dependency>
<Dependency>dbus-glib-devel</Dependency>
<Dependency>libunique-devel</Dependency>
<Dependency>libnotify-devel</Dependency>
<Dependency>libgcrypt-devel</Dependency>
<Dependency>avahi-glib-devel</Dependency>
<Dependency>fontconfig-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
<Dependency>libmpdclient-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">fix_window_size_if_tags_are_too_long.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ario</Name>
<RuntimeDependencies>
<Dependency>atk</Dependency>
<Dependency>gtk3</Dependency>
<Dependency>curl</Dependency>
<Dependency>avahi</Dependency>
<Dependency>cairo</Dependency>
<Dependency>pango</Dependency>
<Dependency>taglib</Dependency>
<Dependency>gnutls</Dependency>
<Dependency>libxml2</Dependency>
<Dependency>libsoup</Dependency>
<Dependency>dbus-glib</Dependency>
<Dependency>libnotify</Dependency>
<Dependency>libunique</Dependency>
<Dependency>avahi-libs</Dependency>
<Dependency>fontconfig</Dependency>
<Dependency>gdk-pixbuf</Dependency>
<Dependency>avahi-glib</Dependency>
<Dependency>libmpdclient</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="doc">/usr/share/doc/ario</Path>
</Files>
<Provides>
<COMAR script="pakhandler.py">System.PackageHandler</COMAR>
</Provides>
</Package>
<History>
<Update release="1">
<Date>2020-12-13</Date>
<Version>1.6</Version>
<Comment>First Beta build.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
+28
View File
@@ -0,0 +1,28 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
j = "--enable-outputs \
--disable-visualizer \
--disable-clock \
--disable-static \
--with-taglib \
"
def setup():
autotools.configure(j)
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "INSTALL", "NEWS")
@@ -0,0 +1,26 @@
From 399e0f47008b487df3505476c959b4f42d8bc1b1 Mon Sep 17 00:00:00 2001
From: Louis Sautier <sautier.louis@gmail.com>
Date: Sat, 9 May 2020 14:31:52 +0200
Subject: [PATCH] Fix build with GCC 10 by adding missing include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes the following error:
./mpdpp.h:438:15: error: runtime_error is not a member of std
---
src/mpdpp.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/mpdpp.h b/src/mpdpp.h
index a2bb79eb..abd3666c 100644
--- a/src/mpdpp.h
+++ b/src/mpdpp.h
@@ -25,6 +25,7 @@
#include <exception>
#include <random>
#include <set>
+#include <stdexcept>
#include <vector>
#include <mpd/client.h>
+65
View File
@@ -0,0 +1,65 @@
<?xml version="1.0"?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>ncmpcpp</Name>
<Homepage>https://rybczak.net/ncmpcpp/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<IsA>app:console</IsA>
<PartOf>multimedia.sound</PartOf>
<Summary>NCurses Music Player Client (Plus Plus).</Summary>
<Description>
ncmpcpp featureful ncurses based MPD client inspired by ncmpc.
</Description>
<Archive sha1sum="bb604fe6c42f0f5f9547d5dc4d7d52d293399f42" type="tarbz2">
https://rybczak.net/ncmpcpp/stable/ncmpcpp-0.8.2.tar.bz2
</Archive>
<BuildDependencies>
<Dependency>libmpdclient-devel</Dependency>
<Dependency>curl-devel</Dependency>
<!-- <Dependency>fftw3-devel</Dependency> -->
<Dependency>boost-devel</Dependency>
<Dependency>taglib-devel</Dependency>
<Dependency>ncurses-devel</Dependency>
<Dependency>readline-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">gcc10.patch</Patch>
</Patches>
</Source>
<Package>
<Name>ncmpcpp</Name>
<RuntimeDependencies>
<Dependency>libmpdclient</Dependency>
<Dependency>mpd</Dependency>
<Dependency>curl</Dependency>
<Dependency>boost</Dependency>
<!-- <Dependency>fftw3</Dependency> -->
<Dependency>libgcc</Dependency>
<Dependency>taglib</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>readline</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-12-13</Date>
<Version>0.8.2</Version>
<Comment>0.9 release coming soon.</Comment>
<Name>fury</Name>
<Email>wascheme@tuta.io</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,9 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>ncmpcpp</Name>
<Summary xml:lang="tr">Ncurses tabanlı MPD istemcisi</Summary>
<Description xml:lang="tr">Ncmpcpp; etiket düzenleyici, çalma listesi düzenleyici, şarkı sözü desteği vb. özellikleri olan bir MPD istemcisidir.</Description>
</Source>
</PISI>