1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

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>
This commit is contained in:
Pav Lucistnik 2005-11-08 21:36:33 +00:00
parent 760497b493
commit 9e1d390915
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147638
11 changed files with 149 additions and 0 deletions

View File

@ -89,6 +89,8 @@
SUBDIR += libgtk-java
SUBDIR += libgtkeditor
SUBDIR += libpanelappletmm
SUBDIR += libsexy
SUBDIR += libsexymm
SUBDIR += libwnck
SUBDIR += libxfce4gui
SUBDIR += libzvt

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (libsexy-0.1.3.1.tar.gz) = bffbbfb23d4b8560517e2beb59a3a4a0
SIZE (libsexy-0.1.3.1.tar.gz) = 314762

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (libsexymm-0.1.3.tar.gz) = f5efa414b48c204c7bac98451d5f6e99
SIZE (libsexymm-0.1.3.tar.gz) = 306224

View File

@ -0,0 +1,4 @@
C++ bindings for libsexy, a library containing useful extension widgets for
GTK+.
WWW: http://wiki.chipx86.com/wiki/Libsexy

View File

@ -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