Openbsd: add tdelibs

pull/3/head
François Andriot 10 years ago
parent 3ad3711e4c
commit 439dfafdda

@ -0,0 +1,150 @@
.include </usr/ports/x11/trinity/trinity.port.mk>
VERSION= ${TDE_VERSION}
REVISION= 1
PKGNAME= trinity-tdelibs-${VERSION}
PREFIX= ${TDE_PREFIX}
CATEGORIES= x11/trinity
COMMENT= TDE Libraries
MASTER_SITES= http://nuc.vtf/tde/tde-tarballs/14.0.0/main/
DISTNAME= trinity-tdelibs-14.0.0~pre899+9a6735bb
EXTRACT_SUFX= .tar.gz
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+2,-guic
BUILD_DEPENDS= devel/imake \
devel/gmake \
devel/cmake
LIB_DEPENDS+= x11/trinity/dependencies/tqtinterface,-main \
x11/trinity/dependencies/arts \
x11/trinity/dependencies/dbus-tqt \
x11/trinity/dependencies/dbus-1-tqt \
x11/trinity/dependencies/libart-lgpl
LIB_DEPENDS+= archivers/bzip2 \
devel/libidn \
devel/pcre \
graphics/jasper \
graphics/openexr \
graphics/tiff \
net/avahi \
print/cups \
print/freetype \
sysutils/gamin \
sysutils/upower \
textproc/aspell/core \
textproc/libxslt>=1.0.10
SHARED_LIBS += DCOP 14.0
SHARED_LIBS += artskde 1.2
SHARED_LIBS += connectionmanager 0.0
SHARED_LIBS += katepartinterfaces 0.0
SHARED_LIBS += kglib 0.0
SHARED_LIBS += kjava 1.0
SHARED_LIBS += kjs 1.2
SHARED_LIBS += networkstatus 0.0
SHARED_LIBS += tdeabc 1.2
SHARED_LIBS += tdeabc_dir 1.0
SHARED_LIBS += tdeabc_file 1.0
SHARED_LIBS += tdeabc_ldaptdeio 1.0
SHARED_LIBS += tdeabc_net 1.0
SHARED_LIBS += tdecore 14.0
SHARED_LIBS += tdednssd 1.0
SHARED_LIBS += tdefakes 14.0
SHARED_LIBS += tdefx 14.0
SHARED_LIBS += tdehtml 14.0
SHARED_LIBS += tdeimproxy 0.0
SHARED_LIBS += tdeio 14.0
SHARED_LIBS += tdemdi 1.0
SHARED_LIBS += tdemdi2 1.0
SHARED_LIBS += tdemediaplayer 0.0
SHARED_LIBS += tdemid 0.0
SHARED_LIBS += tdenewstuff 1.0
SHARED_LIBS += tdentlm 0.0
SHARED_LIBS += tdeparts 2.1
SHARED_LIBS += tdeprint 14.0
SHARED_LIBS += tdeprint_management 14.0
SHARED_LIBS += tderandr 0.0
SHARED_LIBS += tderesources 1.2
SHARED_LIBS += tdersync 0.0
SHARED_LIBS += tdesasl 1.2
SHARED_LIBS += tdescreensaver 14.0
SHARED_LIBS += tdescript 0.0
SHARED_LIBS += tdespell 14.0
SHARED_LIBS += tdespell2 1.0
SHARED_LIBS += tdesu 14.0
SHARED_LIBS += tdetexteditor 0.0
SHARED_LIBS += tdeui 14.0
SHARED_LIBS += tdeunittest 1.0
SHARED_LIBS += tdeutils 1.2
SHARED_LIBS += tdewalletbackend 1.0
SHARED_LIBS += tdewalletclient 1.0
SHARED_LIBS += vcard 0.0
post-patch:
cd ${WRKDIST}; \
gsed -i cmake/install_apidox \
cmake/generate_apidox \
kate/data/mel.xml \
kdoctools/update-entities.sh \
tderandr/libtderandr.cc \
-e "s|/bin/bash|${LOCALBASE}/bin/bash|g"; \
do-configure: tde-cmake-rmbuild
${TDE_CMAKE_CONFIGURE} \
-DDBUS_SYSTEM_CONF_DIRECTORY="${LOCALBASE}/share/dbus-1/system-services" \
\
-DWITH_ALL_OPTIONS=ON \
-DWITH_ARTS=ON \
-DWITH_ALSA=OFF \
-DWITH_LIBART=ON \
-DWITH_LIBIDN=ON \
-DWITH_SSL=ON \
-DWITH_CUPS=ON \
-DWITH_LUA=OFF \
-DWITH_TIFF=ON \
-DWITH_JASPER=ON \
-DWITH_OPENEXR=ON \
-DWITH_UTEMPTER=OFF \
-DWITH_ELFICON=OFF \
-DWITH_AVAHI=ON \
-DWITH_PCRE=ON \
-DWITH_INOTIFY=OFF \
-DWITH_GAMIN=ON \
-DWITH_TDEHWLIB=OFF \
-DWITH_TDEHWLIB_DAEMONS=OFF \
-DWITH_HAL=OFF \
-DWITH_DEVKITPOWER=OFF \
-DWITH_LOGINDPOWER=OFF \
-DWITH_UPOWER=ON \
-DWITH_UDISKS=OFF \
-DWITH_UDISKS2=OFF \
-DWITH_CONSOLEKIT=ON \
-DWITH_NETWORK_MANAGER_BACKEND=OFF \
-DWITH_SUDO_TDESU_BACKEND=OFF \
-DWITH_OLD_XDG_STD=OFF \
-DWITH_LZMA=ON \
-DWITH_LIBBFD=OFF \
-DWITH_XRANDR=ON \
-DWITH_XCOMPOSITE=ON \
-DWITH_KDE4_MENU_SUFFIX=OFF \
\
-DWITH_ASPELL=ON \
-DWITH_HSPELL=OFF \
-DWITH_TDEICONLOADER_DEBUG=OFF \
..
do-build: tde-cmake-build
do-install: tde-cmake-install
# Remove setuid bit
chmod 0755 ${PREFIX}/bin/fileshareset
chmod 0755 ${PREFIX}/bin/kgrantpty
chmod 0755 ${PREFIX}/bin/kpac_dhcp_helper
.include <bsd.port.mk>

@ -0,0 +1,5 @@
Libraries for the Trinity Desktop Environment:
TDE Libraries included: tdecore (TDE core library), kdeui (user interface),
kfm (file manager), khtmlw (HTML widget), tdeio (Input/Output, networking),
kspell (spelling checker), jscript (javascript), kab (addressbook),
kimgio (image manipulation).

@ -0,0 +1,92 @@
@comment $OpenBSD$
lib/libtdeinit_cupsdconf.so
lib/libtdeinit_dcopserver.so
lib/libtdeinit_kaddprinterwizard.so
lib/libtdeinit_kcookiejar.so
lib/libtdeinit_kded.so
lib/libtdeinit_tdebuildsycoca.so
lib/libtdeinit_tdecmshell.so
lib/libtdeinit_tdeconf_update.so
lib/libtdeinit_tdeio_http_cache_cleaner.so
lib/libtdeinit_tdeio_uiserver.so
lib/libtdeinit_tdelauncher.so
lib/trinity/cupsdconf.so
lib/trinity/dcopserver.so
lib/trinity/kaddprinterwizard.so
lib/trinity/kbzip2filter.so
lib/trinity/kcm_tderesources.so
lib/trinity/kcookiejar.so
lib/trinity/kded.so
lib/trinity/kded_kcookiejar.so
lib/trinity/kded_kdetrayproxy.so
lib/trinity/kded_kpasswdserver.so
lib/trinity/kded_kssld.so
lib/trinity/kded_networkstatus.so
lib/trinity/kded_proxyscout.so
lib/trinity/kded_tdeprintd.so
lib/trinity/kded_tdewalletd.so
lib/trinity/kgzipfilter.so
lib/trinity/kimg_dds.so
lib/trinity/kimg_eps.so
lib/trinity/kimg_exr.so
lib/trinity/kimg_hdr.so
lib/trinity/kimg_ico.so
lib/trinity/kimg_jp2.so
lib/trinity/kimg_pcx.so
lib/trinity/kimg_psd.so
lib/trinity/kimg_rgb.so
lib/trinity/kimg_tga.so
lib/trinity/kimg_tiff.so
lib/trinity/kimg_xcf.so
lib/trinity/kimg_xview.so
lib/trinity/kjavaappletviewer.so
lib/trinity/knotify.so
lib/trinity/kxzfilter.so
lib/trinity/libkatepart.so
lib/trinity/libshellscript.so
lib/trinity/libtdecertpart.so
lib/trinity/libtdehtmlpart.so
lib/trinity/libtdemultipart.so
lib/trinity/libtdeprint_management_module.so
lib/trinity/plugins/designer/tdewidgets.so
lib/trinity/plugins/styles/asteroid.so
lib/trinity/plugins/styles/highcolor.so
lib/trinity/plugins/styles/highcontrast.so
lib/trinity/plugins/styles/keramik.so
lib/trinity/plugins/styles/kthemestyle.so
lib/trinity/plugins/styles/light.so
lib/trinity/plugins/styles/plastik.so
lib/trinity/tdeabc_dir.so
lib/trinity/tdeabc_file.so
lib/trinity/tdeabc_ldaptdeio.so
lib/trinity/tdeabc_net.so
lib/trinity/tdeabcformat_binary.so
lib/trinity/tdebuildsycoca.so
lib/trinity/tdecmshell.so
lib/trinity/tdeconf_update.so
lib/trinity/tdefileaudiopreview.so
lib/trinity/tdehtmlimagepart.so
lib/trinity/tdeio_file.so
lib/trinity/tdeio_ftp.so
lib/trinity/tdeio_ghelp.so
lib/trinity/tdeio_help.so
lib/trinity/tdeio_http.so
lib/trinity/tdeio_http_cache_cleaner.so
lib/trinity/tdeio_iso.so
lib/trinity/tdeio_metainfo.so
lib/trinity/tdeio_uiserver.so
lib/trinity/tdelauncher.so
lib/trinity/tdeprint_cups.so
lib/trinity/tdeprint_ext.so
lib/trinity/tdeprint_lpdunix.so
lib/trinity/tdeprint_lpr.so
lib/trinity/tdeprint_rlpr.so
lib/trinity/tdeprint_tool_escputil.so
lib/trinity/tdespell_aspell.so
lib/trinity/tdespell_ispell.so
lib/trinity/tdestyle_highcontrast_config.so
lib/trinity/tdestyle_plastik_config.so
lib/trinity/tdetexteditor_docwordcompletion.so
lib/trinity/tdetexteditor_insertfile.so
lib/trinity/tdetexteditor_isearch.so
lib/trinity/tdetexteditor_kdatatool.so

File diff suppressed because it is too large Load Diff

@ -1,25 +0,0 @@
--- trinity-k9copy/k9author/k9avidecode.cpp.k9author 2013-07-21 09:56:44.000000000 +0200
+++ trinity-k9copy/k9author/k9avidecode.cpp 2013-08-02 12:16:55.398266088 +0200
@@ -119,6 +119,13 @@
m_opened=false;
glibref++;
+
+ m_FormatCtx = NULL;
+ m_CodecCtx = NULL;
+ m_Codec = NULL;
+ m_Frame = NULL;
+ m_FrameRGB = NULL;
+ m_buffer = NULL;
}
@@ -148,7 +155,7 @@
// Open video file
if (
# if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(53, 2, 0)
- avformat_open_input(&m_FormatCtx, _fileName.utf8(), 0, 0)!=0
+ avformat_open_input(&m_FormatCtx, _fileName.utf8(), NULL, NULL)!=0
# else
av_open_input_file(&m_FormatCtx, _fileName.utf8(), NULL, 0, NULL)!=0
# endif
Loading…
Cancel
Save