aktarma
This commit is contained in:
		
							parent
							
								
									c8e6f3ed38
								
							
						
					
					
						commit
						be0b7fd092
					
				
					 2611 changed files with 87 additions and 146705 deletions
				
			
		
							
								
								
									
										75
									
								
								bin/mps
									
										
									
									
									
								
							
							
						
						
									
										75
									
								
								bin/mps
									
										
									
									
									
								
							| 
						 | 
					@ -1009,6 +1009,10 @@ paket_sil_oto_onayli(){
 | 
				
			||||||
paket_sil_gereklerle(){
 | 
					paket_sil_gereklerle(){
 | 
				
			||||||
	local _onay _tbs _tbsnc _paket _ustgerek
 | 
						local _onay _tbs _tbsnc _paket _ustgerek
 | 
				
			||||||
	[ $1 ] && _paket="$1" || hata_olustu "_paket_adi_gerekli"
 | 
						[ $1 ] && _paket="$1" || hata_olustu "_paket_adi_gerekli"
 | 
				
			||||||
 | 
						# otomatik onay verme durum kontrolü
 | 
				
			||||||
 | 
						[ $2 ] && _onay="$2";
 | 
				
			||||||
 | 
						_onay="onay"
 | 
				
			||||||
 | 
						
 | 
				
			||||||
	if [ -d $VT/${_paket} ];then
 | 
						if [ -d $VT/${_paket} ];then
 | 
				
			||||||
		bagimli_bilgi_dosyala "${_paket}"
 | 
							bagimli_bilgi_dosyala "${_paket}"
 | 
				
			||||||
		rm -f /tmp/${_paket}.silinecekler
 | 
							rm -f /tmp/${_paket}.silinecekler
 | 
				
			||||||
| 
						 | 
					@ -1048,9 +1052,7 @@ paket_sil_gereklerle(){
 | 
				
			||||||
				$_yaz "$_zaten $pkaltb $_paket_kurulu_degil"
 | 
									$_yaz "$_zaten $pkaltb $_paket_kurulu_degil"
 | 
				
			||||||
			fi
 | 
								fi
 | 
				
			||||||
		done
 | 
							done
 | 
				
			||||||
		_onay="onay"
 | 
							
 | 
				
			||||||
		# otomatik onay verme durum kontrolü
 | 
					 | 
				
			||||||
		if [ ! -z "$2" ];then _onay="$2";fi
 | 
					 | 
				
			||||||
		#cat /tmp/${_paket}.silinecekler
 | 
							#cat /tmp/${_paket}.silinecekler
 | 
				
			||||||
		if [ $_onay = "oto" ];then
 | 
							if [ $_onay = "oto" ];then
 | 
				
			||||||
			paket_sil_oto "/tmp/${_paket}.silinecekler"
 | 
								paket_sil_oto "/tmp/${_paket}.silinecekler"
 | 
				
			||||||
| 
						 | 
					@ -1697,23 +1699,17 @@ kirik_ters_bagimli_bilgi(){
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bagimli_bilgi(){
 | 
					bagimli_bilgi(){
 | 
				
			||||||
	local bagimd konum bag
 | 
						local _konum bagimd _dosya _paket
 | 
				
			||||||
	bkonum="`find "$talimatname" -name $1`"
 | 
						[ $1 ] && _paket="$1" || hata_olustu "_paket_adi_gerekli"
 | 
				
			||||||
	bekkonum="`find "$ektalimatname" -name $1`"
 | 
						_konum=$(talimat_bul $_paket)
 | 
				
			||||||
	if [ $bkonum ];then
 | 
						
 | 
				
			||||||
		konum=$bkonum
 | 
						if [ "$_konum" = "-1" ];then
 | 
				
			||||||
	elif [ $bekkonum ];then
 | 
							$_yaz_uyari "$_paket tanimsiz"
 | 
				
			||||||
		konum=$bekkonum
 | 
							exit 0
 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		$_yaz_uyari "$1 talimatı bulunamadı!"
 | 
							bagimd=`cat $_konum/talimat | grep "Gerekler" | cut -d':' -f2`
 | 
				
			||||||
		exit 1
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
	bagimd=`cat $konum/talimat | grep "Gerekler" | cut -d':' -f2`
 | 
					 | 
				
			||||||
		if [ -n "$bagimd" ]; then
 | 
							if [ -n "$bagimd" ]; then
 | 
				
			||||||
			bagimd=`echo "$bagimd" | sed 's/,/ /g'`
 | 
								bagimd=`echo "$bagimd" | sed 's/,/ /g'`
 | 
				
			||||||
		#sıralı gösterme
 | 
					 | 
				
			||||||
		#echo `echo "$bagimd" | sed 's/,/ /g'`
 | 
					 | 
				
			||||||
		#kurulu kontrollu gosterim
 | 
					 | 
				
			||||||
			for bag in $bagimd;do
 | 
								for bag in $bagimd;do
 | 
				
			||||||
				if [ "$2" = "dogrula" ];then
 | 
									if [ "$2" = "dogrula" ];then
 | 
				
			||||||
					kurulum_dogrulama_icerik "$bag"
 | 
										kurulum_dogrulama_icerik "$bag"
 | 
				
			||||||
| 
						 | 
					@ -1727,33 +1723,32 @@ bagimli_bilgi(){
 | 
				
			||||||
		else
 | 
							else
 | 
				
			||||||
			echo "$1" "`kurulu_kontrol $1`"
 | 
								echo "$1" "`kurulu_kontrol $1`"
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
 | 
						fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bagimli_bilgi_dosyala(){
 | 
					bagimli_bilgi_dosyala(){
 | 
				
			||||||
	rm -f "/tmp/$1.gerekler.liste"
 | 
						local _konum bagimd _dosya _paket
 | 
				
			||||||
	local bagimd konum bag
 | 
						[ $1 ] && _paket="$1" || hata_olustu "_paket_adi_gerekli"
 | 
				
			||||||
	bkonum="`find "$talimatname" -name $1`"
 | 
						_konum=$(talimat_bul $_paket)
 | 
				
			||||||
	bekkonum="`find "$ektalimatname" -name $1`"
 | 
						
 | 
				
			||||||
	if [ $bkonum ];then
 | 
						if [ "$_konum" = "-1" ];then
 | 
				
			||||||
		konum=$bkonum
 | 
							$_yaz_uyari "$_paket tanimsiz"
 | 
				
			||||||
	elif [ $bekkonum ];then
 | 
							exit 0
 | 
				
			||||||
		konum=$bekkonum
 | 
					 | 
				
			||||||
	else
 | 
						else
 | 
				
			||||||
		$_yaz_uyari "$1 talimatı bulunamadı!"
 | 
							_dosya="/tmp/${_paket}.gerekler.liste"
 | 
				
			||||||
		exit 1
 | 
							rm -f ${_dosya}
 | 
				
			||||||
	fi
 | 
							bagimd=`cat $_konum/talimat | grep "Gerekler" | cut -d':' -f2`
 | 
				
			||||||
	bagimd=`cat $konum/talimat | grep "Gerekler" | cut -d':' -f2`
 | 
					 | 
				
			||||||
		if [ -n "$bagimd" ]; then
 | 
							if [ -n "$bagimd" ]; then
 | 
				
			||||||
			bagimd=`echo "$bagimd" | sed 's/,/ /g'`
 | 
								bagimd=`echo "$bagimd" | sed 's/,/ /g'`
 | 
				
			||||||
		#sıralı gösterme
 | 
					 | 
				
			||||||
		#echo `echo "$bagimd" | sed 's/,/ /g'`
 | 
					 | 
				
			||||||
		#kurulu kontrollu gosterim
 | 
					 | 
				
			||||||
			for bag in $bagimd;do
 | 
								for bag in $bagimd;do
 | 
				
			||||||
			echo $bag >> "/tmp/$1.gerekler.liste"
 | 
									echo "$bag" >> "/tmp/$1.gerekler.liste"
 | 
				
			||||||
 | 
									#echo "$bag"
 | 
				
			||||||
 | 
									#for _tb in $(ters_bagimli_bilgi $bag);do
 | 
				
			||||||
 | 
									#	echo '|____' $_tb
 | 
				
			||||||
 | 
									#done
 | 
				
			||||||
			done
 | 
								done
 | 
				
			||||||
		fi
 | 
							fi
 | 
				
			||||||
	echo "$1" >> "/tmp/$1.gerekler.liste"
 | 
						fi
 | 
				
			||||||
	
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
silme_etkilenen_kontrol(){
 | 
					silme_etkilenen_kontrol(){
 | 
				
			||||||
| 
						 | 
					@ -2850,12 +2845,9 @@ ayarlar() {
 | 
				
			||||||
				paket_sil "$2" "hayir" "evet"
 | 
									paket_sil "$2" "hayir" "evet"
 | 
				
			||||||
				exit 0 ;;	
 | 
									exit 0 ;;	
 | 
				
			||||||
			### mps -S paketismi = ilgili paketi altbağımlılıklarını da sorarak kaldırır.
 | 
								### mps -S paketismi = ilgili paketi altbağımlılıklarını da sorarak kaldırır.
 | 
				
			||||||
 | 
								### mps -S paketismi = ve oto eklenirse ilgili paketi altbağımlılıklarını da sormadan sırayla kaldırır.
 | 
				
			||||||
			-S)
 | 
								-S)
 | 
				
			||||||
				paket_sil_gereklerle "$2" 
 | 
									paket_sil_gereklerle $args
 | 
				
			||||||
				exit 0 ;;
 | 
					 | 
				
			||||||
			### mps -Sz paketismi = ilgili paketi altbağımlılıklarını da sormadan sırayla kaldırır.
 | 
					 | 
				
			||||||
			-Sz)
 | 
					 | 
				
			||||||
				paket_sil_gereklerle "$2" "oto" 
 | 
					 | 
				
			||||||
				exit 0 ;;
 | 
									exit 0 ;;
 | 
				
			||||||
			### mps ara aranan = paket isimleri ve açıklamalarında anahtar kelime arar.
 | 
								### mps ara aranan = paket isimleri ve açıklamalarında anahtar kelime arar.
 | 
				
			||||||
			-pa|ara)
 | 
								-pa|ara)
 | 
				
			||||||
| 
						 | 
					@ -3156,7 +3148,8 @@ ayarlar() {
 | 
				
			||||||
			-bbdog|bdogrula)
 | 
								-bbdog|bdogrula)
 | 
				
			||||||
				bagimli_bilgi "$2" "dogrula";;
 | 
									bagimli_bilgi "$2" "dogrula";;
 | 
				
			||||||
			-bbd)
 | 
								-bbd)
 | 
				
			||||||
				bagimli_bilgi_dosyala "$2" ;;
 | 
									bagimli_bilgi_dosyala $args 
 | 
				
			||||||
 | 
									exit 0 ;;
 | 
				
			||||||
			### mps -tb talimatismi = ilgili talimata gerek duyan(ters-gerekler) talimatları listeler.
 | 
								### mps -tb talimatismi = ilgili talimata gerek duyan(ters-gerekler) talimatları listeler.
 | 
				
			||||||
			-tb|tersbag)
 | 
								-tb|tersbag)
 | 
				
			||||||
				ters_bagimli_bilgi "$2"
 | 
									ters_bagimli_bilgi "$2"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +0,0 @@
 | 
				
			||||||
diff --git a/Makefile b/Makefile
 | 
					 | 
				
			||||||
index 98d3b4d..ff1b937 100644
 | 
					 | 
				
			||||||
--- a/Makefile
 | 
					 | 
				
			||||||
+++ b/Makefile
 | 
					 | 
				
			||||||
@@ -1,4 +1,4 @@
 | 
					 | 
				
			||||||
-CFLAGS=-Wall -Wno-strict-aliasing -std=gnu11 -g -I. -O0
 | 
					 | 
				
			||||||
+CFLAGS+=-Wall -Wno-strict-aliasing -std=gnu11 -I.
 | 
					 | 
				
			||||||
 OBJS=cpp.o debug.o dict.o gen.o lex.o vector.o parse.o buffer.o map.o \
 | 
					 | 
				
			||||||
      error.o path.o file.o set.o
 | 
					 | 
				
			||||||
 TESTS := $(patsubst %.c,%.bin,$(filter-out test/testmain.c,$(wildcard test/*.c)))
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
# Tanım: Basit bir c11 derleyici
 | 
					 | 
				
			||||||
# URL: https://github.com/rui314/8cc
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: 
 | 
					 | 
				
			||||||
# Grup: geliştirme
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=8cc
 | 
					 | 
				
			||||||
surum=git
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(fix_cflags.patch)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	git_indir https://github.com/rui314/$isim $isim 
 | 
					 | 
				
			||||||
	cd $SRC/$isim
 | 
					 | 
				
			||||||
	patch -p1 < ../fix_cflags.patch
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	install -Dm755 8cc "$PKG/usr/bin/8cc"
 | 
					 | 
				
			||||||
	cp -rf $SRC/$isim/include $PKG/usr/
 | 
					 | 
				
			||||||
	install -Dm644 LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,13 +0,0 @@
 | 
				
			||||||
#!/bin/sh
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
PLAN9=${PLAN9:-/opt/plan9}
 | 
					 | 
				
			||||||
export PLAN9
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
case "$PATH" in
 | 
					 | 
				
			||||||
    $PLAN9/bin:*) ;;
 | 
					 | 
				
			||||||
    *) export PATH=$PLAN9/bin:$PATH ;;
 | 
					 | 
				
			||||||
esac
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if [ $# -gt 0 ]; then
 | 
					 | 
				
			||||||
    exec "$@"
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,4 +0,0 @@
 | 
				
			||||||
export PLAN9=/opt/plan9
 | 
					 | 
				
			||||||
export PATH=$PATH:$PLAN9/bin
 | 
					 | 
				
			||||||
export MANPATH=$MANPATH:$PLAN9/man
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,33 +0,0 @@
 | 
				
			||||||
# Tanım: Plan9 araçlarının unix uyarlaması
 | 
					 | 
				
			||||||
# URL: http://tools.suckless.org/9base
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: python
 | 
					 | 
				
			||||||
# Grup: sistem
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=9base
 | 
					 | 
				
			||||||
surum=6
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://dl.suckless.org/tools/$isim-$surum.tar.gz 
 | 
					 | 
				
			||||||
        9 
 | 
					 | 
				
			||||||
        plan9.sh)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
  sed -i 's#^OBJTYPE\s.*$#OBJTYPE = x86_64#' config.mk
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  sed -i 's#^PREFIX\s.*$#PREFIX = /opt/plan9#' config.mk
 | 
					 | 
				
			||||||
  sed -i 's#^CFLAGS\s*+=#CFLAGS += -DPLAN9PORT #' config.mk
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # Force dynamic linking.  Several of the programs in 9base won't work
 | 
					 | 
				
			||||||
  # when statically linked against the latest glibc.
 | 
					 | 
				
			||||||
  sed -i '/-static/d' config.mk
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  make DESTDIR="$PKG" install
 | 
					 | 
				
			||||||
  install -m755 ../9 "$PKG/opt/plan9/bin/"
 | 
					 | 
				
			||||||
  install -D -m755 ../plan9.sh "$PKG/etc/profile.d/plan9.sh"
 | 
					 | 
				
			||||||
  install -D -m644 LICENSE "$PKG/usr/share/licenses/9base/LICENSE"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,17 +1,17 @@
 | 
				
			||||||
# Tanım: MATE belge görüntüleyici
 | 
					# Tanım: MATE belge görüntüleyici
 | 
				
			||||||
# URL: http://mate-desktop.org
 | 
					# URL: http://mate-desktop.org
 | 
				
			||||||
# Paketçi: yasarciv67@gmail.com
 | 
					# Paketçi: yasarciv67
 | 
				
			||||||
# Gerekler: caja caja-extensions gobject-introspection intltool itstool djvulibre libspectre poppler-glib webkitgtk2
 | 
					# Gerekler: caja caja-extensions gobject-introspection intltool itstool djvulibre libspectre poppler-glib webkit2gtk3 libunwind
 | 
				
			||||||
# Grup: ofis_düzenleme
 | 
					# Grup: ofis_düzenleme
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isim=atril
 | 
					isim=atril
 | 
				
			||||||
surum=1.20.0
 | 
					surum=1.20.1
 | 
				
			||||||
devir=1
 | 
					devir=1
 | 
				
			||||||
kaynak=(http://pub.mate-desktop.org/releases/${surum%.*}/$isim-$surum.tar.xz)
 | 
					kaynak=(http://pub.mate-desktop.org/releases/${surum%.*}/$isim-$surum.tar.xz)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
derle() {
 | 
					derle() {
 | 
				
			||||||
cd $isim-$surum
 | 
						cd $isim-$surum
 | 
				
			||||||
./configure \
 | 
						./configure \
 | 
				
			||||||
        --prefix=/usr \
 | 
					        --prefix=/usr \
 | 
				
			||||||
        --libexecdir=/usr/lib/${isim} \
 | 
					        --libexecdir=/usr/lib/${isim} \
 | 
				
			||||||
        --with-gtk=2.0 \
 | 
					        --with-gtk=2.0 \
 | 
				
			||||||
| 
						 | 
					@ -24,9 +24,7 @@ cd $isim-$surum
 | 
				
			||||||
        --enable-xps \
 | 
					        --enable-xps \
 | 
				
			||||||
        --enable-introspection
 | 
					        --enable-introspection
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 #https://bugzilla.gnome.org/show_bug.cgi?id=656231
 | 
					 | 
				
			||||||
	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
						sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
				
			||||||
make
 | 
						make
 | 
				
			||||||
make DESTDIR=$PKG install
 | 
						make DESTDIR=$PKG install
 | 
				
			||||||
   
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,17 +1,20 @@
 | 
				
			||||||
# Tanım: MATE Masaüstü Ortamı için modern ve etkili bir menü.
 | 
					# Tanım: MATE Masaüstü Ortamı için modern ve etkili bir menü.
 | 
				
			||||||
# URL: https://github.com/solus-project/brisk-menu
 | 
					# URL: https://github.com/solus-project/brisk-menu
 | 
				
			||||||
# Paketçi: yasarciv67@gmail.com
 | 
					# Paketçi: Cihan_Alkan
 | 
				
			||||||
# Gerekler: gnome-common mate-panel
 | 
					# Gerekler: gnome-common mate-panel libnotify
 | 
				
			||||||
# Grup: grafik_tasarım
 | 
					# Grup: mate
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isim=brisk-menu
 | 
					isim=brisk-menu
 | 
				
			||||||
surum=0.4.5
 | 
					surum=0.5.0
 | 
				
			||||||
devir=1.0
 | 
					devir=1
 | 
				
			||||||
kaynak=(https://github.com/solus-project/$isim/releases/download/v$surum/$isim-$surum.tar.xz)
 | 
					kaynak=()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
derle() {
 | 
					derle() {
 | 
				
			||||||
 | 
						git_indir https://github.com/solus-project/brisk-menu.git $isim-$surum
 | 
				
			||||||
	cd $isim-$surum
 | 
						cd $isim-$surum
 | 
				
			||||||
	./autogen.sh --prefix=/usr
 | 
						mkdir build
 | 
				
			||||||
	make -j$(($(getconf _NPROCESSORS_ONLN)+1))
 | 
						cd    build
 | 
				
			||||||
	make DESTDIR="${PKG}" install
 | 
						meson --prefix=/usr
 | 
				
			||||||
 | 
						ninja
 | 
				
			||||||
 | 
						DESTDIR=$PKG ninja install
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,28 +5,13 @@
 | 
				
			||||||
# Grup: ağ
 | 
					# Grup: ağ
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isim=cjdns
 | 
					isim=cjdns
 | 
				
			||||||
surum=19.1
 | 
					surum=20.1
 | 
				
			||||||
devir=1
 | 
					devir=1
 | 
				
			||||||
kaynak=(https://github.com/$hesap/$isim/archive/$isim-v$surum.tar.gz
 | 
					kaynak=(https://github.com/cjdelisle/$isim/archive/$isim-v$surum.tar.gz
 | 
				
			||||||
        cjdns.serviscjdns.rc.dcjdns.sh)
 | 
					        cjdns.servis cjdns.rc.d cjdns.sh)
 | 
				
			||||||
 | 
					 | 
				
			||||||
hesap=cjdelisle
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
derle() {	
 | 
					derle() {	
 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	#if [ ! -d $DERLEME_KAYNAKDIZIN/$isim  ];then
 | 
					 | 
				
			||||||
	#	git clone https://github.com/$hesap/$isim $DERLEME_KAYNAKDIZIN/$isim 
 | 
					 | 
				
			||||||
	#else
 | 
					 | 
				
			||||||
	#	cd $DERLEME_KAYNAKDIZIN/$isim 
 | 
					 | 
				
			||||||
	#	git pull
 | 
					 | 
				
			||||||
	#	cd -
 | 
					 | 
				
			||||||
	#fi
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	#cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
 | 
					 | 
				
			||||||
	#cd $SRC/$isim
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	cd $isim-$isim-v$surum	
 | 
						cd $isim-$isim-v$surum	
 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	bash 'do'
 | 
						bash 'do'
 | 
				
			||||||
	install -Dm755 cjdroute "$PKG/usr/bin/cjdroute"
 | 
						install -Dm755 cjdroute "$PKG/usr/bin/cjdroute"
 | 
				
			||||||
	install -Dm755 contrib/sh/run-cjdroute.sh "$PKG/usr/bin/run-cjdroute"
 | 
						install -Dm755 contrib/sh/run-cjdroute.sh "$PKG/usr/bin/run-cjdroute"
 | 
				
			||||||
| 
						 | 
					@ -34,5 +19,4 @@ derle() {
 | 
				
			||||||
	install -Dm644 $SRC/cjdns.servis $PKG/etc/default/cjdns
 | 
						install -Dm644 $SRC/cjdns.servis $PKG/etc/default/cjdns
 | 
				
			||||||
    install -Dm755 $SRC/cjdns.sh $PKG/usr/bin/cjdns.sh
 | 
					    install -Dm755 $SRC/cjdns.sh $PKG/usr/bin/cjdns.sh
 | 
				
			||||||
    install -Dm755 $SRC/cjdns.rc.d $PKG/etc/rc.d/init.d/cjdns	
 | 
					    install -Dm755 $SRC/cjdns.rc.d $PKG/etc/rc.d/init.d/cjdns	
 | 
				
			||||||
	
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,10 +1,11 @@
 | 
				
			||||||
# Tanım: efl kütüphaneleri
 | 
					# Tanım: efl kütüphaneleri
 | 
				
			||||||
# URL: http://www.enlightenment.org/
 | 
					# URL: http://www.enlightenment.org/
 | 
				
			||||||
# Paketçi: milisarge
 | 
					# Paketçi: milisarge
 | 
				
			||||||
# Gerekler: lua dbus libsndfile xorg-libxp xorg-libxscrnsaver gstreamer-plugins-base giflib libtiff gstreamer gstreamer1 poppler libspectre libraw librsvg gstreamer1-plugins-base
 | 
					# Gerekler: lua luajit dbus libsndfile xorg-libxp xorg-libxscrnsaver gstreamer-plugins-base giflib libtiff gstreamer gstreamer1 poppler libspectre libraw librsvg gstreamer1-plugins-base
 | 
				
			||||||
 | 
					# Grup:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isim=efl
 | 
					isim=efl
 | 
				
			||||||
surum=1.20.2
 | 
					surum=1.20.7
 | 
				
			||||||
devir=1
 | 
					devir=1
 | 
				
			||||||
kaynak=(http://download.enlightenment.org/rel/libs/$isim/$isim-$surum.tar.xz)
 | 
					kaynak=(http://download.enlightenment.org/rel/libs/$isim/$isim-$surum.tar.xz)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: Java Topology Suite'in C++ portu
 | 
					 | 
				
			||||||
# URL: http://trac.osgeo.org/geos/
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: 
 | 
					 | 
				
			||||||
# Grup: geliştirme
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=geos
 | 
					 | 
				
			||||||
surum=3.6.2
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(http://download.osgeo.org/$isim/$isim-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
  make DESTDIR="${PKG}" install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
# Tanım: Basit bir ağ küt/üphanesi
 | 
					 | 
				
			||||||
# URL: http://live.gnome.org/GNetLibrary
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: glib
 | 
					 | 
				
			||||||
# Grup: kütüphane
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gnet
 | 
					 | 
				
			||||||
surum=2.0.8
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/GNOME/sources/gnet/${surum%.*}/gnet-2.0.8.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd ${isim}-${surum}
 | 
					 | 
				
			||||||
	LIBS+="-lglib-2.0" ./configure --prefix=/usr
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR="${PKG}" install
 | 
					 | 
				
			||||||
	rm -rf $PKG/usr/share/gtk-doc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -2,9 +2,10 @@
 | 
				
			||||||
# URL: http://live.gnome.org/GObjectIntrospection
 | 
					# URL: http://live.gnome.org/GObjectIntrospection
 | 
				
			||||||
# Paketçi: milisarge yasarciv67@gmail.com
 | 
					# Paketçi: milisarge yasarciv67@gmail.com
 | 
				
			||||||
# Gerekler: glib
 | 
					# Gerekler: glib
 | 
				
			||||||
 | 
					# Grup:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isim=gobject-introspection
 | 
					isim=gobject-introspection
 | 
				
			||||||
surum=1.53.1
 | 
					surum=1.56.1
 | 
				
			||||||
devir=1
 | 
					devir=1
 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/${surum%.*}/$isim-$surum.tar.xz)
 | 
					kaynak=(http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/${surum%.*}/$isim-$surum.tar.xz)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,26 +0,0 @@
 | 
				
			||||||
# Tanım: Açık kaynaklı karakter tanıma (OCR)
 | 
					 | 
				
			||||||
# URL: http://jocr.sourceforge.net/index.html
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: netpbm
 | 
					 | 
				
			||||||
# Grup: ofis_düzenleyici
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gocr
 | 
					 | 
				
			||||||
surum=0.51
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://www-e.uni-magdeburg.de/jschulen/ocr/gocr-${surum}.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd "$SRC"/$isim-$surum
 | 
					 | 
				
			||||||
  export CFLAGS=-fPIC
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr --mandir=/usr/share/man --libdir=/usr/lib
 | 
					 | 
				
			||||||
  make -j1 all libs
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  mkdir -p "$PKG"/usr/lib
 | 
					 | 
				
			||||||
  make DESTDIR="$PKG" libdir=/usr/lib/ bindir=/usr/bin install
 | 
					 | 
				
			||||||
  (cd "$PKG"/usr/lib/ && rm -f libPgm2asc.so && ln -s `echo libPgm2asc*.so` libPgm2asc.so)
 | 
					 | 
				
			||||||
  install -D -m644 doc/gocr.html "$PKG"/usr/share/doc/gocr/gocr.html
 | 
					 | 
				
			||||||
  for i in pgm2asc.h gocr.h; do
 | 
					 | 
				
			||||||
    install -D -m644 src/$i "$PKG"/usr/include/gocr/$i
 | 
					 | 
				
			||||||
  done
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,30 +0,0 @@
 | 
				
			||||||
# Tanım: GTK + için bir cairo canvas widget'ı
 | 
					 | 
				
			||||||
# URL: https://wiki.gnome.org/Projects/GooCanvas
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan 
 | 
					 | 
				
			||||||
# Gerekler: gobject-introspection python-gobject python3-gobject cairo glib2 gtk3
 | 
					 | 
				
			||||||
# Grup: kütüphane
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=goocanvas
 | 
					 | 
				
			||||||
surum=2.0.4
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://download.gnome.org/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cp -r $isim-$surum python2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr PYTHON=python3
 | 
					 | 
				
			||||||
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd "$SRC/python2"
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr PYTHON=python
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $SRC/$isim-$surum
 | 
					 | 
				
			||||||
  make DESTDIR="$PKG" install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd "$SRC/python2"
 | 
					 | 
				
			||||||
  make -C bindings/python DESTDIR="$PKG" install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,173 +0,0 @@
 | 
				
			||||||
From 2a497a06d9297712778b9bfde3f21a2bd867967c Mon Sep 17 00:00:00 2001
 | 
					 | 
				
			||||||
From: =?UTF-8?q?Ball=C3=B3=20Gy=C3=B6rgy?= <ballogyor@gmail.com>
 | 
					 | 
				
			||||||
Date: Tue, 21 Feb 2017 01:06:06 +0100
 | 
					 | 
				
			||||||
Subject: [PATCH] Fix displaying images with GTK3
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
We have to use the cairo context provided by the draw event, otherwise the scrolling does not work properly.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Don't paint the whole image when scale == 1, it's unneeded and slow.
 | 
					 | 
				
			||||||
---
 | 
					 | 
				
			||||||
 src/image-view.c | 86 +++++++++++++++++++++++++++++---------------------------
 | 
					 | 
				
			||||||
 1 file changed, 44 insertions(+), 42 deletions(-)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
diff --git a/src/image-view.c b/src/image-view.c
 | 
					 | 
				
			||||||
index b367f2a..820b843 100644
 | 
					 | 
				
			||||||
--- a/src/image-view.c
 | 
					 | 
				
			||||||
+++ b/src/image-view.c
 | 
					 | 
				
			||||||
@@ -24,11 +24,10 @@
 | 
					 | 
				
			||||||
 static void image_view_finalize(GObject *iv);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 static void image_view_clear( ImageView* iv );
 | 
					 | 
				
			||||||
-static gboolean on_idle( ImageView* iv );
 | 
					 | 
				
			||||||
 static void calc_image_area( ImageView* iv );
 | 
					 | 
				
			||||||
-static void paint(  ImageView* iv, GdkRectangle* invalid_rect, GdkInterpType type );
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 #if GTK_CHECK_VERSION(3, 0, 0)
 | 
					 | 
				
			||||||
+static void paint(  ImageView* iv, GdkRectangle* invalid_rect, GdkInterpType type, cairo_t* cr );
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 static void image_view_paint(  ImageView* iv, cairo_t* cr );
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
@@ -37,6 +36,8 @@ static void on_get_preferred_height( GtkWidget* widget, gint* minimal_height, gi
 | 
					 | 
				
			||||||
 static gboolean on_draw_event(GtkWidget* widget, cairo_t* cr);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 #else // GTK2
 | 
					 | 
				
			||||||
+static gboolean on_idle( ImageView* iv );
 | 
					 | 
				
			||||||
+static void paint(  ImageView* iv, GdkRectangle* invalid_rect, GdkInterpType type );
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 static void image_view_paint(  ImageView* iv, GdkEventExpose* evt );
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
@@ -268,16 +269,13 @@ void image_view_paint( ImageView* iv, cairo_t *cr )
 | 
					 | 
				
			||||||
         {
 | 
					 | 
				
			||||||
             cairo_rectangle_int_t rectangle;
 | 
					 | 
				
			||||||
             cairo_region_get_rectangle(region, i, &rectangle);
 | 
					 | 
				
			||||||
-            paint( iv, &rectangle, GDK_INTERP_NEAREST );
 | 
					 | 
				
			||||||
+            paint( iv, &rectangle, GDK_INTERP_NEAREST, cr );
 | 
					 | 
				
			||||||
         }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
         cairo_region_destroy (region);
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-        if( 0 == iv->idle_handler )
 | 
					 | 
				
			||||||
-            iv->idle_handler = g_idle_add( (GSourceFunc)on_idle, iv );
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
-#else
 | 
					 | 
				
			||||||
+#else // GTK2
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 gboolean on_expose_event( GtkWidget* widget, GdkEventExpose* evt )
 | 
					 | 
				
			||||||
 {
 | 
					 | 
				
			||||||
@@ -390,6 +388,8 @@ void image_view_set_scale( ImageView* iv, gdouble new_scale, GdkInterpType type
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
+#if GTK_CHECK_VERSION(3, 0, 0)
 | 
					 | 
				
			||||||
+#else // GTK2
 | 
					 | 
				
			||||||
 gboolean on_idle( ImageView* iv )
 | 
					 | 
				
			||||||
 {
 | 
					 | 
				
			||||||
     GDK_THREADS_ENTER();
 | 
					 | 
				
			||||||
@@ -435,6 +435,7 @@ gboolean on_idle( ImageView* iv )
 | 
					 | 
				
			||||||
     iv->idle_handler = 0;
 | 
					 | 
				
			||||||
     return FALSE;
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
+#endif
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 void calc_image_area( ImageView* iv )
 | 
					 | 
				
			||||||
 {
 | 
					 | 
				
			||||||
@@ -460,7 +461,11 @@ void calc_image_area( ImageView* iv )
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
+#if GTK_CHECK_VERSION(3, 0, 0)
 | 
					 | 
				
			||||||
+void paint( ImageView* iv, GdkRectangle* invalid_rect, GdkInterpType type, cairo_t* cr )
 | 
					 | 
				
			||||||
+#else // GTK2
 | 
					 | 
				
			||||||
 void paint( ImageView* iv, GdkRectangle* invalid_rect, GdkInterpType type )
 | 
					 | 
				
			||||||
+#endif
 | 
					 | 
				
			||||||
 {
 | 
					 | 
				
			||||||
     GdkRectangle rect;
 | 
					 | 
				
			||||||
     if( ! gdk_rectangle_intersect( invalid_rect, &iv->img_area, &rect ) )
 | 
					 | 
				
			||||||
@@ -470,51 +475,48 @@ void paint( ImageView* iv, GdkRectangle* invalid_rect, GdkInterpType type )
 | 
					 | 
				
			||||||
     int dest_y;
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
     GdkPixbuf* src_pix = NULL;
 | 
					 | 
				
			||||||
-    if( iv->scale == 1.0 )  // original size
 | 
					 | 
				
			||||||
-    {
 | 
					 | 
				
			||||||
-        src_pix = (GdkPixbuf*)g_object_ref( iv->pix );
 | 
					 | 
				
			||||||
-        dest_x = iv->img_area.x;
 | 
					 | 
				
			||||||
-        dest_y = iv->img_area.y;
 | 
					 | 
				
			||||||
-    }
 | 
					 | 
				
			||||||
-    else    // scaling is needed
 | 
					 | 
				
			||||||
+    GdkPixbuf* scaled_pix = NULL;
 | 
					 | 
				
			||||||
+
 | 
					 | 
				
			||||||
+    dest_x = rect.x;
 | 
					 | 
				
			||||||
+    dest_y = rect.y;
 | 
					 | 
				
			||||||
+
 | 
					 | 
				
			||||||
+    rect.x -= iv->img_area.x;
 | 
					 | 
				
			||||||
+    rect.y -= iv->img_area.y;
 | 
					 | 
				
			||||||
+
 | 
					 | 
				
			||||||
+    int src_x = (int)floor( ((gdouble)rect.x) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
+    int src_y = (int)floor( ((gdouble)rect.y) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
+    int src_w = (int)floor( ((gdouble)rect.width) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
+    int src_h = (int)floor( ((gdouble)rect.height) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
+    if( src_y > gdk_pixbuf_get_height( iv->pix ) )
 | 
					 | 
				
			||||||
+        src_y = gdk_pixbuf_get_height( iv->pix );
 | 
					 | 
				
			||||||
+    if( src_x + src_w > gdk_pixbuf_get_width( iv->pix ) )
 | 
					 | 
				
			||||||
+        src_w = gdk_pixbuf_get_width( iv->pix ) - src_x;
 | 
					 | 
				
			||||||
+    if( src_y + src_h > gdk_pixbuf_get_height( iv->pix ) )
 | 
					 | 
				
			||||||
+        src_h = gdk_pixbuf_get_height( iv->pix ) - src_y;
 | 
					 | 
				
			||||||
+    //g_debug("orig src: x=%d, y=%d, w=%d, h=%d",
 | 
					 | 
				
			||||||
+    //        src_x, src_y, src_w, src_h );
 | 
					 | 
				
			||||||
+
 | 
					 | 
				
			||||||
+    if ((src_w > 0) && (src_h > 0))
 | 
					 | 
				
			||||||
     {
 | 
					 | 
				
			||||||
-        dest_x = rect.x;
 | 
					 | 
				
			||||||
-        dest_y = rect.y;
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-        rect.x -= iv->img_area.x;
 | 
					 | 
				
			||||||
-        rect.y -= iv->img_area.y;
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-        GdkPixbuf* scaled_pix = NULL;
 | 
					 | 
				
			||||||
-        int src_x = (int)floor( ((gdouble)rect.x) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
-        int src_y = (int)floor( ((gdouble)rect.y) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
-        int src_w = (int)floor( ((gdouble)rect.width) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
-        int src_h = (int)floor( ((gdouble)rect.height) / iv->scale + 0.5 );
 | 
					 | 
				
			||||||
-        if( src_y > gdk_pixbuf_get_height( iv->pix ) )
 | 
					 | 
				
			||||||
-            src_y = gdk_pixbuf_get_height( iv->pix );
 | 
					 | 
				
			||||||
-        if( src_x + src_w > gdk_pixbuf_get_width( iv->pix ) )
 | 
					 | 
				
			||||||
-            src_w = gdk_pixbuf_get_width( iv->pix ) - src_x;
 | 
					 | 
				
			||||||
-        if( src_y + src_h > gdk_pixbuf_get_height( iv->pix ) )
 | 
					 | 
				
			||||||
-            src_h = gdk_pixbuf_get_height( iv->pix ) - src_y;
 | 
					 | 
				
			||||||
-        //g_debug("orig src: x=%d, y=%d, w=%d, h=%d",
 | 
					 | 
				
			||||||
-        //        src_x, src_y, src_w, src_h );
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-        if ((src_w > 0) && (src_h > 0))
 | 
					 | 
				
			||||||
-        {
 | 
					 | 
				
			||||||
-            src_pix = gdk_pixbuf_new_subpixbuf( iv->pix, src_x, src_y,  src_w, src_h );
 | 
					 | 
				
			||||||
-            scaled_pix = gdk_pixbuf_scale_simple( src_pix, rect.width, rect.height, type );
 | 
					 | 
				
			||||||
-            g_object_unref( src_pix );
 | 
					 | 
				
			||||||
-            src_pix = scaled_pix;
 | 
					 | 
				
			||||||
-        }
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
+        src_pix = gdk_pixbuf_new_subpixbuf( iv->pix, src_x, src_y,  src_w, src_h );
 | 
					 | 
				
			||||||
+        scaled_pix = gdk_pixbuf_scale_simple( src_pix, rect.width, rect.height, type );
 | 
					 | 
				
			||||||
+        g_object_unref( src_pix );
 | 
					 | 
				
			||||||
+        src_pix = scaled_pix;
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
     if( G_LIKELY(src_pix) )
 | 
					 | 
				
			||||||
     {
 | 
					 | 
				
			||||||
         GtkWidget* widget = (GtkWidget*)iv;
 | 
					 | 
				
			||||||
+#if GTK_CHECK_VERSION(3, 0, 0)
 | 
					 | 
				
			||||||
+#else // GTK2
 | 
					 | 
				
			||||||
         cairo_t *cr = gdk_cairo_create (gtk_widget_get_window(widget));
 | 
					 | 
				
			||||||
+#endif
 | 
					 | 
				
			||||||
         gdk_cairo_set_source_pixbuf (cr, src_pix, dest_x, dest_y);
 | 
					 | 
				
			||||||
         cairo_paint (cr);
 | 
					 | 
				
			||||||
+#if GTK_CHECK_VERSION(3, 0, 0)
 | 
					 | 
				
			||||||
+#else // GTK2
 | 
					 | 
				
			||||||
         cairo_destroy (cr);
 | 
					 | 
				
			||||||
+#endif
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
         g_object_unref( src_pix );
 | 
					 | 
				
			||||||
     }
 | 
					 | 
				
			||||||
-- 
 | 
					 | 
				
			||||||
2.11.1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,27 +0,0 @@
 | 
				
			||||||
# Tanım: Hafif resim görüntüleyici
 | 
					 | 
				
			||||||
# URL: https://lxde.org/
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: gtk3 intltool
 | 
					 | 
				
			||||||
# Grup: medya
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gpicview
 | 
					 | 
				
			||||||
surum=0.2.5
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://downloads.sourceforge.net/lxde/$isim-$surum.tar.xz
 | 
					 | 
				
			||||||
        0001-Fix-displaying-images-with-GTK3.patch)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # Fix displaying images with GTK3
 | 
					 | 
				
			||||||
  # https://sourceforge.net/p/lxde/patches/542/
 | 
					 | 
				
			||||||
  patch -Np1 -i ../0001-Fix-displaying-images-with-GTK3.patch
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # Apply only one main category
 | 
					 | 
				
			||||||
  sed -i '/^Categories=/ s/Utility;//' gpicview.desktop.in
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  ./configure --sysconfdir=/etc --prefix=/usr --enable-gtk3
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
  make DESTDIR="$PKG" install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,2 +0,0 @@
 | 
				
			||||||
#!/usr/bin/env sh                                          
 | 
					 | 
				
			||||||
export GRADLE_HOME=/usr/share/java/gradle
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,49 +0,0 @@
 | 
				
			||||||
# Tanım: JVM için güçlü yapı sistemi
 | 
					 | 
				
			||||||
# URL: https://gradle.org/
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: openjdk
 | 
					 | 
				
			||||||
# Grup: geliştirme
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gradle
 | 
					 | 
				
			||||||
surum=4.4.1
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://services.gradle.org/distributions/${isim}-${surum}-all.zip
 | 
					 | 
				
			||||||
        $isim.sh)
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd ${isim}-${surum}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # install profile.d script
 | 
					 | 
				
			||||||
  install -Dm 755 "${SRC}/${isim}.sh" "${PKG}/etc/profile.d/${isim}.sh"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # create the necessary directory structure
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/share/java/${isim}/bin"
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/share/java/${isim}/lib/plugins"
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/share/java/${isim}/init.d"
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/bin"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # copy across jar files
 | 
					 | 
				
			||||||
  install -Dm 644 lib/*.jar "${PKG}/usr/share/java/${isim}/lib"
 | 
					 | 
				
			||||||
  install -Dm 644 lib/plugins/*.jar "${PKG}/usr/share/java/${isim}/lib/plugins"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # copy across supporting text documentation and scripts
 | 
					 | 
				
			||||||
  install -m 644 NOTICE "${PKG}/usr/share/java/${isim}"
 | 
					 | 
				
			||||||
  install -m 644 LICENSE "${PKG}/usr/share/java/${isim}"
 | 
					 | 
				
			||||||
  install -m 644 *.html "${PKG}/usr/share/java/${isim}"
 | 
					 | 
				
			||||||
  install -m 755 bin/gradle "${PKG}/usr/share/java/${isim}/bin"
 | 
					 | 
				
			||||||
  install -m 644 init.d/*.* "${PKG}/usr/share/java/${isim}/init.d"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # link gradle script to /usr/bin
 | 
					 | 
				
			||||||
  ln -s /usr/share/java/${isim}/bin/${isim} "${PKG}/usr/bin"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # create the necessary directory structure
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/share/java/gradle/docs"
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/share/java/gradle/samples"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  # copy across documentation and samples
 | 
					 | 
				
			||||||
  cp -r docs/* "${PKG}/usr/share/java/gradle/docs"
 | 
					 | 
				
			||||||
  cp -r samples/* "${PKG}/usr/share/java/gradle/samples"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  install -d "${PKG}/usr/share/java/gradle/src"
 | 
					 | 
				
			||||||
  cp -r src/* "${PKG}/usr/share/java/gradle/src"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -5,13 +5,13 @@
 | 
				
			||||||
# Grup: 
 | 
					# Grup: 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
isim=gspell
 | 
					isim=gspell
 | 
				
			||||||
surum=1.8.0
 | 
					surum=1.8.1
 | 
				
			||||||
devir=1
 | 
					devir=1
 | 
				
			||||||
kaynak=(https://git.gnome.org/browse/gspell/snapshot/gspell-1.8.0.tar.xz)
 | 
					kaynak=(https://gitlab.gnome.org/GNOME/gspell/-/archive/master/gspell-master.tar.gz)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
derle() {
 | 
					derle() {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  cd $isim-$surum
 | 
					  cd $isim-master
 | 
				
			||||||
  NOCONFIGURE=1 ./autogen.sh
 | 
					  NOCONFIGURE=1 ./autogen.sh
 | 
				
			||||||
  ./configure  --prefix=/usr --enable-gtk-doc
 | 
					  ./configure  --prefix=/usr --enable-gtk-doc
 | 
				
			||||||
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
					  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,17 +0,0 @@
 | 
				
			||||||
# Tanım: SSDP üzerinden kaynak keşif ve duyurunun taşınması için bir GObject tabanlı API
 | 
					 | 
				
			||||||
# URL: http://gupnp.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: libsoup
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gssdp
 | 
					 | 
				
			||||||
surum=0.14.11
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/${isim}/${version:0:4}/${isim}-${surum}.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 | 
					 | 
				
			||||||
              --disable-static
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,29 +0,0 @@
 | 
				
			||||||
--- a/ext/vp8/gstvp8utils.h
 | 
					 | 
				
			||||||
+++ b/ext/vp8/gstvp8utils.h
 | 
					 | 
				
			||||||
@@ -25,23 +25,6 @@
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 G_BEGIN_DECLS
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
-/* Some compatibility defines for older libvpx versions */
 | 
					 | 
				
			||||||
-#ifndef VPX_IMG_FMT_I420
 | 
					 | 
				
			||||||
-#define VPX_IMG_FMT_I420 IMG_FMT_I420
 | 
					 | 
				
			||||||
-#endif
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-#ifndef VPX_PLANE_Y
 | 
					 | 
				
			||||||
-#define VPX_PLANE_Y PLANE_Y
 | 
					 | 
				
			||||||
-#endif
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-#ifndef VPX_PLANE_U
 | 
					 | 
				
			||||||
-#define VPX_PLANE_U PLANE_U
 | 
					 | 
				
			||||||
-#endif
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
-#ifndef VPX_PLANE_V
 | 
					 | 
				
			||||||
-#define VPX_PLANE_V PLANE_V
 | 
					 | 
				
			||||||
-#endif
 | 
					 | 
				
			||||||
-
 | 
					 | 
				
			||||||
 const char * gst_vpx_error_name (vpx_codec_err_t status);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 G_END_DECLS
 | 
					 | 
				
			||||||
-- 
 | 
					 | 
				
			||||||
2.1.2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,24 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer Bad Plug-ins, diğerlerine kıyasla eşit olmayan bir dizi eklentidir.
 | 
					 | 
				
			||||||
# URL: https://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer-plugins-base faac faad2 libmms libpng libvpx xvid jasper
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer-plugins-bad
 | 
					 | 
				
			||||||
surum=0.10.23
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-bad
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/$_name/$_name-$surum.tar.bz2
 | 
					 | 
				
			||||||
	    $isim-$surum-compatibility-1.patch)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $_name-$surum
 | 
					 | 
				
			||||||
patch -Np1 -i ../$isim-$surum-compatibility-1.patch
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-gtk=3.0 \
 | 
					 | 
				
			||||||
--disable-examples \
 | 
					 | 
				
			||||||
--with-package-isim='Milis gstreamer-plugins-bad package' \
 | 
					 | 
				
			||||||
--with-package-origin='https://milis.gungre.ch/'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,22 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer multimedya çerçevesi taban eklentileri
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer alsa-lib pango cdparanoia libogg libtheora libvorbis xorg-libxv xorg-libxcursor xorg-libxdamage xorg-libxrandr xorg-libxinerama
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer-plugins-base
 | 
					 | 
				
			||||||
surum=0.10.36
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-base
 | 
					 | 
				
			||||||
kaynak=(https://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz
 | 
					 | 
				
			||||||
	    http://www.linuxfromscratch.org/patches/downloads/gst-plugins-base/gst-plugins-base-0.10.36-gcc_4_9_0_i686-1.patch)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
[ "`uname -m`" == "i686" ] && patch -Np1 -i ../gst-plugins-base-0.10.36-gcc_4_9_0_i686-1.patch
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim='Milis gstreamer-plugins-base package' \
 | 
					 | 
				
			||||||
--with-package-origin='https://milis.gungre.ch/'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer multimedya çerçevesi ffmpeg eklentileri
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer gstreamer-plugins-base yasm sdl
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer-plugins-ffmpeg
 | 
					 | 
				
			||||||
surum=0.10.13
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-ffmpeg
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.bz2
 | 
					 | 
				
			||||||
	    http://downloads.nutyx.org/files/patchs/$isim/h264_qpel_mmx.patch)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
unset CFLAGS
 | 
					 | 
				
			||||||
unset CXXFLAGS
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
patch -Np1 -i ../h264_qpel_mmx.patch
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--sysconfdir=/etc \
 | 
					 | 
				
			||||||
--localstatedir=/var \
 | 
					 | 
				
			||||||
--with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
 | 
					 | 
				
			||||||
--with-package-isim='PisiLinux gstreamer-ffmpeg package' \
 | 
					 | 
				
			||||||
--with-package-origin='https://milis.gungre.ch/'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make || make -j1
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer İyi Eklentileri, kaliteli kod, doğru işlevsellik ve tercih edilen lisansımız (eklenti kodu için LGPL, destekleyici kitaplık için LGPL veya LGPL uyumlu) olması düşünülen eklentiler dizisidir.
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-good.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer-plugins-base cairo flac libjpeg-turbo libpng xorg-libx11 libsoup speex aalib taglib libcdio
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer-plugins-good
 | 
					 | 
				
			||||||
surum=0.10.31
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-good
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
sed -i -e '/input:/d' sys/v4l2/gstv4l2bufferpool.c
 | 
					 | 
				
			||||||
sed -i -e "/case V4L2_CID_HCENTER/d" -e "/case V4L2_CID_VCENTER/d" sys/v4l2/v4l2_calls.c
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
            --sysconfdir=/etc \
 | 
					 | 
				
			||||||
            --with-gtk=3.0 \
 | 
					 | 
				
			||||||
            --with-package-isim='Milis gstreamer-plugins-good package' \
 | 
					 | 
				
			||||||
            --with-package-origin='https://milis.gungre.ch/'
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer multimedya çerçevesi python eklentileri
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gstreamer gstreamer-plugins-base python-gobject2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer-plugins-python
 | 
					 | 
				
			||||||
surum=0.10.22
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-python
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,22 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer Çirkin Eklentileri, kaliteli ve doğru işlevsellikleri olan bir takım eklentilerdir ancak bunları dağıtmak sorun yaratabilir.
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-ugly.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer-plugins-base lame libdvdnav libdvdread libdvdcss liba52 libmad libmpeg2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer-plugins-ugly
 | 
					 | 
				
			||||||
surum=0.10.19
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-ugly
 | 
					 | 
				
			||||||
kaynak=( http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz
 | 
					 | 
				
			||||||
	     http://www.linuxfromscratch.org/patches/downloads/gst-plugins-ugly/gst-plugins-ugly-$surum-libcdio_fixes-1.patch )
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd ${_name}-$surum
 | 
					 | 
				
			||||||
	patch -Np1 -i ../gst-plugins-ugly-$surum-libcdio_fixes-1.patch
 | 
					 | 
				
			||||||
	./configure --prefix=/usr \
 | 
					 | 
				
			||||||
	--with-package-isim="Milis gstreamer-plugins-ugly" \
 | 
					 | 
				
			||||||
	--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,25 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer ana kütüphanedir. Başlıkları, temel kitaplık dosyalarını ve temel öğeleri içerir.
 | 
					 | 
				
			||||||
# URL: https://gstreamer.freedesktop.org/modules/gstreamer.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: glib libxml2 gsl gobject-introspection
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer
 | 
					 | 
				
			||||||
surum=0.10.36
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/$isim/$isim-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
sed -i  -e '/YYLEX_PARAM/d' \
 | 
					 | 
				
			||||||
  -e '/parse-param.*scanner/i %lex-param { void *scanner }' \
 | 
					 | 
				
			||||||
     gst/parse/grammar.y
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--disable-static \
 | 
					 | 
				
			||||||
--with-package-isim="GStreamer for Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/" \
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
rm -rf $PKG/usr/share/gtk-doc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer Bad Plug-ins, diğerlerine kıyasla eşit olmayan bir dizi eklentidir.
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-bad.html
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gstreamer1-plugins-base libdvdread libdvdnav faac faad2 libexif libmpeg2 mpg123
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer1-plugins-bad
 | 
					 | 
				
			||||||
surum=1.6.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-bad
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz )
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim="Gstreamer Plugins Bad for Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer multimedya çerçevesi taban eklentileri
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer1 alsa-lib gobject-introspection iso-codes libtheora libvorbis pango
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer1-plugins-base
 | 
					 | 
				
			||||||
surum=1.6.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-base
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim="GStreamer Base Plugins for Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer İyi Eklentileri, kaliteli kod, doğru işlevsellik ve tercih edilen lisansımız (eklenti kodu için LGPL, destekleyici kitaplık için LGPL veya LGPL uyumlu) olması düşünülen eklentiler dizisidir.
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gstreamer1-plugins-base flac gdk-pixbuf libjpeg-turbo libpng libsoup libvpx
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer1-plugins-good
 | 
					 | 
				
			||||||
surum=1.6.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-good
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim="GStreamer Good Plugins Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: Birçok kod çözücü ve kodlayıcı içeren Libav tabanlı eklenti
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-libav.html
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: gstreamer1-plugins-base yasm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer1-plugins-libav
 | 
					 | 
				
			||||||
surum=1.6.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-libav
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz )
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim="GStreamer Libav Plugins Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer Çirkin Eklentileri, kaliteli ve doğru işlevsellikleri olan bir takım eklentilerdir ancak bunları dağıtmak sorun yaratabilir.
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-ugly.html
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gstreamer1-plugins-base lame libdvdread liba52 libmad libmpeg2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer1-plugins-ugly
 | 
					 | 
				
			||||||
surum=1.6.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gst-plugins-ugly
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz )
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim="GStreamer Ugly Plugins Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: GStreamer ana kütüphanedir. Başlıkları, temel kitaplık dosyalarını ve temel öğeleri içerir.
 | 
					 | 
				
			||||||
# URL: http://gstreamer.freedesktop.org/
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk8@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: glib libxml2 gsl gobject-introspection
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gstreamer1
 | 
					 | 
				
			||||||
surum=1.6.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gstreamer
 | 
					 | 
				
			||||||
kaynak=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd ${_name}-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--with-package-isim="GStreamer for Milis" \
 | 
					 | 
				
			||||||
--with-package-origin="https://milis.gungre.ch/"
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
# Tanım: Google Test - xUnit çerçevesine dayalı (JUnit gibi) C ++ test yardımcı programı
 | 
					 | 
				
			||||||
# URL: http://code.google.com/p/googletest
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: cmake
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtest
 | 
					 | 
				
			||||||
surum=1.7.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://googletest.googlecode.com/files/$isim-$surum.zip)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
  mkdir build
 | 
					 | 
				
			||||||
  cd build
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_SKIP_RPATH=ON ..
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $SRC/$isim-$surum
 | 
					 | 
				
			||||||
  mkdir -pm 0755 $PKG/usr/{lib,include/gtest/internal,share/licenses/$isim,src/gtest/src,src/gtest/cmake}
 | 
					 | 
				
			||||||
  install -m 0644 build/libgtest{,_main}.so $PKG/usr/lib
 | 
					 | 
				
			||||||
  install -m 0644 include/gtest/*.h $PKG/usr/include/gtest
 | 
					 | 
				
			||||||
  install -m 0644 include/gtest/internal/*.h $PKG/usr/include/gtest/internal/
 | 
					 | 
				
			||||||
  install -m 0644 LICENSE $PKG/usr/share/licenses/$isim/
 | 
					 | 
				
			||||||
  install -m 0644 fused-src/gtest/* $PKG/usr/src/gtest/src/
 | 
					 | 
				
			||||||
  install -m 0644 CMakeLists.txt $PKG/usr/src/gtest/
 | 
					 | 
				
			||||||
  install -m 0644 cmake/* $PKG/usr/src/gtest/cmake/
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
glib-compile-schemas /usr/share/glib-2.0/schemas
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,24 +0,0 @@
 | 
				
			||||||
# Tanım: GNOME Masaüstü için resim tarayıcı ve görüntüleyici
 | 
					 | 
				
			||||||
# URL: https://wiki.gnome.org/Apps/gthumb
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: dconf librsvg clutter-gtk gstreamer-plugins-base gsettings-desktop-schemas libwebp libsecret libsoup webkit2gtk3 json-glib intltool libchamplain exiv2 itstool brasero libraw liboauth docbook-xsl yelp flex gnome-common
 | 
					 | 
				
			||||||
# Grup: 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gthumb
 | 
					 | 
				
			||||||
surum=3.6.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://git.gnome.org/browse/gthumb/snapshot/gthumb-3.6.0.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
  NOCONFIGURE=1 ./autogen.sh
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr --sysconfdir=/etc \
 | 
					 | 
				
			||||||
      --localstatedir=/var --disable-static \
 | 
					 | 
				
			||||||
      --enable-libchamplain
 | 
					 | 
				
			||||||
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  make DESTDIR="$PKG" install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,16 +0,0 @@
 | 
				
			||||||
# Tanım: GTK-Doc, C koduna eklenen yorumlardan API dokümantasyonu üretmeye başlayan bir projedir.
 | 
					 | 
				
			||||||
# URL: http://www.gnome.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: docbook-xml docbook-xsl itstool libxslt
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-doc
 | 
					 | 
				
			||||||
surum=1.25
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=( http://ftp.gnome.org/pub/gnome/sources/$isim/$surum/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
# Tanım: Cairo tabanlı GTK tema motoru
 | 
					 | 
				
			||||||
# URL: https://launchpad.net/murrine
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk2 intltool
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-engine-murrine
 | 
					 | 
				
			||||||
surum=0.98.2
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/GNOME/sources/murrine/${version::4}/murrine-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd murrine-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	./configure \
 | 
					 | 
				
			||||||
		--prefix=/usr \
 | 
					 | 
				
			||||||
		--enable-animation \
 | 
					 | 
				
			||||||
		--enable-animationrtl
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
# Tanım: GTK-engines paketi, sekiz tema / motor ve GTK2 için iki ilave motor içerir.
 | 
					 | 
				
			||||||
# URL: http://ftp.gnome.org/pub/gnome/sources/gtk-engines
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk2 lua 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-engines
 | 
					 | 
				
			||||||
surum=2.20.2	
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/$isim-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	./configure --prefix=/usr 
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,15 +0,0 @@
 | 
				
			||||||
# Tanım: Bir Gnutella sunucu / istemci
 | 
					 | 
				
			||||||
# URL: http://gtk-gnutella.sourceforge.net/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: desktop-file-utils gtk2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-gnutella
 | 
					 | 
				
			||||||
surum=devel
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://github.com/gtk-gnutella/gtk-gnutella/archive/$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
    cd gtk-gnutella-devel
 | 
					 | 
				
			||||||
  ./build.sh --prefix=/usr --enable-halloc --gtk2
 | 
					 | 
				
			||||||
  make install INSTALL_PREFIX=$PKG/
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,10 +0,0 @@
 | 
				
			||||||
[Desktop Entry]
 | 
					 | 
				
			||||||
Name=Tema Ayarları
 | 
					 | 
				
			||||||
GenericName=Tema Ayarları
 | 
					 | 
				
			||||||
Comment=GTK tema renklerini yapılandırma
 | 
					 | 
				
			||||||
Exec=gtk-theme-config
 | 
					 | 
				
			||||||
Terminal=false
 | 
					 | 
				
			||||||
Type=Application
 | 
					 | 
				
			||||||
Icon=gtk-theme-config
 | 
					 | 
				
			||||||
Categories=GNOME;GTK;Settings;DesktopSettings;X-XFCE-SettingsDialog;X-XFCE-PersonalSettings;
 | 
					 | 
				
			||||||
Keywords=color;gtk;highlight;theme;widget;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,724 +0,0 @@
 | 
				
			||||||
using Gtk;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class ThemeConfigWindow : ApplicationWindow {
 | 
					 | 
				
			||||||
	Label selectbg_label;
 | 
					 | 
				
			||||||
	Label selectfg_label;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	ColorButton selectbg_button;
 | 
					 | 
				
			||||||
	ColorButton selectfg_button;
 | 
					 | 
				
			||||||
	ColorButton panelbg_button;
 | 
					 | 
				
			||||||
	ColorButton panelfg_button;
 | 
					 | 
				
			||||||
	ColorButton menubg_button;
 | 
					 | 
				
			||||||
	ColorButton menufg_button;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	Switch select_switch;
 | 
					 | 
				
			||||||
	Switch panel_switch;
 | 
					 | 
				
			||||||
	Switch menu_switch;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	Button revert_button;
 | 
					 | 
				
			||||||
	Button apply_button;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	Gdk.RGBA color_rgb;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	File config_dir;
 | 
					 | 
				
			||||||
	File home_dir;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	File gtk3_config_file;
 | 
					 | 
				
			||||||
	File gtk2_config_file;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	File theme_path;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	string color_hex;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	string color_scheme;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	string selectbg_value;
 | 
					 | 
				
			||||||
	string selectfg_value;
 | 
					 | 
				
			||||||
	string panelbg_value;
 | 
					 | 
				
			||||||
	string panelfg_value;
 | 
					 | 
				
			||||||
	string menubg_value;
 | 
					 | 
				
			||||||
	string menufg_value;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	internal ThemeConfigWindow (ThemeConfigApp app) {
 | 
					 | 
				
			||||||
		Object (application: app, title: "Tema Yapılandırması");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Set window properties
 | 
					 | 
				
			||||||
		this.window_position = WindowPosition.CENTER;
 | 
					 | 
				
			||||||
		this.resizable = false;
 | 
					 | 
				
			||||||
		this.border_width = 10;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Set window icon
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			this.icon = IconTheme.get_default ().load_icon ("gtk-theme-config", 48, 0);
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Uygulama simgesi yüklenemedi: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Methods
 | 
					 | 
				
			||||||
		create_widgets ();
 | 
					 | 
				
			||||||
		connect_signals ();
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void set_values () {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Set default values
 | 
					 | 
				
			||||||
		selectbg_value = "#398ee7";
 | 
					 | 
				
			||||||
		selectfg_value = "#eeeeee";
 | 
					 | 
				
			||||||
		panelbg_value = "#cccccc";
 | 
					 | 
				
			||||||
		panelfg_value = "#333333";
 | 
					 | 
				
			||||||
		menubg_value = "#eeeeee";
 | 
					 | 
				
			||||||
		menufg_value = "#333333";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		select_switch.set_active (false);
 | 
					 | 
				
			||||||
		panel_switch.set_active (false);
 | 
					 | 
				
			||||||
		menu_switch.set_active (false);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Read the current values
 | 
					 | 
				
			||||||
		var settings = new GLib.Settings ("org.gnome.desktop.interface");
 | 
					 | 
				
			||||||
		var color_scheme = settings.get_string ("gtk-color-scheme");
 | 
					 | 
				
			||||||
		var theme_name = settings.get_string ("gtk-theme");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Set paths of config files
 | 
					 | 
				
			||||||
		config_dir = File.new_for_path (Environment.get_user_config_dir ());
 | 
					 | 
				
			||||||
		home_dir = File.new_for_path (Environment.get_home_dir ());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		gtk3_config_file = config_dir.get_child ("gtk-3.0").get_child ("gtk.css");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		gtk2_config_file = home_dir.get_child (".gtkrc-2.0");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Create path if doesn't exist
 | 
					 | 
				
			||||||
		if (!gtk3_config_file.get_parent().query_exists ()) {
 | 
					 | 
				
			||||||
			try {
 | 
					 | 
				
			||||||
				gtk3_config_file.get_parent().make_directory_with_parents(null);
 | 
					 | 
				
			||||||
			} catch (Error e) {
 | 
					 | 
				
			||||||
				stderr.printf ("Üst dizin oluşturulamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Detect current theme path
 | 
					 | 
				
			||||||
		if (gtk3_config_file.query_exists ()) {
 | 
					 | 
				
			||||||
			theme_path = gtk3_config_file;
 | 
					 | 
				
			||||||
		} else if (home_dir.get_child (".themes/%s/gtk-3.0/gtk-main.css".printf (theme_name)).query_exists ()) {
 | 
					 | 
				
			||||||
			theme_path = home_dir.get_child (".themes/%s/gtk-3.0/gtk-main.css".printf (theme_name));
 | 
					 | 
				
			||||||
		} else if (home_dir.get_child (".themes/%s/gtk-3.0/gtk.css".printf (theme_name)).query_exists ()) {
 | 
					 | 
				
			||||||
			theme_path = home_dir.get_child (".themes/%s/gtk-3.0/gtk.css".printf (theme_name));
 | 
					 | 
				
			||||||
		} else if (File.parse_name ("/usr/share/themes/%s/gtk-3.0/gtk-main.css".printf (theme_name)).query_exists ()) {
 | 
					 | 
				
			||||||
			theme_path = File.parse_name ("/usr/share/themes/%s/gtk-3.0/gtk-main.css".printf (theme_name));
 | 
					 | 
				
			||||||
		} else if (File.parse_name ("/usr/share/themes/%s/gtk-3.0/gtk.css".printf (theme_name)).query_exists ()) {
 | 
					 | 
				
			||||||
			theme_path = File.parse_name ("/usr/share/themes/%s/gtk-3.0/gtk.css".printf (theme_name));
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Read the current theme file
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			var dis = new DataInputStream (theme_path.read ());
 | 
					 | 
				
			||||||
			string line;
 | 
					 | 
				
			||||||
			while ((line = dis.read_line (null)) != null) {
 | 
					 | 
				
			||||||
				if ("@define-color selected_bg_color" in line) {
 | 
					 | 
				
			||||||
					selectbg_value = line.substring (32, line.length-33);
 | 
					 | 
				
			||||||
					if ("@" in selectbg_value) {
 | 
					 | 
				
			||||||
						selectbg_value = "#398ee7";
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("@define-color selected_fg_color" in line) {
 | 
					 | 
				
			||||||
					selectfg_value = line.substring (32, line.length-33);
 | 
					 | 
				
			||||||
					if ("@" in selectfg_value) {
 | 
					 | 
				
			||||||
						selectfg_value = "#eeeeee";
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("@define-color panel_bg_color" in line) {
 | 
					 | 
				
			||||||
					panelbg_value = line.substring (29, line.length-30);
 | 
					 | 
				
			||||||
					if ("@" in panelbg_value) {
 | 
					 | 
				
			||||||
						panelbg_value = "#cccccc";
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("@define-color panel_fg_color" in line) {
 | 
					 | 
				
			||||||
					panelfg_value = line.substring (29, line.length-30);
 | 
					 | 
				
			||||||
					if ("@" in panelfg_value) {
 | 
					 | 
				
			||||||
						panelfg_value = "#333333";
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("@define-color menu_bg_color" in line) {
 | 
					 | 
				
			||||||
					menubg_value = line.substring (28, line.length-29);
 | 
					 | 
				
			||||||
					if ("@" in menubg_value) {
 | 
					 | 
				
			||||||
						menubg_value = "#eeeeee";
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("@define-color menu_fg_color" in line) {
 | 
					 | 
				
			||||||
					menufg_value = line.substring (28, line.length-29);
 | 
					 | 
				
			||||||
					if ("@" in menufg_value) {
 | 
					 | 
				
			||||||
						menufg_value = "#333333";
 | 
					 | 
				
			||||||
					}
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("/* select-on */" in line) {
 | 
					 | 
				
			||||||
					select_switch.set_active (true);
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("/* panel-on */" in line) {
 | 
					 | 
				
			||||||
					panel_switch.set_active (true);
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
				if ("/* menu-on */" in line) {
 | 
					 | 
				
			||||||
					menu_switch.set_active (true);
 | 
					 | 
				
			||||||
				}
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Kullanıcı teması okunamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Read the current color scheme
 | 
					 | 
				
			||||||
		if (";" in color_scheme) {
 | 
					 | 
				
			||||||
			string[] parts = color_scheme.split_set(";");
 | 
					 | 
				
			||||||
			if ("selected_bg_color:#" in parts[0] && "selected_fg_color:#" in parts[1]) {
 | 
					 | 
				
			||||||
				selectbg_value = parts[0].substring (18, parts[0].length-18);
 | 
					 | 
				
			||||||
				selectfg_value = parts[1].substring (18, parts[1].length-18);
 | 
					 | 
				
			||||||
				select_switch.set_active (true);
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Set colors
 | 
					 | 
				
			||||||
		Gdk.RGBA color = Gdk.RGBA ();
 | 
					 | 
				
			||||||
		color.parse (selectbg_value);
 | 
					 | 
				
			||||||
		selectbg_button.set_rgba (color);
 | 
					 | 
				
			||||||
		color.parse (selectfg_value);
 | 
					 | 
				
			||||||
		selectfg_button.set_rgba (color);
 | 
					 | 
				
			||||||
		color.parse (panelbg_value);
 | 
					 | 
				
			||||||
		panelbg_button.set_rgba (color);
 | 
					 | 
				
			||||||
		color.parse (panelfg_value);
 | 
					 | 
				
			||||||
		panelfg_button.set_rgba (color);
 | 
					 | 
				
			||||||
		color.parse (menubg_value);
 | 
					 | 
				
			||||||
		menubg_button.set_rgba (color);
 | 
					 | 
				
			||||||
		color.parse (menufg_value);
 | 
					 | 
				
			||||||
		menufg_button.set_rgba (color);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		apply_button.set_sensitive (false);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void create_widgets () {
 | 
					 | 
				
			||||||
		// Create and setup widgets
 | 
					 | 
				
			||||||
		var select_heading = new Label.with_mnemonic ("_<b>Özel vurgu renkleri</b>");
 | 
					 | 
				
			||||||
		select_heading.set_use_markup (true);
 | 
					 | 
				
			||||||
		select_heading.set_halign (Align.START);
 | 
					 | 
				
			||||||
		var panel_heading = new Label.with_mnemonic ("_<b>Özel panel renkleri/b>");
 | 
					 | 
				
			||||||
		panel_heading.set_use_markup (true);
 | 
					 | 
				
			||||||
		panel_heading.set_halign (Align.START);
 | 
					 | 
				
			||||||
		var menu_heading = new Label.with_mnemonic ("_<b>Özel menü renkleri</b>");
 | 
					 | 
				
			||||||
		menu_heading.set_use_markup (true);
 | 
					 | 
				
			||||||
		menu_heading.set_halign (Align.START);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		selectbg_label = new Label.with_mnemonic ("_Arka planı vurgulayın");
 | 
					 | 
				
			||||||
		selectbg_label.set_halign (Align.START);
 | 
					 | 
				
			||||||
		selectfg_label = new Label.with_mnemonic ("_Metni vurgulayın");
 | 
					 | 
				
			||||||
		selectfg_label.set_halign (Align.START);
 | 
					 | 
				
			||||||
		var panelbg_label = new Label.with_mnemonic ("_Panel arka planı");
 | 
					 | 
				
			||||||
		panelbg_label.set_halign (Align.START);
 | 
					 | 
				
			||||||
		var panelfg_label = new Label.with_mnemonic ("_Panel metni");
 | 
					 | 
				
			||||||
		panelfg_label.set_halign (Align.START);
 | 
					 | 
				
			||||||
		var menubg_label = new Label.with_mnemonic ("_Menü arkaplanı");
 | 
					 | 
				
			||||||
		menubg_label.set_halign (Align.START);
 | 
					 | 
				
			||||||
		var menufg_label = new Label.with_mnemonic ("_Menü Metni");
 | 
					 | 
				
			||||||
		menufg_label.set_halign (Align.START);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		selectbg_button = new ColorButton ();
 | 
					 | 
				
			||||||
		selectfg_button = new ColorButton ();
 | 
					 | 
				
			||||||
		panelbg_button = new ColorButton ();
 | 
					 | 
				
			||||||
		panelfg_button = new ColorButton ();
 | 
					 | 
				
			||||||
		menubg_button = new ColorButton ();
 | 
					 | 
				
			||||||
		menufg_button = new ColorButton ();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		select_switch = new Switch ();
 | 
					 | 
				
			||||||
		select_switch.set_halign (Align.END);
 | 
					 | 
				
			||||||
		panel_switch = new Switch ();
 | 
					 | 
				
			||||||
		panel_switch.set_halign (Align.END);
 | 
					 | 
				
			||||||
		menu_switch = new Switch ();
 | 
					 | 
				
			||||||
		menu_switch.set_halign (Align.END);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		revert_button = new Button.from_stock(Stock.REVERT_TO_SAVED);
 | 
					 | 
				
			||||||
		apply_button = new Button.from_stock (Stock.APPLY);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Buttons
 | 
					 | 
				
			||||||
		var buttons = new ButtonBox (Orientation.HORIZONTAL);
 | 
					 | 
				
			||||||
		buttons.set_layout (ButtonBoxStyle.EDGE);
 | 
					 | 
				
			||||||
		buttons.add (revert_button);
 | 
					 | 
				
			||||||
		buttons.add (apply_button);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Layout widgets
 | 
					 | 
				
			||||||
		var grid = new Grid ();
 | 
					 | 
				
			||||||
		grid.set_column_homogeneous (true);
 | 
					 | 
				
			||||||
		grid.set_row_homogeneous (true);
 | 
					 | 
				
			||||||
		grid.set_column_spacing (5);
 | 
					 | 
				
			||||||
		grid.set_row_spacing (5);
 | 
					 | 
				
			||||||
		grid.attach (select_heading, 0, 0, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (select_switch, select_heading, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (selectbg_label, 0, 1, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (selectbg_button, selectbg_label, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (selectfg_label, 0, 2, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (selectfg_button, selectfg_label, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (panel_heading, 0, 3, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (panel_switch, panel_heading, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (panelbg_label, 0, 4, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (panelbg_button, panelbg_label, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (panelfg_label, 0, 5, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (panelfg_button, panelfg_label, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (menu_heading, 0, 6, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (menu_switch, menu_heading, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (menubg_label, 0, 7, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (menubg_button, menubg_label, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (menufg_label, 0, 8, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach_next_to (menufg_button, menufg_label, PositionType.RIGHT, 1, 1);
 | 
					 | 
				
			||||||
		grid.attach (buttons, 0, 9, 2, 1);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		this.add (grid);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		set_values ();
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void connect_signals () {
 | 
					 | 
				
			||||||
		selectbg_button.color_set.connect (() => {
 | 
					 | 
				
			||||||
			on_selectbg_color_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		selectfg_button.color_set.connect (() => {
 | 
					 | 
				
			||||||
			on_selectfg_color_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		panelbg_button.color_set.connect (() => {
 | 
					 | 
				
			||||||
			on_panelbg_color_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		panelfg_button.color_set.connect (() => {
 | 
					 | 
				
			||||||
			on_panelfg_color_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		menubg_button.color_set.connect (() => {
 | 
					 | 
				
			||||||
			on_menubg_color_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		menufg_button.color_set.connect (() => {
 | 
					 | 
				
			||||||
			on_menufg_color_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		select_switch.notify["active"].connect (() => {
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		panel_switch.notify["active"].connect (() => {
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		menu_switch.notify["active"].connect (() => {
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		revert_button.clicked.connect (() => {
 | 
					 | 
				
			||||||
			on_config_reset ();
 | 
					 | 
				
			||||||
			revert_button.set_sensitive (false);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
		apply_button.clicked.connect (() => {
 | 
					 | 
				
			||||||
			on_config_set ();
 | 
					 | 
				
			||||||
			apply_button.set_sensitive (false);
 | 
					 | 
				
			||||||
			revert_button.set_sensitive (true);
 | 
					 | 
				
			||||||
		});
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void rgb_to_hex () {
 | 
					 | 
				
			||||||
		int r = (int)Math.round (color_rgb.red * 255);
 | 
					 | 
				
			||||||
		int g = (int)Math.round (color_rgb.green * 255);
 | 
					 | 
				
			||||||
		int b = (int)Math.round (color_rgb.blue * 255);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		color_hex = "#%02x%02x%02x".printf (r, g, b);
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_selectbg_color_set () {
 | 
					 | 
				
			||||||
		color_rgb =  selectbg_button.get_rgba ();
 | 
					 | 
				
			||||||
		rgb_to_hex ();
 | 
					 | 
				
			||||||
		selectbg_value = color_hex;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_selectfg_color_set () {
 | 
					 | 
				
			||||||
		color_rgb =  selectfg_button.get_rgba ();
 | 
					 | 
				
			||||||
		rgb_to_hex ();
 | 
					 | 
				
			||||||
		selectfg_value = color_hex;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_panelbg_color_set () {
 | 
					 | 
				
			||||||
		color_rgb =  panelbg_button.get_rgba ();
 | 
					 | 
				
			||||||
		rgb_to_hex ();
 | 
					 | 
				
			||||||
		panelbg_value = color_hex;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_panelfg_color_set () {
 | 
					 | 
				
			||||||
		color_rgb =  panelfg_button.get_rgba ();
 | 
					 | 
				
			||||||
		rgb_to_hex ();
 | 
					 | 
				
			||||||
		panelfg_value = color_hex;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_menubg_color_set () {
 | 
					 | 
				
			||||||
		color_rgb =  menubg_button.get_rgba ();
 | 
					 | 
				
			||||||
		rgb_to_hex ();
 | 
					 | 
				
			||||||
		menubg_value = color_hex;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_menufg_color_set () {
 | 
					 | 
				
			||||||
		color_rgb =  menufg_button.get_rgba ();
 | 
					 | 
				
			||||||
		rgb_to_hex ();
 | 
					 | 
				
			||||||
		menufg_value = color_hex;
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_config_set () {
 | 
					 | 
				
			||||||
		set_color_scheme ();
 | 
					 | 
				
			||||||
		write_config ();
 | 
					 | 
				
			||||||
		notify_change ();
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void on_config_reset () {
 | 
					 | 
				
			||||||
		reset_color_scheme ();
 | 
					 | 
				
			||||||
		reset_config ();
 | 
					 | 
				
			||||||
		set_values ();
 | 
					 | 
				
			||||||
		notify_change ();
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void set_color_scheme () {
 | 
					 | 
				
			||||||
		// Determine color scheme
 | 
					 | 
				
			||||||
		if (select_switch.get_active()) {
 | 
					 | 
				
			||||||
			color_scheme = "\"selected_bg_color:%s;selected_fg_color:%s;\"".printf (selectbg_value, selectfg_value);
 | 
					 | 
				
			||||||
		} else {
 | 
					 | 
				
			||||||
			color_scheme = "\"\"";
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Set color scheme
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			Process.spawn_command_line_sync ("gsettings set org.gnome.desktop.interface gtk-color-scheme %s".printf (color_scheme));
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Could not set color scheme for gtk3: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			Process.spawn_command_line_sync ("gconftool-2 -s /desktop/gnome/interface/gtk_color_scheme -t string %s".printf (color_scheme));
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Could not set color scheme for gtk2: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		if (File.parse_name ("/usr/bin/xfconf-query").query_exists ()) {
 | 
					 | 
				
			||||||
			try {
 | 
					 | 
				
			||||||
				Process.spawn_command_line_sync ("xfconf-query -n -c xsettings -p /Gtk/ColorScheme -t string -s %s".printf (color_scheme));
 | 
					 | 
				
			||||||
			} catch (Error e) {
 | 
					 | 
				
			||||||
				stderr.printf ("Could not set color scheme for xfce: %s\n", e.message);
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void reset_color_scheme () {
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			Process.spawn_command_line_sync ("gsettings reset org.gnome.desktop.interface gtk-color-scheme");
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("CGtk3 için renk düzenini sıfırlayamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			Process.spawn_command_line_sync ("gconftool-2 -u /desktop/gnome/interface/gtk_color_scheme");
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Gtk2 için renk düzenini sıfırlayamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		if (File.parse_name ("/usr/bin/xfconf-query").query_exists ()) {
 | 
					 | 
				
			||||||
			try {
 | 
					 | 
				
			||||||
				Process.spawn_command_line_sync ("xfconf-query -c xsettings -p /Gtk/ColorScheme -r");
 | 
					 | 
				
			||||||
			} catch (Error e) {
 | 
					 | 
				
			||||||
				stderr.printf ("Cxfce için renk düzenini sıfırlayamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
			
 | 
					 | 
				
			||||||
	void reset_config () {
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			if (gtk3_config_file.query_exists ()) {
 | 
					 | 
				
			||||||
				gtk3_config_file.delete ();
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Önceki gtk3 yapılandırması silinemiyor: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			if (gtk2_config_file.query_exists ()) {
 | 
					 | 
				
			||||||
				gtk2_config_file.delete ();
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Önceki gtk2 yapılandırması silinemiyor: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void write_config () {
 | 
					 | 
				
			||||||
		
 | 
					 | 
				
			||||||
		// Determine states
 | 
					 | 
				
			||||||
		string select_state1;
 | 
					 | 
				
			||||||
		string select_state2;
 | 
					 | 
				
			||||||
		string panel_state1;
 | 
					 | 
				
			||||||
		string panel_state2;
 | 
					 | 
				
			||||||
		string menu_state1;
 | 
					 | 
				
			||||||
		string menu_state2;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		string panel_gtk2;
 | 
					 | 
				
			||||||
		string menu_gtk2;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		if (select_switch.get_active()) {
 | 
					 | 
				
			||||||
			select_state1 = "/* select-on */";
 | 
					 | 
				
			||||||
			select_state2 = "/* select-on */";
 | 
					 | 
				
			||||||
		} else {
 | 
					 | 
				
			||||||
			select_state1 = "/* select-off";
 | 
					 | 
				
			||||||
			select_state2 = "select-off */";
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		if (panel_switch.get_active()) {
 | 
					 | 
				
			||||||
			panel_state1 = "/* panel-on */";
 | 
					 | 
				
			||||||
			panel_state2 = "/* panel-on */";
 | 
					 | 
				
			||||||
			panel_gtk2 = ("style \"gtk-theme-config-panel\" {\n" +
 | 
					 | 
				
			||||||
					"\tbg[NORMAL] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tbg[PRELIGHT] = shade(1.1,\"%s\")\n" +
 | 
					 | 
				
			||||||
					"\tbg[ACTIVE] = shade(0.9,\"%s\")\n" +
 | 
					 | 
				
			||||||
					"\tbg[SELECTED] = shade(0.97,\"%s\")\n" +
 | 
					 | 
				
			||||||
					"\tfg[NORMAL] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tfg[PRELIGHT] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tfg[SELECTED] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tfg[ACTIVE] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"widget \"*PanelWidget*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget \"*PanelApplet*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget \"*fast-user-switch*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget \"*CPUFreq*Applet*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget \"*indicator-applet*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"class \"PanelApp*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"class \"PanelToplevel*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*PanelToplevel*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*notif*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*Notif*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*Tray*\" style \"gtk-theme-config-panel\" \n" +
 | 
					 | 
				
			||||||
					"widget_class \"*tray*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*computertemp*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*Applet*Tomboy*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget_class \"*Applet*Netstatus*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget \"*gdm-user-switch-menubar*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"widget \"*Xfce*Panel*\" style \"gtk-theme-config-panel\"\n" +
 | 
					 | 
				
			||||||
					"class \"*Xfce*Panel*\" style \"gtk-theme-config-panel\"\n").printf (panelbg_value, panelbg_value, panelbg_value, panelbg_value, panelfg_value, panelfg_value, panelfg_value, panelfg_value);
 | 
					 | 
				
			||||||
		} else {
 | 
					 | 
				
			||||||
			panel_state1 = "/* panel-off";
 | 
					 | 
				
			||||||
			panel_state2 = "panel-off */";
 | 
					 | 
				
			||||||
			panel_gtk2 = "";
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		if (menu_switch.get_active()) {
 | 
					 | 
				
			||||||
			menu_state1 = "/* menu-on */";
 | 
					 | 
				
			||||||
			menu_state2 = "/* menu-on */";
 | 
					 | 
				
			||||||
			menu_gtk2 = ("style \"gtk-theme-config-menu\" {\n" +
 | 
					 | 
				
			||||||
					"\tbase[NORMAL] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tbg[NORMAL] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tbg[ACTIVE] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tbg[INSENSITIVE] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\ttext[NORMAL] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"\tfg[NORMAL] = \"%s\"\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"widget_class\"*<GtkMenu>*\"style\"gtk-theme-config-menu\"\n").printf (menubg_value, menubg_value, menubg_value, menubg_value, menufg_value, menufg_value);
 | 
					 | 
				
			||||||
		} else {
 | 
					 | 
				
			||||||
			menu_state1 = "/* menu-off";
 | 
					 | 
				
			||||||
			menu_state2 = "menu-off */";;
 | 
					 | 
				
			||||||
			menu_gtk2 = "";
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		// Write config
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			var dos = new DataOutputStream (gtk3_config_file.replace (null, false, FileCreateFlags.REPLACE_DESTINATION));
 | 
					 | 
				
			||||||
			dos.put_string ("/* Custom styles */\n\n");
 | 
					 | 
				
			||||||
			string text = ("%s\n" +
 | 
					 | 
				
			||||||
					"@define-color selected_bg_color %s;\n" +
 | 
					 | 
				
			||||||
					"@define-color selected_fg_color %s;\n" +
 | 
					 | 
				
			||||||
					"@define-color theme_selected_bg_color @selected_bg_color;\n" +
 | 
					 | 
				
			||||||
					"@define-color theme_selected_fg_color @selected_fg_color;\n" +
 | 
					 | 
				
			||||||
					"%s\n\n" +
 | 
					 | 
				
			||||||
					"%s\n" +
 | 
					 | 
				
			||||||
					"@define-color panel_bg_color %s;\n" +
 | 
					 | 
				
			||||||
					"@define-color panel_fg_color %s;\n\n" +
 | 
					 | 
				
			||||||
					"PanelWidget,\n" +
 | 
					 | 
				
			||||||
					"PanelApplet,\n" +
 | 
					 | 
				
			||||||
					"PanelToplevel,\n" +
 | 
					 | 
				
			||||||
					"PanelSeparator,\n" +
 | 
					 | 
				
			||||||
					"PanelApplet > GtkMenuBar.menubar,\n" +
 | 
					 | 
				
			||||||
					"PanelApplet > GtkMenuBar.menubar.menuitem,\n" +
 | 
					 | 
				
			||||||
					"PanelMenuBar.menubar,\n" +
 | 
					 | 
				
			||||||
					"PanelMenuBar.menubar.menuitem,\n" +
 | 
					 | 
				
			||||||
					"PanelAppletFrame,\n" +
 | 
					 | 
				
			||||||
					"UnityPanelWidget,\n" +
 | 
					 | 
				
			||||||
					".gnome-panel-menu-bar,\n" +
 | 
					 | 
				
			||||||
					".unity-panel {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".unity-panel.menuitem,\n" +
 | 
					 | 
				
			||||||
					".unity-panel .menuitem {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".unity-panel.menubar.menuitem:hover,\n" +
 | 
					 | 
				
			||||||
					".unity-panel.menubar .menuitem *:hover {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: shade(@panel_bg_color, 0.7);\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color, 0.97)),to(shade(@panel_bg_color, 0.82)));\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"PanelApplet .button {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: transparent;\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,0.8)));\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbox-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\ttext-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\t-unico-inner-stroke-width: 0;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"PanelApplet .button:active {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: shade(@panel_bg_color,0.8);\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),0.9)),to(shade(shade(@panel_bg_color,1.02),0.95)));\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbox-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\ttext-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\t-unico-inner-stroke-width: 0;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"PanelApplet .button:prelight {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: transparent;\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: -gtk-gradient(linear,left top,left bottom,from(shade(@panel_bg_color,1.2)),to(shade(@panel_bg_color,1.0)));\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbox-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\ttext-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\t-unico-inner-stroke-width: 0;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"PanelApplet .button:active:prelight {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: shade(@panel_bg_color,0.8);\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: -gtk-gradient(linear,left top,left bottom,from(shade(shade(@panel_bg_color,1.02),1.0)),to(shade(shade(@panel_bg_color,1.02),1.05)));\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @panel_fg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbox-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\ttext-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\t-unico-inner-stroke-width: 0;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"WnckPager,\n" +
 | 
					 | 
				
			||||||
					"WnckTasklist {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @panel_bg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"%s\n\n" +
 | 
					 | 
				
			||||||
					"%s\n" +
 | 
					 | 
				
			||||||
					"@define-color menu_bg_color %s;\n" +
 | 
					 | 
				
			||||||
					"@define-color menu_fg_color %s;\n\n" +
 | 
					 | 
				
			||||||
					"GtkTreeMenu.menu,\n" +
 | 
					 | 
				
			||||||
					"GtkMenuToolButton.menu,\n" +
 | 
					 | 
				
			||||||
					"GtkComboBox .menu {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @menu_bg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".primary-toolbar .button .menu,\n" +
 | 
					 | 
				
			||||||
					".toolbar .menu,\n" +
 | 
					 | 
				
			||||||
					".toolbar .primary-toolbar .menu,\n" +
 | 
					 | 
				
			||||||
					".menu {\n" +
 | 
					 | 
				
			||||||
					"\tborder-style: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @menu_bg_color;\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @menu_fg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbox-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\ttext-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"\t-unico-inner-stroke-width: 0;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menu.button:hover,\n" +
 | 
					 | 
				
			||||||
					".menu.button:active,\n" +
 | 
					 | 
				
			||||||
					".menu.button:active:insensitive,\n" +
 | 
					 | 
				
			||||||
					".menu.button:insensitive,\n" +
 | 
					 | 
				
			||||||
					".menu.button {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @menu_bg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: none;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"GtkTreeMenu .menuitem * {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @menu_fg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem,\n" +
 | 
					 | 
				
			||||||
					".menu .menuitem {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: transparent;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menu .menuitem:active,\n" +
 | 
					 | 
				
			||||||
					".menu .menuitem:hover {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @theme_selected_bg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem.check,\n" +
 | 
					 | 
				
			||||||
					".menuitem.radio,\n" +
 | 
					 | 
				
			||||||
					".menuitem.check:hover,\n" +
 | 
					 | 
				
			||||||
					".menuitem.radio:hover,\n" +
 | 
					 | 
				
			||||||
					".menuitem.check:active,\n" +
 | 
					 | 
				
			||||||
					".menuitem.radio:active {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: transparent;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menu .menuitem:insensitive,\n" +
 | 
					 | 
				
			||||||
					".menu .menuitem *:insensitive {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: mix(@menu_fg_color,@menu_bg_color,0.5);\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem.arrow {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: alpha(@menu_fg_color, 0.6);\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem .entry {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: shade(@menu_bg_color,0.7);\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @menu_bg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @menu_fg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem .accelerator {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: alpha(@menu_fg_color,0.6);\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem .accelerator:insensitive {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: alpha(mix(@menu_fg_color,@menu_bg_color,0.5),0.6);\n" +
 | 
					 | 
				
			||||||
					"\ttext-shadow: none;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem.separator {\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: transparent;\n" +
 | 
					 | 
				
			||||||
					"\tcolor: shade(@menu_bg_color, 0.9);\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem GtkCalendar,\n" +
 | 
					 | 
				
			||||||
					".menuitem GtkCalendar.button,\n" +
 | 
					 | 
				
			||||||
					".menuitem GtkCalendar.header,\n" +
 | 
					 | 
				
			||||||
					".menuitem GtkCalendar.view {\n" +
 | 
					 | 
				
			||||||
					"\tborder-color: shade(@menu_bg_color,0.8);\n" +
 | 
					 | 
				
			||||||
					"\tborder-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-color: @menu_bg_color;\n" +
 | 
					 | 
				
			||||||
					"\tbackground-image: none;\n" +
 | 
					 | 
				
			||||||
					"\tcolor: @menu_fg_color;\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					".menuitem GtkCalendar:inconsistent {\n" +
 | 
					 | 
				
			||||||
					"\tcolor: mix(@menu_fg_color,@menu_bg_color,0.5);\n" +
 | 
					 | 
				
			||||||
					"}\n\n" +
 | 
					 | 
				
			||||||
					"%s\n").printf (select_state1, selectbg_value, selectfg_value, select_state2, panel_state1, panelbg_value, panelfg_value, panel_state2, menu_state1, menubg_value, menufg_value, menu_state2);
 | 
					 | 
				
			||||||
			uint8[] data = text.data;
 | 
					 | 
				
			||||||
			long written = 0;
 | 
					 | 
				
			||||||
			while (written < data.length) {
 | 
					 | 
				
			||||||
				written += dos.write (data[written:data.length]);
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Gtk3 yapılandırması yazılamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			var dos = new DataOutputStream (gtk2_config_file.replace (null, false, FileCreateFlags.REPLACE_DESTINATION));
 | 
					 | 
				
			||||||
			dos.put_string ("# Custom styles\n\n");
 | 
					 | 
				
			||||||
			string text = "%s\n%s".printf(panel_gtk2, menu_gtk2);
 | 
					 | 
				
			||||||
			uint8[] data = text.data;
 | 
					 | 
				
			||||||
			long written = 0;
 | 
					 | 
				
			||||||
			while (written < data.length) {
 | 
					 | 
				
			||||||
				written += dos.write (data[written:data.length]);
 | 
					 | 
				
			||||||
			}
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Gtk2 yapılandırması yazılamadı: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	void notify_change() {
 | 
					 | 
				
			||||||
		try {
 | 
					 | 
				
			||||||
			Process.spawn_command_line_async("notify-send -h int:transient:1 -i \"gtk-theme-config\" \"Changes applied.\" \"You might need to restart running applications.\"");
 | 
					 | 
				
			||||||
		} catch (Error e) {
 | 
					 | 
				
			||||||
			stderr.printf ("Bildirim görüntülenemiyor: %s\n", e.message);
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
class ThemeConfigApp : Gtk.Application {
 | 
					 | 
				
			||||||
	internal ThemeConfigApp () {
 | 
					 | 
				
			||||||
		Object (application_id: "org.themeconfig.app");
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	protected override void activate () {
 | 
					 | 
				
			||||||
		var window = new ThemeConfigWindow (this);
 | 
					 | 
				
			||||||
		window.show_all ();
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
int main (string[] args) {
 | 
					 | 
				
			||||||
	return new ThemeConfigApp ().run (args);
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: GTK tema renklerini yapılandırmak için kullanılan bir araç.
 | 
					 | 
				
			||||||
# URL: https://github.com/satya164/gtk-theme-config
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: gconf gsettings-desktop-schemas hicolor-icon-theme gtk3 vala
 | 
					 | 
				
			||||||
# Grup: 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-theme-config
 | 
					 | 
				
			||||||
surum=1.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://github.com/satya164/gtk-theme-config/archive/v1.0.tar.gz::$isim-$surum.tar.gz
 | 
					 | 
				
			||||||
        gtk-theme-config-tr.desktop
 | 
					 | 
				
			||||||
        gtk-theme-config-tr.vala)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
  cd gtk-theme-config-1.0
 | 
					 | 
				
			||||||
  cp ../gtk-theme-config-tr.vala ./gtk-theme-config.vala
 | 
					 | 
				
			||||||
  cp ../gtk-theme-config-tr.desktop ./gtk-theme-config.desktop
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
  make DESTDIR="$PKG/" install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım: GTK + güncelleme simgesi önbellek aracı
 | 
					 | 
				
			||||||
# URL: http://www.gtk.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gdk-pixbuf glib atk pango cairo libffi libpng pcre
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-update-icon-cache
 | 
					 | 
				
			||||||
surum=2.24.29
 | 
					 | 
				
			||||||
devir=2
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${surum%.*}/gtk+-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd gtk+-$surum
 | 
					 | 
				
			||||||
sed -i 's#.*@man_#man_#' docs/reference/gtk/Makefile.in
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--mandir=/usr/share/man \
 | 
					 | 
				
			||||||
--infodir=/usr/share/info \
 | 
					 | 
				
			||||||
--sysconfdir=/etc \
 | 
					 | 
				
			||||||
--with-xinput=yes
 | 
					 | 
				
			||||||
cd gtk
 | 
					 | 
				
			||||||
make gtk-update-icon-cache
 | 
					 | 
				
			||||||
mkdir -p $PKG/usr/{bin,share/man/man1}
 | 
					 | 
				
			||||||
install -c gtk-update-icon-cache $PKG/usr/bin/gtk-update-icon-cache
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,19 +0,0 @@
 | 
				
			||||||
# Tanım: GTK için bir VNC görüntüleyici widget'ı
 | 
					 | 
				
			||||||
# URL: http://live.gnome.org/gtk-vnc
 | 
					 | 
				
			||||||
# Paketçi: yasarciv67@gmail.com
 | 
					 | 
				
			||||||
# Gerekler: gtk3 python-gtk gnutls pulseaudio cyrus-sasl
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk-vnc
 | 
					 | 
				
			||||||
surum=0.6.0
 | 
					 | 
				
			||||||
devir=2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	./configure --prefix=/usr \
 | 
					 | 
				
			||||||
      --with-gtk=3.0 \
 | 
					 | 
				
			||||||
      --enable-vala 
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,5 +0,0 @@
 | 
				
			||||||
/usr/bin/gtk-query-immodules-2.0  > /etc/gtk-2.0/gtk.immodules
 | 
					 | 
				
			||||||
gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache 
 | 
					 | 
				
			||||||
gdk-pixbuf-query-loaders --update-cache
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,56 +0,0 @@
 | 
				
			||||||
# Tanım: GTK +, çok platformlu bir araç setidir (sürüm 2)
 | 
					 | 
				
			||||||
# URL: http://www.gtk.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk-doc shared-mime-info xorg-libxinerama xorg-libxrandr cairo pango pangox-compat atk libtiff cups gdk-pixbuf xorg-libxi xorg-libxcursor hicolor-icon-theme gtk-update-icon-cache
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk2
 | 
					 | 
				
			||||||
surum=2.24.29
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${surum%.*}/gtk+-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd gtk+-$surum
 | 
					 | 
				
			||||||
sed -i 's#l \(gtk-.*\).sgml#& -o \1#' docs/{faq,tutorial}/Makefile.in
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--mandir=/usr/share/man \
 | 
					 | 
				
			||||||
--infodir=/usr/share/info \
 | 
					 | 
				
			||||||
--sysconfdir=/etc
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
mkdir -p $PKG/etc/gtk-2.0
 | 
					 | 
				
			||||||
echo 'gtk-fallback-icon-theme = "Tango"' > $PKG/etc/gtk-2.0/gtkrc
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Construit dans gtk-update-icon-cache
 | 
					 | 
				
			||||||
rm -f $PKG/usr/bin/gtk-update-icon-cache
 | 
					 | 
				
			||||||
rm -f $PKG/usr/share/man/man1/gtk-update-icon-cache.1
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
doc () {
 | 
					 | 
				
			||||||
# Chaque fonction produisant un groupe doit suivre les règles suivantes
 | 
					 | 
				
			||||||
# 1. Archiver les fichiers souhaités en utilisant la syntaxe correcte (avec les bonnes variables)
 | 
					 | 
				
			||||||
# 2. Effacer ces même fichiers pour qu'ils ne se retrouvent pas dans le paquet principal (ou de base)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Normalement pkgmk EST dans $PKG juste pour la lisibilitée et la compréhension
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
cd $PKG
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# 1. Création de l'archive des fichiers souhaités
 | 
					 | 
				
			||||||
bsdtar -cf \
 | 
					 | 
				
			||||||
$PKGMK_PACKAGE_DIR/${isim}.doc#$surum-any.mps \
 | 
					 | 
				
			||||||
usr/share/gtk-doc usr/share/gtk-2.0/demo
 | 
					 | 
				
			||||||
# 2. On efface CES MÊMES fichiers
 | 
					 | 
				
			||||||
rm -r usr/share/{gtk-doc,gtk-2.0/demo}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
devel () {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
cd $PKG
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
bsdtar -cf \
 | 
					 | 
				
			||||||
$PKGMK_PACKAGE_DIR/$isim.devel#$surum-any.mps \
 | 
					 | 
				
			||||||
usr/lib/pkgconfig \
 | 
					 | 
				
			||||||
usr/include \
 | 
					 | 
				
			||||||
usr/share/gir-1.0
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
rm -r usr/{share/gir-1.0,lib/pkgconfig,include}
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,30 +0,0 @@
 | 
				
			||||||
# Tanım: GTK + Araç Seti, grafik kullanıcı arayüzleri oluşturmak için kullanılan çoklu platform araç kitidir. 
 | 
					 | 
				
			||||||
# URL: http://www.gtk.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: adwaita-icon-theme libepoxy xorg-libxinerama,xorg-libxrandr xorg-libxcursor at-spi2-atk cups colord xorg-libxi atk cairo pango pangox-compat gdk-pixbuf gtk-update-icon-cache graphene
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtk3
 | 
					 | 
				
			||||||
surum=3.22.15
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${surum%.*}/gtk+-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd gtk+-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr \
 | 
					 | 
				
			||||||
--sysconfdir=/etc         \
 | 
					 | 
				
			||||||
--mandir=/usr/share/man   \
 | 
					 | 
				
			||||||
--infodir=/usr/share/info \
 | 
					 | 
				
			||||||
--enable-broadway-backend \
 | 
					 | 
				
			||||||
--enable-x11-backend      \
 | 
					 | 
				
			||||||
--disable-wayland-backend
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make || make -j1
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
rm -r $PKG/usr/share/gtk-doc
 | 
					 | 
				
			||||||
cat > $PKG/etc/gtk-3.0/settings.ini << "EOF"
 | 
					 | 
				
			||||||
[Settings]
 | 
					 | 
				
			||||||
gtk-theme-name = Adwaita
 | 
					 | 
				
			||||||
gtk-icon-theme-name = gnome
 | 
					 | 
				
			||||||
gtk-cursor-theme-name = Adwaita
 | 
					 | 
				
			||||||
EOF
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
# Tanım: Gtkdialog hızlı arayüz yapma aracı 
 | 
					 | 
				
			||||||
# URL: http://linux.pte.hu/~pipas/gtkdialog/ 
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk2 vte
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtkdialog
 | 
					 | 
				
			||||||
surum=0.8.3
 | 
					 | 
				
			||||||
devir=2
 | 
					 | 
				
			||||||
kaynak=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/gtkdialog/gtkdialog-$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
  make prefix=$PKG/usr install
 | 
					 | 
				
			||||||
  mkdir -p "$PKG"/usr/share/$isim
 | 
					 | 
				
			||||||
  cp -a examples "$PKG"/usr/share/$isim/examples
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,77 +0,0 @@
 | 
				
			||||||
diff -Nur gtkglext-1.2.0.orig/gtk/gtkglwidget.c gtkglext-1.2.0/gtk/gtkglwidget.c
 | 
					 | 
				
			||||||
--- gtkglext-1.2.0.orig/gtk/gtkglwidget.c	2004-02-20 11:38:36.000000000 +0200
 | 
					 | 
				
			||||||
+++ gtkglext-1.2.0/gtk/gtkglwidget.c	2010-04-20 19:29:42.941917275 +0300
 | 
					 | 
				
			||||||
@@ -127,7 +127,7 @@
 | 
					 | 
				
			||||||
    * Synchronize OpenGL and window resizing request streams.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
-  if (GTK_WIDGET_REALIZED (widget) && private->is_realized)
 | 
					 | 
				
			||||||
+  if (gtk_widget_get_realized (widget) && private->is_realized)
 | 
					 | 
				
			||||||
     {
 | 
					 | 
				
			||||||
       gldrawable = gdk_window_get_gl_drawable (widget->window);
 | 
					 | 
				
			||||||
       gdk_gl_drawable_wait_gdk (gldrawable);
 | 
					 | 
				
			||||||
@@ -154,7 +154,7 @@
 | 
					 | 
				
			||||||
    * Remove OpenGL-capability from widget->window.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
-  if (GTK_WIDGET_REALIZED (widget))
 | 
					 | 
				
			||||||
+  if (gtk_widget_get_realized (widget))
 | 
					 | 
				
			||||||
     gdk_window_unset_gl_capability (widget->window);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   private->is_realized = FALSE;
 | 
					 | 
				
			||||||
@@ -174,7 +174,7 @@
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   toplevel = gtk_widget_get_toplevel (widget);
 | 
					 | 
				
			||||||
-  if (GTK_WIDGET_TOPLEVEL (toplevel) && !GTK_WIDGET_REALIZED (toplevel))
 | 
					 | 
				
			||||||
+  if (gtk_widget_is_toplevel (toplevel) && !gtk_widget_get_realized (toplevel))
 | 
					 | 
				
			||||||
     {
 | 
					 | 
				
			||||||
       GTK_GL_NOTE (MISC,
 | 
					 | 
				
			||||||
         g_message (" - Install colormap to the top-level window."));
 | 
					 | 
				
			||||||
@@ -194,7 +194,7 @@
 | 
					 | 
				
			||||||
    * Set a background of "None" on window to avoid AIX X server crash.
 | 
					 | 
				
			||||||
    */
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
-  if (GTK_WIDGET_REALIZED (widget))
 | 
					 | 
				
			||||||
+  if (gtk_widget_get_realized (widget))
 | 
					 | 
				
			||||||
     {
 | 
					 | 
				
			||||||
       GTK_GL_NOTE (MISC,
 | 
					 | 
				
			||||||
         g_message (" - window->bg_pixmap = %p",
 | 
					 | 
				
			||||||
@@ -250,8 +250,8 @@
 | 
					 | 
				
			||||||
   GTK_GL_NOTE_FUNC ();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
 | 
					 | 
				
			||||||
-  g_return_val_if_fail (!GTK_WIDGET_NO_WINDOW (widget), FALSE);
 | 
					 | 
				
			||||||
-  g_return_val_if_fail (!GTK_WIDGET_REALIZED (widget), FALSE);
 | 
					 | 
				
			||||||
+  g_return_val_if_fail (gtk_widget_get_has_window (widget), FALSE);
 | 
					 | 
				
			||||||
+  g_return_val_if_fail (!gtk_widget_get_realized (widget), FALSE);
 | 
					 | 
				
			||||||
   g_return_val_if_fail (GDK_IS_GL_CONFIG (glconfig), FALSE);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   /* 
 | 
					 | 
				
			||||||
@@ -432,7 +432,7 @@
 | 
					 | 
				
			||||||
   GTK_GL_NOTE_FUNC ();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
 | 
					 | 
				
			||||||
-  g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
 | 
					 | 
				
			||||||
+  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   gldrawable = gdk_window_get_gl_drawable (widget->window);
 | 
					 | 
				
			||||||
   if (gldrawable == NULL)
 | 
					 | 
				
			||||||
@@ -474,7 +474,7 @@
 | 
					 | 
				
			||||||
   GLWidgetPrivate *private;
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
 | 
					 | 
				
			||||||
-  g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
 | 
					 | 
				
			||||||
+  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   private = g_object_get_qdata (G_OBJECT (widget), quark_gl_private);
 | 
					 | 
				
			||||||
   if (private == NULL)
 | 
					 | 
				
			||||||
@@ -501,7 +501,7 @@
 | 
					 | 
				
			||||||
 gtk_widget_get_gl_window (GtkWidget *widget)
 | 
					 | 
				
			||||||
 {
 | 
					 | 
				
			||||||
   g_return_val_if_fail (GTK_IS_WIDGET (widget), NULL);
 | 
					 | 
				
			||||||
-  g_return_val_if_fail (GTK_WIDGET_REALIZED (widget), NULL);
 | 
					 | 
				
			||||||
+  g_return_val_if_fail (gtk_widget_get_realized (widget), NULL);
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   return gdk_window_get_gl_window (widget->window);
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım: Gtk2 için opengl uzantıları
 | 
					 | 
				
			||||||
# URL: http://gtkglext.sourceforge.net/
 | 
					 | 
				
			||||||
# Paketçi: Cihan Alkan
 | 
					 | 
				
			||||||
# Gerekler: glib gtk2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtkglext
 | 
					 | 
				
			||||||
surum=1.2.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(http://downloads.sourceforge.net/sourceforge/gtkglext/$isim-$surum.tar.gz
 | 
					 | 
				
			||||||
       gtk2.20.patch)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	patch -Np1 -i $SRC/gtk2.20.patch
 | 
					 | 
				
			||||||
	sed '/AC_PATH_XTRA/d' -i configure.in
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	autoreconf --force --install
 | 
					 | 
				
			||||||
	./configure --prefix=/usr --disable-static
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,16 +0,0 @@
 | 
				
			||||||
# Tanım: GtkHTML paketi hafif bir HTML oluşturma / yazdırma / düzenleme motoru içerir.
 | 
					 | 
				
			||||||
# URL: https://github.com/GNOME/gtkhtml
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: enchant gsettings-desktop-schemas gtk3 iso-codes libsoup
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtkhtml
 | 
					 | 
				
			||||||
surum=4.10.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
./configure --prefix=/usr
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım: Gtk2 için C ++ bağları
 | 
					 | 
				
			||||||
# URL: http://gtkmm.sourceforge.net/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk2 pangomm cairomm atkmm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtkmm
 | 
					 | 
				
			||||||
surum=2.24.4
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
CXXFLAGS+=' -std=c++11'
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	./configure \
 | 
					 | 
				
			||||||
		--prefix=/usr \
 | 
					 | 
				
			||||||
		--disable-dependency-tracking \
 | 
					 | 
				
			||||||
		--disable-documentation
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
# Tanım: GTK+ ve GNOME için C ++ arabirimleri
 | 
					 | 
				
			||||||
# URL: http://www.gtkmm.org/
 | 
					 | 
				
			||||||
# Paketçi: yasarciv milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk3 glibmm pangomm atkmm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtkmm3
 | 
					 | 
				
			||||||
surum=3.18.1
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://download.gnome.org/sources/gtkmm/${version:0:4}/gtkmm-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd gtkmm-$surum
 | 
					 | 
				
			||||||
	./configure --prefix=/usr
 | 
					 | 
				
			||||||
	make -j1
 | 
					 | 
				
			||||||
	make -j1 DESTDIR=$PKG install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	rm -r $PKG/usr/share/doc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
# Tanım: GTK+ 2 metin işlevlerini sözdizimini vurgulamaya genişletmek için kullanılan kitaplıklar.
 | 
					 | 
				
			||||||
# URL: http://www.gnome.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk2 libxml2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtksourceview2
 | 
					 | 
				
			||||||
surum=2.10.5
 | 
					 | 
				
			||||||
devir=2
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/gtksourceview/2.10/gtksourceview-${surum}.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd gtksourceview-$surum
 | 
					 | 
				
			||||||
sed -i 's#python#python2#' gtksourceview/language-specs/convert.py
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr --sysconfdir=/etc \
 | 
					 | 
				
			||||||
      --localstatedir=/var --disable-static
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,17 +0,0 @@
 | 
				
			||||||
# Tanım: GtkSourceView, standart GTK+ metin widget'ını genişleten bir metin widgettır
 | 
					 | 
				
			||||||
# URL: http://mail.gnome.org/mailman/listinfo/gnome-devtools
 | 
					 | 
				
			||||||
# Paketçi: milisarge yasarciv67@gmail.com
 | 
					 | 
				
			||||||
# Gerekler: gtk3 libxml2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtksourceview3
 | 
					 | 
				
			||||||
surum=3.24.2
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
_isim=gtksourceview
 | 
					 | 
				
			||||||
kaynak=(http://download.gnome.org/sources/${_name}/${version:0:4}/${_name}-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd ${_name}-$surum
 | 
					 | 
				
			||||||
	./configure --prefix=/usr
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,26 +0,0 @@
 | 
				
			||||||
# Tanım: GtkTextView widget'inde kelime işlemci tarzı vurgulama ve yanlış yazılmış kelimelerin değiştirilmesini sağlar.
 | 
					 | 
				
			||||||
# URL: http://gtkspell.sourceforge.net/
 | 
					 | 
				
			||||||
# Paketçi: yasarciv67 Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: gtk3 enchant gtk2
 | 
					 | 
				
			||||||
# Grup: kütüphane 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtkspell
 | 
					 | 
				
			||||||
surum=3.0.9
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(https://sourceforge.net/projects/gtkspell/files/$surum/gtkspell3-$surum.tar.xz
 | 
					 | 
				
			||||||
        https://downloads.sourceforge.net/sourceforge/gtkspell/${isim}-2.0.16.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd gtkspell3-$surum
 | 
					 | 
				
			||||||
	./configure --prefix=/usr --disable-static
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	cd ../$isim-2.0.16
 | 
					 | 
				
			||||||
	./configure --prefix=/usr --disable-static
 | 
					 | 
				
			||||||
	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
	rm -rf $PKG/usr/share/gtk-doc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım: Terminal için sistem izleme kontrol paneli
 | 
					 | 
				
			||||||
# URL: https://github.com/aksakalli/gtop
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: node
 | 
					 | 
				
			||||||
# Grup: sistem
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtop
 | 
					 | 
				
			||||||
surum=0.1.4
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://github.com/aksakalli/gtop/archive/v${surum}.tar.gz::$isim-$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
  cd $isim-$surum
 | 
					 | 
				
			||||||
  npm install --production
 | 
					 | 
				
			||||||
  cd $SRC
 | 
					 | 
				
			||||||
  local _npmdir="$PKG/usr/lib/node_modules"
 | 
					 | 
				
			||||||
  mkdir -p "$_npmdir"
 | 
					 | 
				
			||||||
  cp -R "$SRC/$isim-$surum" "$_npmdir/gtop"
 | 
					 | 
				
			||||||
  local _bindir="$PKG/usr/bin"
 | 
					 | 
				
			||||||
  mkdir -p "$_bindir"
 | 
					 | 
				
			||||||
  ln -s /usr/lib/node_modules/gtop/bin/gtop "$_bindir/gtop"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,25 +0,0 @@
 | 
				
			||||||
# Tanım: Hızlı ve menulü , sistem çekmecesi için simge oluştuma uygulaması
 | 
					 | 
				
			||||||
# URL: http://gtrayicon.sourceforge.net/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gtk2 libglade
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gtrayicon
 | 
					 | 
				
			||||||
surum=1.1
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://kaynaklar.milislinux.org/$isim-$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	install -d $PKG/usr/share/$isim
 | 
					 | 
				
			||||||
	install -d $PKG/usr/bin
 | 
					 | 
				
			||||||
	install -m 644 $isim.glade $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
	install -m 644 activate.svg $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
	install -m 644 deactivate.svg $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
	install -m 755 $isim $PKG/usr/bin/
 | 
					 | 
				
			||||||
	install -m 644 README $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
	install -m 644 ChangeLog $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
	install -m 644 LICENSE $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
	install -m 644 sample.menu $PKG/usr/share/$isim/
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
gconftool-2 --install-schema-file=/usr/share/gconf/schemas/guake.schemas
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,25 +0,0 @@
 | 
				
			||||||
# Tanım: Guake, Gnome için tepeden inişli bir terminaldir (KDE Yakuake, Tilda veya Quake'de kullanılan terminal tarzında)
 | 
					 | 
				
			||||||
# URL: http://guake-project.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge aydinyakar
 | 
					 | 
				
			||||||
# Gerekler: intltool gnome-common python-notify vte python-vte python-gconf dbus-python python-keybinder python-xdg libutempter
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=guake
 | 
					 | 
				
			||||||
surum=0.8.7
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://github.com/Guake/$isim/archive/$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	# Python2 fix
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	sed -i 's|/usr/bin/env python|/usr/bin/python2|' src/guake/prefs.py
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	NOCONFIGURE=1 ./autogen.sh
 | 
					 | 
				
			||||||
	./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 | 
					 | 
				
			||||||
	--disable-schemas-install \
 | 
					 | 
				
			||||||
	--with-gconf-schema-file-dir=/usr/share/gconf/schemas \
 | 
					 | 
				
			||||||
	PYTHON=python2
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR="$PKG" install
 | 
					 | 
				
			||||||
	python2 -m compileall "$PKG"/usr/lib/python2.7/site-packages/guake/
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,2 +0,0 @@
 | 
				
			||||||
glib-compile-schemas /usr/share/glib-2.0/schemas
 | 
					 | 
				
			||||||
gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,17 +0,0 @@
 | 
				
			||||||
# Tanım: Gucharmap, Unicode karakter haritası ve yazı tipi görüntüleyici.
 | 
					 | 
				
			||||||
# URL: http://www.gnome.org
 | 
					 | 
				
			||||||
# Paketçi: yasarciv67@gmail.com
 | 
					 | 
				
			||||||
# Gerekler: gsettings-desktop-schemas desktop-file-utils gtk-update-icon-cache gtk3 itstool gobject-introspection vala
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gucharmap
 | 
					 | 
				
			||||||
surum=8.0.1
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(http://download.gnome.org/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
    cd $isim-$surum
 | 
					 | 
				
			||||||
	./configure --prefix=/usr --enable-vala
 | 
					 | 
				
			||||||
    make
 | 
					 | 
				
			||||||
    make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,35 +0,0 @@
 | 
				
			||||||
# Tanım: Guile, Scheme programlama dili için bir yorumlayıcı ve derleyicidir.
 | 
					 | 
				
			||||||
# URL: http://www.gnu.org/software/guile/guile.html
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gc libunistring libffi emacs gdb
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=guile
 | 
					 | 
				
			||||||
surum=2.2.2
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(ftp://ftp.gnu.org/gnu/$isim/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    ./configure \
 | 
					 | 
				
			||||||
        --prefix=/usr \
 | 
					 | 
				
			||||||
        --disable-static 
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    make
 | 
					 | 
				
			||||||
    make html
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi
 | 
					 | 
				
			||||||
    makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
	make install-html
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	install -v -m755 -d  $PKG/usr/share/gdb/auto-load/usr/lib
 | 
					 | 
				
			||||||
	mv $PKG/usr/lib/libguile-*-gdb.scm $PKG/usr/share/gdb/auto-load/usr/lib
 | 
					 | 
				
			||||||
	install -v -m755 -d  $PKG/usr/share/doc/guile-2.0.11
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	find examples -name "Makefile*" -delete
 | 
					 | 
				
			||||||
	unset DIRNAME
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,19 +0,0 @@
 | 
				
			||||||
# Tanım: Python'da yazılmış (green unicorn) WSGI HTTP sunucu
 | 
					 | 
				
			||||||
# URL: http://pypi.python.org/pypi/six/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: python python3 python-pip python3-pip
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gunicorn
 | 
					 | 
				
			||||||
surum=19.7.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
kaynak=(https://github.com/benoitc/${isim}/archive/${surum}.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd "${isim}-${surum}"
 | 
					 | 
				
			||||||
	python3 setup.py install --root="${PKG}" --prefix=/usr --optimize=1
 | 
					 | 
				
			||||||
	mv "${PKG}/usr/bin/gunicorn" "${PKG}/usr/bin/gunicorn3"
 | 
					 | 
				
			||||||
	python setup.py install --root="${PKG}" --prefix=/usr --optimize=1
 | 
					 | 
				
			||||||
	rm -r "${PKG}/usr/bin/gunicorn_paster"
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +0,0 @@
 | 
				
			||||||
# Tanım: Nesneye yönelik bir UPNP çerçevesi
 | 
					 | 
				
			||||||
# URL: http://gupnp.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gssdp util-linux
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gupnp
 | 
					 | 
				
			||||||
surum=0.20.14
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/${isim}/${surum%.*}.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
sed -i '1s|^#!.*python$|&2|' tools/gupnp-binding-tool
 | 
					 | 
				
			||||||
  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
 | 
					 | 
				
			||||||
              --disable-static --with-context-manager=linux
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,27 +0,0 @@
 | 
				
			||||||
# Tanım: Gimp gutenprint eklentisi
 | 
					 | 
				
			||||||
# URL: http://gimp-print.sourceforge.net
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: gutenprint gimp
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gutenprint-gimp
 | 
					 | 
				
			||||||
surum=5.2.13
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://downloads.sourceforge.net/gimp-print/gutenprint-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
    cd gutenprint-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    ./configure --prefix=/usr \
 | 
					 | 
				
			||||||
                --disable-{samples,escputil} \
 | 
					 | 
				
			||||||
                --without-{foomatic,ghostscript,doc} \
 | 
					 | 
				
			||||||
                --enable-libgutenprintui2 \
 | 
					 | 
				
			||||||
                --with-gimp2
 | 
					 | 
				
			||||||
    make
 | 
					 | 
				
			||||||
    make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    rm $PKG/usr/lib/libgutenprint.*
 | 
					 | 
				
			||||||
    rm $PKG/usr/lib/pkgconfig/gutenprint.pc
 | 
					 | 
				
			||||||
    rm -r $PKG/usr/include/gutenprint
 | 
					 | 
				
			||||||
    rm -r $PKG/usr/lib/cups
 | 
					 | 
				
			||||||
    rm -r $PKG/usr/{bin,sbin,share} $PKG/etc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,3 +0,0 @@
 | 
				
			||||||
if [ -f /etc/rc.d/init.d/cups ]; then
 | 
					 | 
				
			||||||
	/etc/rc.d/init.d/cups restart
 | 
					 | 
				
			||||||
fi
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım: POSIX sistemleri için en kaliteli yazıcı sürücüleri
 | 
					 | 
				
			||||||
# URL: http://gimp-print.sourceforge.net
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: ghostscript
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gutenprint
 | 
					 | 
				
			||||||
surum=5.2.13
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://downloads.sourceforge.net/gimp-print/$isim-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    ./configure --prefix=/usr \
 | 
					 | 
				
			||||||
                --disable-samples \
 | 
					 | 
				
			||||||
                --disable-libgutenprintui2 \
 | 
					 | 
				
			||||||
                --without-gimp2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    make
 | 
					 | 
				
			||||||
    make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    rm -r $PKG/usr/share/gutenprint/doc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,2 +0,0 @@
 | 
				
			||||||
gio-querymodules /usr/lib/gio/modules
 | 
					 | 
				
			||||||
glib-compile-schemas /usr/share/glib-2.0/schemas > /dev/null 2>&1
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: GVfs, GIO'nun G/Ç soyutlamasıyla çalışmak üzere tasarlanmış bir kullanıcı alanı sanal dosya sistemidir.
 | 
					 | 
				
			||||||
# URL: http://www.gnome.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: avahi dbus-glib intltool libsecret gtk3 libsoup udisks2 obexd fuse libarchive samba bluez gcr libgphoto2 libmtp glib
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gvfs
 | 
					 | 
				
			||||||
surum=1.33.1
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnome.org/pub/gnome/sources/$isim/${surum%.*}/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	./configure --prefix=/usr --sysconfdir=/etc \
 | 
					 | 
				
			||||||
		  --localstatedir=/var --disable-static \
 | 
					 | 
				
			||||||
		  --libexecdir=/usr/lib/gvfs \
 | 
					 | 
				
			||||||
		  --with-bash-completion-dir=/usr/share/bash-completion/completions \
 | 
					 | 
				
			||||||
		  --disable-systemd
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,12 +0,0 @@
 | 
				
			||||||
[Desktop Entry]
 | 
					 | 
				
			||||||
Encoding=UTF-8
 | 
					 | 
				
			||||||
Version=1.0
 | 
					 | 
				
			||||||
Name=gVim
 | 
					 | 
				
			||||||
Comment=GTK2 enhanced vim text editor
 | 
					 | 
				
			||||||
GenericName=Text Editor
 | 
					 | 
				
			||||||
Type=Application
 | 
					 | 
				
			||||||
TryExec=gvim
 | 
					 | 
				
			||||||
Exec=gvim %F
 | 
					 | 
				
			||||||
Icon=vim48x48.png
 | 
					 | 
				
			||||||
Terminal=false
 | 
					 | 
				
			||||||
Categories=GTK;Application;Utility;TextEditor;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,26 +0,0 @@
 | 
				
			||||||
# Tanım: Vim düzenleyicisinin GTK sürümü
 | 
					 | 
				
			||||||
# URL: http://www.vim.org/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: vim gtk2 xorg-libxt
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gvim
 | 
					 | 
				
			||||||
surum=8.0.0329
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://crux.nu/files/distfiles/vim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
    cd vim-$surum/src
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    ./configure --prefix=/usr \
 | 
					 | 
				
			||||||
                --with-vim-isim=gvim \
 | 
					 | 
				
			||||||
                --with-x=yes \
 | 
					 | 
				
			||||||
                --enable-gui=gtk2 \
 | 
					 | 
				
			||||||
                --enable-multibyte \
 | 
					 | 
				
			||||||
                --enable-cscope \
 | 
					 | 
				
			||||||
                --disable-gpm
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    make VIMRTDIR=
 | 
					 | 
				
			||||||
    make VIMRTDIR= DESTDIR=$PKG installvimbin install-icons
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    sed -ri '/\[.+\]=/d' $PKG/usr/share/applications/*.desktop
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,23 +0,0 @@
 | 
				
			||||||
# Tanım:  KDE5 için hızlı ve basit bir resim görüntüleme aracı
 | 
					 | 
				
			||||||
# URL: https://www.kde.org/
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: qt5 kf5-extra-cmake-modules phonon-qt5 kf5-kio kf5-kactivities kf5-kdelibs4support libjpeg-turbo libpng exiv2 lcms2 kf5-baloo hicolor-icon-theme libkdcraw libkipi
 | 
					 | 
				
			||||||
# Grup: kde
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=gwenview
 | 
					 | 
				
			||||||
surum=17.12.0
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://download.kde.org/stable/applications/$surum/src/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
 | 
					 | 
				
			||||||
      -DCMAKE_BUILD_TYPE=Release  \
 | 
					 | 
				
			||||||
      -DLIB_INSTALL_DIR=lib       \
 | 
					 | 
				
			||||||
      -DGWENVIEW_SEMANTICINFO_BACKEND="Baloo" \
 | 
					 | 
				
			||||||
      -DBUILD_TESTING=OFF         \
 | 
					 | 
				
			||||||
      -Wno-dev
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
make
 | 
					 | 
				
			||||||
make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,22 +0,0 @@
 | 
				
			||||||
# Tanım: Acik kaynak kodlu video donusturucu
 | 
					 | 
				
			||||||
# URL: http://handbrake.fr/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: cmake qt5 libnotify lame x264 gtk3 faad2 freetype fribidi xorg-fontconfig libass libbluray libogg libpng libsamplerate libtheora libvorbis libvpx libxml2 perl-xml-parser pcre xorg-pixman python yasm x265
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=handbrake
 | 
					 | 
				
			||||||
surum=0.10.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://download.handbrake.fr/releases/$surum/HandBrake-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd HandBrake-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	    ./configure \
 | 
					 | 
				
			||||||
		--prefix=/usr \
 | 
					 | 
				
			||||||
		--force \
 | 
					 | 
				
			||||||
		--disable-gtk-update-checks
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	cd build
 | 
					 | 
				
			||||||
	make -j1
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
										
											
												File diff suppressed because it is too large
												Load diff
											
										
									
								
							| 
						 | 
					@ -1,31 +0,0 @@
 | 
				
			||||||
# Tanım: Bir sistem bilgisi ve performans aracı.
 | 
					 | 
				
			||||||
# URL: http://sourceforge.net/projects/hardinfo.berlios/
 | 
					 | 
				
			||||||
# Paketçi: Cihan_Alkan
 | 
					 | 
				
			||||||
# Gerekler: gtk2 libsoup glib
 | 
					 | 
				
			||||||
# Grup: sistem
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=hardinfo
 | 
					 | 
				
			||||||
surum=0.6
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(hardinfo-tr.po)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	if [ ! -d $DERLEME_KAYNAKDIZIN/$isim  ];then
 | 
					 | 
				
			||||||
		git clone https://github.com/lpereira/hardinfo $DERLEME_KAYNAKDIZIN/$isim 
 | 
					 | 
				
			||||||
	else
 | 
					 | 
				
			||||||
		cd $DERLEME_KAYNAKDIZIN/$isim 
 | 
					 | 
				
			||||||
		git pull
 | 
					 | 
				
			||||||
		cd -
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
	cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
 | 
					 | 
				
			||||||
	cd $SRC/$isim
 | 
					 | 
				
			||||||
	cp ../hardinfo-tr.po po/tr.po
 | 
					 | 
				
			||||||
	mkdir build  
 | 
					 | 
				
			||||||
	cd build
 | 
					 | 
				
			||||||
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
 | 
					 | 
				
			||||||
	-DCMAKE_INSTALL_LIBDIR=lib 
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	make DESTDIR="${PKG}" install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
mkdir -p /usr/share/gir-1.0
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
[ -d /usr/share/gir-1.0 ] && mv /usr/share/gir-1.0 /usr/share/gir-1.0.ydk 
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1 +0,0 @@
 | 
				
			||||||
[ -d /usr/share/gir-1.0.ydk ] && mv /usr/share/gir-1.0.ydk /usr/share/gir-1.0
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,32 +0,0 @@
 | 
				
			||||||
# Tanım: OpenType metin şekillendirme motoru
 | 
					 | 
				
			||||||
# URL: http://www.freedesktop.org/software/harfbuzz
 | 
					 | 
				
			||||||
# Paketçi: Cihan Alkan
 | 
					 | 
				
			||||||
# Gerekler: cairo glib icu freetype ragel graphite2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=harfbuzz
 | 
					 | 
				
			||||||
surum=1.5.1
 | 
					 | 
				
			||||||
devir=3
 | 
					 | 
				
			||||||
kaynak=(http://www.freedesktop.org/software/$isim/release/$isim-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
cd $isim-$surum
 | 
					 | 
				
			||||||
  NOCONFIGURE=1 ./autogen.sh
 | 
					 | 
				
			||||||
  ./configure \
 | 
					 | 
				
			||||||
    --prefix=/usr \
 | 
					 | 
				
			||||||
    --with-cairo \
 | 
					 | 
				
			||||||
    --with-freetype \
 | 
					 | 
				
			||||||
    --with-glib \
 | 
					 | 
				
			||||||
    --with-gobject \
 | 
					 | 
				
			||||||
    --with-graphite2 \
 | 
					 | 
				
			||||||
    --with-icu 
 | 
					 | 
				
			||||||
  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
 | 
					 | 
				
			||||||
  make
 | 
					 | 
				
			||||||
  make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
  install -Dm644 COPYING "$PKG/usr/share/licenses/harfbuzz/COPYING"
 | 
					 | 
				
			||||||
  mkdir -p ../hb-icu/usr/{include/harfbuzz,lib/pkgconfig}; cd ../hb-icu
 | 
					 | 
				
			||||||
  mv "$PKG"/usr/lib/libharfbuzz-icu* ./usr/lib
 | 
					 | 
				
			||||||
  mv "$PKG"/usr/lib/pkgconfig/harfbuzz-icu.pc ./usr/lib/pkgconfig
 | 
					 | 
				
			||||||
  mv "$PKG"/usr/include/harfbuzz/hb-icu.h ./usr/include/harfbuzz
 | 
					 | 
				
			||||||
  cp -r $SRC/hb-icu/* "$PKG"
 | 
					 | 
				
			||||||
  rm -rf $PKG/usr/share/gtk-doc
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,29 +0,0 @@
 | 
				
			||||||
# Tanım: Rasgele sayıların öngörülemeyen bir akışı üreten ve /dev/random'ı besleyen program
 | 
					 | 
				
			||||||
# URL: http://www.issihosts.com/haveged/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=haveged
 | 
					 | 
				
			||||||
surum=1.9.1
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://downloads.sourceforge.net/project/haveged/$isim-$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    source  /etc/blfs-bootscripts
 | 
					 | 
				
			||||||
	wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
 | 
					 | 
				
			||||||
	tar xvf $scripts-$scriptsversion.tar.bz2
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    ./configure --prefix=/usr
 | 
					 | 
				
			||||||
    make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	cd $scripts-$scriptsversion
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install-haveged
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	mkdir -pv    $PKG/usr/share/doc/haveged-1.9.1
 | 
					 | 
				
			||||||
	cp -v README $PKG/usr/share/doc/haveged-1.9.1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,20 +0,0 @@
 | 
				
			||||||
# Tanım: Metin formatlari icin donusturucu
 | 
					 | 
				
			||||||
# URL: http://terminus.sk/~hany
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: popt
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=hd2u
 | 
					 | 
				
			||||||
surum=1.0.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://terminus.sk/~hany/\_data/hd2u/$isim-$surum.tgz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	./configure --prefix=/usr
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	install -d -m 755 $PKG/usr/bin
 | 
					 | 
				
			||||||
	install -m 755 -s dos2unix $PKG/usr/bin
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,16 +0,0 @@
 | 
				
			||||||
# Tanım: jack girişlerini yeniden ayarlama yapar.
 | 
					 | 
				
			||||||
# URL:         http://alsa-project.org/
 | 
					 | 
				
			||||||
# Paketçi:    milisarge
 | 
					 | 
				
			||||||
# Gerekler:  gtk3
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=hdajackretask
 | 
					 | 
				
			||||||
surum=1.1.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(ftp://ftp.alsa-project.org/pub/tools/alsa-tools-$surum.tar.bz2)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd alsa-tools-$surum/$isim
 | 
					 | 
				
			||||||
	./configure --prefix=/usr
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
diff -Nuar --exclude '*~' hddtemp-0.3-beta15.orig/src/sata.c hddtemp-0.3-beta15/src/sata.c
 | 
					 | 
				
			||||||
--- hddtemp-0.3-beta15.orig/src/sata.c	2006-05-14 02:09:55.579437498 -0700
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/src/sata.c	2006-05-14 02:06:08.495948437 -0700
 | 
					 | 
				
			||||||
@@ -88,7 +88,9 @@
 | 
					 | 
				
			||||||
     return strdup(_("unknown"));
 | 
					 | 
				
			||||||
   else
 | 
					 | 
				
			||||||
   {
 | 
					 | 
				
			||||||
+		//fprintf(stderr,"sata_model1=%s\n",identify + 54);
 | 
					 | 
				
			||||||
     sata_fixstring(identify + 54, 24);
 | 
					 | 
				
			||||||
+		//fprintf(stderr,"sata_model2=%s\n",identify + 54);
 | 
					 | 
				
			||||||
     return strdup(identify + 54);
 | 
					 | 
				
			||||||
   }
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
diff -Nuar --exclude '*~' hddtemp-0.3-beta15.orig/src/satacmds.c hddtemp-0.3-beta15/src/satacmds.c
 | 
					 | 
				
			||||||
--- hddtemp-0.3-beta15.orig/src/satacmds.c	2006-05-14 02:09:40.983470339 -0700
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/src/satacmds.c	2006-05-14 02:09:02.319557333 -0700
 | 
					 | 
				
			||||||
@@ -98,7 +98,10 @@
 | 
					 | 
				
			||||||
   /* convert from big-endian to host byte order */
 | 
					 | 
				
			||||||
   for (p = end ; p != s;) {
 | 
					 | 
				
			||||||
     unsigned short *pp = (unsigned short *) (p -= 2);
 | 
					 | 
				
			||||||
-    *pp = ntohs(*pp);
 | 
					 | 
				
			||||||
+		char tmp = p[0];
 | 
					 | 
				
			||||||
+		p[0] = p[1];
 | 
					 | 
				
			||||||
+		p[1] = tmp;
 | 
					 | 
				
			||||||
+    //*pp = ntohs(*pp);
 | 
					 | 
				
			||||||
   }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
   /* strip leading blanks */
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,21 +0,0 @@
 | 
				
			||||||
--- hddtemp-0.3-beta15/configure.in~	2005-10-17 19:14:19 +0000
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/configure.in	2006-12-11 18:23:22 +0000
 | 
					 | 
				
			||||||
@@ -18,6 +18,7 @@
 | 
					 | 
				
			||||||
 AC_HEADER_STDC
 | 
					 | 
				
			||||||
 AC_CHECK_HEADERS(fcntl.h)
 | 
					 | 
				
			||||||
 AC_CHECK_HEADERS(netinet/in.h)
 | 
					 | 
				
			||||||
+AC_CHECK_HEADERS(execinfo.h)
 | 
					 | 
				
			||||||
 AC_CHECK_TYPE(in_addr_t, ,[AC_DEFINE_UNQUOTED([in_addr_t], [uint32_t], [Define to 'uint32_t' if <netinet/in.h> does not define.])], [#include <netinet/in.h>])
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 # Checks for typedefs, structures, and compiler characteristics.
 | 
					 | 
				
			||||||
--- hddtemp-0.3-beta15/src/backtrace.c-orig	2006-12-11 18:20:41 +0000
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/src/backtrace.c	2006-12-11 18:23:28 +0000
 | 
					 | 
				
			||||||
@@ -18,7 +18,7 @@
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 #include <features.h>
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
-#if defined(__i386__) && defined(__GLIBC__)
 | 
					 | 
				
			||||||
+#ifdef HAS_EXECINFO_H
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 #include <execinfo.h>
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,28 +0,0 @@
 | 
				
			||||||
--- hddtemp-0.3-beta15/src/utf8.c~	2007-03-27 09:09:59.000000000 +0200
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/src/utf8.c	2007-03-27 09:10:06.000000000 +0200
 | 
					 | 
				
			||||||
@@ -23,7 +23,9 @@
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 // Standard includes
 | 
					 | 
				
			||||||
 #include <stdlib.h>
 | 
					 | 
				
			||||||
+#ifdef HAVE_ICONV
 | 
					 | 
				
			||||||
 #include <iconv.h>
 | 
					 | 
				
			||||||
+#endif
 | 
					 | 
				
			||||||
 #include <langinfo.h>
 | 
					 | 
				
			||||||
 #include <locale.h>
 | 
					 | 
				
			||||||
 #include <string.h>
 | 
					 | 
				
			||||||
@@ -34,6 +36,7 @@
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 static char *iconv_from_utf8_to_locale(const char *string, const char* fallback_string)
 | 
					 | 
				
			||||||
 {
 | 
					 | 
				
			||||||
+#ifdef HAVE_ICONV
 | 
					 | 
				
			||||||
   const size_t buffer_inc = 80;	// Increment buffer size in 80 bytes step
 | 
					 | 
				
			||||||
   const char *charset;
 | 
					 | 
				
			||||||
   iconv_t cd;
 | 
					 | 
				
			||||||
@@ -93,6 +96,7 @@
 | 
					 | 
				
			||||||
   if (dest_buffer != NULL)
 | 
					 | 
				
			||||||
     free(dest_buffer);  		// free buffer
 | 
					 | 
				
			||||||
   free(src_buffer);			// free string
 | 
					 | 
				
			||||||
+#endif // HAVE_ICONV
 | 
					 | 
				
			||||||
   return strdup(fallback_string); 	// and return fallback string
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,14 +0,0 @@
 | 
				
			||||||
--- hddtemp-0.3-beta15/src/hddtemp.c~	2006-04-19 02:37:35 +0000
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/src/hddtemp.c	2007-03-26 08:14:17 +0000
 | 
					 | 
				
			||||||
@@ -275,9 +275,11 @@
 | 
					 | 
				
			||||||
   backtrace_sigill();
 | 
					 | 
				
			||||||
   backtrace_sigbus();
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
+#if ENABLE_NLS
 | 
					 | 
				
			||||||
   setlocale (LC_ALL, "");
 | 
					 | 
				
			||||||
   bindtextdomain (PACKAGE, LOCALEDIR);
 | 
					 | 
				
			||||||
   textdomain (PACKAGE);
 | 
					 | 
				
			||||||
+#endif
 | 
					 | 
				
			||||||
   
 | 
					 | 
				
			||||||
   show_db = debug = numeric = quiet = wakeup = af_hint = syslog_interval = 0;
 | 
					 | 
				
			||||||
   unit = DEFAULT;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,26 +0,0 @@
 | 
				
			||||||
diff -Naurp hddtemp-0.3-beta15-orig/src/satacmds.c hddtemp-0.3-beta15/src/satacmds.c
 | 
					 | 
				
			||||||
--- hddtemp-0.3-beta15-orig/src/satacmds.c	2007-02-10 14:25:15.000000000 +0100
 | 
					 | 
				
			||||||
+++ hddtemp-0.3-beta15/src/satacmds.c	2007-02-10 14:26:53.000000000 +0100
 | 
					 | 
				
			||||||
@@ -54,7 +54,6 @@ int sata_pass_thru(int device, unsigned 
 | 
					 | 
				
			||||||
   unsigned char cdb[16];
 | 
					 | 
				
			||||||
   unsigned char sense[32];
 | 
					 | 
				
			||||||
   int dxfer_direction;
 | 
					 | 
				
			||||||
-  int ret;
 | 
					 | 
				
			||||||
   
 | 
					 | 
				
			||||||
   memset(cdb, 0, sizeof(cdb));
 | 
					 | 
				
			||||||
   cdb[0] = ATA_16;
 | 
					 | 
				
			||||||
@@ -78,13 +77,7 @@ int sata_pass_thru(int device, unsigned 
 | 
					 | 
				
			||||||
     cdb[6] = cmd[1];
 | 
					 | 
				
			||||||
   cdb[14] = cmd[0];
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
-  ret = scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction);
 | 
					 | 
				
			||||||
- 
 | 
					 | 
				
			||||||
-  /* Verify SATA magics */
 | 
					 | 
				
			||||||
-  if (sense[0] != 0x72 || sense[7] != 0x0e || sense[9] != 0x0e || sense[10] != 0x00)
 | 
					 | 
				
			||||||
-    return 1;		  
 | 
					 | 
				
			||||||
-  else 
 | 
					 | 
				
			||||||
-    return ret;
 | 
					 | 
				
			||||||
+  return scsi_SG_IO(device, cdb, sizeof(cdb), buffer, cmd[3] * 512, sense, sizeof(sense), dxfer_direction);
 | 
					 | 
				
			||||||
 }
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
 void sata_fixstring(unsigned char *s, int bytecount)
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,37 +0,0 @@
 | 
				
			||||||
#!/bin/sh
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# /etc/rc.d/hddtemp: start/stop hddtemp daemon
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# Check for configuration files
 | 
					 | 
				
			||||||
[ -f /etc/hddtemp.db ] || exit 1
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
case $1 in
 | 
					 | 
				
			||||||
start)
 | 
					 | 
				
			||||||
	printf "Starting hddtemp..."
 | 
					 | 
				
			||||||
	/usr/sbin/hddtemp -d -l 127.0.0.1 $(ls /dev/sd[a-z] | xargs)
 | 
					 | 
				
			||||||
	if [ $? = 0 ]; then
 | 
					 | 
				
			||||||
		printf " done.\n"
 | 
					 | 
				
			||||||
	else
 | 
					 | 
				
			||||||
		printf " error.\n"
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
	;;
 | 
					 | 
				
			||||||
stop)
 | 
					 | 
				
			||||||
	printf "Shutting down hddtemp..."
 | 
					 | 
				
			||||||
	killall -q /usr/sbin/hddtemp
 | 
					 | 
				
			||||||
	printf " done.\n"
 | 
					 | 
				
			||||||
	;;
 | 
					 | 
				
			||||||
restart)
 | 
					 | 
				
			||||||
	$0 stop
 | 
					 | 
				
			||||||
	sleep 2
 | 
					 | 
				
			||||||
	$0 start
 | 
					 | 
				
			||||||
	;;
 | 
					 | 
				
			||||||
*)
 | 
					 | 
				
			||||||
	echo "usage: $0 [start|stop|restart]"
 | 
					 | 
				
			||||||
	exit 1
 | 
					 | 
				
			||||||
	;;
 | 
					 | 
				
			||||||
esac
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
exit $?
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# End of file
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,37 +0,0 @@
 | 
				
			||||||
# Tanım: S.M.A.R.T degerlerini okuyarak hdd ısısını verir
 | 
					 | 
				
			||||||
# URL: http://www.guzu.net/linux/hddtemp.php
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=hddtemp
 | 
					 | 
				
			||||||
surum=0.3-beta15
 | 
					 | 
				
			||||||
devir=2
 | 
					 | 
				
			||||||
kaynak=(http://nongnu.askapache.com/hddtemp/$isim-$surum.tar.bz2
 | 
					 | 
				
			||||||
	http://nongnu.askapache.com/hddtemp/hddtemp.db
 | 
					 | 
				
			||||||
	hddtemp-0.3-beta15-satacmds.patch
 | 
					 | 
				
			||||||
	hddtemp-0.3-beta15-byteswap.patch
 | 
					 | 
				
			||||||
	hddtemp-0.3-beta15-execinfo.patch
 | 
					 | 
				
			||||||
	hddtemp-0.3-beta15-nls.patch
 | 
					 | 
				
			||||||
	hddtemp-0.3-beta15-iconv.patch
 | 
					 | 
				
			||||||
	hddtemp.rc)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	patch -p 1 -i $SRC/hddtemp-0.3-beta15-satacmds.patch
 | 
					 | 
				
			||||||
	patch -p 1 -i $SRC/hddtemp-0.3-beta15-byteswap.patch
 | 
					 | 
				
			||||||
	patch -p 1 -i $SRC/hddtemp-0.3-beta15-execinfo.patch
 | 
					 | 
				
			||||||
	patch -p 1 -i $SRC/hddtemp-0.3-beta15-nls.patch
 | 
					 | 
				
			||||||
	patch -p 1 -i $SRC/hddtemp-0.3-beta15-iconv.patch
 | 
					 | 
				
			||||||
	autoreconf
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	./configure \
 | 
					 | 
				
			||||||
		--prefix=/usr \
 | 
					 | 
				
			||||||
		--mandir=/usr/man \
 | 
					 | 
				
			||||||
		--with-db-path=/etc/hddtemp.db
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
	install -m 0644 -D $SRC/hddtemp.db $PKG/etc/hddtemp.db
 | 
					 | 
				
			||||||
	install -m 0744 -D $SRC/hddtemp.rc $PKG/etc/rc.d/init.d/hddtemp
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,14 +0,0 @@
 | 
				
			||||||
# Tanım: Hdparm paketi, ATA/IDE'yi denetlemek için kullanışlı bir yardımcı program içerir
 | 
					 | 
				
			||||||
# URL: http://hdparm.sourceforge.net/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=hdparm
 | 
					 | 
				
			||||||
surum=9.52
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://downloads.sourceforge.net/$isim/$isim-$surum.tar.gz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	cd $isim-$surum && make
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG binprefix=/usr install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,9 +0,0 @@
 | 
				
			||||||
[Desktop Entry]
 | 
					 | 
				
			||||||
Version=1.0
 | 
					 | 
				
			||||||
Name=Heimdall
 | 
					 | 
				
			||||||
Type=Application
 | 
					 | 
				
			||||||
Comment=Firmware flasher for Samsung mobile devices
 | 
					 | 
				
			||||||
Terminal=false
 | 
					 | 
				
			||||||
Exec=heimdall-frontend
 | 
					 | 
				
			||||||
Icon=phone
 | 
					 | 
				
			||||||
Categories=Development;
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,25 +0,0 @@
 | 
				
			||||||
# Tanım: Samsung cihazlara firmware yükleme aracı
 | 
					 | 
				
			||||||
# URL: http://www.glassechidna.com.au/products/heimdall/
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: cmake qt5 android-udev
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=heimdall
 | 
					 | 
				
			||||||
surum=1.4.2
 | 
					 | 
				
			||||||
devir=2
 | 
					 | 
				
			||||||
kaynak=(https://github.com/Benjamin-Dobell/Heimdall/archive/v${surum}.tar.gz::$isim-$surum.tar.gz
 | 
					 | 
				
			||||||
		https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/mainwindow.ui::$isim-mainwindow.ui
 | 
					 | 
				
			||||||
		https://github.com/oltulu/Heimdall/raw/master/heimdall-frontend/aboutform.ui::$isim-aboutform.ui
 | 
					 | 
				
			||||||
		heimdall.desktop)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle(){
 | 
					 | 
				
			||||||
	cd Heimdall-$surum
 | 
					 | 
				
			||||||
	cp -r $SRC/$isim-mainwindow.ui $SRC/Heimdall-$surum/heimdall-frontend/
 | 
					 | 
				
			||||||
    cp -r $SRC/$isim-aboutform.ui $SRC/Heimdall-$surum/heimdall-frontend/
 | 
					 | 
				
			||||||
	cmake . -DCMAKE_INSTALL_PREFIX=/usr
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	install -m644 -D $SRC/heimdall.desktop "$PKG/usr/share/applications/heimdall.desktop"
 | 
					 | 
				
			||||||
	install -m644 -D LICENSE "$PKG/usr/share/licenses/$isim/LICENSE"
 | 
					 | 
				
			||||||
	install -d "$PKG"/usr/bin
 | 
					 | 
				
			||||||
	install -Dm755 bin/* "$PKG"/usr/bin/
 | 
					 | 
				
			||||||
	install -Dm644 heimdall/60-heimdall.rules "$PKG"/usr/lib/udev/rules.d/60-heimdall.rules
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,19 +0,0 @@
 | 
				
			||||||
# Tanım: Help2man, program çıktısından otomatik olarak basit manuel sayfalar üretmek için kullanılan bir araçtır.
 | 
					 | 
				
			||||||
# URL: http://www.gnu.org/software/help2man/
 | 
					 | 
				
			||||||
# Paketçi: alihan-ozturk28@hotmail.com
 | 
					 | 
				
			||||||
# Gerekler: perl-locale-gettext
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=help2man
 | 
					 | 
				
			||||||
surum=1.47.3
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(http://ftp.gnu.org/gnu/help2man/help2man-$surum.tar.xz)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
derle(){
 | 
					 | 
				
			||||||
    cd $isim-$surum
 | 
					 | 
				
			||||||
    ./configure --prefix=/usr \
 | 
					 | 
				
			||||||
        --mandir=/usr/share/man \
 | 
					 | 
				
			||||||
        --infodir=/usr/share/info \
 | 
					 | 
				
			||||||
        --libdir=/usr/lib
 | 
					 | 
				
			||||||
    make
 | 
					 | 
				
			||||||
    make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,25 +0,0 @@
 | 
				
			||||||
# Tanım: HexChat bir IRC sohbet programıdır. Aynı anda birden fazla IRC kanalına (sohbet odaları) katılmanızı, herkese açık olarak konuşmanızı, özel birebir konuşmalar yapmanızı, vb. olanak sağlar. Dosya aktarımları da mümkündür.
 | 
					 | 
				
			||||||
# URL: https://dl.hexchat.net/hexchat	
 | 
					 | 
				
			||||||
# Paketçi: milisarge
 | 
					 | 
				
			||||||
# Gerekler: lua52 glib gtk2 dbus libnotify libcanberra openssl pciutils desktop-file-utils pango
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
isim=hexchat
 | 
					 | 
				
			||||||
surum=2.12.3	
 | 
					 | 
				
			||||||
devir=1
 | 
					 | 
				
			||||||
kaynak=(https://dl.hexchat.net/hexchat/$isim-$surum.tar.xz)
 | 
					 | 
				
			||||||
 
 | 
					 | 
				
			||||||
derle() {
 | 
					 | 
				
			||||||
	gdk-pixbuf-query-loaders --update-cache
 | 
					 | 
				
			||||||
	cd $isim-$surum
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	./configure \
 | 
					 | 
				
			||||||
    --prefix='/usr' \
 | 
					 | 
				
			||||||
    --enable-python='python3' \
 | 
					 | 
				
			||||||
    --enable-textfe 
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	make
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	make DESTDIR=$PKG install
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
	
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,353 +0,0 @@
 | 
				
			||||||
Apple Public Source License
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Version 2.0 - August 6, 2003
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Please read this License carefully before downloading this software. By
 | 
					 | 
				
			||||||
downloading or using this software, you are agreeing to be bound by the
 | 
					 | 
				
			||||||
terms of this License. If you do not or cannot agree to the terms of
 | 
					 | 
				
			||||||
this License, please do not download or use the software.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1. General; Definitions. This License applies to any program or other
 | 
					 | 
				
			||||||
work which Apple Computer, Inc. ("Apple") makes publicly available and
 | 
					 | 
				
			||||||
which contains a notice placed by Apple identifying such program or work
 | 
					 | 
				
			||||||
as "Original Code" and stating that it is subject to the terms of this
 | 
					 | 
				
			||||||
Apple Public Source License version 2.0 ("License"). As used in this
 | 
					 | 
				
			||||||
License:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the
 | 
					 | 
				
			||||||
grantor of rights, (i) claims of patents that are now or hereafter
 | 
					 | 
				
			||||||
acquired, owned by or assigned to Apple and (ii) that cover subject
 | 
					 | 
				
			||||||
matter contained in the Original Code, but only to the extent necessary
 | 
					 | 
				
			||||||
to use, reproduce and/or distribute the Original Code without
 | 
					 | 
				
			||||||
infringement; and (b) in the case where You are the grantor of rights,
 | 
					 | 
				
			||||||
(i) claims of patents that are now or hereafter acquired, owned by or
 | 
					 | 
				
			||||||
assigned to You and (ii) that cover subject matter in Your
 | 
					 | 
				
			||||||
Modifications, taken alone or in combination with Original Code.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.2 "Contributor" means any person or entity that creates or contributes
 | 
					 | 
				
			||||||
to the creation of Modifications.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.3 "Covered Code" means the Original Code, Modifications, the
 | 
					 | 
				
			||||||
combination of Original Code and any Modifications, and/or any
 | 
					 | 
				
			||||||
respective portions thereof.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.4 "Externally Deploy" means: (a) to sublicense, distribute or
 | 
					 | 
				
			||||||
otherwise make Covered Code available, directly or indirectly, to anyone
 | 
					 | 
				
			||||||
other than You; and/or (b) to use Covered Code, alone or as part of a
 | 
					 | 
				
			||||||
Larger Work, in any way to provide a service, including but not limited
 | 
					 | 
				
			||||||
to delivery of content, through electronic communication with a client
 | 
					 | 
				
			||||||
other than You.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.5 "Larger Work" means a work which combines Covered Code or portions
 | 
					 | 
				
			||||||
thereof with code not governed by the terms of this License.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.6 "Modifications" mean any addition to, deletion from, and/or change
 | 
					 | 
				
			||||||
to, the substance and/or structure of the Original Code, any previous
 | 
					 | 
				
			||||||
Modifications, the combination of Original Code and any previous
 | 
					 | 
				
			||||||
Modifications, and/or any respective portions thereof. When code is
 | 
					 | 
				
			||||||
released as a series of files, a Modification is: (a) any addition to or
 | 
					 | 
				
			||||||
deletion from the contents of a file containing Covered Code; and/or (b)
 | 
					 | 
				
			||||||
any new file or other representation of computer program statements that
 | 
					 | 
				
			||||||
contains any part of Covered Code.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.7 "Original Code" means (a) the Source Code of a program or other work
 | 
					 | 
				
			||||||
as originally made available by Apple under this License, including the
 | 
					 | 
				
			||||||
Source Code of any updates or upgrades to such programs or works made
 | 
					 | 
				
			||||||
available by Apple under this License, and that has been expressly
 | 
					 | 
				
			||||||
identified by Apple as such in the header file(s) of such work; and (b)
 | 
					 | 
				
			||||||
the object code compiled from such Source Code and originally made
 | 
					 | 
				
			||||||
available by Apple under this License
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.8 "Source Code" means the human readable form of a program or other
 | 
					 | 
				
			||||||
work that is suitable for making modifications to it, including all
 | 
					 | 
				
			||||||
modules it contains, plus any associated interface definition files,
 | 
					 | 
				
			||||||
scripts used to control compilation and installation of an executable
 | 
					 | 
				
			||||||
(object code).
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
1.9 "You" or "Your" means an individual or a legal entity exercising
 | 
					 | 
				
			||||||
rights under this License. For legal entities, "You" or "Your" includes
 | 
					 | 
				
			||||||
any entity which controls, is controlled by, or is under common control
 | 
					 | 
				
			||||||
with, You, where "control" means (a) the power, direct or indirect, to
 | 
					 | 
				
			||||||
cause the direction or management of such entity, whether by contract or
 | 
					 | 
				
			||||||
otherwise, or (b) ownership of fifty percent (50%) or more of the
 | 
					 | 
				
			||||||
outstanding shares or beneficial ownership of such entity.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
2. Permitted Uses; Conditions & Restrictions. Subject to the terms and
 | 
					 | 
				
			||||||
conditions of this License, Apple hereby grants You, effective on the
 | 
					 | 
				
			||||||
date You accept this License and download the Original Code, a
 | 
					 | 
				
			||||||
world-wide, royalty-free, non-exclusive license, to the extent of
 | 
					 | 
				
			||||||
Apple's Applicable Patent Rights and copyrights covering the Original
 | 
					 | 
				
			||||||
Code, to do the following:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
2.1 Unmodified Code. You may use, reproduce, display, perform,
 | 
					 | 
				
			||||||
internally distribute within Your organization, and Externally Deploy
 | 
					 | 
				
			||||||
verbatim, unmodified copies of the Original Code, for commercial or
 | 
					 | 
				
			||||||
non-commercial purposes, provided that in each instance:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(a) You must retain and reproduce in all copies of Original Code the
 | 
					 | 
				
			||||||
copyright and other proprietary notices and disclaimers of Apple as they
 | 
					 | 
				
			||||||
appear in the Original Code, and keep intact all notices in the Original
 | 
					 | 
				
			||||||
Code that refer to this License; and
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(b) You must include a copy of this License with every copy of Source
 | 
					 | 
				
			||||||
Code of Covered Code and documentation You distribute or Externally
 | 
					 | 
				
			||||||
Deploy, and You may not offer or impose any terms on such Source Code
 | 
					 | 
				
			||||||
that alter or restrict this License or the recipients' rights hereunder,
 | 
					 | 
				
			||||||
except as permitted under Section 6.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
2.2 Modified Code. You may modify Covered Code and use, reproduce,
 | 
					 | 
				
			||||||
display, perform, internally distribute within Your organization, and
 | 
					 | 
				
			||||||
Externally Deploy Your Modifications and Covered Code, for commercial or
 | 
					 | 
				
			||||||
non-commercial purposes, provided that in each instance You also meet
 | 
					 | 
				
			||||||
all of these conditions:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(a) You must satisfy all the conditions of Section 2.1 with respect to
 | 
					 | 
				
			||||||
the Source Code of the Covered Code;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(b) You must duplicate, to the extent it does not already exist, the
 | 
					 | 
				
			||||||
notice in Exhibit A in each file of the Source Code of all Your
 | 
					 | 
				
			||||||
Modifications, and cause the modified files to carry prominent notices
 | 
					 | 
				
			||||||
stating that You changed the files and the date of any change; and
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(c) If You Externally Deploy Your Modifications, You must make Source
 | 
					 | 
				
			||||||
Code of all Your Externally Deployed Modifications either available to
 | 
					 | 
				
			||||||
those to whom You have Externally Deployed Your Modifications, or
 | 
					 | 
				
			||||||
publicly available. Source Code of Your Externally Deployed
 | 
					 | 
				
			||||||
Modifications must be released under the terms set forth in this
 | 
					 | 
				
			||||||
License, including the license grants set forth in Section 3 below, for
 | 
					 | 
				
			||||||
as long as you Externally Deploy the Covered Code or twelve (12) months
 | 
					 | 
				
			||||||
from the date of initial External Deployment, whichever is longer. You
 | 
					 | 
				
			||||||
should preferably distribute the Source Code of Your Externally Deployed
 | 
					 | 
				
			||||||
Modifications electronically (e.g. download from a web site).
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
2.3 Distribution of Executable Versions. In addition, if You Externally
 | 
					 | 
				
			||||||
Deploy Covered Code (Original Code and/or Modifications) in object code,
 | 
					 | 
				
			||||||
executable form only, You must include a prominent notice, in the code
 | 
					 | 
				
			||||||
itself as well as in related documentatble under the terms of this
 | 
					 | 
				
			||||||
License with information on how and where to obtain such Source Code.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
2.4 Third Party Rights. You expressly acknowledge and agree that
 | 
					 | 
				
			||||||
although Apple and each Contributor grants the licenses to their
 | 
					 | 
				
			||||||
respective portions of the Covered Code set forth herein, no assurances
 | 
					 | 
				
			||||||
are provided by Apple or any Contributor that the Covered Code does not
 | 
					 | 
				
			||||||
infringe the patent or other intellectual property rights of any other
 | 
					 | 
				
			||||||
entity. Apple and each Contributor disclaim any liability to You for
 | 
					 | 
				
			||||||
claims brought by any other entity based on infringement of intellectual
 | 
					 | 
				
			||||||
property rights or otherwise. As a condition to exercising the rights
 | 
					 | 
				
			||||||
and licenses granted hereunder, You hereby assume sole responsibility to
 | 
					 | 
				
			||||||
secure any other intellectual property rights needed, if any. For
 | 
					 | 
				
			||||||
example, if a third party patent license is required to allow You to
 | 
					 | 
				
			||||||
distribute the Covered Code, it is Your responsibility to acquire that
 | 
					 | 
				
			||||||
license before distributing the Covered Code.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
3. Your Grants. In consideration of, and as a condition to, the licenses
 | 
					 | 
				
			||||||
granted to You under this License, You hereby grant to any person or
 | 
					 | 
				
			||||||
entity receiving or distributing Covered Code under this License a
 | 
					 | 
				
			||||||
non-exclusive, royalty-free, perpetual, irrevocable license, under Your
 | 
					 | 
				
			||||||
Applicable Patent Rights and other intellectual property rights (other
 | 
					 | 
				
			||||||
than patent) owned or controlled by You, to use, reproduce, display,
 | 
					 | 
				
			||||||
perform, modify, sublicense, distribute and Externally Deploy Your
 | 
					 | 
				
			||||||
Modifications of the same scope and extent as Apple's licenses under
 | 
					 | 
				
			||||||
Sections 2.1 and 2.2 above.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
4. Larger Works. You may create a Larger Work by combining Covered Code
 | 
					 | 
				
			||||||
with other code not governed by the terms of this License and distribute
 | 
					 | 
				
			||||||
the Larger Work as a single product. In each such instance, You must
 | 
					 | 
				
			||||||
make sure the requirements of this License are fulfilled for the Covered
 | 
					 | 
				
			||||||
Code or any portion thereof.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
5. Limitations on Patent License. Except as expressly stated in Section
 | 
					 | 
				
			||||||
2, no other patent rights, express or implied, are granted by Apple
 | 
					 | 
				
			||||||
herein. Modifications and/or Larger Works may require additional patent
 | 
					 | 
				
			||||||
licensesrms") to one or more recipients of Covered Code. However, You
 | 
					 | 
				
			||||||
may do so only on Your own behalf and as Your sole responsibility, and
 | 
					 | 
				
			||||||
not on behalf of Apple or any Contributor. You must obtain the
 | 
					 | 
				
			||||||
recipient's agreement that any such Additional Terms are offered by You
 | 
					 | 
				
			||||||
alone, and You hereby agree to indemnify, defend and hold Apple and
 | 
					 | 
				
			||||||
every Contributor harmless for any liability incurred by or claims
 | 
					 | 
				
			||||||
asserted against Apple or such Contributor by reason of any such
 | 
					 | 
				
			||||||
Additional Terms.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
7. Versions of the License. Apple may publish revised and/or new
 | 
					 | 
				
			||||||
versions of this License from time to time. Each version will be given a
 | 
					 | 
				
			||||||
distinguishing version number. Once Original Code has been published
 | 
					 | 
				
			||||||
under a particular version of this License, You may continue to use it
 | 
					 | 
				
			||||||
under the terms of that version. You may also choose to use such
 | 
					 | 
				
			||||||
Original Code under the terms of any subsequent version of this License
 | 
					 | 
				
			||||||
published by Apple. No one other than Apple has the right to modify the
 | 
					 | 
				
			||||||
terms applicable to Covered Code created under this License.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in
 | 
					 | 
				
			||||||
part pre-release, untested, or not fully tested works. The Covered Code
 | 
					 | 
				
			||||||
may contain errors that could cause failures or loss of data, and may be
 | 
					 | 
				
			||||||
incomplete or contain inaccuracies. You expressly acknowledge and agree
 | 
					 | 
				
			||||||
that use of the Covered Code, or any portion thereof, is at Your sole
 | 
					 | 
				
			||||||
and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND WITHOUT
 | 
					 | 
				
			||||||
WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND APPLE'S
 | 
					 | 
				
			||||||
LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE PURPOSES OF
 | 
					 | 
				
			||||||
SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM ALL WARRANTIES
 | 
					 | 
				
			||||||
AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
 | 
					 | 
				
			||||||
THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY, OF
 | 
					 | 
				
			||||||
SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY,
 | 
					 | 
				
			||||||
OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE AND
 | 
					 | 
				
			||||||
EACH CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR
 | 
					 | 
				
			||||||
ENJOYMENT OF THE COVERED CODE, THAT THE FUNCTIONS CONTAINED IN THE
 | 
					 | 
				
			||||||
COVERED CODE WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE
 | 
					 | 
				
			||||||
COVERED CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE
 | 
					 | 
				
			||||||
COVERED CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE
 | 
					 | 
				
			||||||
GIVEN BY APPLE, AN APPLE AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR
 | 
					 | 
				
			||||||
SHALL CREATE A WARRANTY. You acknowledge that the Covered Code is not
 | 
					 | 
				
			||||||
intended for use in the operation of nuclear facilities, aircraft
 | 
					 | 
				
			||||||
navigation, communication systems, or air traffic control machines in
 | 
					 | 
				
			||||||
which case the failure of the Covered Code could lead to death, personal
 | 
					 | 
				
			||||||
injury, or severe physical or environmental damage.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
 | 
					 | 
				
			||||||
EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,
 | 
					 | 
				
			||||||
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO
 | 
					 | 
				
			||||||
THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY
 | 
					 | 
				
			||||||
PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT
 | 
					 | 
				
			||||||
(INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE
 | 
					 | 
				
			||||||
OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
 | 
					 | 
				
			||||||
AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY REMEDY. SOME
 | 
					 | 
				
			||||||
JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF INCIDENTAL OR
 | 
					 | 
				
			||||||
CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY TO YOU. In no
 | 
					 | 
				
			||||||
event shall Apple's total liability to You for all damages (other than
 | 
					 | 
				
			||||||
as may be required by applicable law) under this License exceed the
 | 
					 | 
				
			||||||
amount of fifty dollars ($50.00).
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
10. Trademarks. This License does not grant any rights to use the
 | 
					 | 
				
			||||||
trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",
 | 
					 | 
				
			||||||
"QuickTime", "QuickTime Streaming Server" or any other trademarks,
 | 
					 | 
				
			||||||
service marks, logos or trade names belonging to Apple (collectively
 | 
					 | 
				
			||||||
"Apple Marks") or to any trademark, service mark, logo or trade name
 | 
					 | 
				
			||||||
belonging to any Contributor. You agree not to use any Apple Marks in or
 | 
					 | 
				
			||||||
as part of the name of products derived from the Original Code or to
 | 
					 | 
				
			||||||
endorse or promote products derived from the Original Code other than as
 | 
					 | 
				
			||||||
expressly permitted by and in strict compliance at all times with
 | 
					 | 
				
			||||||
Apple's third party trademark usage guidelines which are posted at
 | 
					 | 
				
			||||||
http://www.apple.com/legal/guidelinesfor3rdparties.html.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
11. Ownership. Subject to the licenses granted under this License, each
 | 
					 | 
				
			||||||
Contributor retains all rights, title and interest in and to any
 | 
					 | 
				
			||||||
Modifications made by such Contributor. Apple retains all rights, title
 | 
					 | 
				
			||||||
and interest in and to the Original Code and any Modifications made by
 | 
					 | 
				
			||||||
or on behalf of Apple ("Apple Modifications"), and such Apple
 | 
					 | 
				
			||||||
Modifications will not be automatically subject to this License. Apple
 | 
					 | 
				
			||||||
may, at its sole discretion, choose to license such Apple Modifications
 | 
					 | 
				
			||||||
under this License, or on different terms from those contained in this
 | 
					 | 
				
			||||||
License or may choose not to license them at all.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
12. Termination.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
12.1 Termination. This License and the rights granted hereunder will
 | 
					 | 
				
			||||||
terminate:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(a) automatically without notice from Apple if You fail to comply with
 | 
					 | 
				
			||||||
any term(s) of this License and fail to cure such breach within 30 days
 | 
					 | 
				
			||||||
of becoming aware of such breach;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(b) immediately in the event of the circumstances described in Section
 | 
					 | 
				
			||||||
13.5(b); or
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
(c) automatically without notice from Apple if You, at any time during
 | 
					 | 
				
			||||||
the term of this License, commence an action for patent infringement
 | 
					 | 
				
			||||||
against Apple; provided that Apple did not first commence an action for
 | 
					 | 
				
			||||||
patent infringement against You in that instance.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
12.2 Effect of Termination. Upon termination, You agree to immediately
 | 
					 | 
				
			||||||
stop any further use, reproduction, modification, sublicensing and
 | 
					 | 
				
			||||||
distribution of the Covered Code. All sublicenses to the Covered Code
 | 
					 | 
				
			||||||
which have been properly granted prior to termination shall survive any
 | 
					 | 
				
			||||||
termination of this License. Provisions which, by their nature, should
 | 
					 | 
				
			||||||
remain in effect beyond the termination of this License shall survive,
 | 
					 | 
				
			||||||
including but not limited to Sections 3, 5, 8, 9, 10, 11, 12.2 and 13.
 | 
					 | 
				
			||||||
No party will be liable to any other for compensation, indemnity or
 | 
					 | 
				
			||||||
damages of any sort solely as a result of terminating this License in
 | 
					 | 
				
			||||||
accordance with its terms, and termination of this License will be
 | 
					 | 
				
			||||||
without prejudice to any other right or remedy of any party.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13. Miscellaneous.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13.1 Government End Users. The Covered Code is a "commercial item" as
 | 
					 | 
				
			||||||
defined in FAR 2.101. Government software and technical data rights in
 | 
					 | 
				
			||||||
the Covered Code include only those rights customarily provided to the
 | 
					 | 
				
			||||||
public as defined in this License. This customary commercial license in
 | 
					 | 
				
			||||||
technical data and software is provided in accordance with FAR 12.211
 | 
					 | 
				
			||||||
(Technical Data) and 12.212 (Computer Software) and, for Department of
 | 
					 | 
				
			||||||
Defense purchases, DFAR 252.227-7015 (Technical Data -- Commercial
 | 
					 | 
				
			||||||
Items) and 227.7202-3 (Rights in Commercial Computer Software or
 | 
					 | 
				
			||||||
Computer Software Documentation). Accordingly, all U.S. Government End
 | 
					 | 
				
			||||||
Users acquire Covered Code with only those rights set forth herein.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13.2 Relationship of Parties. This License will not be construed as
 | 
					 | 
				
			||||||
creating an agency, partnership, joint venture or any other form of
 | 
					 | 
				
			||||||
legal association between or among You, Apple or any Contributor, and
 | 
					 | 
				
			||||||
You will not represent to the contrary, whether expressly, by
 | 
					 | 
				
			||||||
implication, appearance or otherwise.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13.3 Independent Development. Nothing in this License will impair
 | 
					 | 
				
			||||||
Apple's right to acquire, license, develop, have others develop for it,
 | 
					 | 
				
			||||||
market and/or distribute technology or products that perform the same or
 | 
					 | 
				
			||||||
similar functions as, or otherwise compete with, Modifications, Larger
 | 
					 | 
				
			||||||
Works, technology or products that You may develop, produce, market or
 | 
					 | 
				
			||||||
distribute.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13.4 Waiver; Construction. Failure by Apple or any Contributor to
 | 
					 | 
				
			||||||
enforce any provision of this License will not be deemed a waiver of
 | 
					 | 
				
			||||||
future enforcement of that or any other provision. Any law or regulation
 | 
					 | 
				
			||||||
which provides that the language of a contract shall be construed
 | 
					 | 
				
			||||||
against the drafter will not apply to this License.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13.5 Severability. (a) If for any reason a court of competent
 | 
					 | 
				
			||||||
jurisdiction finds any provision of this License, or portion thereof, to
 | 
					 | 
				
			||||||
be unenforceable, that provision of the License will be enforced to the
 | 
					 | 
				
			||||||
maximum extent permissible so as to effect the economic benefits and
 | 
					 | 
				
			||||||
intent of the parties, and the remainder of this License will continue
 | 
					 | 
				
			||||||
in full force and effect. (b) Notwithstanding the foregoing, if
 | 
					 | 
				
			||||||
applicable law prohibits or restricts You from fully and/or specifically
 | 
					 | 
				
			||||||
complying with Sections 2 and/or 3 or prevents the enforceability of
 | 
					 | 
				
			||||||
either of those Sections, this License will immediately terminate and
 | 
					 | 
				
			||||||
You must immediately discontinue any use of the Covered Code and destroy
 | 
					 | 
				
			||||||
all copies of it that are in your possession or control.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
13.6 Dispute Resolution. Any litigation or other dispute resolution
 | 
					 | 
				
			||||||
between You and Apple relating to this License shall take place in the
 | 
					 | 
				
			||||||
Northern District of California, and You and Apple hereby consent to the
 | 
					 | 
				
			||||||
personal jurisdiction of, and venue in, the state and federal courts
 | 
					 | 
				
			||||||
within that District with respect to this License. The application of
 | 
					 | 
				
			||||||
the United Nations Convention on Contracts for the International Sale of
 | 
					 | 
				
			||||||
Goods isce of Quebec, Canada, the following clause applies: The parties
 | 
					 | 
				
			||||||
hereby confirm that they have requested that this License and all
 | 
					 | 
				
			||||||
related documents be drafted in English. Les parties ont exigé que le
 | 
					 | 
				
			||||||
présent contrat et tous les documents connexes soient rédigés en
 | 
					 | 
				
			||||||
anglais.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
EXHIBIT A.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
 | 
					 | 
				
			||||||
Reserved.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
This file contains Original Code and/or Modifications of Original Code
 | 
					 | 
				
			||||||
as defined in and that are subject to the Apple Public Source License
 | 
					 | 
				
			||||||
Version 2.0 (the 'License'). You may not use this file except in
 | 
					 | 
				
			||||||
compliance with the License. Please obtain a copy of the License at
 | 
					 | 
				
			||||||
http://www.opensource.apple.com/apsl/ and read it before using this
 | 
					 | 
				
			||||||
file.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
The Original Code and all software distributed under the License are
 | 
					 | 
				
			||||||
distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
 | 
					 | 
				
			||||||
EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
 | 
					 | 
				
			||||||
INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
 | 
					 | 
				
			||||||
FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please
 | 
					 | 
				
			||||||
see the License for the specific language governing rights and
 | 
					 | 
				
			||||||
limitations under the License."
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
Please read the terms of this license carefully. By clicking on the
 | 
					 | 
				
			||||||
"Yes, I Accept" button below you are accepting and agreeing to the terms
 | 
					 | 
				
			||||||
of this license with Apple Computer, Inc. If you are agreeing to this
 | 
					 | 
				
			||||||
license on behalf of a company, you represent that you are authorized to
 | 
					 | 
				
			||||||
bind the company to such a license. If you do not meet this criterion or
 | 
					 | 
				
			||||||
you do not agree to any of the terms of this license, please click on
 | 
					 | 
				
			||||||
the "No, I Reject" button below or use your browser's Back button to
 | 
					 | 
				
			||||||
exit this page.
 | 
					 | 
				
			||||||
Some files were not shown because too many files have changed in this diff Show more
		Loading…
	
	Add table
		
		Reference in a new issue