pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48289: new packages: appmenu-qt plasma-widget-menumar libdbusmenu



>Number:         48289
>Category:       pkg
>Synopsis:       new packages: appmenu-qt plasma-widget-menumar libdbusmenu
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 08 09:40:00 +0000 2013
>Originator:     Nat Sloss
>Release:        pkgsrc-2013Q2
>Organization:
>Environment:
NetBSD test 6.1.1_PATCH NetBSD 6.1.1_PATCH (HPMICROSERVER) #1: Fri Sep 27 
19:34:11 EST 2013  build@test:/usr/src/sys/arch/i386/compile/obj/HPMICROSERVER 
i386

>Description:
Hi.  I have found that kde 4.10.3 is in pkgsrc but kde4's appmenu settings are 
not found as it is missing appmenu-qt, so I created a package.

I also created a package of plasma-widget-menu bar, which allows you to add an 
applications menu bar to a panel.

I then tried to get appmenu-gtk to work (not included in this PR as yet) but it 
requires ubuntu menu bar proxy patches to gtk2, so that does not work at this 
time.  However I did make a package of a prerequisite for appmenu-gtk, 
libdbusmenu.

Libdbusmenu is like the existing qt package except it is for GTK and GLIB 
applications.
>How-To-Repeat:
In kde 4.10 click on k-menu system-settings, application-appearance, style, 
select the fine tuning tab (There is no settings for menubars).
>Fix:
Apply these patches:
appmenu-qt is required for the menubar setting to appear.
It will allow for a global menu bar at the top of the screen or as a title bar 
button menu system, or export the menu (display no menubar) which is useful if 
the menus are to be handled by a widget.

plasma-widget-menubar is handy for when the menu bar of an application is 
desired to be in a panel on screen.

libdbusmenu is really for those that want to have gtk applications menu bars 
displayed in panels or in a global top screen menu, it is a required for 
appmenu-gtk (Which I am still working on, and will probably add to this PR in a 
week or so).

libdbusmenu is not required and does not provide any functionality to kde qt 
applications.

