aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-11-09 05:36:33 +0800
committerpav <pav@FreeBSD.org>2005-11-09 05:36:33 +0800
commitd3d4dd7f92da18b7a8269ca3f5b1cae5528c9af9 (patch)
treea9ff300d9d87bbdd0eca7e6254214c7b2bd8e126 /x11-toolkits
parent40324cdd68ee6e4977e97de139bc7b93abaa8d77 (diff)
downloadfreebsd-ports-gnome-d3d4dd7f92da18b7a8269ca3f5b1cae5528c9af9.tar.gz
freebsd-ports-gnome-d3d4dd7f92da18b7a8269ca3f5b1cae5528c9af9.tar.zst
freebsd-ports-gnome-d3d4dd7f92da18b7a8269ca3f5b1cae5528c9af9.zip
libsexy is a library containing additional widgets for gtk:
- url label - spell checked text entry - text entry with icons libsexymm are the corresponding c++ bindings for libsexy. PR: ports/88577 Submitted by: Andreas Kohn <andreas@syndrom23.de>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile2
-rw-r--r--x11-toolkits/libsexy/Makefile27
-rw-r--r--x11-toolkits/libsexy/distinfo2
-rw-r--r--x11-toolkits/libsexy/files/patch-libsexy-sexy-icon-entry.c20
-rw-r--r--x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c20
-rw-r--r--x11-toolkits/libsexy/pkg-descr4
-rw-r--r--x11-toolkits/libsexy/pkg-plist10
-rw-r--r--x11-toolkits/libsexymm/Makefile36
-rw-r--r--x11-toolkits/libsexymm/distinfo2
-rw-r--r--x11-toolkits/libsexymm/pkg-descr4
-rw-r--r--x11-toolkits/libsexymm/pkg-plist22
11 files changed, 149 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 7bb81973ea49..92f5ca7978c7 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -89,6 +89,8 @@
SUBDIR += libgtk-java
SUBDIR += libgtkeditor
SUBDIR += libpanelappletmm
+ SUBDIR += libsexy
+ SUBDIR += libsexymm
SUBDIR += libwnck
SUBDIR += libxfce4gui
SUBDIR += libzvt
diff --git a/x11-toolkits/libsexy/Makefile b/x11-toolkits/libsexy/Makefile
new file mode 100644
index 000000000000..46afac597c69
--- /dev/null
+++ b/x11-toolkits/libsexy/Makefile
@@ -0,0 +1,27 @@
+# Ports collection makefile for: libsexy
+# Date created: 2005-11-06
+# Whom: Andreas Kohn <andreas@syndrom23.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libsexy
+PORTVERSION= 0.1.3.1
+CATEGORIES= x11-toolkits devel
+MASTER_SITES= http://osiris.chipx86.com/projects/libsexy/releases/
+
+MAINTAINER= andreas@syndrom23.de
+COMMENT= Extension widgets for GTK+
+
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
+LIB_DEPENDS= enchant:${PORTSDIR}/textproc/enchant
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
+
+USE_GNOME= gnomehack lthack gtk20 libxml2
+USE_LIBTOOL_VER= 15
+INSTALLS_SHLIB= yes
+USE_X_PREFIX= yes
+
+GNU_CONFIGURE= yes
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/libsexy/distinfo b/x11-toolkits/libsexy/distinfo
new file mode 100644
index 000000000000..b85d7a804892
--- /dev/null
+++ b/x11-toolkits/libsexy/distinfo
@@ -0,0 +1,2 @@
+MD5 (libsexy-0.1.3.1.tar.gz) = bffbbfb23d4b8560517e2beb59a3a4a0
+SIZE (libsexy-0.1.3.1.tar.gz) = 314762
diff --git a/x11-toolkits/libsexy/files/patch-libsexy-sexy-icon-entry.c b/x11-toolkits/libsexy/files/patch-libsexy-sexy-icon-entry.c
new file mode 100644
index 000000000000..cf8a1d0bf800
--- /dev/null
+++ b/x11-toolkits/libsexy/files/patch-libsexy-sexy-icon-entry.c
@@ -0,0 +1,20 @@
+--- libsexy/sexy-icon-entry.c.orig Fri Oct 14 10:48:10 2005
++++ libsexy/sexy-icon-entry.c Tue Nov 8 21:09:27 2005
+@@ -316,6 +316,8 @@
+
+ for (i = 0; i < MAX_ICONS; i++)
+ {
++ SexyIconInfo *icon_info;
++
+ attributes.window_type = GDK_WINDOW_CHILD;
+ attributes.wclass = GDK_INPUT_OUTPUT;
+ attributes.visual = gtk_widget_get_visual(widget);
+@@ -329,7 +331,7 @@
+ attributes_mask = GDK_WA_X | GDK_WA_Y |
+ GDK_WA_VISUAL | GDK_WA_COLORMAP;
+
+- SexyIconInfo *icon_info = &entry->priv->icons[i];
++ icon_info = &entry->priv->icons[i];
+ icon_info->window = gdk_window_new(widget->window, &attributes,
+ attributes_mask);
+ gdk_window_set_user_data(icon_info->window, widget);
diff --git a/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c b/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c
new file mode 100644
index 000000000000..772775ecd66f
--- /dev/null
+++ b/x11-toolkits/libsexy/files/patch-libsexy-sexy-spell-entry.c
@@ -0,0 +1,20 @@
+--- libsexy/sexy-spell-entry.c.orig Fri Oct 14 20:20:45 2005
++++ libsexy/sexy-spell-entry.c Tue Nov 8 22:13:53 2005
+@@ -866,13 +866,15 @@
+ gboolean
+ sexy_spell_entry_activate_language(SexySpellEntry *entry, const gchar *lang, GError **error)
+ {
++#ifdef HAVE_ENCHANT
++ gboolean ret;
++#endif
++
+ g_return_val_if_fail(entry != NULL, FALSE);
+ g_return_val_if_fail(SEXY_IS_SPELL_ENTRY(entry), FALSE);
+ g_return_val_if_fail(lang != NULL && lang != '\0', FALSE);
+
+ #ifdef HAVE_ENCHANT
+- gboolean ret;
+-
+ if (error)
+ g_return_val_if_fail(*error == NULL, FALSE);
+
diff --git a/x11-toolkits/libsexy/pkg-descr b/x11-toolkits/libsexy/pkg-descr
new file mode 100644
index 000000000000..3303e9c3ffd1
--- /dev/null
+++ b/x11-toolkits/libsexy/pkg-descr
@@ -0,0 +1,4 @@
+A library with extension widgets for GTK+. Included are a clickable URL
+label, a text entry with icon support, and others.
+
+WWW: http://wiki.chipx86.com/wiki/Libsexy
diff --git a/x11-toolkits/libsexy/pkg-plist b/x11-toolkits/libsexy/pkg-plist
new file mode 100644
index 000000000000..25ed7fecfa08
--- /dev/null
+++ b/x11-toolkits/libsexy/pkg-plist
@@ -0,0 +1,10 @@
+include/libsexy/sexy-enum-types.h
+include/libsexy/sexy-icon-entry.h
+include/libsexy/sexy-spell-entry.h
+include/libsexy/sexy-url-label.h
+include/libsexy/sexy.h
+lib/libsexy.a
+lib/libsexy.so
+lib/libsexy.so.1
+libdata/pkgconfig/libsexy.pc
+@dirrm include/libsexy
diff --git a/x11-toolkits/libsexymm/Makefile b/x11-toolkits/libsexymm/Makefile
new file mode 100644
index 000000000000..2b147512c71a
--- /dev/null
+++ b/x11-toolkits/libsexymm/Makefile
@@ -0,0 +1,36 @@
+# Ports collection makefile for: libsexymm
+# Date created: 2005-11-07
+# Whom: Andreas Kohn <andreas@syndrom23.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libsexymm
+PORTVERSION= 0.1.3
+CATEGORIES= x11-toolkits devel
+MASTER_SITES= http://osiris.chipx86.com/projects/libsexy/releases/
+
+MAINTAINER= andreas@syndrom23.de
+COMMENT= C++ bindings for libsexy
+
+LIB_DEPENDS= gtkmm-2.4:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ sexy:${PORTSDIR}/x11-toolkits/libsexy
+
+USE_GNOME= gnomehack
+USE_AUTOTOOLS= libtool:15:inc
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+INSTALLS_SHLIB= yes
+USE_X_PREFIX= yes
+USE_GCC= 3.4
+
+patch-autotools:
+ @(cd ${PATCH_WRKSRC}; \
+ for file in ${LIBTOOLFILES}; do \
+ ${CP} $$file $$file.tmp; \
+ ${SED} -e "/^ltmain=/s^\$$ac_aux_dir/ltmain.sh^${LTMAIN}^g" \
+ $$file.tmp > $$file; \
+ ${RM} $$file.tmp; \
+ done);
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/libsexymm/distinfo b/x11-toolkits/libsexymm/distinfo
new file mode 100644
index 000000000000..186ae9966bd2
--- /dev/null
+++ b/x11-toolkits/libsexymm/distinfo
@@ -0,0 +1,2 @@
+MD5 (libsexymm-0.1.3.tar.gz) = f5efa414b48c204c7bac98451d5f6e99
+SIZE (libsexymm-0.1.3.tar.gz) = 306224
diff --git a/x11-toolkits/libsexymm/pkg-descr b/x11-toolkits/libsexymm/pkg-descr
new file mode 100644
index 000000000000..3f6fec8ec4e8
--- /dev/null
+++ b/x11-toolkits/libsexymm/pkg-descr
@@ -0,0 +1,4 @@
+C++ bindings for libsexy, a library containing useful extension widgets for
+GTK+.
+
+WWW: http://wiki.chipx86.com/wiki/Libsexy
diff --git a/x11-toolkits/libsexymm/pkg-plist b/x11-toolkits/libsexymm/pkg-plist
new file mode 100644
index 000000000000..0809d2f74c3f
--- /dev/null
+++ b/x11-toolkits/libsexymm/pkg-plist
@@ -0,0 +1,22 @@
+include/libsexymm/libsexymm.h
+include/libsexymm/libsexymm/icon-entry.h
+include/libsexymm/libsexymm/private/icon-entry_p.h
+include/libsexymm/libsexymm/private/spell-entry_p.h
+include/libsexymm/libsexymm/private/url-label_p.h
+include/libsexymm/libsexymm/spell-entry.h
+include/libsexymm/libsexymm/url-label.h
+include/libsexymm/libsexymm/wrap_init.h
+lib/libsexymm.a
+lib/libsexymm.so
+lib/libsexymm.so.1
+lib/libsexymm/include/libsexymmconfig.h
+lib/libsexymm/proc/m4/convert.m4
+lib/libsexymm/proc/m4/convert_libsexymm.m4
+libdata/pkgconfig/libsexymm.pc
+@dirrm lib/libsexymm/proc/m4
+@dirrm lib/libsexymm/proc
+@dirrm lib/libsexymm/include
+@dirrm lib/libsexymm
+@dirrm include/libsexymm/libsexymm/private
+@dirrm include/libsexymm/libsexymm
+@dirrm include/libsexymm