Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
S
SulinRepository
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
2
Konular (issue)
2
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
SulinOS
SulinRepository
Commits
cfec1336
Unverified
Kaydet (Commit)
cfec1336
authored
Ock 09, 2020
tarafından
Suleyman Poyraz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
dvdauthor has been compiled.
üst
51e06493
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
159 additions
and
0 deletions
+159
-0
component.xml
multimedia/editor/component.xml
+3
-0
actions.py
multimedia/editor/dvdauthor/actions.py
+24
-0
imagemagick7.patch
multimedia/editor/dvdauthor/files/imagemagick7.patch
+74
-0
pspec.xml
multimedia/editor/dvdauthor/pspec.xml
+58
-0
No files found.
multimedia/editor/component.xml
0 → 100644
Dosyayı görüntüle @
cfec1336
<INARY>
<Name>
multimedia.editor
</Name>
</INARY>
multimedia/editor/dvdauthor/actions.py
0 → 100644
Dosyayı görüntüle @
cfec1336
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from
inary.actionsapi
import
shelltools
from
inary.actionsapi
import
autotools
from
inary.actionsapi
import
inarytools
from
inary.actionsapi
import
get
WorkDir
=
"dvdauthor"
def
setup
():
autotools
.
autoreconf
(
"-vif"
)
autotools
.
configure
()
def
build
():
autotools
.
make
()
def
install
():
autotools
.
rawInstall
(
"DESTDIR=
%
s"
%
get
.
installDIR
())
inarytools
.
dodoc
(
"TODO"
,
"README"
,
"ChangeLog"
,
"NEWS"
)
multimedia/editor/dvdauthor/files/imagemagick7.patch
0 → 100644
Dosyayı görüntüle @
cfec1336
--- dvdauthor/src/subgen-image.c 2014-01-21 00:12:37.000000000 +0100
+++ dvdauthor/src/subgen-image.c 2017-11-27 20:26:53.682914041 +0100
@@ -30,7 +30,7 @@
#if defined(HAVE_MAGICK) || defined(HAVE_GMAGICK)
#include <stdarg.h>
-#include <magick/api.h>
+#include <MagickWand/MagickWand.h>
#else
#include <png.h>
#endif
@@ -176,18 +176,18 @@
{
Image *im;
ImageInfo *ii;
- ExceptionInfo ei;
+ ExceptionInfo *ei;
int x,y;
unsigned long magickver;
unsigned char amask;
- GetExceptionInfo(&ei);
+ ei = AcquireExceptionInfo();
ii=CloneImageInfo(NULL);
strcpy(ii->filename,s->fname);
- im=ReadImage(ii,&ei);
+ im=ReadImage(ii,ei);
if( !im ) {
- MagickError(ei.severity,"Unable to load file",ii->filename);
+ MagickError(ei->severity,"Unable to load file",ii->filename);
return -1;
}
@@ -202,10 +202,10 @@
for( y=0; y<im->rows; y++ ) {
char pdata[MAXX*4];
- if(!ExportImagePixels(im,0,y,im->columns,1,"RGBA",CharPixel,pdata,&ei)) {
- fprintf(stderr,"ERR: Extracting row %d from %s (%s,%s)\n",y,s->fname,ei.reason,ei.description);
- CatchException(&ei);
- MagickError(ei.severity,ei.reason,ei.description);
+ if(!ExportImagePixels(im,0,y,im->columns,1,"RGBA",CharPixel,pdata,ei)) {
+ fprintf(stderr,"ERR: Extracting row %d from %s (%s,%s)\n",y,s->fname,ei->reason,ei->description);
+ CatchException(ei);
+ MagickError(ei->severity,ei->reason,ei->description);
DestroyImage(im);
return -1;
}
@@ -219,7 +219,7 @@
}
}
DestroyImage(im);
- DestroyExceptionInfo(&ei);
+ DestroyExceptionInfo(ei);
fprintf(stderr,"INFO: Picture %s had %d colors\n",s->fname,s->numpal);
return 0;
@@ -1098,13 +1098,13 @@
void image_init()
{
#if defined(HAVE_MAGICK) || defined(HAVE_GMAGICK)
- InitializeMagick(NULL);
+ MagickCoreGenesis("", MagickFalse);
#endif
}
void image_shutdown()
{
#if defined(HAVE_MAGICK) || defined(HAVE_GMAGICK)
- DestroyMagick();
+ MagickCoreTerminus();
#endif
}
multimedia/editor/dvdauthor/pspec.xml
0 → 100644
Dosyayı görüntüle @
cfec1336
<INARY>
<Source>
<Name>
dvdauthor
</Name>
<Homepage>
http://dvdauthor.sourceforge.net/
</Homepage>
<Packager>
<Name>
Süleyman Poyraz
</Name>
<Email>
zaryob.dev@gmail.com
</Email>
</Packager>
<License>
GPLv2
</License>
<IsA>
app:console
</IsA>
<Summary>
A simple DVD tool
</Summary>
<Description>
dvdauthor is a set of simple tools to help you author a DVD.
</Description>
<Archive
sha1sum=
"0e605642140576bfb3e963414d77630d1c073a51"
>
mirrors://sourceforge/dvdauthor/dvdauthor-0.7.2.tar.gz
</Archive>
<BuildDependencies>
<Dependency>
fridibi-devel
</Dependency>
<Dependency>
libdvdread-devel
</Dependency>
<Dependency>
imagemagick-devel
</Dependency>
<Dependency>
GraphicsMagick-devel
</Dependency>
<Dependency>
fontconfig-devel
</Dependency>
<Dependency>
freetype-devel
</Dependency>
<Dependency>
libpng-devel
</Dependency>
<Dependency>
libxml2-devel
</Dependency>
</BuildDependencies>
<Patches>
<Patch>
imagemagick7.patch
</Patch>
</Patches>
</Source>
<Package>
<Name>
dvdauthor
</Name>
<RuntimeDependencies>
<Dependency>
libpng
</Dependency>
<Dependency>
fridibi
</Dependency>
<Dependency>
libxml2
</Dependency>
<Dependency>
freetype
</Dependency>
<Dependency>
fontconfig
</Dependency>
<Dependency>
libdvdread
</Dependency>
<Dependency>
GraphicsMagick
</Dependency>
</RuntimeDependencies>
<Files>
<Path
fileType=
"executable"
>
/usr/bin
</Path>
<Path
fileType=
"doc"
>
/usr/share/doc
</Path>
<Path
fileType=
"library"
>
/usr/lib
</Path>
<Path
fileType=
"man"
>
/usr/share/man
</Path>
<Path
fileType=
"data"
>
/usr/share
</Path>
</Files>
</Package>
<History>
<Update
release=
"1"
>
<Date>
2020-01-09
</Date>
<Version>
0.7.1
</Version>
<Comment>
First release
</Comment>
<Name>
Süleyman Poyraz
</Name>
<Email>
zaryob.dev@gmail.com
</Email>
</Update>
</History>
</INARY>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment