More cleaning dependencies

This commit is contained in:
jolupa 2019-11-01 02:10:42 +01:00
parent 17f5b338ef
commit 9e4e6f67b9
11 changed files with 62 additions and 294 deletions

View File

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/jolupalabs.pub
RWSXS6u+dmakZJ/rTqkF6FzfRCowPtWHENAXOzV2Cq1750fHjuqGtXfyqMwlOhJV0oHS1Qlp/vvJHdfQvrItQ6xpxXekc890yAo=
SHA256 (Pkgfile) = f562d7a250d8b6f84644b4edcbf2713ab8abd2d340d94fc45b1697504ba08e2f
RWSXS6u+dmakZGirtVF8D0mrXnSIJ9sUcMdSmbtxP/Rkg7a4oQRkT9FaM4ZvuC0vpIh7nBZZFbqXmjqE4oGGuWyLcs5h6miNCAM=
SHA256 (Pkgfile) = 45693c8c5910a31799446501980d6bd15567814e6f25f3bac7cce5c27355047a
SHA256 (.footprint) = f8e01e8094d137d563d484829819e7ef5b4072058848e0e4725f0cfb84d12a2a
SHA256 (mousepad-0.4.1.tar.gz) = 7e2de2078641506571700876ab98f4c47a7d94315968fa604e588ef2cdd2dfcd
SHA256 (patch1.patch) = 5715a19b7d288976de8657a841595dc8502834dfc6b05029ade084ab20f598a7
SHA256 (mousepad-0.4.1.tar.bz2) = 39a7379b929d964665299c385b2cf705e32e8760698ccc34f91c990bb733518b

View File

@ -1,26 +1,21 @@
# Description: A simple text editor for Xfce
# URL: https://www.xfce.org
# Maintainer: jolupa, jolupameister at gmail dot com
# Depends on: xfce4-dev-tools gtk3 glib libxfce4util gtksourceview
# Depends on: libxfce4util gtk3 dbus-glib gtksourceview
name=mousepad
version=0.4.1
release=6
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz patch1.patch)
release=7
source=(http://archive.xfce.org/src/apps/mousepad/0.4/$name-$version.tar.bz2)
build() {
cd $name-$version
patch -p1 -i $SRC/patch1.patch
./autogen.sh \
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
--disable-static \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--enable-gtk3 \
--enable-dbus \
--enable-keyfile-settings

View File

@ -1,216 +0,0 @@
From abd4ede639bc8a4f53562d6ee4a33e2c2d2a3e52 Mon Sep 17 00:00:00 2001
From: Andre Miranda <andreldm@xfce.org>
Date: Thu, 1 Aug 2019 23:38:34 -0300
Subject: Replace (some) GtkStock buttons
---
mousepad/mousepad-close-button.c | 2 +-
mousepad/mousepad-dialogs.c | 8 ++++----
mousepad/mousepad-dialogs.h | 2 --
mousepad/mousepad-encoding-dialog.c | 4 ++--
mousepad/mousepad-print.c | 2 +-
mousepad/mousepad-replace-dialog.c | 2 +-
mousepad/mousepad-search-bar.c | 6 +++---
mousepad/mousepad-util.c | 4 ++--
mousepad/mousepad-util.h | 2 +-
mousepad/mousepad-window.c | 4 ++--
10 files changed, 17 insertions(+), 19 deletions(-)
diff --git a/mousepad/mousepad-close-button.c b/mousepad/mousepad-close-button.c
index 8c52416..4ead284 100644
--- a/mousepad/mousepad-close-button.c
+++ b/mousepad/mousepad-close-button.c
@@ -84,7 +84,7 @@ mousepad_close_button_init (MousepadCloseButton *button)
gtk_widget_set_name (GTK_WIDGET (button), "mousepad-close-button");
#endif
- image = gtk_image_new_from_icon_name ("gtk-close", GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_MENU);
gtk_container_add (GTK_CONTAINER (button), image);
gtk_widget_show (image);
diff --git a/mousepad/mousepad-dialogs.c b/mousepad/mousepad-dialogs.c
index 76745b9..8b03ab2 100644
--- a/mousepad/mousepad-dialogs.c
+++ b/mousepad/mousepad-dialogs.c
@@ -308,7 +308,7 @@ mousepad_dialogs_clear_recent (GtkWindow *parent)
"remove all currently listed entries."));
/* the dialog icon */
- image = gtk_image_new_from_stock (GTK_STOCK_CLEAR, GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name ("edit-clear", GTK_ICON_SIZE_DIALOG);
gtk_message_dialog_set_image (GTK_MESSAGE_DIALOG (dialog), image);
gtk_widget_show (image);
@@ -337,19 +337,19 @@ mousepad_dialogs_save_changes (GtkWindow *parent,
GTK_MESSAGE_OTHER, GTK_BUTTONS_NONE,
_("Do you want to save the changes before closing?"));
gtk_window_set_title (GTK_WINDOW (dialog), _("Save Changes"));
- gtk_dialog_add_action_widget (GTK_DIALOG (dialog), mousepad_util_image_button (GTK_STOCK_DELETE, _("_Don't Save")), MOUSEPAD_RESPONSE_DONT_SAVE);
+ gtk_dialog_add_action_widget (GTK_DIALOG (dialog), mousepad_util_image_button ("edit-delete", _("_Don't Save")), MOUSEPAD_RESPONSE_DONT_SAVE);
gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CANCEL, MOUSEPAD_RESPONSE_CANCEL);
/* we show the save as button instead of save for readonly document */
if (G_UNLIKELY (readonly))
{
- image = gtk_image_new_from_stock (GTK_STOCK_SAVE_AS, GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name ("document-save-as", GTK_ICON_SIZE_DIALOG);
gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_SAVE_AS, MOUSEPAD_RESPONSE_SAVE_AS, NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), MOUSEPAD_RESPONSE_SAVE_AS);
}
else
{
- image = gtk_image_new_from_stock (GTK_STOCK_SAVE, GTK_ICON_SIZE_DIALOG);
+ image = gtk_image_new_from_icon_name ("document-save", GTK_ICON_SIZE_DIALOG);
gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_STOCK_SAVE, MOUSEPAD_RESPONSE_SAVE, NULL);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), MOUSEPAD_RESPONSE_SAVE);
}
diff --git a/mousepad/mousepad-dialogs.h b/mousepad/mousepad-dialogs.h
index f059ddc..3c94f1a 100644
--- a/mousepad/mousepad-dialogs.h
+++ b/mousepad/mousepad-dialogs.h
@@ -38,8 +38,6 @@ enum {
MOUSEPAD_RESPONSE_CHECK_ENTRY
};
-GtkWidget *mousepad_dialogs_image_button (const gchar *stock_id,
- const gchar *label);
void mousepad_dialogs_show_about (GtkWindow *parent);
diff --git a/mousepad/mousepad-encoding-dialog.c b/mousepad/mousepad-encoding-dialog.c
index 110a3c9..3d73120 100644
--- a/mousepad/mousepad-encoding-dialog.c
+++ b/mousepad/mousepad-encoding-dialog.c
@@ -129,7 +129,7 @@ mousepad_encoding_dialog_init (MousepadEncodingDialog *dialog)
/* create the header */
mousepad_util_dialog_header (GTK_DIALOG (dialog), _("The document was not UTF-8 valid"),
- _("Please select an encoding below."), GTK_STOCK_FILE);
+ _("Please select an encoding below."), "text-x-generic");
/* dialog vbox */
vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
@@ -192,7 +192,7 @@ mousepad_encoding_dialog_init (MousepadEncodingDialog *dialog)
gtk_box_pack_start (GTK_BOX (vbox), dialog->error_box, FALSE, FALSE, 0);
/* error icon */
- icon = gtk_image_new_from_stock (GTK_STOCK_DIALOG_ERROR, GTK_ICON_SIZE_BUTTON);
+ icon = gtk_image_new_from_icon_name ("dialog-error", GTK_ICON_SIZE_BUTTON);
gtk_box_pack_start (GTK_BOX (dialog->error_box), icon, FALSE, FALSE, 0);
gtk_widget_show (icon);
diff --git a/mousepad/mousepad-print.c b/mousepad/mousepad-print.c
index 63c470c..0615bae 100644
--- a/mousepad/mousepad-print.c
+++ b/mousepad/mousepad-print.c
@@ -607,7 +607,7 @@ mousepad_print_create_custom_widget (GtkPrintOperation *operation)
gtk_container_add (GTK_CONTAINER (frame), alignment);
gtk_widget_show (alignment);
- button = mousepad_util_image_button (GTK_STOCK_PROPERTIES, _("_Adjust page size and orientation"));
+ button = mousepad_util_image_button ("document-properties", _("_Adjust page size and orientation"));
g_signal_connect (G_OBJECT (button), "clicked", G_CALLBACK (mousepad_print_page_setup_dialog), operation);
gtk_container_add (GTK_CONTAINER (alignment), button);
gtk_widget_show (button);
diff --git a/mousepad/mousepad-replace-dialog.c b/mousepad/mousepad-replace-dialog.c
index 3ffd6f8..8b4f44c 100644
--- a/mousepad/mousepad-replace-dialog.c
+++ b/mousepad/mousepad-replace-dialog.c
@@ -141,7 +141,7 @@ mousepad_replace_dialog_init (MousepadReplaceDialog *dialog)
/* dialog buttons */
dialog->find_button = gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_FIND, MOUSEPAD_RESPONSE_FIND);
- dialog->replace_button = mousepad_util_image_button (GTK_STOCK_FIND_AND_REPLACE, _("_Replace"));
+ dialog->replace_button = mousepad_util_image_button ("edit-find-replace", _("_Replace"));
gtk_dialog_add_action_widget (GTK_DIALOG (dialog), dialog->replace_button, MOUSEPAD_RESPONSE_REPLACE);
gtk_dialog_add_button (GTK_DIALOG (dialog), GTK_STOCK_CLOSE, MOUSEPAD_RESPONSE_CLOSE);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), MOUSEPAD_RESPONSE_FIND);
diff --git a/mousepad/mousepad-search-bar.c b/mousepad/mousepad-search-bar.c
index 6690109..963c32a 100644
--- a/mousepad/mousepad-search-bar.c
+++ b/mousepad/mousepad-search-bar.c
@@ -224,7 +224,7 @@ mousepad_search_bar_init (MousepadSearchBar *bar)
gtk_widget_show (bar->entry);
/* next button */
- image = gtk_image_new_from_stock (GTK_STOCK_GO_DOWN, TOOL_BAR_ICON_SIZE);
+ image = gtk_image_new_from_icon_name ("go-down", TOOL_BAR_ICON_SIZE);
gtk_widget_show (image);
item = gtk_tool_button_new (image, _("_Next"));
@@ -235,7 +235,7 @@ mousepad_search_bar_init (MousepadSearchBar *bar)
gtk_widget_show (GTK_WIDGET (item));
/* previous button */
- image = gtk_image_new_from_stock (GTK_STOCK_GO_UP, TOOL_BAR_ICON_SIZE);
+ image = gtk_image_new_from_icon_name ("go-up", TOOL_BAR_ICON_SIZE);
gtk_widget_show (image);
item = gtk_tool_button_new (image, _("_Previous"));
@@ -248,7 +248,7 @@ mousepad_search_bar_init (MousepadSearchBar *bar)
/* highlight all */
item = (GtkToolItem *) gtk_toggle_tool_button_new ();
g_signal_connect_object (G_OBJECT (bar), "destroy", G_CALLBACK (gtk_widget_destroy), item, G_CONNECT_SWAPPED);
- gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), GTK_STOCK_SELECT_ALL);
+ gtk_tool_button_set_icon_name (GTK_TOOL_BUTTON (item), "edit-select-all");
gtk_tool_button_set_label (GTK_TOOL_BUTTON (item), _("Highlight _All"));
gtk_tool_item_set_is_important (item, TRUE);
gtk_tool_button_set_use_underline (GTK_TOOL_BUTTON (item), TRUE);
diff --git a/mousepad/mousepad-util.c b/mousepad/mousepad-util.c
index 350ee64..4f0893a 100644
--- a/mousepad/mousepad-util.c
+++ b/mousepad/mousepad-util.c
@@ -361,12 +361,12 @@ mousepad_util_escape_underscores (const gchar *str)
GtkWidget *
-mousepad_util_image_button (const gchar *stock_id,
+mousepad_util_image_button (const gchar *icon_name,
const gchar *label)
{
GtkWidget *button, *image;
- image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON);
+ image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_BUTTON);
gtk_widget_show (image);
button = gtk_button_new_with_mnemonic (label);
diff --git a/mousepad/mousepad-util.h b/mousepad/mousepad-util.h
index c83765a..3923858 100644
--- a/mousepad/mousepad-util.h
+++ b/mousepad/mousepad-util.h
@@ -80,7 +80,7 @@ gchar *mousepad_util_utf8_stropposite (const gchar *
gchar *mousepad_util_escape_underscores (const gchar *str);
-GtkWidget *mousepad_util_image_button (const gchar *stock_id,
+GtkWidget *mousepad_util_image_button (const gchar *icon_name,
const gchar *label);
void mousepad_util_entry_error (GtkWidget *widget,
diff --git a/mousepad/mousepad-window.c b/mousepad/mousepad-window.c
index a5231c4..65a2c5d 100644
--- a/mousepad/mousepad-window.c
+++ b/mousepad/mousepad-window.c
@@ -2330,7 +2330,7 @@ mousepad_window_menu_templates_fill (MousepadWindow *window,
g_free (label);
/* set menu image */
- image = gtk_image_new_from_icon_name (GTK_STOCK_DIRECTORY, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("folder", GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
gtk_widget_show (image);
}
@@ -2366,7 +2366,7 @@ mousepad_window_menu_templates_fill (MousepadWindow *window,
gtk_widget_show (item);
/* set menu image */
- image = gtk_image_new_from_icon_name (GTK_STOCK_FILE, GTK_ICON_SIZE_MENU);
+ image = gtk_image_new_from_icon_name ("text-x-generic", GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (item), image);
gtk_widget_show (image);
--
cgit v1.2.1

View File

@ -1,6 +1,6 @@
# !/bin/sh
# Post install file for mousepad
glib-compile-schemas /usr/share/glib-2.0/schemas/
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
# End file post install mousepad

View File

@ -2,6 +2,9 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/xfce4-notifyd-config
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/systemd/
drwxr-xr-x root/root usr/lib/systemd/user/
-rw-r--r-- root/root usr/lib/systemd/user/xfce4-notifyd.service
drwxr-xr-x root/root usr/lib/xfce4/
drwxr-xr-x root/root usr/lib/xfce4/notifyd/
-rwxr-xr-x root/root usr/lib/xfce4/notifyd/xfce4-notifyd

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/jolupalabs.pub
RWSXS6u+dmakZBqoQspGduxHrTgEXjF9i6ew0adX8pDAdmWqeYpCBh6rKiQHCWl0r5Dnq9I0fZubt6nAR3OUC/1jAmstUICbLQM=
SHA256 (Pkgfile) = eeedf426ebbb96b09050be0744beff907126fea7cb295d5ce1e20b6393466d9b
SHA256 (.footprint) = 709af7ad89b077beea79d59fec2eac257638ef24930bd2aeb1683df458999013
SHA256 (xfce4-notifyd-0.4.4.tar.gz) = fb8bf9d0a1507a37ae65d3eff88200388b6ab74395b56b1a15a0b99c06375cf8
RWSXS6u+dmakZIaIj6U0RNDBzFB66DFCxk7+WiL0cFGlQ/KNXMjavrosJRgamXfd/Nljqi2MpxFh/hQMkAB798kRBd6l/kUOogw=
SHA256 (Pkgfile) = f0cec12962b80c223bbbfc58dc8ce124f9fd922099583fd3879d2d5625cdb577
SHA256 (.footprint) = bf661593ef837dcd365c410fca727f7462fe8362515b5f4402bc5ac5c30589a2
SHA256 (xfce4-notifyd-0.4.4.tar.bz2) = 090571acf94c423003426cb779fb23e8545c68bab6485563b589c7def8a21b55

View File

@ -1,34 +1,27 @@
# Description: Easily themable notification daemon with transparency effect
# URL: https://www.xfce.org
# Maintainer: jolupa, jlpavon at me dot com
# Depends on: xfce4-dev-tools gtk3 glib libxfce4util libxfce4ui xfconf libnotify xfce4-panel
# Depends on: libnotify libxfce4ui xfce4-panel
name=xfce4-notifyd
version=0.4.4
release=5
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz)
release=6
source=(http://archive.xfce.org/src/apps/xfce4-notifyd/0.4/$name-$version.tar.bz2)
build() {
cd $name-$version
./autogen.sh \
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
--disable-static \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--disable-gtk2 \
--enable-gtk3
make
make DESTDIR=$PKG install
#install -d $PKG/etc
#mv $PKG/usr/share/dbus-1 $PKG/etc
rm -r $PKG/usr/lib/systemd
#rm -r $PKG/usr/share/locale
}

View File

@ -1,6 +0,0 @@
# !/bin/sh
# Post install file for Xfce Notifications
gtk-update-icon-cache /usr/share/icons/hicolor
# End post install file

View File

@ -1,18 +1,17 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/pam.d/
-rw-r--r-- root/root etc/pam.d/xfce4-screensaver
drwxr-xr-x root/root etc/xdg/
drwxr-xr-x root/root etc/xdg/autostart/
-rw-r--r-- root/root etc/xdg/autostart/xfce4-screensaver.desktop
drwxr-xr-x root/root etc/xdg/menus/
-rw-r--r-- root/root etc/xdg/menus/xfce4-screensavers.menu
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/xfce4-screensaver
-rwxr-xr-x root/root usr/bin/xfce4-screensaver-command
-rwxr-xr-x root/root usr/bin/xfce4-screensaver-configure
-rwxr-xr-x root/root usr/bin/xfce4-screensaver-preferences
drwxr-xr-x root/root usr/etc/
drwxr-xr-x root/root usr/etc/xdg/
drwxr-xr-x root/root usr/etc/xdg/autostart/
-rw-r--r-- root/root usr/etc/xdg/autostart/xfce4-screensaver.desktop
drwxr-xr-x root/root usr/etc/xdg/menus/
-rw-r--r-- root/root usr/etc/xdg/menus/xfce4-screensavers.menu
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/xfce4-screensaver/
-rwxr-xr-x root/root usr/lib/xfce4-screensaver/xfce4-screensaver-dialog

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/jolupalabs.pub
RWSXS6u+dmakZEX1ABOhsEU1pS55OmpuGnUr7xioEoJk0ZAnHL8SEOHySzjU1ZhcrYD/NxdpLkncgoinLYrbWQDV57IOXqRtkQs=
SHA256 (Pkgfile) = 3745db08eec53e22c917516cc2f4dfee7e0eadf674e5e8256a880fdfcdae3191
SHA256 (.footprint) = 10060c3f5b2121f06947d93d9939cd6aebc7ac4e4a6fe964096abe9c34e80f2f
SHA256 (xfce4-screensaver-0.1.8.tar.gz) = 5ac5085716362dca4d6bb2ff0f5ca107d187924888304642d7169fa425e9fada
RWSXS6u+dmakZEcRBtegmmUMk+Nk16MWI6z7aHwiI+2s7HymVrPN733eEnvVmwv79mX2/fz0hoY8RkJs5dZfSjv/ZyYWZEOrMgI=
SHA256 (Pkgfile) = 1b5cc45049eab595bd25225aa7da4af711a6c8571887d218ab6c21aacf8d8430
SHA256 (.footprint) = 1583deeb301524d181b4286835c08f3ea0b5f28f36fdd3c0a0fff2a02308036f
SHA256 (xfce4-screensaver-0.1.8.tar.bz2) = 4056045ea5fd3eccfe328b86ae245ee4949b9e3044e42ca29c492c0f4ac860d7
SHA256 (common_auth.patch) = 57e328612bd789307640d3aba1266caced93fd67cf7829118be90eb0331845a7

View File

@ -1,12 +1,12 @@
# Description: Screensaver for Xfce
# URL: https://git.xfce.org/apps/xfce4-screensaver/
# Maintainer: jolupa, jlpavon at me dot com
# Depends on: xfce4-dev-tools xorg-libxscrnsaver xfconf libxfce4ui libxfce4util garcon gtk3 libxklavier exo libwnck-gtk3
# Depends on: liibxfce4util libxfce4ui xfconf exo garcon xorg-libxscrnsaver gtk3 libxklavier libwnck-gtk3
name=xfce4-screensaver
version=0.1.8
release=1
source=(https://git.xfce.org/apps/$name/snapshot/$name-$version.tar.gz common_auth.patch)
release=2
source=(http://archive.xfce.org/src/apps/xfce4-screensaver/0.1/$name-$version.tar.bz2 common_auth.patch)
build() {
@ -14,9 +14,10 @@ build() {
patch -p1 -i $SRC/common_auth.patch
./autogen.sh \
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/$name \
--sysconfdir=/etc \
--enable-pam \
--enable-authentication-scheme=pam \
--with-pam-prefix=/etc \