Merge pull request #16779 from mrSi-Si/lxde

LXDE
This commit is contained in:
Kamil ATLI
2025-06-20 14:16:54 +03:00
committed by GitHub
31 changed files with 847 additions and 881 deletions
+18
View File
@@ -0,0 +1,18 @@
#!/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, pisitools, get
def setup():
autotools.configure("--prefix=/usr --enable-gtk3")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING")
+45
View File
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>gpicview</Name>
<Homepage>https://github.com/lxde/gpicview</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<PartOf>desktop.lxde</PartOf>
<Summary>Lightweight image viewer.</Summary>
<Description>Lightweight image viewer written by LXDE project.</Description>
<Archive sha1sum="8947b369dd32983f4cc4b19277223295b76b372f" type="tarxz">https://github.com/lxde/releases/raw/master/releases/gpicview-0.3.1.tar.xz</Archive>
<BuildDependencies>
<Dependency>gtk3-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>gpicview</Name>
<RuntimeDependencies>
<Dependency>gtk3</Dependency>
<Dependency>gdk-pixbuf</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-06-12</Date>
<Version>0.3.1</Version>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+2 -1
View File
@@ -14,7 +14,6 @@ i = ''.join([
]) ])
def setup(): def setup():
pisitools.cflags.add("-Wno-deprecated-declarations -Wno-incompatible-pointer-types")
autotools.configure(i) autotools.configure(i)
pisitools.dosed("libtool", " -shared ", " -Wl,-O2,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O2,--as-needed -shared ")
@@ -24,3 +23,5 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README", "TODO")
@@ -1,34 +0,0 @@
From a94ddc137bcdd88f088a462c488b89080fd6d01f Mon Sep 17 00:00:00 2001
From: anteater <65555601+nt8r@users.noreply.github.com>
Date: Sun, 23 Oct 2022 20:41:00 +0000
Subject: [PATCH] Fix smooth scrolling
The first hunk is necessary to receive smooth scroll events.
The second fixes a visual hang until scrolling ends.
---
src/gtk/exo/exo-icon-view.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/gtk/exo/exo-icon-view.c b/src/gtk/exo/exo-icon-view.c
index 3ce98099..9a432620 100644
--- a/src/gtk/exo/exo-icon-view.c
+++ b/src/gtk/exo/exo-icon-view.c
@@ -1601,6 +1601,9 @@ exo_icon_view_realize (GtkWidget *widget)
attributes.height = MAX (priv->height, allocation.height);
attributes.event_mask = GDK_EXPOSURE_MASK
| GDK_SCROLL_MASK
+#if GTK_CHECK_VERSION(3, 4, 0)
+ | GDK_SMOOTH_SCROLL_MASK
+#endif
| GDK_POINTER_MOTION_MASK
| GDK_BUTTON_PRESS_MASK
| GDK_BUTTON_RELEASE_MASK
@@ -3413,8 +3416,6 @@ exo_icon_view_adjustment_changed (GtkAdjustment *adjustment,
if (G_UNLIKELY (icon_view->priv->doing_rubberband))
exo_icon_view_update_rubberband (GTK_WIDGET (icon_view));
-
- gdk_window_process_updates (icon_view->priv->bin_window, TRUE);
}
}
+9 -5
View File
@@ -13,9 +13,7 @@
<PartOf>desktop.lxde</PartOf> <PartOf>desktop.lxde</PartOf>
<Summary>Library for file management.</Summary> <Summary>Library for file management.</Summary>
<Description>libfm is a LXDE library for file management.</Description> <Description>libfm is a LXDE library for file management.</Description>
<Archive sha1sum="7c5c14dd0615b457687966ce4e55c2d054bf93e1" type="tarxz"> <Archive sha1sum="8fdefe2f47452e6992c1cc51035e51297c9b96af" type="tarxz">https://github.com/lxde/releases/raw/master/releases/libfm-1.4.0.tar.xz</Archive>
mirrors://sourceforge/pcmanfm/libfm-1.3.2.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>intltool</Dependency> <Dependency>intltool</Dependency>
<Dependency>atk-devel</Dependency> <Dependency>atk-devel</Dependency>
@@ -33,7 +31,7 @@
<Dependency>libfm-extra-devel</Dependency> <Dependency>libfm-extra-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">Fix_smooth_scrolling.patch</Patch> <!-- <Patch level="1"></Patch> -->
</Patches> </Patches>
</Source> </Source>
@@ -59,7 +57,6 @@
<Path fileType="library">/usr/lib/libfm.so*</Path> <Path fileType="library">/usr/lib/libfm.so*</Path>
<Path fileType="library">/usr/lib/libfm-gtk3.so*</Path> <Path fileType="library">/usr/lib/libfm-gtk3.so*</Path>
<Path fileType="library">/usr/lib/libfm/modules/</Path> <Path fileType="library">/usr/lib/libfm/modules/</Path>
<!-- <Path fileType="library">/usr/lib</Path> -->
<Path fileType="data">/usr/share</Path> <Path fileType="data">/usr/share</Path>
<Path fileType="localedata">/usr/share/locale</Path> <Path fileType="localedata">/usr/share/locale</Path>
<Path fileType="man">/usr/share/man</Path> <Path fileType="man">/usr/share/man</Path>
@@ -113,6 +110,13 @@
</Package> </Package>
<History> <History>
<Update release="4">
<Date>2025-06-12</Date>
<Version>1.4.0</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="3"> <Update release="3">
<Date>2022-11-05</Date> <Date>2022-11-05</Date>
<Version>1.3.2</Version> <Version>1.3.2</Version>
+18
View File
@@ -0,0 +1,18 @@
#!/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, pisitools, get
def setup():
autotools.configure("--prefix=/usr")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING")
+36
View File
@@ -0,0 +1,36 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>lxde-icon-theme</Name>
<Homepage>https://github.com/lxde/lxde-icon-theme</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>LGPLv3</License>
<PartOf>desktop.lxde</PartOf>
<Summary>LXDE standard icon theme.</Summary>
<Description>LXDE standard icon theme.</Description>
<Archive sha1sum="c6a12cb2e3814e200e3c6265e20265821e02696d" type="tarxz">https://github.com/lxde/releases/raw/master/releases/lxde-icon-theme-0.5.2.tar.xz</Archive>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>lxde-icon-theme</Name>
<Files>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-06-14</Date>
<Version>0.5.2</Version>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+2 -16
View File
@@ -6,22 +6,8 @@
from pisi.actionsapi import autotools, pisitools, get from pisi.actionsapi import autotools, pisitools, get
t = ''.join([
'netstatus ',
'netstat ',
'volume ',
'deskno ',
'kbled ',
'batt ',
'xkb ',
'cpufreq ',
'monitors ',
'indicator'
])
def setup(): def setup():
pisitools.cflags.add("-fcommon -Wno-deprecated-declarations") autotools.configure("--enable-gtk3")
autotools.configure("--enable-gtk3 --with-plugins='%s'" % t)
pisitools.dosed("libtool", " -shared ", " -Wl,-O2,--as-needed -shared ") pisitools.dosed("libtool", " -shared ", " -Wl,-O2,--as-needed -shared ")
@@ -31,5 +17,5 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "README", "TODO") pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "TODO")
@@ -1,22 +0,0 @@
From 8a408946dfd2e69ae2cb1066c7fa31f8b7ecc445 Mon Sep 17 00:00:00 2001
From: Ben Walsh <b@wumpster.com>
Date: Mon, 7 Feb 2022 07:02:05 +0000
Subject: [PATCH] Correct icon-grid width under GTK3. Fixes Github #29.
---
src/icon-grid.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/icon-grid.c b/src/icon-grid.c
index 2177971e..5948fee6 100644
--- a/src/icon-grid.c
+++ b/src/icon-grid.c
@@ -392,7 +392,7 @@ static void panel_icon_grid_get_preferred_width(GtkWidget *widget,
}
panel_icon_grid_size_request(widget, &requisition);
if (minimal_width)
- *minimal_width = requisition.width;
+ *minimal_width = ig->constrain_width ? 2 : requisition.width;
if (natural_width)
*natural_width = requisition.width;
}
@@ -1,34 +0,0 @@
From 12576de7b83c634437217e23d74954070a1be2d5 Mon Sep 17 00:00:00 2001
From: Ben Walsh <b@wumpster.com>
Date: Sat, 6 Jun 2020 10:38:15 +0100
Subject: [PATCH] Correct panel size under GTK3. Fixes Sourceforge #773.
---
src/panel.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/panel.c b/src/panel.c
index 45188dbe..2b5fc9be 100644
--- a/src/panel.c
+++ b/src/panel.c
@@ -293,6 +293,12 @@ lxpanel_get_preferred_height (GtkWidget *widget,
if (natural_height)
*natural_height = requisition.height;
}
+
+static GtkSizeRequestMode
+lxpanel_get_request_mode (GtkWidget *widget)
+{
+ return GTK_SIZE_REQUEST_CONSTANT_SIZE;
+}
#endif
static void lxpanel_size_allocate(GtkWidget *widget, GtkAllocation *a)
@@ -413,6 +419,7 @@ static void lxpanel_class_init(PanelToplevelClass *klass)
#if GTK_CHECK_VERSION(3, 0, 0)
widget_class->get_preferred_width = lxpanel_get_preferred_width;
widget_class->get_preferred_height = lxpanel_get_preferred_height;
+ widget_class->get_request_mode = lxpanel_get_request_mode;
#else
widget_class->size_request = lxpanel_size_request;
#endif
@@ -1,31 +0,0 @@
diff -ru a/plugins/volumealsa/volumealsa.c b/plugins/volumealsa/volumealsa.c
--- a/plugins/volumealsa/volumealsa.c 2021-01-29 23:33:27.000000000 +0100
+++ b/plugins/volumealsa/volumealsa.c 2021-03-21 13:49:00.124807793 +0100
@@ -794,10 +794,25 @@
gdouble val = gtk_range_get_value(GTK_RANGE(vol->volume_scale));
/* Dispatch on scroll direction to update the value. */
- if ((evt->direction == GDK_SCROLL_UP) || (evt->direction == GDK_SCROLL_LEFT))
+ switch (evt->direction)
+ {
+ case GDK_SCROLL_UP: ;
+ case GDK_SCROLL_LEFT: ;
val += 2;
- else
+ break;
+ case GDK_SCROLL_DOWN: ;
+ case GDK_SCROLL_RIGHT: ;
val -= 2;
+ break;
+ case GDK_SCROLL_SMOOTH: ;
+ gdouble delta_x;
+ gdouble delta_y;
+ gdk_event_get_scroll_deltas(evt, &delta_x, &delta_y);
+ if (delta_y > 0)
+ val -= 2;
+ else
+ val += 2;
+ }
/* Reset the state of the vertical scale. This provokes a "value_changed" event. */
gtk_range_set_value(GTK_RANGE(vol->volume_scale), CLAMP((int)val, 0, 100));
@@ -1,20 +0,0 @@
--- lxpanel-0.10.1/plugins/task-button.c 2021-01-29 23:28:51.000000000 +0100
+++ lxpanel-0.10.1/plugins/task-button.c.new 2022-09-08 12:08:46.579475426 +0200
@@ -487,6 +487,9 @@ static void task_raise_window(TaskButton
if ((tk->desktop != ALL_WORKSPACES) && (tk->desktop != tb->desktop))
Xclimsgx(xscreen, RootWindowOfScreen(xscreen), a_NET_CURRENT_DESKTOP, tk->desktop, 0, 0, 0, 0);
+#if GTK_CHECK_VERSION(3, 0, 0)
+ Xclimsgx(xscreen, tk->win, a_NET_ACTIVE_WINDOW, 2, time, 0, 0, 0);
+#else
/* Raise the window. We can use NET_ACTIVE_WINDOW if the window manager supports it.
* Otherwise, do it the old way with XMapRaised and XSetInputFocus. */
if (tb->flags.use_net_active)
@@ -510,6 +513,7 @@ static void task_raise_window(TaskButton
if (attr.map_state == IsViewable)
XSetInputFocus(xdisplay, tk->win, RevertToNone, time);
}
+#endif
/* Change viewport if needed. */
XWindowAttributes xwa;
+11 -9
View File
@@ -3,7 +3,7 @@
<PISI> <PISI>
<Source> <Source>
<Name>lxpanel</Name> <Name>lxpanel</Name>
<Homepage>https://www.lxde.org/</Homepage> <Homepage>https://github.com/lxde/lxpanel</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
@@ -13,9 +13,7 @@
<PartOf>desktop.lxde</PartOf> <PartOf>desktop.lxde</PartOf>
<Summary>Lightweight X11 desktop panel for LXDE.</Summary> <Summary>Lightweight X11 desktop panel for LXDE.</Summary>
<Description>lxpanel is a lightweight X11 desktop panel for LXDE.</Description> <Description>lxpanel is a lightweight X11 desktop panel for LXDE.</Description>
<Archive sha1sum="393b78dbbb76518a99549411131c35da5bfed0fa" type="tarxz"> <Archive sha1sum="59d2eb0df9e4fedbf7e8e34f70fdcf34d750d17f" type="tarxz">https://github.com/lxde/releases/raw/master/releases/lxpanel-0.11.1.tar.xz</Archive>
mirrors://sourceforge/lxde/lxpanel-0.10.1.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>intltool</Dependency> <Dependency>intltool</Dependency>
<Dependency>atk-devel</Dependency> <Dependency>atk-devel</Dependency>
@@ -35,11 +33,8 @@
<Dependency>libfm-extra-devel</Dependency> <Dependency>libfm-extra-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">Correct_panel_size_under_GTK3.patch</Patch> <!-- <Patch level="1"></Patch> -->
<Patch level="1">Correct_icon_grid_width_under_GTK3.patch</Patch> <Patch level="1">mga-partial-workaround-for-issue-41.patch</Patch>
<Patch level="1">mageia/mga-fix-deiconify.patch</Patch>
<Patch level="1">mageia/mga-partial-workaround-for-issue-41.patch</Patch>
<Patch level="1">lxpanel-0.10.1-volume-plugin-fix-mouse-scrolling.patch</Patch>
</Patches> </Patches>
</Source> </Source>
@@ -92,6 +87,13 @@
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2025-06-12</Date>
<Version>0.11.1</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2022-11-16</Date> <Date>2022-11-16</Date>
<Version>0.10.1</Version> <Version>0.10.1</Version>
+2 -5
View File
@@ -7,10 +7,7 @@
from pisi.actionsapi import autotools, pisitools, get from pisi.actionsapi import autotools, pisitools, get
def setup(): def setup():
pisitools.cflags.add("-Wno-deprecated-declarations") autotools.configure("--enable-gtk3")
pisitools.unlink("*.stamp")
autotools.autoreconf("-fv")
autotools.configure("--enable-gtk3 --disable-buildin-polkit --disable-buildin-clipboard")
def build(): def build():
autotools.make() autotools.make()
@@ -18,5 +15,5 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README") pisitools.dodoc("AUTHORS", "COPYING")
@@ -1,69 +0,0 @@
From c398fd6db61bc084679759096bde5747e5616eca Mon Sep 17 00:00:00 2001
From: Jann Horn <jann@thejh.net>
Date: Sun, 18 Apr 2021 16:37:16 +0200
Subject: [PATCH] lxsession-logout: Avoid costly lsb_release invocation
Having the name of the distribution in the LXDE prompt looks kinda nice,
but `lsb_release -r -s` is fairly costly (or at least the version on
Debian is): It spins up a python interpreter, then runs `apt-cache policy`
(which in turn, among other things, runs
`/usr/bin/dpkg --print-foreign-architectures` twice).
On a desktop machine with a proper Haswell CPU, `lsb_release -r -s` takes
"only" around 105ms (around 79ms of that are for `apt-cache policy`);
but on an old Intel NUC with a 5-years-old mobile Intel Pentium with a TDP
of 6W, it takes roughly between 500ms and 1000ms.
As suggested by ZanderBrown, use glib's g_get_os_info() instead if
available. If that doesn't exist, it's probably better to omit the OS name
instead of potentially spending up to a second on figuring out what it is.
---
lxsession-logout/lxsession-logout.c | 33 ++++++-----------------------
1 file changed, 6 insertions(+), 27 deletions(-)
diff --git a/lxsession-logout/lxsession-logout.c b/lxsession-logout/lxsession-logout.c
index 489e6e3..f06e61d 100644
--- a/lxsession-logout/lxsession-logout.c
+++ b/lxsession-logout/lxsession-logout.c
@@ -716,35 +716,14 @@ int main(int argc, char * argv[])
if (session_name == NULL)
session_name = "LXDE";
- gchar *output = NULL;
-
- if (g_find_program_in_path("lsb_release"))
- {
- const gchar *command_line = "lsb_release -r -s";
- GError *error;
- if (!g_spawn_command_line_sync( command_line,
- &output,
- NULL,
- NULL,
- &error))
- {
-
- fprintf (stderr, "Error: %s\n", error->message);
- g_error_free (error);
-
- }
- }
+ gchar *os_name = NULL;
+#if GLIB_CHECK_VERSION(2, 64, 0)
+ os_name = g_get_os_info(G_OS_INFO_KEY_PRETTY_NAME);
+#endif
- if (output == NULL)
- {
- output = "";
- }
- else
- {
- output[strlen ( output ) - 1] = '\0';
- }
+ prompt = g_strdup_printf(_("<b><big>Logout %s %s session ?</big></b>"), session_name, os_name ? os_name : "");
- prompt = g_strdup_printf(_("<b><big>Logout %s %s session ?</big></b>"), session_name, output);
+ g_free(os_name);
}
gtk_label_set_markup(GTK_LABEL(label), prompt);
gtk_box_pack_start(GTK_BOX(controls), label, FALSE, FALSE, 4);
+13 -8
View File
@@ -3,19 +3,17 @@
<PISI> <PISI>
<Source> <Source>
<Name>lxsession</Name> <Name>lxsession</Name>
<Homepage>https://www.lxde.org/</Homepage> <Homepage>https://github.com/lxde/lxsession</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>Kamil Atlı</Name>
<Email>admins@pisilinux.org</Email> <Email>suvari@pisilinux.org</Email>
</Packager> </Packager>
<License>GPL-2</License> <License>GPLv2</License>
<IsA>app</IsA> <IsA>app</IsA>
<PartOf>desktop.lxde</PartOf> <PartOf>desktop.lxde</PartOf>
<Summary>LXDE session manager.</Summary> <Summary>LXDE session manager.</Summary>
<Description>lxsession is the default X11 session manager of LXDE.</Description> <Description>lxsession is the default X11 session manager of LXDE.</Description>
<Archive sha1sum="93f495f3afff0300de3c7b9aacce0ef29eb86bab" type="tarxz"> <Archive sha1sum="93f495f3afff0300de3c7b9aacce0ef29eb86bab" type="tarxz">https://github.com/lxde/releases/raw/master/releases/lxsession-0.5.6.tar.xz</Archive>
mirrors://sourceforge/lxde/lxsession-0.5.5.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>intltool</Dependency> <Dependency>intltool</Dependency>
<Dependency>vala-devel</Dependency> <Dependency>vala-devel</Dependency>
@@ -30,7 +28,7 @@
<Dependency>gdk-pixbuf-devel</Dependency> <Dependency>gdk-pixbuf-devel</Dependency>
</BuildDependencies> </BuildDependencies>
<Patches> <Patches>
<Patch level="1">Avoid_costly_lsb_release_invocation.patch</Patch> <!-- <Patch level="1"></Patch> -->
</Patches> </Patches>
</Source> </Source>
@@ -56,6 +54,13 @@
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2025-06-14</Date>
<Version>0.5.6</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2022-08-20</Date> <Date>2022-08-20</Date>
<Version>0.5.5</Version> <Version>0.5.5</Version>
+15
View File
@@ -0,0 +1,15 @@
#!/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, pisitools, get
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s prefix=/usr" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING")
+47
View File
@@ -0,0 +1,47 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>parsellite</Name>
<Homepage>https://github.com/rickyrockrat/parcellite</Homepage>
<Packager>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Packager>
<License>GPLv3</License>
<PartOf>desktop.lxde</PartOf>
<Summary>Lightweight GTK+ Clipboard Manager.</Summary>
<Description>A stripped down, basic-features-only clipboard manager with a small memory footprint for those who like simplicity.</Description>
<Archive sha1sum="03999d33b4f7186ef5c2d21b919e00b1a7c248a5" type="targz">https://github.com/rickyrockrat/parcellite/archive/1.2.5/parcellite-1.2.5.tar.gz</Archive>
<BuildDependencies>
<Dependency>intltool</Dependency>
<Dependency>gtk2-devel</Dependency>
<Dependency>glib2-devel</Dependency>
</BuildDependencies>
<Patches>
<!-- <Patch level="1"></Patch> -->
</Patches>
</Source>
<Package>
<Name>parcellite</Name>
<RuntimeDependencies>
<Dependency>gtk2</Dependency>
<Dependency>glib2</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2025-06-12</Date>
<Version>1.2.5</Version>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
</History>
</PISI>
+1 -2
View File
@@ -7,7 +7,6 @@
from pisi.actionsapi import autotools, pisitools, get from pisi.actionsapi import autotools, pisitools, get
def setup(): def setup():
pisitools.cflags.add("-Wno-deprecated-declarations -Wno-incompatible-pointer-types")
autotools.configure("--with-gtk=3") autotools.configure("--with-gtk=3")
def build(): def build():
@@ -16,5 +15,5 @@ def build():
def install(): def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR()) autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "NEWS") pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "TODO")
+9 -6
View File
@@ -3,7 +3,7 @@
<PISI> <PISI>
<Source> <Source>
<Name>pcmanfm</Name> <Name>pcmanfm</Name>
<Homepage>https://www.lxde.org/</Homepage> <Homepage>https://github.com/lxde/pcmanfm</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
@@ -13,16 +13,13 @@
<PartOf>desktop.lxde</PartOf> <PartOf>desktop.lxde</PartOf>
<Summary>LXDE default file manager.</Summary> <Summary>LXDE default file manager.</Summary>
<Description>PCMan File Manager is an extremly fast and lightweight file manager for LXDE.</Description> <Description>PCMan File Manager is an extremly fast and lightweight file manager for LXDE.</Description>
<Archive sha1sum="bc4e468b0ec3089aaf817eafed43ae06350961ee" type="tarxz"> <Archive sha1sum="4768f0ad3799a2598694052316a1fb5bc2f67732" type="tarxz">https://github.com/lxde/releases/raw/master/releases/pcmanfm-1.4.0.tar.xz</Archive>
mirrors://sourceforge/pcmanfm/pcmanfm-1.3.2.tar.xz
</Archive>
<BuildDependencies> <BuildDependencies>
<Dependency>intltool</Dependency> <Dependency>intltool</Dependency>
<Dependency>gtk3-devel</Dependency> <Dependency>gtk3-devel</Dependency>
<Dependency>pango-devel</Dependency> <Dependency>pango-devel</Dependency>
<Dependency>cairo-devel</Dependency> <Dependency>cairo-devel</Dependency>
<Dependency>gdk-pixbuf-devel</Dependency> <Dependency>gdk-pixbuf-devel</Dependency>
<Dependency>libfm-devel</Dependency>
<Dependency>libfm-extra-devel</Dependency> <Dependency>libfm-extra-devel</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
@@ -37,7 +34,6 @@
<Dependency>cairo</Dependency> <Dependency>cairo</Dependency>
<Dependency>libX11</Dependency> <Dependency>libX11</Dependency>
<Dependency>gdk-pixbuf</Dependency> <Dependency>gdk-pixbuf</Dependency>
<Dependency>libfm</Dependency>
<Dependency>libfm-extra</Dependency> <Dependency>libfm-extra</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
@@ -53,6 +49,13 @@
</Package> </Package>
<History> <History>
<Update release="2">
<Date>2025-06-12</Date>
<Version>1.4.0</Version>
<Comment>Version bump.</Comment>
<Name>Kamil Atlı</Name>
<Email>suvari@pisilinux.org</Email>
</Update>
<Update release="1"> <Update release="1">
<Date>2022-04-14</Date> <Date>2022-04-14</Date>
<Version>1.3.2</Version> <Version>1.3.2</Version>