--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/appmenu-qt/PLIST       2013-10-07 21:13:02.000000000 +1100
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+qt4/plugins/menubar/libappmenu-qt.so
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/appmenu-qt/Makefile    2013-10-08 20:05:48.000000000 +1100
@@ -0,0 +1,14 @@
+
+DISTNAME=      appmenu-qt-0.2.6
+CATEGORIES=    x11
+COMMENT=       Library for QT/KDE program appmenu support
+MASTER_SITES=  
-http://ftp7.de.netbsd.org/pub/releases.ubuntu.com/ubuntu/pool/main/a/appmenu-qt/appmenu-qt_0.2.6.orig.tar.bz2
+EXTRACT_SUFX=  .tar.bz2
+
+.include "../../meta-pkgs/kde4/Makefile.kde4"
+
+.include "../../meta-pkgs/kde4/kde4.mk"
+
+.include "../../x11/kdelibs4/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/appmenu-qt/DESCR       2013-10-07 20:21:48.000000000 +1100
@@ -0,0 +1,2 @@
+qppmenu-qt - A library required for appmenu on kde4.10 to work with QT/KDE
+       applications.
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/appmenu-qt/distinfo    2013-10-07 20:34:45.000000000 +1100
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (appmenu-qt-0.2.6.tar.bz2) = e600d389b85c941e2c891e5123968f1ffaa666d0
+RMD160 (appmenu-qt-0.2.6.tar.bz2) = 82e984dc9b3ae5646387946567f325a9b9db16b5
+Size (appmenu-qt-0.2.6.tar.bz2) = 22569 bytes
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/plasma-widget-menubar/Makefile 2013-10-08 20:06:22.000000000 
+1100
@@ -0,0 +1,16 @@
+
+DISTNAME=      plasma-widget-menubar-0.2.0
+CATEGORIES=    x11
+COMMENT=       kde application menubar plasmoid
+MASTER_SITES=  
-https://launchpad.net/plasma-widget-menubar/trunk/0.2.0/+download/plasma-widget-menubar-0.2.0.tar.bz2
+EXTRACT_SUFX=  .tar.bz2
+FETCH_USING=   curl
+
+.include "../../devel/qjson/buildlink3.mk"
+.include "../../meta-pkgs/kde4/Makefile.kde4"
+
+.include "../../meta-pkgs/kde4/kde4.mk"
+
+.include "../../x11/kdelibs4/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/plasma-widget-menubar/DESCR    2013-10-07 22:04:45.000000000 
+1100
@@ -0,0 +1 @@
+kde4 menubar plasmoid
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/plasma-widget-menubar/PLIST    2013-10-07 23:00:21.000000000 
+1100
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+lib/kde4/plasma_applet_menubar.so
+share/kde4/services/plasma-applet-menubar.desktop
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/plasma-widget-menubar/distinfo 2013-10-07 22:29:57.000000000 
+1100
@@ -0,0 +1,5 @@
+$NetBSD$
+
+SHA1 (plasma-widget-menubar-0.2.0.tar.bz2) = 
f45df20379c59c100e8305e344211d4d6c08c079
+RMD160 (plasma-widget-menubar-0.2.0.tar.bz2) = 
badb06a88c4f07d9155974f60a7d1c6db54d831c
+Size (plasma-widget-menubar-0.2.0.tar.bz2) = 27631 bytes
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/Makefile   2013-10-08 20:04:28.000000000 +1100
@@ -0,0 +1,26 @@
+
+DISTNAME=      libdbusmenu-12.10.2
+CATEGORIES=    devel
+MASTER_SITES=  https://launchpad.net/libdbusmenu/12.10/12.10.2/+download/
+EXTRACT_SUFX=  .tar.gz
+
+FETCH_USING=   curl
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://people.canonical.com/~agateau/dbusmenu/index.html
+COMMENT=       Dbusmenu library for Gtk
+LICENSE=       gnu-lgpl-v2.1
+
+USE_TOOLS=     intltool pkg-config gmake
+USE_LANGUAGES=  c c++
+GNU_CONFIGURE= yes
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/gobject-introspection/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../textproc/json-glib/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/DESCR      2011-05-14 07:21:24.000000000 +1000
@@ -0,0 +1,4 @@
+This library provides a Qt implementation of the DBusMenu protocol.
+
+The DBusMenu protocol makes it possible for applications to export and import
+their menus over DBus.
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/PLIST      2013-10-08 11:29:54.000000000 +1100
@@ -0,0 +1,65 @@
+@comment $NetBSD$
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/client.h
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/dbusmenu-glib.h
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/enum-types.h
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/menuitem-proxy.h
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/menuitem.h
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/server.h
+include/libdbusmenu-glib-0.4/libdbusmenu-glib/types.h
+include/libdbusmenu-glib-0.4/libdbusmenu-jsonloader/json-loader.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/client.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/dbusmenu-gtk.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/menu.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/menuitem.h
+include/libdbusmenu-gtk3-0.4/libdbusmenu-gtk/parser.h
+lib/girepository-1.0/Dbusmenu-0.4.typelib
+lib/girepository-1.0/DbusmenuGtk3-0.4.typelib
+lib/libdbusmenu-glib.la
+lib/libdbusmenu-gtk3.la
+lib/libdbusmenu-jsonloader.la
+lib/pkgconfig/dbusmenu-glib-0.4.pc
+lib/pkgconfig/dbusmenu-gtk3-0.4.pc
+lib/pkgconfig/dbusmenu-jsonloader-0.4.pc
+libexec/dbusmenu-bench
+libexec/dbusmenu-dumper
+libexec/dbusmenu-testapp
+share/doc/libdbusmenu/README.dbusmenu-bench
+share/doc/libdbusmenu/examples/glib-server-nomenu.c
+share/gir-1.0/Dbusmenu-0.4.gir
+share/gir-1.0/DbusmenuGtk3-0.4.gir
+share/gtk-doc/html/libdbusmenu-glib/annotation-glossary.html
+share/gtk-doc/html/libdbusmenu-glib/api-index-deprecated.html
+share/gtk-doc/html/libdbusmenu-glib/api-index-full.html
+share/gtk-doc/html/libdbusmenu-glib/ch01.html
+share/gtk-doc/html/libdbusmenu-glib/home.png
+share/gtk-doc/html/libdbusmenu-glib/index.html
+share/gtk-doc/html/libdbusmenu-glib/index.sgml
+share/gtk-doc/html/libdbusmenu-glib/left.png
+share/gtk-doc/html/libdbusmenu-glib/libdbusmenu-glib-DbusmenuClient.html
+share/gtk-doc/html/libdbusmenu-glib/libdbusmenu-glib-DbusmenuMenuitem.html
+share/gtk-doc/html/libdbusmenu-glib/libdbusmenu-glib-DbusmenuMenuitemProxy.html
+share/gtk-doc/html/libdbusmenu-glib/libdbusmenu-glib-DbusmenuServer.html
+share/gtk-doc/html/libdbusmenu-glib/libdbusmenu-glib-Types.html
+share/gtk-doc/html/libdbusmenu-glib/libdbusmenu-glib.devhelp2
+share/gtk-doc/html/libdbusmenu-glib/object-tree.html
+share/gtk-doc/html/libdbusmenu-glib/right.png
+share/gtk-doc/html/libdbusmenu-glib/style.css
+share/gtk-doc/html/libdbusmenu-glib/up.png
+share/gtk-doc/html/libdbusmenu-gtk/annotation-glossary.html
+share/gtk-doc/html/libdbusmenu-gtk/api-index-deprecated.html
+share/gtk-doc/html/libdbusmenu-gtk/api-index-full.html
+share/gtk-doc/html/libdbusmenu-gtk/ch01.html
+share/gtk-doc/html/libdbusmenu-gtk/home.png
+share/gtk-doc/html/libdbusmenu-gtk/index.html
+share/gtk-doc/html/libdbusmenu-gtk/index.sgml
+share/gtk-doc/html/libdbusmenu-gtk/left.png
+share/gtk-doc/html/libdbusmenu-gtk/libdbusmenu-gtk-DbusmenuGtkClient.html
+share/gtk-doc/html/libdbusmenu-gtk/libdbusmenu-gtk-DbusmenuGtkMenu.html
+share/gtk-doc/html/libdbusmenu-gtk/libdbusmenu-gtk-menuitem.html
+share/gtk-doc/html/libdbusmenu-gtk/libdbusmenu-gtk-parser.html
+share/gtk-doc/html/libdbusmenu-gtk/libdbusmenu-gtk.devhelp2
+share/gtk-doc/html/libdbusmenu-gtk/object-tree.html
+share/gtk-doc/html/libdbusmenu-gtk/right.png
+share/gtk-doc/html/libdbusmenu-gtk/style.css
+share/gtk-doc/html/libdbusmenu-gtk/up.png
+share/libdbusmenu/json/test-gtk-label.json
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/patches/patch-tools_Makefile.in    2013-10-08 
11:21:32.000000000 +1100
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/Makefile.in.orig     2012-10-03 15:57:07.000000000 +0000
++++ tools/Makefile.in
+@@ -387,7 +387,7 @@ dbusmenu_dumper_CFLAGS = \
+       -I $(srcdir)/.. \
+       $(DBUSMENUGLIB_CFLAGS) \
+       $(DBUSMENUDUMPER_CFLAGS) \
+-      -Wall -Werror
++      -Wall 
+ 
+ dbusmenu_dumper_LDADD = \
+       ../libdbusmenu-glib/libdbusmenu-glib.la \
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/patches/patch-tools_testapp_Makefile.in    
2013-10-08 11:21:32.000000000 +1100
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- tools/testapp/Makefile.in.orig     2012-10-03 15:57:07.000000000 +0000
++++ tools/testapp/Makefile.in
+@@ -314,7 +314,7 @@ dbusmenu_testapp_CFLAGS = \
+       -I $(srcdir)/../.. \
+       $(DBUSMENUTESTS_CFLAGS) \
+       $(DBUSMENUGLIB_CFLAGS) \
+-      -Wall -Werror
++      -Wall
+ 
+ dbusmenu_testapp_LDADD = \
+       $(builddir)/../../libdbusmenu-glib/libdbusmenu-glib.la \
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/buildlink3.mk      2013-10-08 11:50:47.000000000 
+1100
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.16 2013/06/06 12:53:41 wiz Exp $
+
+BUILDLINK_TREE+=       libdbusmenu
+
+.if !defined(LIBDBUSMENU_BUILDLINK3_MK)
+LIBDBUSMENU_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libdbusmenu+=    libdbusmenu>=10.12.2
+BUILDLINK_ABI_DEPENDS.libdbusmenu+=    libdbusmenu>=10.12.2
+BUILDLINK_PKGSRCDIR.libdbusmenu?=      ../../local/libdbusmenu
+
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../x11/gtk3/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/dbus/buildlink3.mk"
+.endif # LIBDBUSMENU_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libdbusmenu
--- /dev/null   2013-10-08 15:49:35.000000000 +1100
+++ pkgsrc/local/libdbusmenu/distinfo   2013-10-08 11:21:48.000000000 +1100
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (libdbusmenu-12.10.2.tar.gz) = 067b77564f90633aa58494e54b99d733a21f3142
+RMD160 (libdbusmenu-12.10.2.tar.gz) = bf424925750549d44d6fc2563caf37e73f21db3d
+Size (libdbusmenu-12.10.2.tar.gz) = 735730 bytes
+SHA1 (patch-tools_Makefile.in) = 80200d7169eebd0588a412520631871765a12c13
+SHA1 (patch-tools_testapp_Makefile.in) = 
d247a09d28753d24173956b7eb811cdd548cb74e


I hope that others find this useful.

Regards,

Nat.



Home | Main Index | Thread Index | Old Index